Raw Data
{
"clone_analysis": null,
"code_dictionary": {
"issues": {
"CMPLX": {
"category": "complexity",
"code": "CMPLX",
"summary": "Cyclomatic or cognitive complexity exceeds recommended bounds, increasing maintenance risk.",
"title": "Complexity Hotspot"
},
"COGNIT": {
"category": "cognitive",
"code": "COGNIT",
"summary": "Nested control flow and branching overload short-term memory, making the code hard to follow.",
"title": "Cognitive Overload"
},
"MAINTAIN": {
"category": "maintainability",
"code": "MAINTAIN",
"summary": "Signals reveal code that resists change or lacks clear ownership.",
"title": "Maintainability Drift"
},
"REFACTR": {
"category": "refactoring",
"code": "REFACTR",
"summary": "General refactoring signals indicate room for improvement.",
"title": "Refactoring Opportunity"
},
"STRUCTR": {
"category": "structure",
"code": "STRUCTR",
"summary": "Responsibilities bleed across modules or classes, pointing to poor separation of concerns.",
"title": "Structural Imbalance"
},
"TECHDEBT": {
"category": "debt",
"code": "TECHDEBT",
"summary": "Indicators show accruing debt that will require refactoring to sustain velocity.",
"title": "Technical Debt"
}
},
"suggestions": {
"RDCOGN": {
"category": "refactoring",
"code": "RDCOGN",
"summary": "Streamline control flow to ease human comprehension.",
"title": "Reduce Cognitive"
},
"RDCYCLEX": {
"category": "refactoring",
"code": "RDCYCLEX",
"summary": "Break apart dense branching to keep cyclomatic complexity in check.",
"title": "Reduce Cyclomatic"
},
"REFQLTY": {
"category": "refactoring",
"code": "REFQLTY",
"summary": "Invest in broad cleanups to stabilize quality drift.",
"title": "Refactor Code Quality"
},
"XTRCLS": {
"category": "refactoring",
"code": "XTRCLS",
"summary": "Split multi-purpose modules into cohesive components.",
"title": "Extract Class"
}
}
},
"coverage_packs": [],
"directory_health": {
"packages/app": 94.47298804853742,
"packages/app/e2e": 94.4113209506433,
"packages/app/e2e/helpers": 91.74816166575283,
"packages/app/plugins": 92.91058391956642,
"packages/app/scripts": 90.67681531999793,
"packages/app/src/app": 95.15047163973989,
"packages/app/src/app/agent": 99.16499999999999,
"packages/app/src/app/agent/[serverId]": 98.804,
"packages/app/src/components": 95.18033145098642,
"packages/app/src/components/agent-form": 97.07087510083406,
"packages/app/src/components/headers": 95.38844505434031,
"packages/app/src/components/icons": 99.184,
"packages/app/src/components/ui": 91.97199533198143,
"packages/app/src/constants": 96.03466666666668,
"packages/app/src/contexts": 93.92176167822477,
"packages/app/src/dictation": 96.60319010334443,
"packages/app/src/hooks": 92.6690776344447,
"packages/app/src/polyfills": 97.43870805871991,
"packages/app/src/screens/agent": 95.61449683720798,
"packages/app/src/stores": 94.272551656048,
"packages/app/src/styles": 82.94298795028615,
"packages/app/src/types": 94.46692386486407,
"packages/app/src/utils": 93.33599474648439,
"packages/desktop/src-tauri": 99.184,
"packages/desktop/src-tauri/src": 93.81643253909465,
"packages/relay/src": 95.83188930532847,
"packages/server/scripts": 92.81692888425287,
"packages/server/src/client": 93.19270633477912,
"packages/server/src/poc-commands": 91.18942712337493,
"packages/server/src/server": 90.91083619839452,
"packages/server/src/server/agent": 93.68931062825912,
"packages/server/src/server/agent/providers": 90.32726398186043,
"packages/server/src/server/daemon-e2e": 89.34945782037921,
"packages/server/src/server/file-download": 97.93560000000001,
"packages/server/src/server/file-explorer": 93.5448575647799,
"packages/server/src/server/push": 95.38271242288162,
"packages/server/src/server/terminal-mcp": 93.11700510066825,
"packages/server/src/server/test-utils": 96.30535383859002,
"packages/server/src/server/utils": 93.74237158052264,
"packages/server/src/shared": 98.349,
"packages/server/src/tasks": 95.81458950400594,
"packages/server/src/terminal": 95.5630950187357,
"packages/server/src/test-utils": 99.184,
"packages/server/src/utils": 94.33877788994307,
"packages/website/src": 99.1916,
"packages/website/src/components": 94.91214498284498,
"packages/website/src/routes": 96.82478448704087,
"packages/website/src/routes/docs": 92.5182858509461,
"scripts": 94.4257380018467
},
"directory_health_tree": {
"directories": {
"packages": {
"avg_refactoring_score": 0.0,
"children": [
"packages/server",
"packages/website",
"packages/app",
"packages/relay",
"packages/desktop"
],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 0,
"file_count": 0,
"health_score": 0.0,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "",
"path": "packages",
"refactoring_needed": 0,
"weight": 0.0
},
"packages/app": {
"avg_refactoring_score": 0.0,
"children": [
"packages/app/scripts",
"packages/app/e2e",
"packages/app/plugins",
"packages/app/src"
],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 2,
"file_count": 2,
"health_score": 0.9447298804853742,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages",
"path": "packages/app",
"refactoring_needed": 0,
"weight": 2.0
},
"packages/app/e2e": {
"avg_refactoring_score": 0.0,
"children": [
"packages/app/e2e/helpers"
],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 18,
"file_count": 18,
"health_score": 0.9341113323351112,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/app",
"path": "packages/app/e2e",
"refactoring_needed": 0,
"weight": 18.0
},
"packages/app/e2e/helpers": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 2,
"file_count": 2,
"health_score": 0.8825694217241866,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/app/e2e",
"path": "packages/app/e2e/helpers",
"refactoring_needed": 0,
"weight": 2.0
},
"packages/app/plugins": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 1,
"file_count": 1,
"health_score": 0.9291058391956643,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/app",
"path": "packages/app/plugins",
"refactoring_needed": 0,
"weight": 1.0
},
"packages/app/scripts": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 1,
"file_count": 1,
"health_score": 0.9067681531999793,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/app",
"path": "packages/app/scripts",
"refactoring_needed": 0,
"weight": 1.0
},
"packages/app/src": {
"avg_refactoring_score": 0.0,
"children": [
"packages/app/src/types",
"packages/app/src/utils",
"packages/app/src/stores",
"packages/app/src/components",
"packages/app/src/dictation",
"packages/app/src/constants",
"packages/app/src/polyfills",
"packages/app/src/styles",
"packages/app/src/contexts",
"packages/app/src/screens",
"packages/app/src/app",
"packages/app/src/hooks"
],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 0,
"file_count": 0,
"health_score": 0.0,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/app",
"path": "packages/app/src",
"refactoring_needed": 0,
"weight": 0.0
},
"packages/app/src/app": {
"avg_refactoring_score": 0.0,
"children": [
"packages/app/src/app/agent"
],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 7,
"file_count": 7,
"health_score": 0.9579818511966697,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/app/src",
"path": "packages/app/src/app",
"refactoring_needed": 0,
"weight": 7.0
},
"packages/app/src/app/agent": {
"avg_refactoring_score": 0.0,
"children": [
"packages/app/src/app/agent/[serverId]"
],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 2,
"file_count": 2,
"health_score": 0.9916499999999999,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/app/src/app",
"path": "packages/app/src/app/agent",
"refactoring_needed": 0,
"weight": 2.0
},
"packages/app/src/app/agent/[serverId]": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 1,
"file_count": 1,
"health_score": 0.98804,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/app/src/app/agent",
"path": "packages/app/src/app/agent/[serverId]",
"refactoring_needed": 0,
"weight": 1.0
},
"packages/app/src/components": {
"avg_refactoring_score": 0.0,
"children": [
"packages/app/src/components/headers",
"packages/app/src/components/agent-form",
"packages/app/src/components/icons",
"packages/app/src/components/ui"
],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 39,
"file_count": 39,
"health_score": 0.9396455737705178,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/app/src",
"path": "packages/app/src/components",
"refactoring_needed": 0,
"weight": 39.0
},
"packages/app/src/components/agent-form": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 1,
"file_count": 1,
"health_score": 0.9707087510083405,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/app/src/components",
"path": "packages/app/src/components/agent-form",
"refactoring_needed": 0,
"weight": 1.0
},
"packages/app/src/components/headers": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 3,
"file_count": 3,
"health_score": 0.9525158696519339,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/app/src/components",
"path": "packages/app/src/components/headers",
"refactoring_needed": 0,
"weight": 3.0
},
"packages/app/src/components/icons": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 2,
"file_count": 2,
"health_score": 0.9918399999999999,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/app/src/components",
"path": "packages/app/src/components/icons",
"refactoring_needed": 0,
"weight": 2.0
},
"packages/app/src/components/ui": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 2,
"file_count": 2,
"health_score": 0.9101191302056136,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/app/src/components",
"path": "packages/app/src/components/ui",
"refactoring_needed": 0,
"weight": 2.0
},
"packages/app/src/constants": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 1,
"file_count": 1,
"health_score": 0.9603466666666668,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/app/src",
"path": "packages/app/src/constants",
"refactoring_needed": 0,
"weight": 1.0
},
"packages/app/src/contexts": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 8,
"file_count": 8,
"health_score": 0.942238664217912,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/app/src",
"path": "packages/app/src/contexts",
"refactoring_needed": 0,
"weight": 8.0
},
"packages/app/src/dictation": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 2,
"file_count": 2,
"health_score": 0.9649579668252262,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/app/src",
"path": "packages/app/src/dictation",
"refactoring_needed": 0,
"weight": 2.0
},
"packages/app/src/hooks": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 31,
"file_count": 31,
"health_score": 0.9388726700920453,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/app/src",
"path": "packages/app/src/hooks",
"refactoring_needed": 0,
"weight": 31.0
},
"packages/app/src/polyfills": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 1,
"file_count": 1,
"health_score": 0.9743870805871991,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/app/src",
"path": "packages/app/src/polyfills",
"refactoring_needed": 0,
"weight": 1.0
},
"packages/app/src/screens": {
"avg_refactoring_score": 0.0,
"children": [
"packages/app/src/screens/agent"
],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 0,
"file_count": 0,
"health_score": 0.0,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/app/src",
"path": "packages/app/src/screens",
"refactoring_needed": 0,
"weight": 0.0
},
"packages/app/src/screens/agent": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 3,
"file_count": 3,
"health_score": 0.9440982385342443,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/app/src/screens",
"path": "packages/app/src/screens/agent",
"refactoring_needed": 0,
"weight": 3.0
},
"packages/app/src/stores": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 5,
"file_count": 5,
"health_score": 0.9579004281292125,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/app/src",
"path": "packages/app/src/stores",
"refactoring_needed": 0,
"weight": 5.0
},
"packages/app/src/styles": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 1,
"file_count": 1,
"health_score": 0.8294298795028615,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/app/src",
"path": "packages/app/src/styles",
"refactoring_needed": 0,
"weight": 1.0
},
"packages/app/src/types": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 5,
"file_count": 5,
"health_score": 0.8908607656354984,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/app/src",
"path": "packages/app/src/types",
"refactoring_needed": 1,
"weight": 5.0
},
"packages/app/src/utils": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 25,
"file_count": 25,
"health_score": 0.9502036235885563,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/app/src",
"path": "packages/app/src/utils",
"refactoring_needed": 0,
"weight": 25.0
},
"packages/desktop": {
"avg_refactoring_score": 0.0,
"children": [
"packages/desktop/src-tauri"
],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 0,
"file_count": 0,
"health_score": 0.0,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages",
"path": "packages/desktop",
"refactoring_needed": 0,
"weight": 0.0
},
"packages/desktop/src-tauri": {
"avg_refactoring_score": 0.0,
"children": [
"packages/desktop/src-tauri/src"
],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 1,
"file_count": 1,
"health_score": 0.9918399999999999,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/desktop",
"path": "packages/desktop/src-tauri",
"refactoring_needed": 0,
"weight": 1.0
},
"packages/desktop/src-tauri/src": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 2,
"file_count": 2,
"health_score": 0.9582927033693416,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/desktop/src-tauri",
"path": "packages/desktop/src-tauri/src",
"refactoring_needed": 0,
"weight": 2.0
},
"packages/relay": {
"avg_refactoring_score": 0.0,
"children": [
"packages/relay/src"
],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 0,
"file_count": 0,
"health_score": 0.0,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages",
"path": "packages/relay",
"refactoring_needed": 0,
"weight": 0.0
},
"packages/relay/src": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 9,
"file_count": 9,
"health_score": 0.9543458705712143,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/relay",
"path": "packages/relay/src",
"refactoring_needed": 0,
"weight": 9.0
},
"packages/server": {
"avg_refactoring_score": 0.0,
"children": [
"packages/server/src",
"packages/server/scripts"
],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 0,
"file_count": 0,
"health_score": 0.0,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages",
"path": "packages/server",
"refactoring_needed": 0,
"weight": 0.0
},
"packages/server/scripts": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 8,
"file_count": 8,
"health_score": 0.9244781324932557,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/server",
"path": "packages/server/scripts",
"refactoring_needed": 0,
"weight": 8.0
},
"packages/server/src": {
"avg_refactoring_score": 0.0,
"children": [
"packages/server/src/poc-commands",
"packages/server/src/tasks",
"packages/server/src/client",
"packages/server/src/test-utils",
"packages/server/src/terminal",
"packages/server/src/utils",
"packages/server/src/shared",
"packages/server/src/server"
],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 0,
"file_count": 0,
"health_score": 0.0,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/server",
"path": "packages/server/src",
"refactoring_needed": 0,
"weight": 0.0
},
"packages/server/src/client": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 2,
"file_count": 2,
"health_score": 0.9515519640454053,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/server/src",
"path": "packages/server/src/client",
"refactoring_needed": 0,
"weight": 2.0
},
"packages/server/src/poc-commands": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 3,
"file_count": 3,
"health_score": 0.9090305874033159,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/server/src",
"path": "packages/server/src/poc-commands",
"refactoring_needed": 0,
"weight": 3.0
},
"packages/server/src/server": {
"avg_refactoring_score": 0.0,
"children": [
"packages/server/src/server/terminal-mcp",
"packages/server/src/server/test-utils",
"packages/server/src/server/file-download",
"packages/server/src/server/file-explorer",
"packages/server/src/server/utils",
"packages/server/src/server/daemon-e2e",
"packages/server/src/server/agent",
"packages/server/src/server/push"
],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 23,
"file_count": 23,
"health_score": 0.9404948499571681,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/server/src",
"path": "packages/server/src/server",
"refactoring_needed": 0,
"weight": 23.0
},
"packages/server/src/server/agent": {
"avg_refactoring_score": 0.0,
"children": [
"packages/server/src/server/agent/providers"
],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 40,
"file_count": 40,
"health_score": 0.9435433871044687,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/server/src/server",
"path": "packages/server/src/server/agent",
"refactoring_needed": 0,
"weight": 40.0
},
"packages/server/src/server/agent/providers": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 16,
"file_count": 16,
"health_score": 0.9336186699574175,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/server/src/server/agent",
"path": "packages/server/src/server/agent/providers",
"refactoring_needed": 0,
"weight": 16.0
},
"packages/server/src/server/daemon-e2e": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 22,
"file_count": 22,
"health_score": 0.9104437646849136,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/server/src/server",
"path": "packages/server/src/server/daemon-e2e",
"refactoring_needed": 1,
"weight": 22.0
},
"packages/server/src/server/file-download": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 1,
"file_count": 1,
"health_score": 0.9793560000000001,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/server/src/server",
"path": "packages/server/src/server/file-download",
"refactoring_needed": 0,
"weight": 1.0
},
"packages/server/src/server/file-explorer": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 1,
"file_count": 1,
"health_score": 0.935448575647799,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/server/src/server",
"path": "packages/server/src/server/file-explorer",
"refactoring_needed": 0,
"weight": 1.0
},
"packages/server/src/server/push": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 2,
"file_count": 2,
"health_score": 0.9571494118059347,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/server/src/server",
"path": "packages/server/src/server/push",
"refactoring_needed": 0,
"weight": 2.0
},
"packages/server/src/server/terminal-mcp": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 4,
"file_count": 4,
"health_score": 0.9345541887918938,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/server/src/server",
"path": "packages/server/src/server/terminal-mcp",
"refactoring_needed": 0,
"weight": 4.0
},
"packages/server/src/server/test-utils": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 5,
"file_count": 5,
"health_score": 0.9656778358194575,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/server/src/server",
"path": "packages/server/src/server/test-utils",
"refactoring_needed": 0,
"weight": 5.0
},
"packages/server/src/server/utils": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 3,
"file_count": 3,
"health_score": 0.9337087116446923,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/server/src/server",
"path": "packages/server/src/server/utils",
"refactoring_needed": 0,
"weight": 3.0
},
"packages/server/src/shared": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 1,
"file_count": 1,
"health_score": 0.9834900000000001,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/server/src",
"path": "packages/server/src/shared",
"refactoring_needed": 0,
"weight": 1.0
},
"packages/server/src/tasks": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 5,
"file_count": 5,
"health_score": 0.9537061766425999,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/server/src",
"path": "packages/server/src/tasks",
"refactoring_needed": 0,
"weight": 5.0
},
"packages/server/src/terminal": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 4,
"file_count": 4,
"health_score": 0.9505980863859389,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/server/src",
"path": "packages/server/src/terminal",
"refactoring_needed": 0,
"weight": 4.0
},
"packages/server/src/test-utils": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 1,
"file_count": 1,
"health_score": 0.9918399999999999,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/server/src",
"path": "packages/server/src/test-utils",
"refactoring_needed": 0,
"weight": 1.0
},
"packages/server/src/utils": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 8,
"file_count": 8,
"health_score": 0.9525092892487433,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/server/src",
"path": "packages/server/src/utils",
"refactoring_needed": 0,
"weight": 8.0
},
"packages/website": {
"avg_refactoring_score": 0.0,
"children": [
"packages/website/src"
],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 0,
"file_count": 0,
"health_score": 0.0,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages",
"path": "packages/website",
"refactoring_needed": 0,
"weight": 0.0
},
"packages/website/src": {
"avg_refactoring_score": 0.0,
"children": [
"packages/website/src/routes",
"packages/website/src/components"
],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 2,
"file_count": 2,
"health_score": 0.99146,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/website",
"path": "packages/website/src",
"refactoring_needed": 0,
"weight": 2.0
},
"packages/website/src/components": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 1,
"file_count": 1,
"health_score": 0.9491214498284498,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/website/src",
"path": "packages/website/src/components",
"refactoring_needed": 0,
"weight": 1.0
},
"packages/website/src/routes": {
"avg_refactoring_score": 0.0,
"children": [
"packages/website/src/routes/docs"
],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 2,
"file_count": 2,
"health_score": 0.9743231186889176,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/website/src",
"path": "packages/website/src/routes",
"refactoring_needed": 0,
"weight": 2.0
},
"packages/website/src/routes/docs": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 2,
"file_count": 2,
"health_score": 0.920387513658543,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "packages/website/src/routes",
"path": "packages/website/src/routes/docs",
"refactoring_needed": 0,
"weight": 2.0
},
"scripts": {
"avg_refactoring_score": 0.0,
"children": [],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 9,
"file_count": 9,
"health_score": 0.9431549568499656,
"high_priority_issues": 0,
"issue_categories": {},
"parent": "",
"path": "scripts",
"refactoring_needed": 0,
"weight": 9.0
}
},
"root": {
"avg_refactoring_score": 0.0,
"children": [
"scripts",
"packages"
],
"critical_issues": 0,
"doc_health_score": 1.0,
"doc_issue_count": 0,
"entity_count": 340,
"file_count": 340,
"health_score": 0.9407812716496421,
"high_priority_issues": 0,
"issue_categories": {},
"parent": null,
"path": ".",
"refactoring_needed": 2,
"weight": 0.0
},
"tree_statistics": {
"avg_health_score": 0.9407812716496421,
"health_by_depth": {},
"health_score_std_dev": 0.0,
"hotspot_directories": [],
"max_depth": 5,
"total_directories": 58
}
},
"documentation": {
"directory_doc_health": {
".paseo/worktrees/loved-insect/packages/app/e2e": 100.0,
".paseo/worktrees/loved-insect/packages/app/e2e/helpers": 100.0,
".paseo/worktrees/loved-insect/packages/app/src/app": 0.0,
".paseo/worktrees/loved-insect/packages/app/src/app/agent": 100.0,
".paseo/worktrees/loved-insect/packages/app/src/app/agent/[serverId]": 100.0,
".paseo/worktrees/loved-insect/packages/app/src/components": 0.0,
".paseo/worktrees/loved-insect/packages/app/src/components/agent-form": 100.0,
".paseo/worktrees/loved-insect/packages/app/src/components/headers": 100.0,
".paseo/worktrees/loved-insect/packages/app/src/components/ui": 100.0,
".paseo/worktrees/loved-insect/packages/app/src/constants": 100.0,
".paseo/worktrees/loved-insect/packages/app/src/contexts": 0.0,
".paseo/worktrees/loved-insect/packages/app/src/dictation": 100.0,
".paseo/worktrees/loved-insect/packages/app/src/hooks": 0.0,
".paseo/worktrees/loved-insect/packages/app/src/stores": 100.0,
".paseo/worktrees/loved-insect/packages/app/src/types": 100.0,
".paseo/worktrees/loved-insect/packages/app/src/utils": 0.0,
".paseo/worktrees/loved-insect/packages/desktop/src-tauri/src": 100.0,
".paseo/worktrees/loved-insect/packages/relay/src": 0.0,
".paseo/worktrees/loved-insect/packages/server/src/client": 100.0,
".paseo/worktrees/loved-insect/packages/server/src/poc-commands": 100.0,
".paseo/worktrees/loved-insect/packages/server/src/server": 0.0,
".paseo/worktrees/loved-insect/packages/server/src/server/agent": 0.0,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/providers": 100.0,
".paseo/worktrees/loved-insect/packages/server/src/server/daemon-e2e": 100.0,
".paseo/worktrees/loved-insect/packages/server/src/server/file-download": 100.0,
".paseo/worktrees/loved-insect/packages/server/src/server/file-explorer": 100.0,
".paseo/worktrees/loved-insect/packages/server/src/server/push": 100.0,
".paseo/worktrees/loved-insect/packages/server/src/server/terminal-mcp": 100.0,
".paseo/worktrees/loved-insect/packages/server/src/server/test-utils": 100.0,
".paseo/worktrees/loved-insect/packages/server/src/server/utils": 100.0,
".paseo/worktrees/loved-insect/packages/server/src/shared": 100.0,
".paseo/worktrees/loved-insect/packages/server/src/tasks": 100.0,
".paseo/worktrees/loved-insect/packages/server/src/terminal": 100.0,
".paseo/worktrees/loved-insect/packages/server/src/utils": 100.0,
".paseo/worktrees/loved-insect/packages/website/src/components": 100.0,
".paseo/worktrees/loved-insect/packages/website/src/routes": 100.0,
".paseo/worktrees/loved-insect/packages/website/src/routes/docs": 100.0,
".paseo/worktrees/ripe-dragonfly/packages/app/e2e": 100.0,
".paseo/worktrees/ripe-dragonfly/packages/app/e2e/helpers": 100.0,
".paseo/worktrees/ripe-dragonfly/packages/app/src/app": 0.0,
".paseo/worktrees/ripe-dragonfly/packages/app/src/app/agent": 100.0,
".paseo/worktrees/ripe-dragonfly/packages/app/src/app/agent/[serverId]": 100.0,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components": 0.0,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-form": 100.0,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/headers": 100.0,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/ui": 100.0,
".paseo/worktrees/ripe-dragonfly/packages/app/src/constants": 100.0,
".paseo/worktrees/ripe-dragonfly/packages/app/src/contexts": 0.0,
".paseo/worktrees/ripe-dragonfly/packages/app/src/dictation": 100.0,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks": 0.0,
".paseo/worktrees/ripe-dragonfly/packages/app/src/stores": 100.0,
".paseo/worktrees/ripe-dragonfly/packages/app/src/types": 100.0,
".paseo/worktrees/ripe-dragonfly/packages/app/src/utils": 0.0,
".paseo/worktrees/ripe-dragonfly/packages/desktop/src-tauri/src": 100.0,
".paseo/worktrees/ripe-dragonfly/packages/relay/src": 0.0,
".paseo/worktrees/ripe-dragonfly/packages/server/src/client": 100.0,
".paseo/worktrees/ripe-dragonfly/packages/server/src/poc-commands": 100.0,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server": 0.0,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent": 0.0,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/providers": 100.0,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/daemon-e2e": 100.0,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/file-download": 100.0,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/file-explorer": 100.0,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/push": 100.0,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/terminal-mcp": 100.0,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/test-utils": 100.0,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/utils": 100.0,
".paseo/worktrees/ripe-dragonfly/packages/server/src/shared": 100.0,
".paseo/worktrees/ripe-dragonfly/packages/server/src/tasks": 100.0,
".paseo/worktrees/ripe-dragonfly/packages/server/src/terminal": 100.0,
".paseo/worktrees/ripe-dragonfly/packages/server/src/utils": 100.0,
".paseo/worktrees/ripe-dragonfly/packages/website/src/components": 100.0,
".paseo/worktrees/ripe-dragonfly/packages/website/src/routes": 100.0,
".paseo/worktrees/ripe-dragonfly/packages/website/src/routes/docs": 100.0,
".paseo/worktrees/shallow-lynx/packages/app/e2e": 100.0,
".paseo/worktrees/shallow-lynx/packages/app/e2e/helpers": 100.0,
".paseo/worktrees/shallow-lynx/packages/app/src/app": 0.0,
".paseo/worktrees/shallow-lynx/packages/app/src/components": 0.0,
".paseo/worktrees/shallow-lynx/packages/app/src/components/agent-form": 100.0,
".paseo/worktrees/shallow-lynx/packages/app/src/components/headers": 100.0,
".paseo/worktrees/shallow-lynx/packages/app/src/components/ui": 100.0,
".paseo/worktrees/shallow-lynx/packages/app/src/constants": 100.0,
".paseo/worktrees/shallow-lynx/packages/app/src/contexts": 0.0,
".paseo/worktrees/shallow-lynx/packages/app/src/dictation": 100.0,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks": 0.0,
".paseo/worktrees/shallow-lynx/packages/app/src/screens/agent": 100.0,
".paseo/worktrees/shallow-lynx/packages/app/src/stores": 100.0,
".paseo/worktrees/shallow-lynx/packages/app/src/types": 100.0,
".paseo/worktrees/shallow-lynx/packages/app/src/utils": 0.0,
".paseo/worktrees/shallow-lynx/packages/desktop/src-tauri/src": 100.0,
".paseo/worktrees/shallow-lynx/packages/relay/src": 0.0,
".paseo/worktrees/shallow-lynx/packages/server/src/client": 100.0,
".paseo/worktrees/shallow-lynx/packages/server/src/poc-commands": 100.0,
".paseo/worktrees/shallow-lynx/packages/server/src/server": 0.0,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent": 0.0,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/providers": 100.0,
".paseo/worktrees/shallow-lynx/packages/server/src/server/daemon-e2e": 100.0,
".paseo/worktrees/shallow-lynx/packages/server/src/server/file-download": 100.0,
".paseo/worktrees/shallow-lynx/packages/server/src/server/file-explorer": 100.0,
".paseo/worktrees/shallow-lynx/packages/server/src/server/push": 100.0,
".paseo/worktrees/shallow-lynx/packages/server/src/server/terminal-mcp": 100.0,
".paseo/worktrees/shallow-lynx/packages/server/src/server/test-utils": 100.0,
".paseo/worktrees/shallow-lynx/packages/server/src/server/utils": 100.0,
".paseo/worktrees/shallow-lynx/packages/server/src/shared": 100.0,
".paseo/worktrees/shallow-lynx/packages/server/src/tasks": 100.0,
".paseo/worktrees/shallow-lynx/packages/server/src/terminal": 100.0,
".paseo/worktrees/shallow-lynx/packages/server/src/utils": 100.0,
".paseo/worktrees/shallow-lynx/packages/website/src/components": 100.0,
".paseo/worktrees/shallow-lynx/packages/website/src/routes": 100.0,
".paseo/worktrees/shallow-lynx/packages/website/src/routes/docs": 100.0,
"packages/app/e2e": 100.0,
"packages/app/e2e/helpers": 100.0,
"packages/app/src/app": 0.0,
"packages/app/src/components": 0.0,
"packages/app/src/components/agent-form": 100.0,
"packages/app/src/components/headers": 100.0,
"packages/app/src/components/ui": 100.0,
"packages/app/src/constants": 100.0,
"packages/app/src/contexts": 0.0,
"packages/app/src/dictation": 100.0,
"packages/app/src/hooks": 0.0,
"packages/app/src/screens/agent": 100.0,
"packages/app/src/stores": 100.0,
"packages/app/src/types": 100.0,
"packages/app/src/utils": 0.0,
"packages/desktop/src-tauri/src": 100.0,
"packages/relay/src": 0.0,
"packages/server/src/client": 100.0,
"packages/server/src/poc-commands": 100.0,
"packages/server/src/server": 0.0,
"packages/server/src/server/agent": 0.0,
"packages/server/src/server/agent/providers": 100.0,
"packages/server/src/server/daemon-e2e": 100.0,
"packages/server/src/server/file-download": 100.0,
"packages/server/src/server/file-explorer": 100.0,
"packages/server/src/server/push": 100.0,
"packages/server/src/server/terminal-mcp": 100.0,
"packages/server/src/server/test-utils": 100.0,
"packages/server/src/server/utils": 100.0,
"packages/server/src/shared": 100.0,
"packages/server/src/tasks": 100.0,
"packages/server/src/terminal": 100.0,
"packages/server/src/utils": 100.0,
"packages/website/src/components": 100.0,
"packages/website/src/routes": 100.0,
"packages/website/src/routes/docs": 100.0
},
"directory_doc_issues": {
".paseo/worktrees/loved-insect/packages/app/e2e": 0,
".paseo/worktrees/loved-insect/packages/app/e2e/helpers": 0,
".paseo/worktrees/loved-insect/packages/app/src/app": 6,
".paseo/worktrees/loved-insect/packages/app/src/app/agent": 0,
".paseo/worktrees/loved-insect/packages/app/src/app/agent/[serverId]": 0,
".paseo/worktrees/loved-insect/packages/app/src/components": 35,
".paseo/worktrees/loved-insect/packages/app/src/components/agent-form": 0,
".paseo/worktrees/loved-insect/packages/app/src/components/headers": 0,
".paseo/worktrees/loved-insect/packages/app/src/components/ui": 0,
".paseo/worktrees/loved-insect/packages/app/src/constants": 0,
".paseo/worktrees/loved-insect/packages/app/src/contexts": 7,
".paseo/worktrees/loved-insect/packages/app/src/dictation": 0,
".paseo/worktrees/loved-insect/packages/app/src/hooks": 21,
".paseo/worktrees/loved-insect/packages/app/src/stores": 0,
".paseo/worktrees/loved-insect/packages/app/src/types": 0,
".paseo/worktrees/loved-insect/packages/app/src/utils": 10,
".paseo/worktrees/loved-insect/packages/desktop/src-tauri/src": 0,
".paseo/worktrees/loved-insect/packages/relay/src": 5,
".paseo/worktrees/loved-insect/packages/server/src/client": 0,
".paseo/worktrees/loved-insect/packages/server/src/poc-commands": 0,
".paseo/worktrees/loved-insect/packages/server/src/server": 13,
".paseo/worktrees/loved-insect/packages/server/src/server/agent": 14,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/providers": 0,
".paseo/worktrees/loved-insect/packages/server/src/server/daemon-e2e": 0,
".paseo/worktrees/loved-insect/packages/server/src/server/file-download": 0,
".paseo/worktrees/loved-insect/packages/server/src/server/file-explorer": 0,
".paseo/worktrees/loved-insect/packages/server/src/server/push": 0,
".paseo/worktrees/loved-insect/packages/server/src/server/terminal-mcp": 0,
".paseo/worktrees/loved-insect/packages/server/src/server/test-utils": 0,
".paseo/worktrees/loved-insect/packages/server/src/server/utils": 0,
".paseo/worktrees/loved-insect/packages/server/src/shared": 0,
".paseo/worktrees/loved-insect/packages/server/src/tasks": 0,
".paseo/worktrees/loved-insect/packages/server/src/terminal": 0,
".paseo/worktrees/loved-insect/packages/server/src/utils": 0,
".paseo/worktrees/loved-insect/packages/website/src/components": 0,
".paseo/worktrees/loved-insect/packages/website/src/routes": 0,
".paseo/worktrees/loved-insect/packages/website/src/routes/docs": 0,
".paseo/worktrees/ripe-dragonfly/packages/app/e2e": 0,
".paseo/worktrees/ripe-dragonfly/packages/app/e2e/helpers": 0,
".paseo/worktrees/ripe-dragonfly/packages/app/src/app": 7,
".paseo/worktrees/ripe-dragonfly/packages/app/src/app/agent": 0,
".paseo/worktrees/ripe-dragonfly/packages/app/src/app/agent/[serverId]": 0,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components": 34,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-form": 0,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/headers": 0,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/ui": 0,
".paseo/worktrees/ripe-dragonfly/packages/app/src/constants": 0,
".paseo/worktrees/ripe-dragonfly/packages/app/src/contexts": 7,
".paseo/worktrees/ripe-dragonfly/packages/app/src/dictation": 0,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks": 21,
".paseo/worktrees/ripe-dragonfly/packages/app/src/stores": 0,
".paseo/worktrees/ripe-dragonfly/packages/app/src/types": 0,
".paseo/worktrees/ripe-dragonfly/packages/app/src/utils": 9,
".paseo/worktrees/ripe-dragonfly/packages/desktop/src-tauri/src": 0,
".paseo/worktrees/ripe-dragonfly/packages/relay/src": 5,
".paseo/worktrees/ripe-dragonfly/packages/server/src/client": 0,
".paseo/worktrees/ripe-dragonfly/packages/server/src/poc-commands": 0,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server": 13,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent": 14,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/providers": 0,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/daemon-e2e": 0,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/file-download": 0,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/file-explorer": 0,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/push": 0,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/terminal-mcp": 0,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/test-utils": 0,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/utils": 0,
".paseo/worktrees/ripe-dragonfly/packages/server/src/shared": 0,
".paseo/worktrees/ripe-dragonfly/packages/server/src/tasks": 0,
".paseo/worktrees/ripe-dragonfly/packages/server/src/terminal": 0,
".paseo/worktrees/ripe-dragonfly/packages/server/src/utils": 0,
".paseo/worktrees/ripe-dragonfly/packages/website/src/components": 0,
".paseo/worktrees/ripe-dragonfly/packages/website/src/routes": 0,
".paseo/worktrees/ripe-dragonfly/packages/website/src/routes/docs": 0,
".paseo/worktrees/shallow-lynx/packages/app/e2e": 0,
".paseo/worktrees/shallow-lynx/packages/app/e2e/helpers": 0,
".paseo/worktrees/shallow-lynx/packages/app/src/app": 5,
".paseo/worktrees/shallow-lynx/packages/app/src/components": 35,
".paseo/worktrees/shallow-lynx/packages/app/src/components/agent-form": 0,
".paseo/worktrees/shallow-lynx/packages/app/src/components/headers": 0,
".paseo/worktrees/shallow-lynx/packages/app/src/components/ui": 0,
".paseo/worktrees/shallow-lynx/packages/app/src/constants": 0,
".paseo/worktrees/shallow-lynx/packages/app/src/contexts": 7,
".paseo/worktrees/shallow-lynx/packages/app/src/dictation": 0,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks": 21,
".paseo/worktrees/shallow-lynx/packages/app/src/screens/agent": 0,
".paseo/worktrees/shallow-lynx/packages/app/src/stores": 0,
".paseo/worktrees/shallow-lynx/packages/app/src/types": 0,
".paseo/worktrees/shallow-lynx/packages/app/src/utils": 10,
".paseo/worktrees/shallow-lynx/packages/desktop/src-tauri/src": 0,
".paseo/worktrees/shallow-lynx/packages/relay/src": 5,
".paseo/worktrees/shallow-lynx/packages/server/src/client": 0,
".paseo/worktrees/shallow-lynx/packages/server/src/poc-commands": 0,
".paseo/worktrees/shallow-lynx/packages/server/src/server": 13,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent": 14,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/providers": 0,
".paseo/worktrees/shallow-lynx/packages/server/src/server/daemon-e2e": 0,
".paseo/worktrees/shallow-lynx/packages/server/src/server/file-download": 0,
".paseo/worktrees/shallow-lynx/packages/server/src/server/file-explorer": 0,
".paseo/worktrees/shallow-lynx/packages/server/src/server/push": 0,
".paseo/worktrees/shallow-lynx/packages/server/src/server/terminal-mcp": 0,
".paseo/worktrees/shallow-lynx/packages/server/src/server/test-utils": 0,
".paseo/worktrees/shallow-lynx/packages/server/src/server/utils": 0,
".paseo/worktrees/shallow-lynx/packages/server/src/shared": 0,
".paseo/worktrees/shallow-lynx/packages/server/src/tasks": 0,
".paseo/worktrees/shallow-lynx/packages/server/src/terminal": 0,
".paseo/worktrees/shallow-lynx/packages/server/src/utils": 0,
".paseo/worktrees/shallow-lynx/packages/website/src/components": 0,
".paseo/worktrees/shallow-lynx/packages/website/src/routes": 0,
".paseo/worktrees/shallow-lynx/packages/website/src/routes/docs": 0,
"packages/app/e2e": 0,
"packages/app/e2e/helpers": 0,
"packages/app/src/app": 5,
"packages/app/src/components": 37,
"packages/app/src/components/agent-form": 0,
"packages/app/src/components/headers": 0,
"packages/app/src/components/ui": 0,
"packages/app/src/constants": 0,
"packages/app/src/contexts": 8,
"packages/app/src/dictation": 0,
"packages/app/src/hooks": 21,
"packages/app/src/screens/agent": 0,
"packages/app/src/stores": 0,
"packages/app/src/types": 0,
"packages/app/src/utils": 11,
"packages/desktop/src-tauri/src": 0,
"packages/relay/src": 5,
"packages/server/src/client": 0,
"packages/server/src/poc-commands": 0,
"packages/server/src/server": 13,
"packages/server/src/server/agent": 14,
"packages/server/src/server/agent/providers": 0,
"packages/server/src/server/daemon-e2e": 0,
"packages/server/src/server/file-download": 0,
"packages/server/src/server/file-explorer": 0,
"packages/server/src/server/push": 0,
"packages/server/src/server/terminal-mcp": 0,
"packages/server/src/server/test-utils": 0,
"packages/server/src/server/utils": 0,
"packages/server/src/shared": 0,
"packages/server/src/tasks": 0,
"packages/server/src/terminal": 0,
"packages/server/src/utils": 0,
"packages/website/src/components": 0,
"packages/website/src/routes": 0,
"packages/website/src/routes/docs": 0
},
"doc_health_score": 78.08219178082192,
"file_doc_health": {
"+html.tsx": 75.70403237682834,
"./+html.tsx": 75.70403237682834,
"./.paseo/worktrees/loved-insect/packages/app/babel.config.js": 84.67095113473219,
"./.paseo/worktrees/loved-insect/packages/app/e2e/global-setup.ts": 49.078001906565625,
"./.paseo/worktrees/loved-insect/packages/app/e2e/helpers/app.ts": 45.04593464629272,
"./.paseo/worktrees/loved-insect/packages/app/src/app/+html.tsx": 75.70403237682834,
"./.paseo/worktrees/loved-insect/packages/app/src/app/_layout.tsx": 37.34308237150715,
"./.paseo/worktrees/loved-insect/packages/app/src/app/agent/[id].tsx": 64.40705077183343,
"./.paseo/worktrees/loved-insect/packages/app/src/app/agent/[serverId]/[agentId].tsx": 27.94672987236956,
"./.paseo/worktrees/loved-insect/packages/app/src/app/agents.tsx": 64.40705077183343,
"./.paseo/worktrees/loved-insect/packages/app/src/app/index.tsx": 30.658097730535626,
"./.paseo/worktrees/loved-insect/packages/app/src/app/pair-scan.tsx": 69.34190226946438,
"./.paseo/worktrees/loved-insect/packages/app/src/app/settings.tsx": 40.11108314866176,
"./.paseo/worktrees/loved-insect/packages/app/src/components/active-processes.tsx": 56.965919217628894,
"./.paseo/worktrees/loved-insect/packages/app/src/components/adaptive-modal-sheet.tsx": 64.40705077183343,
"./.paseo/worktrees/loved-insect/packages/app/src/components/add-host-method-modal.tsx": 60.37498351156052,
"./.paseo/worktrees/loved-insect/packages/app/src/components/add-host-modal.tsx": 45.04593464629272,
"./.paseo/worktrees/loved-insect/packages/app/src/components/agent-activity.tsx": 49.078001906565625,
"./.paseo/worktrees/loved-insect/packages/app/src/components/agent-form/agent-form-dropdowns.tsx": 19.554262705039893,
"./.paseo/worktrees/loved-insect/packages/app/src/components/agent-input-area.tsx": 27.112097130485,
"./.paseo/worktrees/loved-insect/packages/app/src/components/agent-list.tsx": 54.01285340419657,
"./.paseo/worktrees/loved-insect/packages/app/src/components/agent-status-bar.tsx": 64.40705077183343,
"./.paseo/worktrees/loved-insect/packages/app/src/components/agent-stream-view.tsx": 25.53177193914712,
"./.paseo/worktrees/loved-insect/packages/app/src/components/artifact-drawer.tsx": 75.70403237682834,
"./.paseo/worktrees/loved-insect/packages/app/src/components/audio-debug-notice.tsx": 60.37498351156052,
"./.paseo/worktrees/loved-insect/packages/app/src/components/command-autocomplete.tsx": 64.40705077183343,
"./.paseo/worktrees/loved-insect/packages/app/src/components/connection-status.tsx": 75.70403237682834,
"./.paseo/worktrees/loved-insect/packages/app/src/components/dictation-controls.tsx": 64.40705077183343,
"./.paseo/worktrees/loved-insect/packages/app/src/components/dictation-status-notice.tsx": 64.40705077183343,
"./.paseo/worktrees/loved-insect/packages/app/src/components/diff-viewer.tsx": 75.70403237682834,
"./.paseo/worktrees/loved-insect/packages/app/src/components/download-toast.tsx": 60.37498351156052,
"./.paseo/worktrees/loved-insect/packages/app/src/components/empty-state.tsx": 75.70403237682834,
"./.paseo/worktrees/loved-insect/packages/app/src/components/explorer-sidebar.tsx": 36.07901588838887,
"./.paseo/worktrees/loved-insect/packages/app/src/components/file-drop-zone.tsx": 69.34190226946438,
"./.paseo/worktrees/loved-insect/packages/app/src/components/file-explorer-pane.tsx": 20.74996702312105,
"./.paseo/worktrees/loved-insect/packages/app/src/components/git-diff-pane.tsx": 31.641154806588556,
"./.paseo/worktrees/loved-insect/packages/app/src/components/headers/back-header.tsx": 75.70403237682834,
"./.paseo/worktrees/loved-insect/packages/app/src/components/headers/menu-header.tsx": 60.37498351156052,
"./.paseo/worktrees/loved-insect/packages/app/src/components/headers/screen-header.tsx": 84.67095113473219,
"./.paseo/worktrees/loved-insect/packages/app/src/components/home-footer.tsx": 60.37498351156052,
"./.paseo/worktrees/loved-insect/packages/app/src/components/icons/claude-icon.tsx": 84.67095113473219,
"./.paseo/worktrees/loved-insect/packages/app/src/components/icons/codex-icon.tsx": 84.67095113473219,
"./.paseo/worktrees/loved-insect/packages/app/src/components/message-input.tsx": 29.716885781024914,
"./.paseo/worktrees/loved-insect/packages/app/src/components/message.tsx": 30.658097730535626,
"./.paseo/worktrees/loved-insect/packages/app/src/components/mode-selector-modal.tsx": 75.70403237682834,
"./.paseo/worktrees/loved-insect/packages/app/src/components/multi-daemon-session-host.tsx": 56.965919217628894,
"./.paseo/worktrees/loved-insect/packages/app/src/components/pair-link-modal.tsx": 60.37498351156052,
"./.paseo/worktrees/loved-insect/packages/app/src/components/realtime-controls.tsx": 69.34190226946438,
"./.paseo/worktrees/loved-insect/packages/app/src/components/sliding-sidebar.tsx": 36.07901588838887,
"./.paseo/worktrees/loved-insect/packages/app/src/components/tool-call-details.tsx": 49.078001906565625,
"./.paseo/worktrees/loved-insect/packages/app/src/components/tool-call-preview.ts": 84.67095113473219,
"./.paseo/worktrees/loved-insect/packages/app/src/components/tool-call-sheet.tsx": 49.078001906565625,
"./.paseo/worktrees/loved-insect/packages/app/src/components/ui/dropdown-menu-floating.ts": 54.01285340419657,
"./.paseo/worktrees/loved-insect/packages/app/src/components/ui/dropdown-menu.tsx": 38.68380453892877,
"./.paseo/worktrees/loved-insect/packages/app/src/components/voice-button.tsx": 60.37498351156052,
"./.paseo/worktrees/loved-insect/packages/app/src/components/volume-meter.tsx": 60.37498351156052,
"./.paseo/worktrees/loved-insect/packages/app/src/components/welcome-screen.tsx": 75.70403237682834,
"./.paseo/worktrees/loved-insect/packages/app/src/constants/layout.ts": 69.34190226946438,
"./.paseo/worktrees/loved-insect/packages/app/src/contexts/daemon-connections-context.tsx": 60.37498351156052,
"./.paseo/worktrees/loved-insect/packages/app/src/contexts/daemon-registry-context.tsx": 30.658097730535626,
"./.paseo/worktrees/loved-insect/packages/app/src/contexts/explorer-sidebar-animation-context.tsx": 56.965919217628894,
"./.paseo/worktrees/loved-insect/packages/app/src/contexts/horizontal-scroll-context.tsx": 64.40705077183343,
"./.paseo/worktrees/loved-insect/packages/app/src/contexts/realtime-context.tsx": 64.40705077183343,
"./.paseo/worktrees/loved-insect/packages/app/src/contexts/session-context.tsx": 14.387836915757102,
"./.paseo/worktrees/loved-insect/packages/app/src/contexts/sidebar-animation-context.tsx": 56.965919217628894,
"./.paseo/worktrees/loved-insect/packages/app/src/dictation/dictation-stream-sender.ts": 75.70403237682834,
"./.paseo/worktrees/loved-insect/packages/app/src/hooks/checkout-status-revalidation.ts": 75.70403237682834,
"./.paseo/worktrees/loved-insect/packages/app/src/hooks/use-agent-commands-query.ts": 75.70403237682834,
"./.paseo/worktrees/loved-insect/packages/app/src/hooks/use-agent-form-state.ts": 40.11108314866176,
"./.paseo/worktrees/loved-insect/packages/app/src/hooks/use-aggregated-agents.ts": 60.37498351156052,
"./.paseo/worktrees/loved-insect/packages/app/src/hooks/use-audio-player.native.ts": 54.01285340419657,
"./.paseo/worktrees/loved-insect/packages/app/src/hooks/use-audio-recorder.native.ts": 54.01285340419657,
"./.paseo/worktrees/loved-insect/packages/app/src/hooks/use-audio-recorder.web.ts": 41.636870352361086,
"./.paseo/worktrees/loved-insect/packages/app/src/hooks/use-checkout-diff-query.ts": 56.965919217628894,
"./.paseo/worktrees/loved-insect/packages/app/src/hooks/use-checkout-pr-status-query.ts": 75.70403237682834,
"./.paseo/worktrees/loved-insect/packages/app/src/hooks/use-checkout-status-query.ts": 56.965919217628894,
"./.paseo/worktrees/loved-insect/packages/app/src/hooks/use-client-activity.ts": 56.965919217628894,
"./.paseo/worktrees/loved-insect/packages/app/src/hooks/use-daemon-client.ts": 69.34190226946438,
"./.paseo/worktrees/loved-insect/packages/app/src/hooks/use-dictation-audio-source.native.ts": 69.34190226946438,
"./.paseo/worktrees/loved-insect/packages/app/src/hooks/use-dictation-audio-source.web.ts": 51.40806475365667,
"./.paseo/worktrees/loved-insect/packages/app/src/hooks/use-dictation.ts": 45.04593464629272,
"./.paseo/worktrees/loved-insect/packages/app/src/hooks/use-favicon-status.ts": 51.40806475365667,
"./.paseo/worktrees/loved-insect/packages/app/src/hooks/use-file-drop-zone.ts": 54.01285340419657,
"./.paseo/worktrees/loved-insect/packages/app/src/hooks/use-form-preferences.ts": 75.70403237682834,
"./.paseo/worktrees/loved-insect/packages/app/src/hooks/use-git-diff-query.ts": 56.965919217628894,
"./.paseo/worktrees/loved-insect/packages/app/src/hooks/use-image-attachment-picker.ts": 69.34190226946438,
"./.paseo/worktrees/loved-insect/packages/app/src/hooks/use-recent-paths.ts": 60.37498351156052,
"./.paseo/worktrees/loved-insect/packages/app/src/hooks/use-session-directory.ts": 60.37498351156052,
"./.paseo/worktrees/loved-insect/packages/app/src/hooks/use-settings.ts": 64.40705077183343,
"./.paseo/worktrees/loved-insect/packages/app/src/hooks/use-speechmatics-audio.native.ts": 51.40806475365667,
"./.paseo/worktrees/loved-insect/packages/app/src/hooks/use-speechmatics-audio.web.ts": 69.34190226946438,
"./.paseo/worktrees/loved-insect/packages/app/src/hooks/use-theme-color.ts": 84.67095113473219,
"./.paseo/worktrees/loved-insect/packages/app/src/polyfills/crypto.ts": 84.67095113473219,
"./.paseo/worktrees/loved-insect/packages/app/src/stores/download-store.ts": 46.97020367185636,
"./.paseo/worktrees/loved-insect/packages/app/src/stores/panel-store.ts": 84.67095113473219,
"./.paseo/worktrees/loved-insect/packages/app/src/stores/session-store.ts": 69.34190226946438,
"./.paseo/worktrees/loved-insect/packages/app/src/types/agent-activity.ts": 84.67095113473219,
"./.paseo/worktrees/loved-insect/packages/app/src/types/stream.ts": 21.37296998946232,
"./.paseo/worktrees/loved-insect/packages/app/src/utils/agent-status.ts": 75.70403237682834,
"./.paseo/worktrees/loved-insect/packages/app/src/utils/analytics.ts": 84.67095113473219,
"./.paseo/worktrees/loved-insect/packages/app/src/utils/attempt-guard.ts": 84.67095113473219,
"./.paseo/worktrees/loved-insect/packages/app/src/utils/daemon-endpoints.ts": 49.078001906565625,
"./.paseo/worktrees/loved-insect/packages/app/src/utils/daemons.ts": 75.70403237682834,
"./.paseo/worktrees/loved-insect/packages/app/src/utils/diff-highlighter.ts": 56.965919217628894,
"./.paseo/worktrees/loved-insect/packages/app/src/utils/exhaustive.ts": 84.67095113473219,
"./.paseo/worktrees/loved-insect/packages/app/src/utils/extract-agent-model.ts": 84.67095113473219,
"./.paseo/worktrees/loved-insect/packages/app/src/utils/os-notifications.ts": 64.40705077183343,
"./.paseo/worktrees/loved-insect/packages/app/src/utils/perf-monitor.ts": 69.34190226946438,
"./.paseo/worktrees/loved-insect/packages/app/src/utils/perf.ts": 75.70403237682834,
"./.paseo/worktrees/loved-insect/packages/app/src/utils/syntax-highlighter.ts": 60.37498351156052,
"./.paseo/worktrees/loved-insect/packages/app/src/utils/tauri-daemon-transport.ts": 41.636870352361086,
"./.paseo/worktrees/loved-insect/packages/app/src/utils/tauri-window.ts": 51.40806475365667,
"./.paseo/worktrees/loved-insect/packages/app/src/utils/test-daemon-connection.ts": 49.078001906565625,
"./.paseo/worktrees/loved-insect/packages/app/src/utils/tool-call-parsers.ts": 23.354755673660954,
"./.paseo/worktrees/loved-insect/packages/desktop/src-tauri/build.rs": 84.67095113473219,
"./.paseo/worktrees/loved-insect/packages/desktop/src-tauri/src/lib.rs": 69.34190226946438,
"./.paseo/worktrees/loved-insect/packages/desktop/src-tauri/src/main.rs": 84.67095113473219,
"./.paseo/worktrees/loved-insect/packages/relay/src/cloudflare-adapter.ts": 69.34190226946438,
"./.paseo/worktrees/loved-insect/packages/relay/src/crypto.ts": 75.70403237682834,
"./.paseo/worktrees/loved-insect/packages/relay/src/encrypted-channel.ts": 69.34190226946438,
"./.paseo/worktrees/loved-insect/packages/relay/src/node-adapter.ts": 69.34190226946438,
"./.paseo/worktrees/loved-insect/packages/relay/src/relay.ts": 84.67095113473219,
"./.paseo/worktrees/loved-insect/packages/server/src/client/daemon-client-v2.ts": 45.04593464629272,
"./.paseo/worktrees/loved-insect/packages/server/src/poc-commands/investigate-command-output.ts": 64.40705077183343,
"./.paseo/worktrees/loved-insect/packages/server/src/poc-commands/run-poc.ts": 60.37498351156052,
"./.paseo/worktrees/loved-insect/packages/server/src/server/agent/activity-curator.ts": 60.37498351156052,
"./.paseo/worktrees/loved-insect/packages/server/src/server/agent/agent-manager.ts": 51.40806475365667,
"./.paseo/worktrees/loved-insect/packages/server/src/server/agent/agent-projections.ts": 41.636870352361086,
"./.paseo/worktrees/loved-insect/packages/server/src/server/agent/agent-response-loop.ts": 41.636870352361086,
"./.paseo/worktrees/loved-insect/packages/server/src/server/agent/agent-storage.ts": 69.34190226946438,
"./.paseo/worktrees/loved-insect/packages/server/src/server/agent/audio-utils.ts": 64.40705077183343,
"./.paseo/worktrees/loved-insect/packages/server/src/server/agent/mcp-server.ts": 38.68380453892877,
"./.paseo/worktrees/loved-insect/packages/server/src/server/agent/model-resolver.ts": 75.70403237682834,
"./.paseo/worktrees/loved-insect/packages/server/src/server/agent/openai-realtime-transcription.ts": 75.70403237682834,
"./.paseo/worktrees/loved-insect/packages/server/src/server/agent/paseo-instructions-tag.ts": 75.70403237682834,
"./.paseo/worktrees/loved-insect/packages/server/src/server/agent/pcm16-resampler.ts": 84.67095113473219,
"./.paseo/worktrees/loved-insect/packages/server/src/server/agent/provider-manifest.ts": 69.34190226946438,
"./.paseo/worktrees/loved-insect/packages/server/src/server/agent/provider-registry.ts": 69.34190226946438,
"./.paseo/worktrees/loved-insect/packages/server/src/server/agent/providers/claude-agent.ts": 25.53177193914712,
"./.paseo/worktrees/loved-insect/packages/server/src/server/agent/providers/codex-mcp-agent.ts": 0.0,
"./.paseo/worktrees/loved-insect/packages/server/src/server/agent/providers/opencode-agent.ts": 49.078001906565625,
"./.paseo/worktrees/loved-insect/packages/server/src/server/agent/self-identification-instructions.ts": 75.70403237682834,
"./.paseo/worktrees/loved-insect/packages/server/src/server/agent/stt-debug.ts": 84.67095113473219,
"./.paseo/worktrees/loved-insect/packages/server/src/server/agent/stt-openai.ts": 60.37498351156052,
"./.paseo/worktrees/loved-insect/packages/server/src/server/agent/system-prompt.ts": 75.70403237682834,
"./.paseo/worktrees/loved-insect/packages/server/src/server/agent/tts-manager.ts": 60.37498351156052,
"./.paseo/worktrees/loved-insect/packages/server/src/server/agent/tts-openai.ts": 84.67095113473219,
"./.paseo/worktrees/loved-insect/packages/server/src/server/bootstrap.ts": 46.97020367185636,
"./.paseo/worktrees/loved-insect/packages/server/src/server/config.ts": 69.34190226946438,
"./.paseo/worktrees/loved-insect/packages/server/src/server/connection-offer.ts": 56.965919217628894,
"./.paseo/worktrees/loved-insect/packages/server/src/server/daemon-e2e/setup.ts": 69.34190226946438,
"./.paseo/worktrees/loved-insect/packages/server/src/server/file-download/token-store.ts": 84.67095113473219,
"./.paseo/worktrees/loved-insect/packages/server/src/server/file-explorer/service.ts": 56.965919217628894,
"./.paseo/worktrees/loved-insect/packages/server/src/server/index.ts": 69.34190226946438,
"./.paseo/worktrees/loved-insect/packages/server/src/server/json-utils.ts": 84.67095113473219,
"./.paseo/worktrees/loved-insect/packages/server/src/server/logger.ts": 69.34190226946438,
"./.paseo/worktrees/loved-insect/packages/server/src/server/messages.ts": 75.70403237682834,
"./.paseo/worktrees/loved-insect/packages/server/src/server/pairing-qr.ts": 64.40705077183343,
"./.paseo/worktrees/loved-insect/packages/server/src/server/paseo-home.ts": 75.70403237682834,
"./.paseo/worktrees/loved-insect/packages/server/src/server/persisted-config.ts": 64.40705077183343,
"./.paseo/worktrees/loved-insect/packages/server/src/server/persistence-hooks.ts": 60.37498351156052,
"./.paseo/worktrees/loved-insect/packages/server/src/server/push/push-service.ts": 84.67095113473219,
"./.paseo/worktrees/loved-insect/packages/server/src/server/relay-transport.ts": 56.965919217628894,
"./.paseo/worktrees/loved-insect/packages/server/src/server/session.ts": 33.74895304129781,
"./.paseo/worktrees/loved-insect/packages/server/src/server/terminal-mcp/terminal-manager.ts": 64.40705077183343,
"./.paseo/worktrees/loved-insect/packages/server/src/server/terminal-mcp/tmux.ts": 36.07901588838887,
"./.paseo/worktrees/loved-insect/packages/server/src/server/test-utils/claude-config.ts": 84.67095113473219,
"./.paseo/worktrees/loved-insect/packages/server/src/server/test-utils/daemon-client.ts": 84.67095113473219,
"./.paseo/worktrees/loved-insect/packages/server/src/server/test-utils/paseo-daemon.ts": 64.40705077183343,
"./.paseo/worktrees/loved-insect/packages/server/src/server/utils/diff-highlighter.ts": 54.01285340419657,
"./.paseo/worktrees/loved-insect/packages/server/src/server/utils/syntax-highlighter.ts": 60.37498351156052,
"./.paseo/worktrees/loved-insect/packages/server/src/server/voice-conversation-store.ts": 69.34190226946438,
"./.paseo/worktrees/loved-insect/packages/server/src/server/websocket-session-bridge.ts": 69.34190226946438,
"./.paseo/worktrees/loved-insect/packages/server/src/shared/messages.ts": 84.67095113473219,
"./.paseo/worktrees/loved-insect/packages/server/src/tasks/cli.ts": 32.66995159445722,
"./.paseo/worktrees/loved-insect/packages/server/src/tasks/execution-order.ts": 54.01285340419657,
"./.paseo/worktrees/loved-insect/packages/server/src/tasks/task-store.ts": 41.636870352361086,
"./.paseo/worktrees/loved-insect/packages/server/src/terminal/terminal-manager.ts": 75.70403237682834,
"./.paseo/worktrees/loved-insect/packages/server/src/terminal/terminal.ts": 49.078001906565625,
"./.paseo/worktrees/loved-insect/packages/server/src/test-utils/test-logger.ts": 84.67095113473219,
"./.paseo/worktrees/loved-insect/packages/server/src/utils/checkout-git.ts": 28.814101543666858,
"./.paseo/worktrees/loved-insect/packages/server/src/utils/tool-call-parsers.ts": 60.37498351156052,
"./.paseo/worktrees/loved-insect/packages/server/src/utils/worktree-metadata.ts": 56.965919217628894,
"./.paseo/worktrees/loved-insect/packages/server/src/utils/worktree.ts": 40.11108314866176,
"./.paseo/worktrees/loved-insect/packages/website/src/components/butterfly.tsx": 40.11108314866176,
"./.paseo/worktrees/loved-insect/packages/website/src/router.tsx": 84.67095113473219,
"./.paseo/worktrees/loved-insect/packages/website/src/routes/__root.tsx": 75.70403237682834,
"./.paseo/worktrees/loved-insect/packages/website/src/routes/docs.tsx": 84.67095113473219,
"./.paseo/worktrees/loved-insect/packages/website/src/routes/docs/best-practices.tsx": 84.67095113473219,
"./.paseo/worktrees/loved-insect/packages/website/src/routes/docs/index.tsx": 84.67095113473219,
"./.paseo/worktrees/loved-insect/packages/website/src/routes/index.tsx": 41.636870352361086,
"./.paseo/worktrees/ripe-dragonfly/packages/app/babel.config.js": 84.67095113473219,
"./.paseo/worktrees/ripe-dragonfly/packages/app/e2e/global-setup.ts": 49.078001906565625,
"./.paseo/worktrees/ripe-dragonfly/packages/app/e2e/helpers/app.ts": 45.04593464629272,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/app/+html.tsx": 75.70403237682834,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/app/_layout.tsx": 37.34308237150715,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/app/agent/[id].tsx": 64.40705077183343,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/app/agent/[serverId]/[agentId].tsx": 27.94672987236956,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/app/agents.tsx": 64.40705077183343,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/app/index.tsx": 30.658097730535626,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/app/orchestrator.tsx": 56.965919217628894,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/app/pair-scan.tsx": 69.34190226946438,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/app/settings.tsx": 40.11108314866176,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/active-processes.tsx": 56.965919217628894,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-activity.tsx": 49.078001906565625,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-form/agent-form-dropdowns.tsx": 19.554262705039893,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-input-area.tsx": 27.112097130485,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-list.tsx": 56.965919217628894,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-status-bar.tsx": 64.40705077183343,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-stream-view.tsx": 25.53177193914712,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-thought-content.tsx": 69.34190226946438,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/artifact-drawer.tsx": 75.70403237682834,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/audio-debug-notice.tsx": 60.37498351156052,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/command-autocomplete.tsx": 64.40705077183343,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/connection-status.tsx": 75.70403237682834,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/conversation-selector.tsx": 54.01285340419657,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/dictation-controls.tsx": 64.40705077183343,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/dictation-status-notice.tsx": 64.40705077183343,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/diff-viewer.tsx": 75.70403237682834,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/download-toast.tsx": 60.37498351156052,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/empty-state.tsx": 75.70403237682834,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/explorer-sidebar.tsx": 36.07901588838887,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/file-drop-zone.tsx": 69.34190226946438,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/file-explorer-pane.tsx": 20.74996702312105,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/git-diff-pane.tsx": 31.641154806588556,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/headers/back-header.tsx": 75.70403237682834,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/headers/home-header.tsx": 64.40705077183343,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/headers/menu-header.tsx": 60.37498351156052,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/headers/screen-header.tsx": 84.67095113473219,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/home-footer.tsx": 60.37498351156052,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/icons/claude-icon.tsx": 84.67095113473219,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/icons/codex-icon.tsx": 84.67095113473219,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/message-input.tsx": 29.716885781024914,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/message.tsx": 28.814101543666858,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/mode-selector-modal.tsx": 75.70403237682834,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/multi-daemon-session-host.tsx": 56.965919217628894,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/orchestrator-messages-view.tsx": 75.70403237682834,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/realtime-controls.tsx": 69.34190226946438,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/sliding-sidebar.tsx": 36.07901588838887,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/thinking-sheet.tsx": 51.40806475365667,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/tool-call-details.tsx": 49.078001906565625,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/tool-call-preview.ts": 84.67095113473219,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/tool-call-sheet.tsx": 49.078001906565625,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/ui/dropdown-menu-floating.ts": 54.01285340419657,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/ui/dropdown-menu.tsx": 38.68380453892877,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/voice-button.tsx": 60.37498351156052,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/components/volume-meter.tsx": 60.37498351156052,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/constants/layout.ts": 69.34190226946438,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/daemon-connections-context.tsx": 60.37498351156052,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/daemon-registry-context.tsx": 30.658097730535626,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/explorer-sidebar-animation-context.tsx": 56.965919217628894,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/horizontal-scroll-context.tsx": 64.40705077183343,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/realtime-context.tsx": 64.40705077183343,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/session-context.tsx": 14.387836915757102,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/sidebar-animation-context.tsx": 56.965919217628894,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/dictation/dictation-stream-sender.ts": 75.70403237682834,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/checkout-status-revalidation.ts": 75.70403237682834,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-agent-commands-query.ts": 75.70403237682834,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-agent-form-state.ts": 40.11108314866176,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-aggregated-agents.ts": 60.37498351156052,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-audio-player.native.ts": 54.01285340419657,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-audio-recorder.native.ts": 54.01285340419657,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-audio-recorder.web.ts": 41.636870352361086,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-checkout-diff-query.ts": 56.965919217628894,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-checkout-pr-status-query.ts": 75.70403237682834,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-checkout-status-query.ts": 60.37498351156052,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-client-activity.ts": 56.965919217628894,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-daemon-client.ts": 69.34190226946438,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-dictation-audio-source.native.ts": 69.34190226946438,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-dictation-audio-source.web.ts": 51.40806475365667,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-dictation.ts": 45.04593464629272,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-favicon-status.ts": 51.40806475365667,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-file-drop-zone.ts": 54.01285340419657,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-form-preferences.ts": 75.70403237682834,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-git-diff-query.ts": 56.965919217628894,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-image-attachment-picker.ts": 69.34190226946438,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-recent-paths.ts": 60.37498351156052,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-session-directory.ts": 60.37498351156052,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-settings.ts": 64.40705077183343,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-speechmatics-audio.native.ts": 51.40806475365667,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-speechmatics-audio.web.ts": 69.34190226946438,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-theme-color.ts": 84.67095113473219,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/polyfills/crypto.ts": 84.67095113473219,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/stores/download-store.ts": 46.97020367185636,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/stores/panel-store.ts": 84.67095113473219,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/stores/session-store.ts": 69.34190226946438,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/types/agent-activity.ts": 84.67095113473219,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/types/stream.ts": 21.37296998946232,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/agent-status.ts": 75.70403237682834,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/analytics.ts": 84.67095113473219,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/attempt-guard.ts": 84.67095113473219,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/daemon-endpoints.ts": 49.078001906565625,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/daemons.ts": 75.70403237682834,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/diff-highlighter.ts": 56.965919217628894,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/exhaustive.ts": 84.67095113473219,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/extract-agent-model.ts": 84.67095113473219,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/os-notifications.ts": 64.40705077183343,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/perf-monitor.ts": 69.34190226946438,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/perf.ts": 75.70403237682834,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/syntax-highlighter.ts": 60.37498351156052,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/tauri-daemon-transport.ts": 41.636870352361086,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/tauri-window.ts": 51.40806475365667,
"./.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/tool-call-parsers.ts": 23.354755673660954,
"./.paseo/worktrees/ripe-dragonfly/packages/desktop/src-tauri/build.rs": 84.67095113473219,
"./.paseo/worktrees/ripe-dragonfly/packages/desktop/src-tauri/src/lib.rs": 69.34190226946438,
"./.paseo/worktrees/ripe-dragonfly/packages/desktop/src-tauri/src/main.rs": 84.67095113473219,
"./.paseo/worktrees/ripe-dragonfly/packages/relay/src/cloudflare-adapter.ts": 69.34190226946438,
"./.paseo/worktrees/ripe-dragonfly/packages/relay/src/crypto.ts": 75.70403237682834,
"./.paseo/worktrees/ripe-dragonfly/packages/relay/src/encrypted-channel.ts": 69.34190226946438,
"./.paseo/worktrees/ripe-dragonfly/packages/relay/src/node-adapter.ts": 69.34190226946438,
"./.paseo/worktrees/ripe-dragonfly/packages/relay/src/relay.ts": 84.67095113473219,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/client/daemon-client-v2.ts": 45.04593464629272,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/poc-commands/investigate-command-output.ts": 64.40705077183343,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/poc-commands/run-poc.ts": 60.37498351156052,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/activity-curator.ts": 60.37498351156052,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/agent-manager.ts": 51.40806475365667,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/agent-projections.ts": 41.636870352361086,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/agent-registry.ts": 75.70403237682834,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/agent-response-loop.ts": 41.636870352361086,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/audio-utils.ts": 64.40705077183343,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/mcp-server.ts": 38.68380453892877,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/model-resolver.ts": 75.70403237682834,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/openai-realtime-transcription.ts": 75.70403237682834,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/paseo-instructions-tag.ts": 75.70403237682834,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/pcm16-resampler.ts": 84.67095113473219,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/provider-manifest.ts": 69.34190226946438,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/provider-registry.ts": 69.34190226946438,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/providers/claude-agent.ts": 25.53177193914712,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/providers/codex-mcp-agent.ts": 0.0,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/providers/opencode-agent.ts": 49.078001906565625,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/self-identification-instructions.ts": 75.70403237682834,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/stt-debug.ts": 84.67095113473219,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/stt-openai.ts": 60.37498351156052,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/system-prompt.ts": 75.70403237682834,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/tts-manager.ts": 60.37498351156052,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/tts-openai.ts": 84.67095113473219,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/bootstrap.ts": 46.97020367185636,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/config.ts": 69.34190226946438,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/connection-offer.ts": 56.965919217628894,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/daemon-e2e/setup.ts": 69.34190226946438,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/file-download/token-store.ts": 84.67095113473219,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/file-explorer/service.ts": 56.965919217628894,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/index.ts": 69.34190226946438,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/json-utils.ts": 84.67095113473219,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/logger.ts": 69.34190226946438,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/messages.ts": 75.70403237682834,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/pairing-qr.ts": 64.40705077183343,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/paseo-home.ts": 75.70403237682834,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/persisted-config.ts": 64.40705077183343,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/persistence-hooks.ts": 60.37498351156052,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/push/push-service.ts": 84.67095113473219,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/relay-transport.ts": 56.965919217628894,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/session.ts": 36.07901588838887,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/terminal-mcp/terminal-manager.ts": 64.40705077183343,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/terminal-mcp/tmux.ts": 36.07901588838887,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/test-utils/claude-config.ts": 84.67095113473219,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/test-utils/daemon-client.ts": 84.67095113473219,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/test-utils/paseo-daemon.ts": 64.40705077183343,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/utils/diff-highlighter.ts": 54.01285340419657,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/utils/syntax-highlighter.ts": 60.37498351156052,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/voice-conversation-store.ts": 69.34190226946438,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/server/websocket-session-bridge.ts": 69.34190226946438,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/shared/messages.ts": 84.67095113473219,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/tasks/cli.ts": 32.66995159445722,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/tasks/execution-order.ts": 54.01285340419657,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/tasks/task-store.ts": 41.636870352361086,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/terminal/terminal-manager.ts": 75.70403237682834,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/terminal/terminal.ts": 49.078001906565625,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/test-utils/test-logger.ts": 84.67095113473219,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/utils/checkout-git.ts": 28.814101543666858,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/utils/tool-call-parsers.ts": 60.37498351156052,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/utils/worktree-metadata.ts": 56.965919217628894,
"./.paseo/worktrees/ripe-dragonfly/packages/server/src/utils/worktree.ts": 40.11108314866176,
"./.paseo/worktrees/ripe-dragonfly/packages/website/src/components/butterfly.tsx": 40.11108314866176,
"./.paseo/worktrees/ripe-dragonfly/packages/website/src/router.tsx": 84.67095113473219,
"./.paseo/worktrees/ripe-dragonfly/packages/website/src/routes/__root.tsx": 75.70403237682834,
"./.paseo/worktrees/ripe-dragonfly/packages/website/src/routes/docs.tsx": 84.67095113473219,
"./.paseo/worktrees/ripe-dragonfly/packages/website/src/routes/docs/best-practices.tsx": 84.67095113473219,
"./.paseo/worktrees/ripe-dragonfly/packages/website/src/routes/docs/index.tsx": 84.67095113473219,
"./.paseo/worktrees/ripe-dragonfly/packages/website/src/routes/index.tsx": 41.636870352361086,
"./.paseo/worktrees/shallow-lynx/packages/app/babel.config.js": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/app/e2e/global-setup.ts": 49.078001906565625,
"./.paseo/worktrees/shallow-lynx/packages/app/e2e/helpers/app.ts": 43.275778737637374,
"./.paseo/worktrees/shallow-lynx/packages/app/src/app/+html.tsx": 75.70403237682834,
"./.paseo/worktrees/shallow-lynx/packages/app/src/app/_layout.tsx": 37.34308237150715,
"./.paseo/worktrees/shallow-lynx/packages/app/src/app/agent/[id].tsx": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/app/src/app/agent/[serverId]/[agentId].tsx": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/app/src/app/agent/index.tsx": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/app/src/app/agents.tsx": 64.40705077183343,
"./.paseo/worktrees/shallow-lynx/packages/app/src/app/index.tsx": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/app/src/app/pair-scan.tsx": 69.34190226946438,
"./.paseo/worktrees/shallow-lynx/packages/app/src/app/settings.tsx": 40.11108314866176,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/active-processes.tsx": 56.965919217628894,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/adaptive-modal-sheet.tsx": 64.40705077183343,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/add-host-method-modal.tsx": 60.37498351156052,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/add-host-modal.tsx": 45.04593464629272,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/agent-activity.tsx": 49.078001906565625,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/agent-form/agent-form-dropdowns.tsx": 18.979811114465704,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/agent-input-area.tsx": 27.112097130485,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/agent-list.tsx": 54.01285340419657,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/agent-status-bar.tsx": 64.40705077183343,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/agent-stream-view.tsx": 25.53177193914712,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/artifact-drawer.tsx": 75.70403237682834,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/audio-debug-notice.tsx": 60.37498351156052,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/command-autocomplete.tsx": 64.40705077183343,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/connection-status.tsx": 75.70403237682834,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/dictation-controls.tsx": 64.40705077183343,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/dictation-status-notice.tsx": 64.40705077183343,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/diff-viewer.tsx": 75.70403237682834,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/download-toast.tsx": 60.37498351156052,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/empty-state.tsx": 75.70403237682834,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/explorer-sidebar.tsx": 36.07901588838887,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/file-drop-zone.tsx": 69.34190226946438,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/file-explorer-pane.tsx": 20.74996702312105,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/git-diff-pane.tsx": 31.641154806588556,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/headers/back-header.tsx": 75.70403237682834,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/headers/menu-header.tsx": 60.37498351156052,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/headers/screen-header.tsx": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/home-footer.tsx": 60.37498351156052,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/icons/claude-icon.tsx": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/icons/codex-icon.tsx": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/message-input.tsx": 28.814101543666858,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/message.tsx": 30.658097730535626,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/mode-selector-modal.tsx": 75.70403237682834,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/multi-daemon-session-host.tsx": 56.965919217628894,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/pair-link-modal.tsx": 60.37498351156052,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/realtime-controls.tsx": 69.34190226946438,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/sliding-sidebar.tsx": 36.07901588838887,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/tool-call-details.tsx": 49.078001906565625,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/tool-call-preview.ts": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/tool-call-sheet.tsx": 49.078001906565625,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/ui/dropdown-menu-floating.ts": 54.01285340419657,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/ui/dropdown-menu.tsx": 38.68380453892877,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/voice-button.tsx": 60.37498351156052,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/volume-meter.tsx": 60.37498351156052,
"./.paseo/worktrees/shallow-lynx/packages/app/src/components/welcome-screen.tsx": 75.70403237682834,
"./.paseo/worktrees/shallow-lynx/packages/app/src/constants/layout.ts": 69.34190226946438,
"./.paseo/worktrees/shallow-lynx/packages/app/src/contexts/daemon-connections-context.tsx": 60.37498351156052,
"./.paseo/worktrees/shallow-lynx/packages/app/src/contexts/daemon-registry-context.tsx": 30.658097730535626,
"./.paseo/worktrees/shallow-lynx/packages/app/src/contexts/explorer-sidebar-animation-context.tsx": 56.965919217628894,
"./.paseo/worktrees/shallow-lynx/packages/app/src/contexts/horizontal-scroll-context.tsx": 64.40705077183343,
"./.paseo/worktrees/shallow-lynx/packages/app/src/contexts/realtime-context.tsx": 64.40705077183343,
"./.paseo/worktrees/shallow-lynx/packages/app/src/contexts/session-context.tsx": 14.387836915757102,
"./.paseo/worktrees/shallow-lynx/packages/app/src/contexts/sidebar-animation-context.tsx": 56.965919217628894,
"./.paseo/worktrees/shallow-lynx/packages/app/src/dictation/dictation-stream-sender.ts": 75.70403237682834,
"./.paseo/worktrees/shallow-lynx/packages/app/src/hooks/checkout-status-revalidation.ts": 75.70403237682834,
"./.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-agent-commands-query.ts": 75.70403237682834,
"./.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-agent-form-state.ts": 40.11108314866176,
"./.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-aggregated-agents.ts": 60.37498351156052,
"./.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-audio-player.native.ts": 54.01285340419657,
"./.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-audio-recorder.native.ts": 54.01285340419657,
"./.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-audio-recorder.web.ts": 41.636870352361086,
"./.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-checkout-diff-query.ts": 56.965919217628894,
"./.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-checkout-pr-status-query.ts": 75.70403237682834,
"./.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-checkout-status-query.ts": 56.965919217628894,
"./.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-client-activity.ts": 56.965919217628894,
"./.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-daemon-client.ts": 69.34190226946438,
"./.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-dictation-audio-source.native.ts": 69.34190226946438,
"./.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-dictation-audio-source.web.ts": 46.97020367185636,
"./.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-dictation.ts": 45.04593464629272,
"./.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-favicon-status.ts": 51.40806475365667,
"./.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-file-drop-zone.ts": 54.01285340419657,
"./.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-form-preferences.ts": 75.70403237682834,
"./.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-git-diff-query.ts": 56.965919217628894,
"./.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-image-attachment-picker.ts": 69.34190226946438,
"./.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-recent-paths.ts": 60.37498351156052,
"./.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-session-directory.ts": 60.37498351156052,
"./.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-settings.ts": 64.40705077183343,
"./.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-speechmatics-audio.native.ts": 51.40806475365667,
"./.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-speechmatics-audio.web.ts": 69.34190226946438,
"./.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-theme-color.ts": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/app/src/polyfills/crypto.ts": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/app/src/screens/agent/agent-ready-screen.tsx": 24.05688266995011,
"./.paseo/worktrees/shallow-lynx/packages/app/src/screens/agent/draft-agent-screen.tsx": 25.53177193914712,
"./.paseo/worktrees/shallow-lynx/packages/app/src/screens/agent/legacy-agent-id-screen.tsx": 64.40705077183343,
"./.paseo/worktrees/shallow-lynx/packages/app/src/stores/download-store.ts": 46.97020367185636,
"./.paseo/worktrees/shallow-lynx/packages/app/src/stores/panel-store.ts": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/app/src/stores/session-store.ts": 69.34190226946438,
"./.paseo/worktrees/shallow-lynx/packages/app/src/types/agent-activity.ts": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/app/src/types/stream.ts": 21.37296998946232,
"./.paseo/worktrees/shallow-lynx/packages/app/src/utils/agent-status.ts": 75.70403237682834,
"./.paseo/worktrees/shallow-lynx/packages/app/src/utils/analytics.ts": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/app/src/utils/attempt-guard.ts": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/app/src/utils/daemon-endpoints.ts": 49.078001906565625,
"./.paseo/worktrees/shallow-lynx/packages/app/src/utils/daemons.ts": 75.70403237682834,
"./.paseo/worktrees/shallow-lynx/packages/app/src/utils/diff-highlighter.ts": 56.965919217628894,
"./.paseo/worktrees/shallow-lynx/packages/app/src/utils/exhaustive.ts": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/app/src/utils/extract-agent-model.ts": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/app/src/utils/os-notifications.ts": 64.40705077183343,
"./.paseo/worktrees/shallow-lynx/packages/app/src/utils/perf-monitor.ts": 69.34190226946438,
"./.paseo/worktrees/shallow-lynx/packages/app/src/utils/perf.ts": 75.70403237682834,
"./.paseo/worktrees/shallow-lynx/packages/app/src/utils/syntax-highlighter.ts": 60.37498351156052,
"./.paseo/worktrees/shallow-lynx/packages/app/src/utils/tauri-daemon-transport.ts": 41.636870352361086,
"./.paseo/worktrees/shallow-lynx/packages/app/src/utils/tauri-window.ts": 51.40806475365667,
"./.paseo/worktrees/shallow-lynx/packages/app/src/utils/test-daemon-connection.ts": 49.078001906565625,
"./.paseo/worktrees/shallow-lynx/packages/app/src/utils/tool-call-parsers.ts": 23.354755673660954,
"./.paseo/worktrees/shallow-lynx/packages/desktop/src-tauri/build.rs": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/desktop/src-tauri/src/lib.rs": 69.34190226946438,
"./.paseo/worktrees/shallow-lynx/packages/desktop/src-tauri/src/main.rs": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/relay/src/cloudflare-adapter.ts": 69.34190226946438,
"./.paseo/worktrees/shallow-lynx/packages/relay/src/crypto.ts": 75.70403237682834,
"./.paseo/worktrees/shallow-lynx/packages/relay/src/encrypted-channel.ts": 69.34190226946438,
"./.paseo/worktrees/shallow-lynx/packages/relay/src/node-adapter.ts": 69.34190226946438,
"./.paseo/worktrees/shallow-lynx/packages/relay/src/relay.ts": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/server/src/client/daemon-client-v2.ts": 45.04593464629272,
"./.paseo/worktrees/shallow-lynx/packages/server/src/poc-commands/investigate-command-output.ts": 64.40705077183343,
"./.paseo/worktrees/shallow-lynx/packages/server/src/poc-commands/run-poc.ts": 60.37498351156052,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/activity-curator.ts": 60.37498351156052,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/agent-manager.ts": 51.40806475365667,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/agent-projections.ts": 41.636870352361086,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/agent-response-loop.ts": 41.636870352361086,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/agent-storage.ts": 69.34190226946438,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/audio-utils.ts": 64.40705077183343,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/mcp-server.ts": 38.68380453892877,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/model-resolver.ts": 75.70403237682834,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/openai-realtime-transcription.ts": 75.70403237682834,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/paseo-instructions-tag.ts": 75.70403237682834,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/pcm16-resampler.ts": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/provider-manifest.ts": 69.34190226946438,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/provider-registry.ts": 69.34190226946438,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/providers/claude-agent.ts": 25.53177193914712,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/providers/codex-mcp-agent.ts": 0.0,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/providers/opencode-agent.ts": 49.078001906565625,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/self-identification-instructions.ts": 75.70403237682834,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/stt-debug.ts": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/stt-openai.ts": 60.37498351156052,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/system-prompt.ts": 75.70403237682834,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/tts-manager.ts": 60.37498351156052,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/tts-openai.ts": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/bootstrap.ts": 46.97020367185636,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/config.ts": 69.34190226946438,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/connection-offer.ts": 56.965919217628894,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/daemon-e2e/setup.ts": 69.34190226946438,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/file-download/token-store.ts": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/file-explorer/service.ts": 56.965919217628894,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/index.ts": 69.34190226946438,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/json-utils.ts": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/logger.ts": 69.34190226946438,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/messages.ts": 75.70403237682834,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/pairing-qr.ts": 64.40705077183343,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/paseo-home.ts": 75.70403237682834,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/persisted-config.ts": 64.40705077183343,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/persistence-hooks.ts": 60.37498351156052,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/push/push-service.ts": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/relay-transport.ts": 56.965919217628894,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/session.ts": 33.74895304129781,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/terminal-mcp/terminal-manager.ts": 64.40705077183343,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/terminal-mcp/tmux.ts": 36.07901588838887,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/test-utils/claude-config.ts": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/test-utils/daemon-client.ts": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/test-utils/paseo-daemon.ts": 64.40705077183343,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/utils/diff-highlighter.ts": 54.01285340419657,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/utils/syntax-highlighter.ts": 60.37498351156052,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/voice-conversation-store.ts": 69.34190226946438,
"./.paseo/worktrees/shallow-lynx/packages/server/src/server/websocket-session-bridge.ts": 69.34190226946438,
"./.paseo/worktrees/shallow-lynx/packages/server/src/shared/messages.ts": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/server/src/tasks/cli.ts": 32.66995159445722,
"./.paseo/worktrees/shallow-lynx/packages/server/src/tasks/execution-order.ts": 54.01285340419657,
"./.paseo/worktrees/shallow-lynx/packages/server/src/tasks/task-store.ts": 41.636870352361086,
"./.paseo/worktrees/shallow-lynx/packages/server/src/terminal/terminal-manager.ts": 75.70403237682834,
"./.paseo/worktrees/shallow-lynx/packages/server/src/terminal/terminal.ts": 49.078001906565625,
"./.paseo/worktrees/shallow-lynx/packages/server/src/test-utils/test-logger.ts": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/server/src/utils/checkout-git.ts": 28.814101543666858,
"./.paseo/worktrees/shallow-lynx/packages/server/src/utils/tool-call-parsers.ts": 60.37498351156052,
"./.paseo/worktrees/shallow-lynx/packages/server/src/utils/worktree-metadata.ts": 56.965919217628894,
"./.paseo/worktrees/shallow-lynx/packages/server/src/utils/worktree.ts": 40.11108314866176,
"./.paseo/worktrees/shallow-lynx/packages/website/src/components/butterfly.tsx": 40.11108314866176,
"./.paseo/worktrees/shallow-lynx/packages/website/src/router.tsx": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/website/src/routes/__root.tsx": 75.70403237682834,
"./.paseo/worktrees/shallow-lynx/packages/website/src/routes/docs.tsx": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/website/src/routes/docs/best-practices.tsx": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/website/src/routes/docs/index.tsx": 84.67095113473219,
"./.paseo/worktrees/shallow-lynx/packages/website/src/routes/index.tsx": 41.636870352361086,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/babel.config.js": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/e2e/global-setup.ts": 49.078001906565625,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/e2e/helpers/app.ts": 45.04593464629272,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/app/+html.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/app/_layout.tsx": 37.34308237150715,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/app/agent/[id].tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/app/agent/[serverId]/[agentId].tsx": 27.94672987236956,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/app/agents.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/app/index.tsx": 30.658097730535626,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/app/pair-scan.tsx": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/app/settings.tsx": 40.11108314866176,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/active-processes.tsx": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/adaptive-modal-sheet.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/add-host-method-modal.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/add-host-modal.tsx": 45.04593464629272,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/agent-activity.tsx": 49.078001906565625,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/agent-form/agent-form-dropdowns.tsx": 19.554262705039893,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/agent-input-area.tsx": 27.112097130485,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/agent-list.tsx": 54.01285340419657,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/agent-status-bar.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/agent-stream-view.tsx": 25.53177193914712,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/artifact-drawer.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/audio-debug-notice.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/command-autocomplete.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/connection-status.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/dictation-controls.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/dictation-status-notice.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/diff-viewer.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/download-toast.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/empty-state.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/explorer-sidebar.tsx": 36.07901588838887,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/file-drop-zone.tsx": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/file-explorer-pane.tsx": 20.74996702312105,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/git-diff-pane.tsx": 31.641154806588556,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/headers/back-header.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/headers/menu-header.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/headers/screen-header.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/home-footer.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/icons/claude-icon.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/icons/codex-icon.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/message-input.tsx": 29.716885781024914,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/message.tsx": 30.658097730535626,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/mode-selector-modal.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/multi-daemon-session-host.tsx": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/pair-link-modal.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/realtime-controls.tsx": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/sliding-sidebar.tsx": 36.07901588838887,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/tool-call-details.tsx": 49.078001906565625,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/tool-call-preview.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/tool-call-sheet.tsx": 49.078001906565625,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/ui/dropdown-menu-floating.ts": 54.01285340419657,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/ui/dropdown-menu.tsx": 38.68380453892877,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/voice-button.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/volume-meter.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/welcome-screen.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/constants/layout.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/contexts/daemon-connections-context.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/contexts/daemon-registry-context.tsx": 30.658097730535626,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/contexts/explorer-sidebar-animation-context.tsx": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/contexts/horizontal-scroll-context.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/contexts/realtime-context.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/contexts/session-context.tsx": 14.387836915757102,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/contexts/sidebar-animation-context.tsx": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/dictation/dictation-stream-sender.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/checkout-status-revalidation.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-agent-commands-query.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-agent-form-state.ts": 40.11108314866176,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-aggregated-agents.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-audio-player.native.ts": 54.01285340419657,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-audio-recorder.native.ts": 54.01285340419657,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-audio-recorder.web.ts": 41.636870352361086,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-checkout-diff-query.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-checkout-pr-status-query.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-checkout-status-query.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-client-activity.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-daemon-client.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-dictation-audio-source.native.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-dictation-audio-source.web.ts": 51.40806475365667,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-dictation.ts": 45.04593464629272,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-favicon-status.ts": 51.40806475365667,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-file-drop-zone.ts": 54.01285340419657,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-form-preferences.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-git-diff-query.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-image-attachment-picker.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-recent-paths.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-session-directory.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-settings.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-speechmatics-audio.native.ts": 51.40806475365667,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-speechmatics-audio.web.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-theme-color.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/polyfills/crypto.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/stores/download-store.ts": 46.97020367185636,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/stores/panel-store.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/stores/session-store.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/types/agent-activity.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/types/stream.ts": 21.37296998946232,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/agent-status.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/analytics.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/attempt-guard.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/daemon-endpoints.ts": 49.078001906565625,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/daemons.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/diff-highlighter.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/exhaustive.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/extract-agent-model.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/os-notifications.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/perf-monitor.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/perf.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/syntax-highlighter.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/tauri-daemon-transport.ts": 41.636870352361086,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/tauri-window.ts": 51.40806475365667,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/test-daemon-connection.ts": 49.078001906565625,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/tool-call-parsers.ts": 23.354755673660954,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/desktop/src-tauri/build.rs": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/desktop/src-tauri/src/lib.rs": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/desktop/src-tauri/src/main.rs": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/relay/src/cloudflare-adapter.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/relay/src/crypto.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/relay/src/encrypted-channel.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/relay/src/node-adapter.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/relay/src/relay.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/client/daemon-client-v2.ts": 45.04593464629272,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/poc-commands/investigate-command-output.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/poc-commands/run-poc.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/activity-curator.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/agent-manager.ts": 51.40806475365667,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/agent-projections.ts": 41.636870352361086,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/agent-response-loop.ts": 41.636870352361086,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/agent-storage.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/audio-utils.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/mcp-server.ts": 38.68380453892877,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/model-resolver.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/openai-realtime-transcription.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/paseo-instructions-tag.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/pcm16-resampler.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/provider-manifest.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/provider-registry.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/providers/claude-agent.ts": 25.53177193914712,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/providers/codex-mcp-agent.ts": 0.0,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/providers/opencode-agent.ts": 49.078001906565625,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/self-identification-instructions.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/stt-debug.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/stt-openai.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/system-prompt.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/tts-manager.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/tts-openai.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/bootstrap.ts": 46.97020367185636,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/config.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/connection-offer.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/daemon-e2e/setup.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/file-download/token-store.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/file-explorer/service.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/index.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/json-utils.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/logger.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/messages.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/pairing-qr.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/paseo-home.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/persisted-config.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/persistence-hooks.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/push/push-service.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/relay-transport.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/session.ts": 33.74895304129781,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/terminal-mcp/terminal-manager.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/terminal-mcp/tmux.ts": 36.07901588838887,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/test-utils/claude-config.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/test-utils/daemon-client.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/test-utils/paseo-daemon.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/utils/diff-highlighter.ts": 54.01285340419657,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/utils/syntax-highlighter.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/voice-conversation-store.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/websocket-session-bridge.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/shared/messages.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/tasks/cli.ts": 32.66995159445722,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/tasks/execution-order.ts": 54.01285340419657,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/tasks/task-store.ts": 41.636870352361086,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/terminal/terminal-manager.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/terminal/terminal.ts": 49.078001906565625,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/test-utils/test-logger.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/utils/checkout-git.ts": 28.814101543666858,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/utils/tool-call-parsers.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/utils/worktree-metadata.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/utils/worktree.ts": 40.11108314866176,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/website/src/components/butterfly.tsx": 40.11108314866176,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/website/src/router.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/website/src/routes/__root.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/website/src/routes/docs.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/website/src/routes/docs/best-practices.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/website/src/routes/docs/index.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/website/src/routes/index.tsx": 41.636870352361086,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/babel.config.js": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/e2e/global-setup.ts": 49.078001906565625,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/e2e/helpers/app.ts": 45.04593464629272,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/+html.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/_layout.tsx": 37.34308237150715,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/agent/[id].tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/agent/[serverId]/[agentId].tsx": 27.94672987236956,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/agents.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/index.tsx": 30.658097730535626,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/orchestrator.tsx": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/pair-scan.tsx": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/settings.tsx": 40.11108314866176,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/active-processes.tsx": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-activity.tsx": 49.078001906565625,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-form/agent-form-dropdowns.tsx": 19.554262705039893,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-input-area.tsx": 27.112097130485,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-list.tsx": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-status-bar.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-stream-view.tsx": 25.53177193914712,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-thought-content.tsx": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/artifact-drawer.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/audio-debug-notice.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/command-autocomplete.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/connection-status.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/conversation-selector.tsx": 54.01285340419657,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/dictation-controls.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/dictation-status-notice.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/diff-viewer.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/download-toast.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/empty-state.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/explorer-sidebar.tsx": 36.07901588838887,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/file-drop-zone.tsx": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/file-explorer-pane.tsx": 20.74996702312105,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/git-diff-pane.tsx": 31.641154806588556,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/headers/back-header.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/headers/home-header.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/headers/menu-header.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/headers/screen-header.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/home-footer.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/icons/claude-icon.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/icons/codex-icon.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/message-input.tsx": 29.716885781024914,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/message.tsx": 28.814101543666858,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/mode-selector-modal.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/multi-daemon-session-host.tsx": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/orchestrator-messages-view.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/realtime-controls.tsx": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/sliding-sidebar.tsx": 36.07901588838887,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/thinking-sheet.tsx": 51.40806475365667,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/tool-call-details.tsx": 49.078001906565625,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/tool-call-preview.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/tool-call-sheet.tsx": 49.078001906565625,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/ui/dropdown-menu-floating.ts": 54.01285340419657,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/ui/dropdown-menu.tsx": 38.68380453892877,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/voice-button.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/volume-meter.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/constants/layout.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/daemon-connections-context.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/daemon-registry-context.tsx": 30.658097730535626,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/explorer-sidebar-animation-context.tsx": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/horizontal-scroll-context.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/realtime-context.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/session-context.tsx": 14.387836915757102,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/sidebar-animation-context.tsx": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/dictation/dictation-stream-sender.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/checkout-status-revalidation.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-agent-commands-query.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-agent-form-state.ts": 40.11108314866176,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-aggregated-agents.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-audio-player.native.ts": 54.01285340419657,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-audio-recorder.native.ts": 54.01285340419657,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-audio-recorder.web.ts": 41.636870352361086,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-checkout-diff-query.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-checkout-pr-status-query.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-checkout-status-query.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-client-activity.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-daemon-client.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-dictation-audio-source.native.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-dictation-audio-source.web.ts": 51.40806475365667,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-dictation.ts": 45.04593464629272,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-favicon-status.ts": 51.40806475365667,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-file-drop-zone.ts": 54.01285340419657,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-form-preferences.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-git-diff-query.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-image-attachment-picker.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-recent-paths.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-session-directory.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-settings.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-speechmatics-audio.native.ts": 51.40806475365667,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-speechmatics-audio.web.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-theme-color.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/polyfills/crypto.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/stores/download-store.ts": 46.97020367185636,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/stores/panel-store.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/stores/session-store.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/types/agent-activity.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/types/stream.ts": 21.37296998946232,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/agent-status.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/analytics.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/attempt-guard.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/daemon-endpoints.ts": 49.078001906565625,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/daemons.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/diff-highlighter.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/exhaustive.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/extract-agent-model.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/os-notifications.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/perf-monitor.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/perf.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/syntax-highlighter.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/tauri-daemon-transport.ts": 41.636870352361086,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/tauri-window.ts": 51.40806475365667,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/tool-call-parsers.ts": 23.354755673660954,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/desktop/src-tauri/build.rs": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/desktop/src-tauri/src/lib.rs": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/desktop/src-tauri/src/main.rs": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/relay/src/cloudflare-adapter.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/relay/src/crypto.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/relay/src/encrypted-channel.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/relay/src/node-adapter.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/relay/src/relay.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/client/daemon-client-v2.ts": 45.04593464629272,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/poc-commands/investigate-command-output.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/poc-commands/run-poc.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/activity-curator.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/agent-manager.ts": 51.40806475365667,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/agent-projections.ts": 41.636870352361086,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/agent-registry.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/agent-response-loop.ts": 41.636870352361086,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/audio-utils.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/mcp-server.ts": 38.68380453892877,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/model-resolver.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/openai-realtime-transcription.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/paseo-instructions-tag.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/pcm16-resampler.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/provider-manifest.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/provider-registry.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/providers/claude-agent.ts": 25.53177193914712,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/providers/codex-mcp-agent.ts": 0.0,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/providers/opencode-agent.ts": 49.078001906565625,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/self-identification-instructions.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/stt-debug.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/stt-openai.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/system-prompt.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/tts-manager.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/tts-openai.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/bootstrap.ts": 46.97020367185636,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/config.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/connection-offer.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/daemon-e2e/setup.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/file-download/token-store.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/file-explorer/service.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/index.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/json-utils.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/logger.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/messages.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/pairing-qr.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/paseo-home.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/persisted-config.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/persistence-hooks.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/push/push-service.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/relay-transport.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/session.ts": 36.07901588838887,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/terminal-mcp/terminal-manager.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/terminal-mcp/tmux.ts": 36.07901588838887,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/test-utils/claude-config.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/test-utils/daemon-client.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/test-utils/paseo-daemon.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/utils/diff-highlighter.ts": 54.01285340419657,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/utils/syntax-highlighter.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/voice-conversation-store.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/websocket-session-bridge.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/shared/messages.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/tasks/cli.ts": 32.66995159445722,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/tasks/execution-order.ts": 54.01285340419657,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/tasks/task-store.ts": 41.636870352361086,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/terminal/terminal-manager.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/terminal/terminal.ts": 49.078001906565625,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/test-utils/test-logger.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/utils/checkout-git.ts": 28.814101543666858,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/utils/tool-call-parsers.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/utils/worktree-metadata.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/utils/worktree.ts": 40.11108314866176,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/website/src/components/butterfly.tsx": 40.11108314866176,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/website/src/router.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/website/src/routes/__root.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/website/src/routes/docs.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/website/src/routes/docs/best-practices.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/website/src/routes/docs/index.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/website/src/routes/index.tsx": 41.636870352361086,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/babel.config.js": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/e2e/global-setup.ts": 49.078001906565625,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/e2e/helpers/app.ts": 43.275778737637374,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/app/+html.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/app/_layout.tsx": 37.34308237150715,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/app/agent/[id].tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/app/agent/[serverId]/[agentId].tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/app/agent/index.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/app/agents.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/app/index.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/app/pair-scan.tsx": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/app/settings.tsx": 40.11108314866176,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/active-processes.tsx": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/adaptive-modal-sheet.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/add-host-method-modal.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/add-host-modal.tsx": 45.04593464629272,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/agent-activity.tsx": 49.078001906565625,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/agent-form/agent-form-dropdowns.tsx": 18.979811114465704,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/agent-input-area.tsx": 27.112097130485,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/agent-list.tsx": 54.01285340419657,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/agent-status-bar.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/agent-stream-view.tsx": 25.53177193914712,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/artifact-drawer.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/audio-debug-notice.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/command-autocomplete.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/connection-status.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/dictation-controls.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/dictation-status-notice.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/diff-viewer.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/download-toast.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/empty-state.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/explorer-sidebar.tsx": 36.07901588838887,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/file-drop-zone.tsx": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/file-explorer-pane.tsx": 20.74996702312105,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/git-diff-pane.tsx": 31.641154806588556,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/headers/back-header.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/headers/menu-header.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/headers/screen-header.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/home-footer.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/icons/claude-icon.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/icons/codex-icon.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/message-input.tsx": 28.814101543666858,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/message.tsx": 30.658097730535626,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/mode-selector-modal.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/multi-daemon-session-host.tsx": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/pair-link-modal.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/realtime-controls.tsx": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/sliding-sidebar.tsx": 36.07901588838887,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/tool-call-details.tsx": 49.078001906565625,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/tool-call-preview.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/tool-call-sheet.tsx": 49.078001906565625,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/ui/dropdown-menu-floating.ts": 54.01285340419657,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/ui/dropdown-menu.tsx": 38.68380453892877,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/voice-button.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/volume-meter.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/welcome-screen.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/constants/layout.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/contexts/daemon-connections-context.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/contexts/daemon-registry-context.tsx": 30.658097730535626,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/contexts/explorer-sidebar-animation-context.tsx": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/contexts/horizontal-scroll-context.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/contexts/realtime-context.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/contexts/session-context.tsx": 14.387836915757102,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/contexts/sidebar-animation-context.tsx": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/dictation/dictation-stream-sender.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/checkout-status-revalidation.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-agent-commands-query.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-agent-form-state.ts": 40.11108314866176,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-aggregated-agents.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-audio-player.native.ts": 54.01285340419657,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-audio-recorder.native.ts": 54.01285340419657,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-audio-recorder.web.ts": 41.636870352361086,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-checkout-diff-query.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-checkout-pr-status-query.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-checkout-status-query.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-client-activity.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-daemon-client.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-dictation-audio-source.native.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-dictation-audio-source.web.ts": 46.97020367185636,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-dictation.ts": 45.04593464629272,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-favicon-status.ts": 51.40806475365667,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-file-drop-zone.ts": 54.01285340419657,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-form-preferences.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-git-diff-query.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-image-attachment-picker.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-recent-paths.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-session-directory.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-settings.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-speechmatics-audio.native.ts": 51.40806475365667,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-speechmatics-audio.web.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-theme-color.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/polyfills/crypto.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/screens/agent/agent-ready-screen.tsx": 24.05688266995011,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/screens/agent/draft-agent-screen.tsx": 25.53177193914712,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/screens/agent/legacy-agent-id-screen.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/stores/download-store.ts": 46.97020367185636,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/stores/panel-store.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/stores/session-store.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/types/agent-activity.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/types/stream.ts": 21.37296998946232,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/agent-status.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/analytics.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/attempt-guard.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/daemon-endpoints.ts": 49.078001906565625,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/daemons.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/diff-highlighter.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/exhaustive.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/extract-agent-model.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/os-notifications.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/perf-monitor.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/perf.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/syntax-highlighter.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/tauri-daemon-transport.ts": 41.636870352361086,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/tauri-window.ts": 51.40806475365667,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/test-daemon-connection.ts": 49.078001906565625,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/tool-call-parsers.ts": 23.354755673660954,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/desktop/src-tauri/build.rs": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/desktop/src-tauri/src/lib.rs": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/desktop/src-tauri/src/main.rs": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/relay/src/cloudflare-adapter.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/relay/src/crypto.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/relay/src/encrypted-channel.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/relay/src/node-adapter.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/relay/src/relay.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/client/daemon-client-v2.ts": 45.04593464629272,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/poc-commands/investigate-command-output.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/poc-commands/run-poc.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/activity-curator.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/agent-manager.ts": 51.40806475365667,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/agent-projections.ts": 41.636870352361086,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/agent-response-loop.ts": 41.636870352361086,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/agent-storage.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/audio-utils.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/mcp-server.ts": 38.68380453892877,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/model-resolver.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/openai-realtime-transcription.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/paseo-instructions-tag.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/pcm16-resampler.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/provider-manifest.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/provider-registry.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/providers/claude-agent.ts": 25.53177193914712,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/providers/codex-mcp-agent.ts": 0.0,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/providers/opencode-agent.ts": 49.078001906565625,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/self-identification-instructions.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/stt-debug.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/stt-openai.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/system-prompt.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/tts-manager.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/tts-openai.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/bootstrap.ts": 46.97020367185636,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/config.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/connection-offer.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/daemon-e2e/setup.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/file-download/token-store.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/file-explorer/service.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/index.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/json-utils.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/logger.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/messages.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/pairing-qr.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/paseo-home.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/persisted-config.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/persistence-hooks.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/push/push-service.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/relay-transport.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/session.ts": 33.74895304129781,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/terminal-mcp/terminal-manager.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/terminal-mcp/tmux.ts": 36.07901588838887,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/test-utils/claude-config.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/test-utils/daemon-client.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/test-utils/paseo-daemon.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/utils/diff-highlighter.ts": 54.01285340419657,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/utils/syntax-highlighter.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/voice-conversation-store.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/websocket-session-bridge.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/shared/messages.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/tasks/cli.ts": 32.66995159445722,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/tasks/execution-order.ts": 54.01285340419657,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/tasks/task-store.ts": 41.636870352361086,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/terminal/terminal-manager.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/terminal/terminal.ts": 49.078001906565625,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/test-utils/test-logger.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/utils/checkout-git.ts": 28.814101543666858,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/utils/tool-call-parsers.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/utils/worktree-metadata.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/utils/worktree.ts": 40.11108314866176,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/website/src/components/butterfly.tsx": 40.11108314866176,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/website/src/router.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/website/src/routes/__root.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/website/src/routes/docs.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/website/src/routes/docs/best-practices.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/website/src/routes/docs/index.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/website/src/routes/index.tsx": 41.636870352361086,
".//Users/moboudra/dev/paseo/packages/app/app.config.js": 100.0,
".//Users/moboudra/dev/paseo/packages/app/babel.config.js": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/app/e2e/agent-details-sheet.spec.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/e2e/create-agent.spec.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/e2e/daemon-connectivity.spec.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/e2e/delete-agent-persists.spec.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/e2e/fixtures.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts": 49.078001906565625,
".//Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts": 43.275778737637374,
".//Users/moboudra/dev/paseo/packages/app/e2e/helpers/workspace.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/e2e/host-onboarding-direct.spec.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/e2e/host-removal.spec.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/e2e/host-selection.spec.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/e2e/manual-host-port.spec.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/e2e/migration-wsurl-to-hostport.spec.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/e2e/pairing-offer-parsing.spec.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/e2e/permission-prompt.spec.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/e2e/preserve-prompt-on-error.spec.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/e2e/relay-fallback-connect.spec.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/e2e/sidebar-new-agent-clones-selected.spec.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/eslint.config.js": 100.0,
".//Users/moboudra/dev/paseo/packages/app/index.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/metro.config.js": 100.0,
".//Users/moboudra/dev/paseo/packages/app/playwright.config.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/plugins/with-android-product-flavors.js": 100.0,
".//Users/moboudra/dev/paseo/packages/app/react-native-web.d.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/scripts/reset-project.js": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/app/+html.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx": 37.34308237150715,
".//Users/moboudra/dev/paseo/packages/app/src/app/agent/[id].tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/app/src/app/agent/[serverId]/[agentId].tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/app/src/app/agent/index.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/app/src/app/agents.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/packages/app/src/app/audio-test.tsx": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/app/index.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/app/src/app/pair-scan.tsx": 69.34190226946438,
".//Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx": 40.11108314866176,
".//Users/moboudra/dev/paseo/packages/app/src/components/active-processes.tsx": 56.965919217628894,
".//Users/moboudra/dev/paseo/packages/app/src/components/adaptive-modal-sheet.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/packages/app/src/components/add-host-method-modal.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx": 45.04593464629272,
".//Users/moboudra/dev/paseo/packages/app/src/components/agent-activity.tsx": 49.078001906565625,
".//Users/moboudra/dev/paseo/packages/app/src/components/agent-details-sheet.tsx": 69.34190226946438,
".//Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx": 18.979811114465704,
".//Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx": 27.112097130485,
".//Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx": 51.40806475365667,
".//Users/moboudra/dev/paseo/packages/app/src/components/agent-status-bar.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx": 25.53177193914712,
".//Users/moboudra/dev/paseo/packages/app/src/components/artifact-drawer.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/packages/app/src/components/audio-debug-notice.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/packages/app/src/components/command-autocomplete.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/packages/app/src/components/connection-status.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/packages/app/src/components/dictation-controls.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/packages/app/src/components/dictation-status-notice.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/packages/app/src/components/diff-viewer.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/packages/app/src/components/download-toast.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/packages/app/src/components/empty-state.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx": 36.07901588838887,
".//Users/moboudra/dev/paseo/packages/app/src/components/file-drop-zone.tsx": 69.34190226946438,
".//Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx": 20.74996702312105,
".//Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx": 31.641154806588556,
".//Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx": 46.97020367185636,
".//Users/moboudra/dev/paseo/packages/app/src/components/headers/back-header.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/packages/app/src/components/headers/menu-header.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/packages/app/src/components/headers/screen-header.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/app/src/components/home-footer.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/packages/app/src/components/icons/claude-icon.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/app/src/components/icons/codex-icon.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx": 28.814101543666858,
".//Users/moboudra/dev/paseo/packages/app/src/components/message.tsx": 30.658097730535626,
".//Users/moboudra/dev/paseo/packages/app/src/components/mode-selector-modal.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/packages/app/src/components/multi-daemon-session-host.tsx": 56.965919217628894,
".//Users/moboudra/dev/paseo/packages/app/src/components/pair-link-modal.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/packages/app/src/components/realtime-controls.tsx": 69.34190226946438,
".//Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx": 36.07901588838887,
".//Users/moboudra/dev/paseo/packages/app/src/components/tool-call-details.tsx": 49.078001906565625,
".//Users/moboudra/dev/paseo/packages/app/src/components/tool-call-preview.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/components/tool-call-preview.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/app/src/components/tool-call-sheet.tsx": 49.078001906565625,
".//Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu-floating.ts": 54.01285340419657,
".//Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx": 38.68380453892877,
".//Users/moboudra/dev/paseo/packages/app/src/components/voice-button.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/packages/app/src/components/volume-meter.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/packages/app/src/components/welcome-screen.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/packages/app/src/config/audio-debug.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/constants/layout.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/packages/app/src/constants/theme.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-connections-context.tsx": 60.37498351156052,
".//Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx": 30.658097730535626,
".//Users/moboudra/dev/paseo/packages/app/src/contexts/explorer-sidebar-animation-context.tsx": 56.965919217628894,
".//Users/moboudra/dev/paseo/packages/app/src/contexts/horizontal-scroll-context.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx": 14.387836915757102,
".//Users/moboudra/dev/paseo/packages/app/src/contexts/sidebar-animation-context.tsx": 56.965919217628894,
".//Users/moboudra/dev/paseo/packages/app/src/contexts/toast-context.tsx": 56.965919217628894,
".//Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/checkout-status-revalidation.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-commands-query.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts": 40.11108314866176,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-aggregated-agents.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.d.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts": 54.01285340419657,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.web.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.d.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts": 54.01285340419657,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts": 41.636870352361086,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-diff-query.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-pr-status-query.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-client-activity.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-color-scheme.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-color-scheme.web.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-daemon-client.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.d.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.native.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.types.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts": 46.97020367185636,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.d.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.shared.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts": 45.04593464629272,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-favicon-status.ts": 51.40806475365667,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-file-drop-zone.ts": 54.01285340419657,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-form-preferences.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-git-diff-query.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-image-attachment-picker.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-recent-paths.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-session-directory.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-settings.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.d.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts": 51.40806475365667,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.web.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/packages/app/src/hooks/use-theme-color.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/app/src/polyfills/crypto.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx": 23.354755673660954,
".//Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx": 25.53177193914712,
".//Users/moboudra/dev/paseo/packages/app/src/screens/agent/legacy-agent-id-screen.tsx": 64.40705077183343,
".//Users/moboudra/dev/paseo/packages/app/src/stores/create-flow-store.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts": 46.97020367185636,
".//Users/moboudra/dev/paseo/packages/app/src/stores/draft-store.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/packages/app/src/styles/markdown-styles.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/styles/theme.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/styles/unistyles.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/types/agent-activity.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/app/src/types/agent-directory.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/types/shared.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/types/stream.harness.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/types/stream.ts": 21.37296998946232,
".//Users/moboudra/dev/paseo/packages/app/src/utils/agent-display-info.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/app/src/utils/agent-status.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/packages/app/src/utils/analytics.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/app/src/utils/attempt-guard.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/app/src/utils/daemon-endpoints.ts": 49.078001906565625,
".//Users/moboudra/dev/paseo/packages/app/src/utils/daemons.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/packages/app/src/utils/exhaustive.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/app/src/utils/extract-agent-model.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/utils/extract-agent-model.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/app/src/utils/navigation-timing.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/utils/os-notifications.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/packages/app/src/utils/perf-monitor.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/packages/app/src/utils/perf.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/packages/app/src/utils/shorten-path.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/utils/syntax-highlighter.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts": 41.636870352361086,
".//Users/moboudra/dev/paseo/packages/app/src/utils/tauri-window.ts": 51.40806475365667,
".//Users/moboudra/dev/paseo/packages/app/src/utils/test-daemon-connection.ts": 49.078001906565625,
".//Users/moboudra/dev/paseo/packages/app/src/utils/time.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts": 23.354755673660954,
".//Users/moboudra/dev/paseo/packages/app/vitest.config.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/desktop/src-tauri/build.rs": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/desktop/src-tauri/src/lib.rs": 69.34190226946438,
".//Users/moboudra/dev/paseo/packages/desktop/src-tauri/src/main.rs": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/relay/src/cloudflare-adapter.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/packages/relay/src/crypto.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/relay/src/crypto.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/packages/relay/src/index.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/packages/relay/src/relay.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/relay/src/types.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/scripts/dev-runner.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/scripts/process-conversation.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-agents.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-basic-auth.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-bearer.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-http-headers.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-http.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-servers.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/scripts/verify-codex-mcp-config.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts": 45.04593464629272,
".//Users/moboudra/dev/paseo/packages/server/src/poc-commands/commands-poc.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/poc-commands/investigate-command-output.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/packages/server/src/poc-commands/run-poc.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts": 51.40806475365667,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-mcp.e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts": 41.636870352361086,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts": 41.636870352361086,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-sdk-types.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/audio-utils.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/dictation-debug.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/llm-openai.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts": 38.68380453892877,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/model-catalog.e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/model-resolver.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/model-resolver.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/opencode-reasoning.e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/orchestrator-instructions.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/orchestrator.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/paseo-instructions-tag.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/paseo-instructions-tag.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/pcm16-resampler.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-manifest.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-registry.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.history.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts": 25.53177193914712,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent-commands.e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.commands.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.paseo-instructions.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.resume-errors.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts": 0.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts": 49.078001906565625,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/recordings-debug.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/self-identification-instructions.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-debug.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-manager.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-openai.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/system-prompt.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-debug.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-manager.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-openai.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/wait-for-agent-tracker.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/agent/wait-for-agent-tracker.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.smoke.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts": 46.97020367185636,
".//Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/config.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/packages/server/src/server/connection-offer.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-configs.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/file-download.e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/images.e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/models.e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/setup.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/two-cycle-resume.e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/wait-for-idle.e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/file-download/token-store.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/server/src/server/file-explorer/service.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/packages/server/src/server/index.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/packages/server/src/server/json-utils.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/server/src/server/logger.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/logger.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/packages/server/src/server/messages.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/messages.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/packages/server/src/server/pairing-qr.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/packages/server/src/server/paseo-home.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/packages/server/src/server/persisted-config.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/packages/server/src/server/push/push-service.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/server/src/server/push/token-store.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/relay-transport.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/packages/server/src/server/session.ts": 33.74895304129781,
".//Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/index.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/server.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts": 36.07901588838887,
".//Users/moboudra/dev/paseo/packages/server/src/server/test-utils/claude-auth.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/test-utils/claude-config.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/server/src/server/test-utils/daemon-client.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/server/src/server/test-utils/daemon-test-context.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/test-utils/index.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/test-utils/paseo-daemon.ts": 64.40705077183343,
".//Users/moboudra/dev/paseo/packages/server/src/server/types.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts": 54.01285340419657,
".//Users/moboudra/dev/paseo/packages/server/src/server/utils/syntax-highlighter.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/packages/server/src/server/voice-conversation-store.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/packages/server/src/server/voice-conversations.e2e.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/websocket-server.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts": 69.34190226946438,
".//Users/moboudra/dev/paseo/packages/server/src/shared/agent-lifecycle.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/shared/messages.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts": 32.66995159445722,
".//Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts": 54.01285340419657,
".//Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts": 41.636870352361086,
".//Users/moboudra/dev/paseo/packages/server/src/tasks/types.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.ts": 75.70403237682834,
".//Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.ts": 49.078001906565625,
".//Users/moboudra/dev/paseo/packages/server/src/test-utils/test-logger.ts": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/server/src/test-utils/vitest-setup.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/utils/checkout-git.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/utils/checkout-git.ts": 23.354755673660954,
".//Users/moboudra/dev/paseo/packages/server/src/utils/path.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/utils/tool-call-parsers.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/utils/tool-call-parsers.ts": 60.37498351156052,
".//Users/moboudra/dev/paseo/packages/server/src/utils/worktree-metadata.ts": 56.965919217628894,
".//Users/moboudra/dev/paseo/packages/server/src/utils/worktree.test.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/server/src/utils/worktree.ts": 31.641154806588556,
".//Users/moboudra/dev/paseo/packages/server/vitest.config.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/website/src/components/butterfly.tsx": 40.11108314866176,
".//Users/moboudra/dev/paseo/packages/website/src/routeTree.gen.ts": 100.0,
".//Users/moboudra/dev/paseo/packages/website/src/router.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/website/src/routes/__root.tsx": 75.70403237682834,
".//Users/moboudra/dev/paseo/packages/website/src/routes/docs.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/website/src/routes/docs/best-practices.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/website/src/routes/docs/index.tsx": 84.67095113473219,
".//Users/moboudra/dev/paseo/packages/website/src/routes/index.tsx": 41.636870352361086,
".//Users/moboudra/dev/paseo/packages/website/vite.config.ts": 100.0,
".//Users/moboudra/dev/paseo/scripts/codex-claude-test.ts": 100.0,
".//Users/moboudra/dev/paseo/scripts/codex-cli-approval-test.mjs": 100.0,
".//Users/moboudra/dev/paseo/scripts/codex-file-read-debug.ts": 100.0,
".//Users/moboudra/dev/paseo/scripts/codex-full-access-ipc-repro.smoke.mjs": 100.0,
".//Users/moboudra/dev/paseo/scripts/codex-mcp-elicitation-test.ts": 100.0,
".//Users/moboudra/dev/paseo/scripts/codex-sdk-permission-test.mjs": 100.0,
".//Users/moboudra/dev/paseo/scripts/codex-websearch-debug.ts": 100.0,
".//Users/moboudra/dev/paseo/scripts/mcp-create-codex-check.ts": 100.0,
".//Users/moboudra/dev/paseo/scripts/repro-ipc-listen.js": 100.0,
"./[agentId].tsx": 27.94672987236956,
"./[id].tsx": 84.67095113473219,
"./__root.tsx": 75.70403237682834,
"./_layout.tsx": 37.34308237150715,
"./active-processes.tsx": 56.965919217628894,
"./activity-curator.test.ts": 100.0,
"./activity-curator.ts": 60.37498351156052,
"./adaptive-modal-sheet.tsx": 64.40705077183343,
"./add-host-method-modal.tsx": 60.37498351156052,
"./add-host-modal.tsx": 45.04593464629272,
"./agent-activity.ts": 84.67095113473219,
"./agent-activity.tsx": 49.078001906565625,
"./agent-basics.e2e.test.ts": 100.0,
"./agent-configs.ts": 100.0,
"./agent-details-sheet.spec.ts": 100.0,
"./agent-details-sheet.tsx": 69.34190226946438,
"./agent-directory.ts": 100.0,
"./agent-display-info.ts": 100.0,
"./agent-form-dropdowns.tsx": 19.554262705039893,
"./agent-grouping.test.ts": 100.0,
"./agent-grouping.ts": 84.67095113473219,
"./agent-input-area.tsx": 27.112097130485,
"./agent-lifecycle.ts": 100.0,
"./agent-list.tsx": 54.01285340419657,
"./agent-manager.test.ts": 100.0,
"./agent-manager.ts": 51.40806475365667,
"./agent-mcp.e2e.test.ts": 100.0,
"./agent-operations.e2e.test.ts": 100.0,
"./agent-projections.test.ts": 100.0,
"./agent-projections.ts": 41.636870352361086,
"./agent-ready-screen.tsx": 23.354755673660954,
"./agent-registry.ts": 75.70403237682834,
"./agent-response-loop.e2e.test.ts": 100.0,
"./agent-response-loop.test.ts": 100.0,
"./agent-response-loop.ts": 41.636870352361086,
"./agent-sdk-types.ts": 100.0,
"./agent-self-identification.e2e.test.ts": 100.0,
"./agent-status-bar.tsx": 64.40705077183343,
"./agent-status.ts": 75.70403237682834,
"./agent-storage.test.ts": 100.0,
"./agent-storage.ts": 69.34190226946438,
"./agent-stream-view.tsx": 25.53177193914712,
"./agent-thought-content.tsx": 69.34190226946438,
"./agents.tsx": 64.40705077183343,
"./analytics.ts": 84.67095113473219,
"./app.config.js": 100.0,
"./app.ts": 43.275778737637374,
"./artifact-drawer.tsx": 75.70403237682834,
"./attempt-guard.ts": 84.67095113473219,
"./audio-debug-notice.tsx": 60.37498351156052,
"./audio-debug.ts": 100.0,
"./audio-test.tsx": 100.0,
"./audio-utils.ts": 64.40705077183343,
"./babel.config.js": 84.67095113473219,
"./back-header.tsx": 75.70403237682834,
"./best-practices.tsx": 84.67095113473219,
"./bootstrap.smoke.test.ts": 100.0,
"./bootstrap.ts": 46.97020367185636,
"./build.rs": 84.67095113473219,
"./butterfly.tsx": 40.11108314866176,
"./checkout-git.test.ts": 100.0,
"./checkout-git.ts": 28.814101543666858,
"./checkout-ship.e2e.test.ts": 100.0,
"./checkout-ship.spec.ts": 100.0,
"./checkout-status-revalidation.ts": 75.70403237682834,
"./claude-agent-commands.e2e.test.ts": 100.0,
"./claude-agent-commands.test.ts": 100.0,
"./claude-agent.history.test.ts": 100.0,
"./claude-agent.test.ts": 100.0,
"./claude-agent.ts": 25.53177193914712,
"./claude-auth.ts": 100.0,
"./claude-config.ts": 84.67095113473219,
"./claude-icon.tsx": 84.67095113473219,
"./claude-sdk-behavior.test.ts": 100.0,
"./cli.ts": 32.66995159445722,
"./client-activity.e2e.test.ts": 100.0,
"./cloudflare-adapter.ts": 69.34190226946438,
"./codex-claude-test.ts": 100.0,
"./codex-cli-approval-test.mjs": 100.0,
"./codex-cli-full-access-ipc.test.ts": 100.0,
"./codex-file-read-debug.ts": 100.0,
"./codex-full-access-ipc-repro.smoke.mjs": 100.0,
"./codex-icon.tsx": 84.67095113473219,
"./codex-mcp-agent-commands.e2e.test.ts": 100.0,
"./codex-mcp-agent.commands.test.ts": 100.0,
"./codex-mcp-agent.paseo-instructions.test.ts": 100.0,
"./codex-mcp-agent.resume-errors.test.ts": 100.0,
"./codex-mcp-agent.test.ts": 100.0,
"./codex-mcp-agent.ts": 0.0,
"./codex-mcp-elicitation-test.ts": 100.0,
"./codex-rollout-parsing.test.ts": 100.0,
"./codex-sdk-permission-test.mjs": 100.0,
"./codex-websearch-debug.ts": 100.0,
"./command-autocomplete.tsx": 64.40705077183343,
"./commands-poc.test.ts": 100.0,
"./config.ts": 69.34190226946438,
"./connection-offer.e2e.test.ts": 100.0,
"./connection-offer.ts": 56.965919217628894,
"./connection-status.tsx": 75.70403237682834,
"./conversation-selector.tsx": 54.01285340419657,
"./create-agent.spec.ts": 100.0,
"./create-flow-store.ts": 100.0,
"./crypto.test.ts": 100.0,
"./crypto.ts": 84.67095113473219,
"./daemon-client-v2.e2e.test.ts": 100.0,
"./daemon-client-v2.test.ts": 100.0,
"./daemon-client-v2.ts": 45.04593464629272,
"./daemon-client.ts": 84.67095113473219,
"./daemon-connections-context.tsx": 60.37498351156052,
"./daemon-connectivity.spec.ts": 100.0,
"./daemon-endpoints.ts": 49.078001906565625,
"./daemon-registry-context.tsx": 30.658097730535626,
"./daemon-restart-resume.e2e.test.ts": 100.0,
"./daemon-test-context.ts": 100.0,
"./daemons.ts": 75.70403237682834,
"./delete-agent-persists.spec.ts": 100.0,
"./dev-runner.ts": 100.0,
"./dictation-controls.tsx": 64.40705077183343,
"./dictation-debug.ts": 84.67095113473219,
"./dictation-status-notice.tsx": 64.40705077183343,
"./dictation-stream-sender.test.ts": 100.0,
"./dictation-stream-sender.ts": 75.70403237682834,
"./dictation-web.spec.ts": 100.0,
"./diff-highlighter.test.ts": 100.0,
"./diff-highlighter.ts": 54.01285340419657,
"./diff-viewer.tsx": 75.70403237682834,
"./docs.tsx": 84.67095113473219,
"./download-store.ts": 46.97020367185636,
"./download-toast.tsx": 60.37498351156052,
"./draft-agent-screen.tsx": 25.53177193914712,
"./draft-store.ts": 100.0,
"./dropdown-menu-floating.ts": 54.01285340419657,
"./dropdown-menu.tsx": 38.68380453892877,
"./e2e.test.ts": 100.0,
"./empty-state.tsx": 75.70403237682834,
"./encrypted-channel.test.ts": 100.0,
"./encrypted-channel.ts": 69.34190226946438,
"./eslint.config.js": 100.0,
"./execution-order.test.ts": 100.0,
"./execution-order.ts": 54.01285340419657,
"./exhaustive.ts": 84.67095113473219,
"./explorer-sidebar-animation-context.tsx": 56.965919217628894,
"./explorer-sidebar.tsx": 36.07901588838887,
"./extract-agent-model.test.ts": 100.0,
"./extract-agent-model.ts": 84.67095113473219,
"./file-download.e2e.test.ts": 100.0,
"./file-drop-zone.tsx": 69.34190226946438,
"./file-explorer-pane.tsx": 20.74996702312105,
"./filesystem.e2e.test.ts": 100.0,
"./fixtures.ts": 100.0,
"./git-diff-pane.tsx": 31.641154806588556,
"./git-operations.e2e.test.ts": 100.0,
"./global-setup.ts": 49.078001906565625,
"./grouped-agent-list.tsx": 46.97020367185636,
"./home-footer.tsx": 60.37498351156052,
"./home-header.tsx": 64.40705077183343,
"./horizontal-scroll-context.tsx": 64.40705077183343,
"./host-onboarding-direct.spec.ts": 100.0,
"./host-removal.spec.ts": 100.0,
"./host-selection.spec.ts": 100.0,
"./images.e2e.test.ts": 100.0,
"./index.ts": 100.0,
"./index.tsx": 30.658097730535626,
"./investigate-command-output.ts": 64.40705077183343,
"./json-utils.ts": 84.67095113473219,
"./layout.ts": 69.34190226946438,
"./legacy-agent-id-screen.tsx": 64.40705077183343,
"./lib.rs": 69.34190226946438,
"./live-relay.e2e.test.ts": 100.0,
"./llm-openai.ts": 100.0,
"./logger.test.ts": 100.0,
"./logger.ts": 69.34190226946438,
"./main.rs": 84.67095113473219,
"./manual-host-port.spec.ts": 100.0,
"./markdown-styles.ts": 100.0,
"./mcp-create-codex-check.ts": 100.0,
"./mcp-server.test.ts": 100.0,
"./mcp-server.ts": 38.68380453892877,
"./menu-header.tsx": 60.37498351156052,
"./message-input.tsx": 29.716885781024914,
"./message.tsx": 30.658097730535626,
"./messages.test.ts": 100.0,
"./messages.ts": 84.67095113473219,
"./metro.config.js": 100.0,
"./migration-wsurl-to-hostport.spec.ts": 100.0,
"./mode-selector-modal.tsx": 75.70403237682834,
"./model-catalog.e2e.test.ts": 100.0,
"./model-resolver.test.ts": 100.0,
"./model-resolver.ts": 75.70403237682834,
"./models.e2e.test.ts": 100.0,
"./multi-daemon-session-host.tsx": 56.965919217628894,
"./navigation-timing.ts": 100.0,
"./node-adapter.ts": 69.34190226946438,
"./openai-realtime-transcription.ts": 75.70403237682834,
"./opencode-agent.test.ts": 100.0,
"./opencode-agent.ts": 49.078001906565625,
"./opencode-reasoning.e2e.test.ts": 100.0,
"./orchestration.e2e.test.ts": 100.0,
"./orchestrator-instructions.ts": 100.0,
"./orchestrator-messages-view.tsx": 75.70403237682834,
"./orchestrator.ts": 100.0,
"./orchestrator.tsx": 56.965919217628894,
"./os-notifications.ts": 64.40705077183343,
"./packages/app/app.config.js": 100.0,
"./packages/app/babel.config.js": 84.67095113473219,
"./packages/app/e2e/agent-details-sheet.spec.ts": 100.0,
"./packages/app/e2e/checkout-ship.spec.ts": 100.0,
"./packages/app/e2e/create-agent.spec.ts": 100.0,
"./packages/app/e2e/daemon-connectivity.spec.ts": 100.0,
"./packages/app/e2e/delete-agent-persists.spec.ts": 100.0,
"./packages/app/e2e/dictation-web.spec.ts": 100.0,
"./packages/app/e2e/fixtures.ts": 100.0,
"./packages/app/e2e/global-setup.ts": 49.078001906565625,
"./packages/app/e2e/helpers/app.ts": 43.275778737637374,
"./packages/app/e2e/helpers/workspace.ts": 100.0,
"./packages/app/e2e/host-onboarding-direct.spec.ts": 100.0,
"./packages/app/e2e/host-removal.spec.ts": 100.0,
"./packages/app/e2e/host-selection.spec.ts": 100.0,
"./packages/app/e2e/manual-host-port.spec.ts": 100.0,
"./packages/app/e2e/migration-wsurl-to-hostport.spec.ts": 100.0,
"./packages/app/e2e/pairing-offer-parsing.spec.ts": 100.0,
"./packages/app/e2e/permission-prompt.spec.ts": 100.0,
"./packages/app/e2e/preserve-prompt-on-error.spec.ts": 100.0,
"./packages/app/e2e/relay-fallback-connect.spec.ts": 100.0,
"./packages/app/e2e/sidebar-new-agent-clones-selected.spec.ts": 100.0,
"./packages/app/eslint.config.js": 100.0,
"./packages/app/index.ts": 100.0,
"./packages/app/metro.config.js": 100.0,
"./packages/app/playwright.config.ts": 100.0,
"./packages/app/plugins/with-android-product-flavors.js": 100.0,
"./packages/app/react-native-web.d.ts": 100.0,
"./packages/app/scripts/reset-project.js": 100.0,
"./packages/app/src/app/+html.tsx": 75.70403237682834,
"./packages/app/src/app/_layout.tsx": 37.34308237150715,
"./packages/app/src/app/agent/[id].tsx": 84.67095113473219,
"./packages/app/src/app/agent/[serverId]/[agentId].tsx": 84.67095113473219,
"./packages/app/src/app/agent/index.tsx": 84.67095113473219,
"./packages/app/src/app/agents.tsx": 64.40705077183343,
"./packages/app/src/app/audio-test.tsx": 100.0,
"./packages/app/src/app/index.tsx": 84.67095113473219,
"./packages/app/src/app/pair-scan.tsx": 69.34190226946438,
"./packages/app/src/app/settings.tsx": 40.11108314866176,
"./packages/app/src/components/active-processes.tsx": 56.965919217628894,
"./packages/app/src/components/adaptive-modal-sheet.tsx": 64.40705077183343,
"./packages/app/src/components/add-host-method-modal.tsx": 60.37498351156052,
"./packages/app/src/components/add-host-modal.tsx": 45.04593464629272,
"./packages/app/src/components/agent-activity.tsx": 49.078001906565625,
"./packages/app/src/components/agent-details-sheet.tsx": 69.34190226946438,
"./packages/app/src/components/agent-form/agent-form-dropdowns.tsx": 18.979811114465704,
"./packages/app/src/components/agent-input-area.tsx": 27.112097130485,
"./packages/app/src/components/agent-list.tsx": 51.40806475365667,
"./packages/app/src/components/agent-status-bar.tsx": 64.40705077183343,
"./packages/app/src/components/agent-stream-view.tsx": 25.53177193914712,
"./packages/app/src/components/artifact-drawer.tsx": 75.70403237682834,
"./packages/app/src/components/audio-debug-notice.tsx": 60.37498351156052,
"./packages/app/src/components/command-autocomplete.tsx": 64.40705077183343,
"./packages/app/src/components/connection-status.tsx": 75.70403237682834,
"./packages/app/src/components/dictation-controls.tsx": 64.40705077183343,
"./packages/app/src/components/dictation-status-notice.tsx": 64.40705077183343,
"./packages/app/src/components/diff-viewer.tsx": 75.70403237682834,
"./packages/app/src/components/download-toast.tsx": 60.37498351156052,
"./packages/app/src/components/empty-state.tsx": 75.70403237682834,
"./packages/app/src/components/explorer-sidebar.tsx": 36.07901588838887,
"./packages/app/src/components/file-drop-zone.tsx": 69.34190226946438,
"./packages/app/src/components/file-explorer-pane.tsx": 20.74996702312105,
"./packages/app/src/components/git-diff-pane.tsx": 31.641154806588556,
"./packages/app/src/components/grouped-agent-list.tsx": 46.97020367185636,
"./packages/app/src/components/headers/back-header.tsx": 75.70403237682834,
"./packages/app/src/components/headers/menu-header.tsx": 60.37498351156052,
"./packages/app/src/components/headers/screen-header.tsx": 84.67095113473219,
"./packages/app/src/components/home-footer.tsx": 60.37498351156052,
"./packages/app/src/components/icons/claude-icon.tsx": 84.67095113473219,
"./packages/app/src/components/icons/codex-icon.tsx": 84.67095113473219,
"./packages/app/src/components/message-input.tsx": 28.814101543666858,
"./packages/app/src/components/message.tsx": 30.658097730535626,
"./packages/app/src/components/mode-selector-modal.tsx": 75.70403237682834,
"./packages/app/src/components/multi-daemon-session-host.tsx": 56.965919217628894,
"./packages/app/src/components/pair-link-modal.tsx": 60.37498351156052,
"./packages/app/src/components/realtime-controls.tsx": 69.34190226946438,
"./packages/app/src/components/sliding-sidebar.tsx": 36.07901588838887,
"./packages/app/src/components/tool-call-details.tsx": 49.078001906565625,
"./packages/app/src/components/tool-call-preview.test.ts": 100.0,
"./packages/app/src/components/tool-call-preview.ts": 84.67095113473219,
"./packages/app/src/components/tool-call-sheet.tsx": 49.078001906565625,
"./packages/app/src/components/ui/dropdown-menu-floating.ts": 54.01285340419657,
"./packages/app/src/components/ui/dropdown-menu.tsx": 38.68380453892877,
"./packages/app/src/components/voice-button.tsx": 60.37498351156052,
"./packages/app/src/components/volume-meter.tsx": 60.37498351156052,
"./packages/app/src/components/welcome-screen.tsx": 75.70403237682834,
"./packages/app/src/config/audio-debug.ts": 100.0,
"./packages/app/src/constants/layout.ts": 69.34190226946438,
"./packages/app/src/constants/theme.ts": 100.0,
"./packages/app/src/contexts/daemon-connections-context.tsx": 60.37498351156052,
"./packages/app/src/contexts/daemon-registry-context.tsx": 30.658097730535626,
"./packages/app/src/contexts/explorer-sidebar-animation-context.tsx": 56.965919217628894,
"./packages/app/src/contexts/horizontal-scroll-context.tsx": 64.40705077183343,
"./packages/app/src/contexts/realtime-context.tsx": 64.40705077183343,
"./packages/app/src/contexts/session-context.tsx": 14.387836915757102,
"./packages/app/src/contexts/sidebar-animation-context.tsx": 56.965919217628894,
"./packages/app/src/contexts/toast-context.tsx": 56.965919217628894,
"./packages/app/src/dictation/dictation-stream-sender.test.ts": 100.0,
"./packages/app/src/dictation/dictation-stream-sender.ts": 75.70403237682834,
"./packages/app/src/hooks/checkout-status-revalidation.ts": 75.70403237682834,
"./packages/app/src/hooks/use-agent-commands-query.ts": 75.70403237682834,
"./packages/app/src/hooks/use-agent-form-state.test.ts": 100.0,
"./packages/app/src/hooks/use-agent-form-state.ts": 40.11108314866176,
"./packages/app/src/hooks/use-aggregated-agents.ts": 60.37498351156052,
"./packages/app/src/hooks/use-audio-player.d.ts": 100.0,
"./packages/app/src/hooks/use-audio-player.native.ts": 54.01285340419657,
"./packages/app/src/hooks/use-audio-player.web.ts": 100.0,
"./packages/app/src/hooks/use-audio-recorder.d.ts": 100.0,
"./packages/app/src/hooks/use-audio-recorder.native.ts": 54.01285340419657,
"./packages/app/src/hooks/use-audio-recorder.web.ts": 41.636870352361086,
"./packages/app/src/hooks/use-checkout-diff-query.ts": 56.965919217628894,
"./packages/app/src/hooks/use-checkout-pr-status-query.ts": 75.70403237682834,
"./packages/app/src/hooks/use-checkout-status-query.test.ts": 100.0,
"./packages/app/src/hooks/use-checkout-status-query.ts": 56.965919217628894,
"./packages/app/src/hooks/use-client-activity.ts": 56.965919217628894,
"./packages/app/src/hooks/use-color-scheme.ts": 100.0,
"./packages/app/src/hooks/use-color-scheme.web.ts": 100.0,
"./packages/app/src/hooks/use-daemon-client.ts": 69.34190226946438,
"./packages/app/src/hooks/use-dictation-audio-source.d.ts": 100.0,
"./packages/app/src/hooks/use-dictation-audio-source.native.ts": 69.34190226946438,
"./packages/app/src/hooks/use-dictation-audio-source.types.ts": 100.0,
"./packages/app/src/hooks/use-dictation-audio-source.web.ts": 46.97020367185636,
"./packages/app/src/hooks/use-dictation.d.ts": 100.0,
"./packages/app/src/hooks/use-dictation.shared.ts": 100.0,
"./packages/app/src/hooks/use-dictation.ts": 45.04593464629272,
"./packages/app/src/hooks/use-favicon-status.ts": 51.40806475365667,
"./packages/app/src/hooks/use-file-drop-zone.ts": 54.01285340419657,
"./packages/app/src/hooks/use-form-preferences.ts": 75.70403237682834,
"./packages/app/src/hooks/use-git-diff-query.ts": 56.965919217628894,
"./packages/app/src/hooks/use-image-attachment-picker.ts": 69.34190226946438,
"./packages/app/src/hooks/use-recent-paths.ts": 60.37498351156052,
"./packages/app/src/hooks/use-session-directory.ts": 60.37498351156052,
"./packages/app/src/hooks/use-settings.ts": 64.40705077183343,
"./packages/app/src/hooks/use-speechmatics-audio.d.ts": 100.0,
"./packages/app/src/hooks/use-speechmatics-audio.native.ts": 51.40806475365667,
"./packages/app/src/hooks/use-speechmatics-audio.web.ts": 69.34190226946438,
"./packages/app/src/hooks/use-theme-color.ts": 84.67095113473219,
"./packages/app/src/polyfills/crypto.ts": 84.67095113473219,
"./packages/app/src/screens/agent/agent-ready-screen.tsx": 23.354755673660954,
"./packages/app/src/screens/agent/draft-agent-screen.tsx": 25.53177193914712,
"./packages/app/src/screens/agent/legacy-agent-id-screen.tsx": 64.40705077183343,
"./packages/app/src/stores/create-flow-store.ts": 100.0,
"./packages/app/src/stores/download-store.ts": 46.97020367185636,
"./packages/app/src/stores/draft-store.ts": 100.0,
"./packages/app/src/stores/panel-store.ts": 84.67095113473219,
"./packages/app/src/stores/session-store.ts": 69.34190226946438,
"./packages/app/src/styles/markdown-styles.ts": 100.0,
"./packages/app/src/styles/theme.ts": 100.0,
"./packages/app/src/styles/unistyles.ts": 100.0,
"./packages/app/src/types/agent-activity.ts": 84.67095113473219,
"./packages/app/src/types/agent-directory.ts": 100.0,
"./packages/app/src/types/shared.ts": 100.0,
"./packages/app/src/types/stream-buffer.test.ts": 100.0,
"./packages/app/src/types/stream.harness.test.ts": 100.0,
"./packages/app/src/types/stream.test.ts": 100.0,
"./packages/app/src/types/stream.ts": 21.37296998946232,
"./packages/app/src/utils/agent-display-info.ts": 100.0,
"./packages/app/src/utils/agent-grouping.test.ts": 100.0,
"./packages/app/src/utils/agent-grouping.ts": 84.67095113473219,
"./packages/app/src/utils/agent-status.ts": 75.70403237682834,
"./packages/app/src/utils/analytics.ts": 84.67095113473219,
"./packages/app/src/utils/attempt-guard.ts": 84.67095113473219,
"./packages/app/src/utils/daemon-endpoints.ts": 49.078001906565625,
"./packages/app/src/utils/daemons.ts": 75.70403237682834,
"./packages/app/src/utils/diff-highlighter.test.ts": 100.0,
"./packages/app/src/utils/diff-highlighter.ts": 56.965919217628894,
"./packages/app/src/utils/exhaustive.ts": 84.67095113473219,
"./packages/app/src/utils/extract-agent-model.test.ts": 100.0,
"./packages/app/src/utils/extract-agent-model.ts": 84.67095113473219,
"./packages/app/src/utils/navigation-timing.ts": 100.0,
"./packages/app/src/utils/os-notifications.ts": 64.40705077183343,
"./packages/app/src/utils/perf-monitor.ts": 69.34190226946438,
"./packages/app/src/utils/perf.ts": 75.70403237682834,
"./packages/app/src/utils/shorten-path.ts": 100.0,
"./packages/app/src/utils/syntax-highlighter.ts": 60.37498351156052,
"./packages/app/src/utils/tauri-daemon-transport.ts": 41.636870352361086,
"./packages/app/src/utils/tauri-window.ts": 51.40806475365667,
"./packages/app/src/utils/test-daemon-connection.ts": 49.078001906565625,
"./packages/app/src/utils/time.ts": 100.0,
"./packages/app/src/utils/tool-call-parsers.test.ts": 100.0,
"./packages/app/src/utils/tool-call-parsers.ts": 23.354755673660954,
"./packages/app/vitest.config.ts": 100.0,
"./packages/desktop/src-tauri/build.rs": 84.67095113473219,
"./packages/desktop/src-tauri/src/lib.rs": 69.34190226946438,
"./packages/desktop/src-tauri/src/main.rs": 84.67095113473219,
"./packages/relay/src/cloudflare-adapter.ts": 69.34190226946438,
"./packages/relay/src/crypto.test.ts": 100.0,
"./packages/relay/src/crypto.ts": 75.70403237682834,
"./packages/relay/src/e2e.test.ts": 100.0,
"./packages/relay/src/encrypted-channel.test.ts": 100.0,
"./packages/relay/src/encrypted-channel.ts": 69.34190226946438,
"./packages/relay/src/index.ts": 100.0,
"./packages/relay/src/live-relay.e2e.test.ts": 100.0,
"./packages/relay/src/node-adapter.ts": 69.34190226946438,
"./packages/relay/src/relay.ts": 84.67095113473219,
"./packages/relay/src/types.ts": 100.0,
"./packages/server/scripts/dev-runner.ts": 100.0,
"./packages/server/scripts/process-conversation.ts": 100.0,
"./packages/server/scripts/test-codex-mcp-agents.ts": 100.0,
"./packages/server/scripts/test-codex-mcp-basic-auth.ts": 100.0,
"./packages/server/scripts/test-codex-mcp-bearer.ts": 100.0,
"./packages/server/scripts/test-codex-mcp-http-headers.ts": 100.0,
"./packages/server/scripts/test-codex-mcp-http.ts": 100.0,
"./packages/server/scripts/test-codex-mcp-servers.ts": 100.0,
"./packages/server/scripts/verify-codex-mcp-config.ts": 100.0,
"./packages/server/src/client/daemon-client-v2.test.ts": 100.0,
"./packages/server/src/client/daemon-client-v2.ts": 45.04593464629272,
"./packages/server/src/poc-commands/commands-poc.test.ts": 100.0,
"./packages/server/src/poc-commands/investigate-command-output.ts": 64.40705077183343,
"./packages/server/src/poc-commands/run-poc.ts": 60.37498351156052,
"./packages/server/src/server/agent/activity-curator.test.ts": 100.0,
"./packages/server/src/server/agent/activity-curator.ts": 60.37498351156052,
"./packages/server/src/server/agent/agent-manager.test.ts": 100.0,
"./packages/server/src/server/agent/agent-manager.ts": 51.40806475365667,
"./packages/server/src/server/agent/agent-mcp.e2e.test.ts": 100.0,
"./packages/server/src/server/agent/agent-projections.test.ts": 100.0,
"./packages/server/src/server/agent/agent-projections.ts": 41.636870352361086,
"./packages/server/src/server/agent/agent-response-loop.e2e.test.ts": 100.0,
"./packages/server/src/server/agent/agent-response-loop.test.ts": 100.0,
"./packages/server/src/server/agent/agent-response-loop.ts": 41.636870352361086,
"./packages/server/src/server/agent/agent-sdk-types.ts": 100.0,
"./packages/server/src/server/agent/agent-self-identification.e2e.test.ts": 100.0,
"./packages/server/src/server/agent/agent-storage.test.ts": 100.0,
"./packages/server/src/server/agent/agent-storage.ts": 64.40705077183343,
"./packages/server/src/server/agent/audio-utils.ts": 64.40705077183343,
"./packages/server/src/server/agent/dictation-debug.ts": 84.67095113473219,
"./packages/server/src/server/agent/llm-openai.ts": 100.0,
"./packages/server/src/server/agent/mcp-server.test.ts": 100.0,
"./packages/server/src/server/agent/mcp-server.ts": 38.68380453892877,
"./packages/server/src/server/agent/model-catalog.e2e.test.ts": 100.0,
"./packages/server/src/server/agent/model-resolver.test.ts": 100.0,
"./packages/server/src/server/agent/model-resolver.ts": 75.70403237682834,
"./packages/server/src/server/agent/openai-realtime-transcription.ts": 75.70403237682834,
"./packages/server/src/server/agent/opencode-reasoning.e2e.test.ts": 100.0,
"./packages/server/src/server/agent/orchestrator-instructions.ts": 100.0,
"./packages/server/src/server/agent/orchestrator.ts": 100.0,
"./packages/server/src/server/agent/paseo-instructions-tag.test.ts": 100.0,
"./packages/server/src/server/agent/paseo-instructions-tag.ts": 75.70403237682834,
"./packages/server/src/server/agent/pcm16-resampler.ts": 84.67095113473219,
"./packages/server/src/server/agent/provider-manifest.ts": 69.34190226946438,
"./packages/server/src/server/agent/provider-registry.ts": 69.34190226946438,
"./packages/server/src/server/agent/providers/claude-agent-commands.e2e.test.ts": 100.0,
"./packages/server/src/server/agent/providers/claude-agent-commands.test.ts": 100.0,
"./packages/server/src/server/agent/providers/claude-agent.history.test.ts": 100.0,
"./packages/server/src/server/agent/providers/claude-agent.test.ts": 100.0,
"./packages/server/src/server/agent/providers/claude-agent.ts": 25.53177193914712,
"./packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts": 100.0,
"./packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts": 100.0,
"./packages/server/src/server/agent/providers/codex-mcp-agent-commands.e2e.test.ts": 100.0,
"./packages/server/src/server/agent/providers/codex-mcp-agent.commands.test.ts": 100.0,
"./packages/server/src/server/agent/providers/codex-mcp-agent.paseo-instructions.test.ts": 100.0,
"./packages/server/src/server/agent/providers/codex-mcp-agent.resume-errors.test.ts": 100.0,
"./packages/server/src/server/agent/providers/codex-mcp-agent.test.ts": 100.0,
"./packages/server/src/server/agent/providers/codex-mcp-agent.ts": 0.0,
"./packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts": 100.0,
"./packages/server/src/server/agent/providers/opencode-agent.test.ts": 100.0,
"./packages/server/src/server/agent/providers/opencode-agent.ts": 49.078001906565625,
"./packages/server/src/server/agent/recordings-debug.ts": 69.34190226946438,
"./packages/server/src/server/agent/self-identification-instructions.ts": 75.70403237682834,
"./packages/server/src/server/agent/stt-debug.ts": 84.67095113473219,
"./packages/server/src/server/agent/stt-manager.ts": 100.0,
"./packages/server/src/server/agent/stt-openai.ts": 60.37498351156052,
"./packages/server/src/server/agent/system-prompt.ts": 75.70403237682834,
"./packages/server/src/server/agent/tts-debug.ts": 84.67095113473219,
"./packages/server/src/server/agent/tts-manager.ts": 60.37498351156052,
"./packages/server/src/server/agent/tts-openai.ts": 84.67095113473219,
"./packages/server/src/server/agent/wait-for-agent-tracker.test.ts": 100.0,
"./packages/server/src/server/agent/wait-for-agent-tracker.ts": 100.0,
"./packages/server/src/server/bootstrap.smoke.test.ts": 100.0,
"./packages/server/src/server/bootstrap.ts": 46.97020367185636,
"./packages/server/src/server/client-activity.e2e.test.ts": 100.0,
"./packages/server/src/server/config.ts": 69.34190226946438,
"./packages/server/src/server/connection-offer.ts": 56.965919217628894,
"./packages/server/src/server/daemon-client-v2.e2e.test.ts": 100.0,
"./packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts": 100.0,
"./packages/server/src/server/daemon-e2e/agent-configs.ts": 100.0,
"./packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts": 100.0,
"./packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts": 100.0,
"./packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts": 100.0,
"./packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts": 100.0,
"./packages/server/src/server/daemon-e2e/file-download.e2e.test.ts": 100.0,
"./packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts": 100.0,
"./packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts": 100.0,
"./packages/server/src/server/daemon-e2e/images.e2e.test.ts": 100.0,
"./packages/server/src/server/daemon-e2e/models.e2e.test.ts": 100.0,
"./packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts": 100.0,
"./packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts": 100.0,
"./packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts": 100.0,
"./packages/server/src/server/daemon-e2e/persistence.e2e.test.ts": 100.0,
"./packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts": 100.0,
"./packages/server/src/server/daemon-e2e/setup.ts": 69.34190226946438,
"./packages/server/src/server/daemon-e2e/streaming.e2e.test.ts": 100.0,
"./packages/server/src/server/daemon-e2e/terminal.e2e.test.ts": 100.0,
"./packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts": 100.0,
"./packages/server/src/server/daemon-e2e/two-cycle-resume.e2e.test.ts": 100.0,
"./packages/server/src/server/daemon-e2e/wait-for-idle.e2e.test.ts": 100.0,
"./packages/server/src/server/file-download/token-store.ts": 84.67095113473219,
"./packages/server/src/server/file-explorer/service.ts": 56.965919217628894,
"./packages/server/src/server/index.ts": 69.34190226946438,
"./packages/server/src/server/json-utils.ts": 84.67095113473219,
"./packages/server/src/server/logger.test.ts": 100.0,
"./packages/server/src/server/logger.ts": 69.34190226946438,
"./packages/server/src/server/messages.test.ts": 100.0,
"./packages/server/src/server/messages.ts": 75.70403237682834,
"./packages/server/src/server/pairing-qr.ts": 64.40705077183343,
"./packages/server/src/server/paseo-home.ts": 75.70403237682834,
"./packages/server/src/server/persisted-config.ts": 64.40705077183343,
"./packages/server/src/server/persistence-hooks.test.ts": 100.0,
"./packages/server/src/server/persistence-hooks.ts": 60.37498351156052,
"./packages/server/src/server/push/push-service.ts": 84.67095113473219,
"./packages/server/src/server/push/token-store.ts": 100.0,
"./packages/server/src/server/relay-transport.ts": 56.965919217628894,
"./packages/server/src/server/session.ts": 33.74895304129781,
"./packages/server/src/server/terminal-mcp/index.ts": 100.0,
"./packages/server/src/server/terminal-mcp/server.ts": 100.0,
"./packages/server/src/server/terminal-mcp/terminal-manager.test.ts": 100.0,
"./packages/server/src/server/terminal-mcp/terminal-manager.ts": 64.40705077183343,
"./packages/server/src/server/terminal-mcp/tmux.ts": 36.07901588838887,
"./packages/server/src/server/test-utils/claude-auth.ts": 100.0,
"./packages/server/src/server/test-utils/claude-config.ts": 84.67095113473219,
"./packages/server/src/server/test-utils/daemon-client.ts": 84.67095113473219,
"./packages/server/src/server/test-utils/daemon-test-context.ts": 100.0,
"./packages/server/src/server/test-utils/index.ts": 100.0,
"./packages/server/src/server/test-utils/paseo-daemon.ts": 64.40705077183343,
"./packages/server/src/server/types.ts": 100.0,
"./packages/server/src/server/utils/diff-highlighter.test.ts": 100.0,
"./packages/server/src/server/utils/diff-highlighter.ts": 54.01285340419657,
"./packages/server/src/server/utils/syntax-highlighter.ts": 60.37498351156052,
"./packages/server/src/server/voice-conversation-store.ts": 69.34190226946438,
"./packages/server/src/server/voice-conversations.e2e.test.ts": 100.0,
"./packages/server/src/server/websocket-server.ts": 100.0,
"./packages/server/src/server/websocket-session-bridge.ts": 69.34190226946438,
"./packages/server/src/shared/agent-lifecycle.ts": 100.0,
"./packages/server/src/shared/messages.ts": 84.67095113473219,
"./packages/server/src/tasks/cli.ts": 32.66995159445722,
"./packages/server/src/tasks/execution-order.test.ts": 100.0,
"./packages/server/src/tasks/execution-order.ts": 54.01285340419657,
"./packages/server/src/tasks/task-store.test.ts": 100.0,
"./packages/server/src/tasks/task-store.ts": 41.636870352361086,
"./packages/server/src/tasks/types.ts": 100.0,
"./packages/server/src/terminal/terminal-manager.test.ts": 100.0,
"./packages/server/src/terminal/terminal-manager.ts": 75.70403237682834,
"./packages/server/src/terminal/terminal.test.ts": 100.0,
"./packages/server/src/terminal/terminal.ts": 49.078001906565625,
"./packages/server/src/test-utils/test-logger.ts": 84.67095113473219,
"./packages/server/src/test-utils/vitest-setup.ts": 100.0,
"./packages/server/src/utils/checkout-git.test.ts": 100.0,
"./packages/server/src/utils/checkout-git.ts": 23.354755673660954,
"./packages/server/src/utils/path.ts": 100.0,
"./packages/server/src/utils/tool-call-parsers.test.ts": 100.0,
"./packages/server/src/utils/tool-call-parsers.ts": 60.37498351156052,
"./packages/server/src/utils/worktree-metadata.ts": 56.965919217628894,
"./packages/server/src/utils/worktree.test.ts": 100.0,
"./packages/server/src/utils/worktree.ts": 31.641154806588556,
"./packages/server/vitest.config.ts": 100.0,
"./packages/website/src/components/butterfly.tsx": 40.11108314866176,
"./packages/website/src/routeTree.gen.ts": 100.0,
"./packages/website/src/router.tsx": 84.67095113473219,
"./packages/website/src/routes/__root.tsx": 75.70403237682834,
"./packages/website/src/routes/docs.tsx": 84.67095113473219,
"./packages/website/src/routes/docs/best-practices.tsx": 84.67095113473219,
"./packages/website/src/routes/docs/index.tsx": 84.67095113473219,
"./packages/website/src/routes/index.tsx": 41.636870352361086,
"./packages/website/vite.config.ts": 100.0,
"./pair-link-modal.tsx": 60.37498351156052,
"./pair-scan.tsx": 69.34190226946438,
"./pairing-offer-parsing.spec.ts": 100.0,
"./pairing-qr.ts": 64.40705077183343,
"./panel-store.ts": 84.67095113473219,
"./paseo-daemon.ts": 64.40705077183343,
"./paseo-home.ts": 75.70403237682834,
"./paseo-instructions-tag.test.ts": 100.0,
"./paseo-instructions-tag.ts": 75.70403237682834,
"./path.ts": 100.0,
"./pcm16-resampler.ts": 84.67095113473219,
"./perf-monitor.ts": 69.34190226946438,
"./perf.ts": 75.70403237682834,
"./permission-prompt.spec.ts": 100.0,
"./permissions-claude.e2e.test.ts": 100.0,
"./permissions-codex.e2e.test.ts": 100.0,
"./persisted-config.ts": 64.40705077183343,
"./persistence-hooks.test.ts": 100.0,
"./persistence-hooks.ts": 60.37498351156052,
"./persistence.e2e.test.ts": 100.0,
"./playwright.config.ts": 100.0,
"./preserve-prompt-on-error.spec.ts": 100.0,
"./process-conversation.ts": 100.0,
"./provider-manifest.ts": 69.34190226946438,
"./provider-registry.ts": 69.34190226946438,
"./push-service.ts": 84.67095113473219,
"./react-native-web.d.ts": 100.0,
"./realtime-context.tsx": 64.40705077183343,
"./realtime-controls.tsx": 69.34190226946438,
"./recordings-debug.ts": 69.34190226946438,
"./relay-fallback-connect.spec.ts": 100.0,
"./relay-transport.e2e.test.ts": 100.0,
"./relay-transport.ts": 56.965919217628894,
"./relay.ts": 84.67095113473219,
"./repro-ipc-listen.js": 100.0,
"./reset-project.js": 100.0,
"./routeTree.gen.ts": 100.0,
"./router.tsx": 84.67095113473219,
"./run-poc.ts": 60.37498351156052,
"./screen-header.tsx": 84.67095113473219,
"./scripts/codex-claude-test.ts": 100.0,
"./scripts/codex-cli-approval-test.mjs": 100.0,
"./scripts/codex-file-read-debug.ts": 100.0,
"./scripts/codex-full-access-ipc-repro.smoke.mjs": 100.0,
"./scripts/codex-mcp-elicitation-test.ts": 100.0,
"./scripts/codex-sdk-permission-test.mjs": 100.0,
"./scripts/codex-websearch-debug.ts": 100.0,
"./scripts/mcp-create-codex-check.ts": 100.0,
"./scripts/repro-ipc-listen.js": 100.0,
"./self-identification-instructions.ts": 75.70403237682834,
"./server.ts": 100.0,
"./service.ts": 56.965919217628894,
"./session-context.tsx": 14.387836915757102,
"./session-store.ts": 69.34190226946438,
"./session.ts": 36.07901588838887,
"./settings.tsx": 40.11108314866176,
"./setup.ts": 69.34190226946438,
"./shared.ts": 100.0,
"./shorten-path.ts": 100.0,
"./sidebar-animation-context.tsx": 56.965919217628894,
"./sidebar-new-agent-clones-selected.spec.ts": 100.0,
"./sliding-sidebar.tsx": 36.07901588838887,
"./src/.paseo/worktrees/loved-insect/packages/app/babel.config.js": 84.67095113473219,
"./src/.paseo/worktrees/loved-insect/packages/app/e2e/global-setup.ts": 49.078001906565625,
"./src/.paseo/worktrees/loved-insect/packages/app/e2e/helpers/app.ts": 45.04593464629272,
"./src/.paseo/worktrees/loved-insect/packages/app/src/app/+html.tsx": 75.70403237682834,
"./src/.paseo/worktrees/loved-insect/packages/app/src/app/_layout.tsx": 37.34308237150715,
"./src/.paseo/worktrees/loved-insect/packages/app/src/app/agent/[id].tsx": 64.40705077183343,
"./src/.paseo/worktrees/loved-insect/packages/app/src/app/agent/[serverId]/[agentId].tsx": 27.94672987236956,
"./src/.paseo/worktrees/loved-insect/packages/app/src/app/agents.tsx": 64.40705077183343,
"./src/.paseo/worktrees/loved-insect/packages/app/src/app/index.tsx": 30.658097730535626,
"./src/.paseo/worktrees/loved-insect/packages/app/src/app/pair-scan.tsx": 69.34190226946438,
"./src/.paseo/worktrees/loved-insect/packages/app/src/app/settings.tsx": 40.11108314866176,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/active-processes.tsx": 56.965919217628894,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/adaptive-modal-sheet.tsx": 64.40705077183343,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/add-host-method-modal.tsx": 60.37498351156052,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/add-host-modal.tsx": 45.04593464629272,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/agent-activity.tsx": 49.078001906565625,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/agent-form/agent-form-dropdowns.tsx": 19.554262705039893,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/agent-input-area.tsx": 27.112097130485,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/agent-list.tsx": 54.01285340419657,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/agent-status-bar.tsx": 64.40705077183343,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/agent-stream-view.tsx": 25.53177193914712,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/artifact-drawer.tsx": 75.70403237682834,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/audio-debug-notice.tsx": 60.37498351156052,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/command-autocomplete.tsx": 64.40705077183343,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/connection-status.tsx": 75.70403237682834,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/dictation-controls.tsx": 64.40705077183343,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/dictation-status-notice.tsx": 64.40705077183343,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/diff-viewer.tsx": 75.70403237682834,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/download-toast.tsx": 60.37498351156052,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/empty-state.tsx": 75.70403237682834,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/explorer-sidebar.tsx": 36.07901588838887,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/file-drop-zone.tsx": 69.34190226946438,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/file-explorer-pane.tsx": 20.74996702312105,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/git-diff-pane.tsx": 31.641154806588556,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/headers/back-header.tsx": 75.70403237682834,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/headers/menu-header.tsx": 60.37498351156052,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/headers/screen-header.tsx": 84.67095113473219,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/home-footer.tsx": 60.37498351156052,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/icons/claude-icon.tsx": 84.67095113473219,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/icons/codex-icon.tsx": 84.67095113473219,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/message-input.tsx": 29.716885781024914,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/message.tsx": 30.658097730535626,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/mode-selector-modal.tsx": 75.70403237682834,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/multi-daemon-session-host.tsx": 56.965919217628894,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/pair-link-modal.tsx": 60.37498351156052,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/realtime-controls.tsx": 69.34190226946438,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/sliding-sidebar.tsx": 36.07901588838887,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/tool-call-details.tsx": 49.078001906565625,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/tool-call-preview.ts": 84.67095113473219,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/tool-call-sheet.tsx": 49.078001906565625,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/ui/dropdown-menu-floating.ts": 54.01285340419657,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/ui/dropdown-menu.tsx": 38.68380453892877,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/voice-button.tsx": 60.37498351156052,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/volume-meter.tsx": 60.37498351156052,
"./src/.paseo/worktrees/loved-insect/packages/app/src/components/welcome-screen.tsx": 75.70403237682834,
"./src/.paseo/worktrees/loved-insect/packages/app/src/constants/layout.ts": 69.34190226946438,
"./src/.paseo/worktrees/loved-insect/packages/app/src/contexts/daemon-connections-context.tsx": 60.37498351156052,
"./src/.paseo/worktrees/loved-insect/packages/app/src/contexts/daemon-registry-context.tsx": 30.658097730535626,
"./src/.paseo/worktrees/loved-insect/packages/app/src/contexts/explorer-sidebar-animation-context.tsx": 56.965919217628894,
"./src/.paseo/worktrees/loved-insect/packages/app/src/contexts/horizontal-scroll-context.tsx": 64.40705077183343,
"./src/.paseo/worktrees/loved-insect/packages/app/src/contexts/realtime-context.tsx": 64.40705077183343,
"./src/.paseo/worktrees/loved-insect/packages/app/src/contexts/session-context.tsx": 14.387836915757102,
"./src/.paseo/worktrees/loved-insect/packages/app/src/contexts/sidebar-animation-context.tsx": 56.965919217628894,
"./src/.paseo/worktrees/loved-insect/packages/app/src/dictation/dictation-stream-sender.ts": 75.70403237682834,
"./src/.paseo/worktrees/loved-insect/packages/app/src/hooks/checkout-status-revalidation.ts": 75.70403237682834,
"./src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-agent-commands-query.ts": 75.70403237682834,
"./src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-agent-form-state.ts": 40.11108314866176,
"./src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-aggregated-agents.ts": 60.37498351156052,
"./src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-audio-player.native.ts": 54.01285340419657,
"./src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-audio-recorder.native.ts": 54.01285340419657,
"./src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-audio-recorder.web.ts": 41.636870352361086,
"./src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-checkout-diff-query.ts": 56.965919217628894,
"./src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-checkout-pr-status-query.ts": 75.70403237682834,
"./src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-checkout-status-query.ts": 56.965919217628894,
"./src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-client-activity.ts": 56.965919217628894,
"./src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-daemon-client.ts": 69.34190226946438,
"./src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-dictation-audio-source.native.ts": 69.34190226946438,
"./src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-dictation-audio-source.web.ts": 51.40806475365667,
"./src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-dictation.ts": 45.04593464629272,
"./src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-favicon-status.ts": 51.40806475365667,
"./src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-file-drop-zone.ts": 54.01285340419657,
"./src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-form-preferences.ts": 75.70403237682834,
"./src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-git-diff-query.ts": 56.965919217628894,
"./src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-image-attachment-picker.ts": 69.34190226946438,
"./src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-recent-paths.ts": 60.37498351156052,
"./src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-session-directory.ts": 60.37498351156052,
"./src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-settings.ts": 64.40705077183343,
"./src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-speechmatics-audio.native.ts": 51.40806475365667,
"./src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-speechmatics-audio.web.ts": 69.34190226946438,
"./src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-theme-color.ts": 84.67095113473219,
"./src/.paseo/worktrees/loved-insect/packages/app/src/polyfills/crypto.ts": 84.67095113473219,
"./src/.paseo/worktrees/loved-insect/packages/app/src/stores/download-store.ts": 46.97020367185636,
"./src/.paseo/worktrees/loved-insect/packages/app/src/stores/panel-store.ts": 84.67095113473219,
"./src/.paseo/worktrees/loved-insect/packages/app/src/stores/session-store.ts": 69.34190226946438,
"./src/.paseo/worktrees/loved-insect/packages/app/src/types/agent-activity.ts": 84.67095113473219,
"./src/.paseo/worktrees/loved-insect/packages/app/src/types/stream.ts": 21.37296998946232,
"./src/.paseo/worktrees/loved-insect/packages/app/src/utils/agent-status.ts": 75.70403237682834,
"./src/.paseo/worktrees/loved-insect/packages/app/src/utils/analytics.ts": 84.67095113473219,
"./src/.paseo/worktrees/loved-insect/packages/app/src/utils/attempt-guard.ts": 84.67095113473219,
"./src/.paseo/worktrees/loved-insect/packages/app/src/utils/daemon-endpoints.ts": 49.078001906565625,
"./src/.paseo/worktrees/loved-insect/packages/app/src/utils/daemons.ts": 75.70403237682834,
"./src/.paseo/worktrees/loved-insect/packages/app/src/utils/diff-highlighter.ts": 56.965919217628894,
"./src/.paseo/worktrees/loved-insect/packages/app/src/utils/exhaustive.ts": 84.67095113473219,
"./src/.paseo/worktrees/loved-insect/packages/app/src/utils/extract-agent-model.ts": 84.67095113473219,
"./src/.paseo/worktrees/loved-insect/packages/app/src/utils/os-notifications.ts": 64.40705077183343,
"./src/.paseo/worktrees/loved-insect/packages/app/src/utils/perf-monitor.ts": 69.34190226946438,
"./src/.paseo/worktrees/loved-insect/packages/app/src/utils/perf.ts": 75.70403237682834,
"./src/.paseo/worktrees/loved-insect/packages/app/src/utils/syntax-highlighter.ts": 60.37498351156052,
"./src/.paseo/worktrees/loved-insect/packages/app/src/utils/tauri-daemon-transport.ts": 41.636870352361086,
"./src/.paseo/worktrees/loved-insect/packages/app/src/utils/tauri-window.ts": 51.40806475365667,
"./src/.paseo/worktrees/loved-insect/packages/app/src/utils/test-daemon-connection.ts": 49.078001906565625,
"./src/.paseo/worktrees/loved-insect/packages/app/src/utils/tool-call-parsers.ts": 23.354755673660954,
"./src/.paseo/worktrees/loved-insect/packages/desktop/src-tauri/build.rs": 84.67095113473219,
"./src/.paseo/worktrees/loved-insect/packages/desktop/src-tauri/src/lib.rs": 69.34190226946438,
"./src/.paseo/worktrees/loved-insect/packages/desktop/src-tauri/src/main.rs": 84.67095113473219,
"./src/.paseo/worktrees/loved-insect/packages/relay/src/cloudflare-adapter.ts": 69.34190226946438,
"./src/.paseo/worktrees/loved-insect/packages/relay/src/crypto.ts": 75.70403237682834,
"./src/.paseo/worktrees/loved-insect/packages/relay/src/encrypted-channel.ts": 69.34190226946438,
"./src/.paseo/worktrees/loved-insect/packages/relay/src/node-adapter.ts": 69.34190226946438,
"./src/.paseo/worktrees/loved-insect/packages/relay/src/relay.ts": 84.67095113473219,
"./src/.paseo/worktrees/loved-insect/packages/server/src/client/daemon-client-v2.ts": 45.04593464629272,
"./src/.paseo/worktrees/loved-insect/packages/server/src/poc-commands/investigate-command-output.ts": 64.40705077183343,
"./src/.paseo/worktrees/loved-insect/packages/server/src/poc-commands/run-poc.ts": 60.37498351156052,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/activity-curator.ts": 60.37498351156052,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/agent-manager.ts": 51.40806475365667,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/agent-projections.ts": 41.636870352361086,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/agent-response-loop.ts": 41.636870352361086,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/agent-storage.ts": 69.34190226946438,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/audio-utils.ts": 64.40705077183343,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/mcp-server.ts": 38.68380453892877,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/model-resolver.ts": 75.70403237682834,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/openai-realtime-transcription.ts": 75.70403237682834,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/paseo-instructions-tag.ts": 75.70403237682834,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/pcm16-resampler.ts": 84.67095113473219,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/provider-manifest.ts": 69.34190226946438,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/provider-registry.ts": 69.34190226946438,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/providers/claude-agent.ts": 25.53177193914712,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/providers/codex-mcp-agent.ts": 0.0,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/providers/opencode-agent.ts": 49.078001906565625,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/self-identification-instructions.ts": 75.70403237682834,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/stt-debug.ts": 84.67095113473219,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/stt-openai.ts": 60.37498351156052,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/system-prompt.ts": 75.70403237682834,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/tts-manager.ts": 60.37498351156052,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/tts-openai.ts": 84.67095113473219,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/bootstrap.ts": 46.97020367185636,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/config.ts": 69.34190226946438,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/connection-offer.ts": 56.965919217628894,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/daemon-e2e/setup.ts": 69.34190226946438,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/file-download/token-store.ts": 84.67095113473219,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/file-explorer/service.ts": 56.965919217628894,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/index.ts": 69.34190226946438,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/json-utils.ts": 84.67095113473219,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/logger.ts": 69.34190226946438,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/messages.ts": 75.70403237682834,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/pairing-qr.ts": 64.40705077183343,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/paseo-home.ts": 75.70403237682834,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/persisted-config.ts": 64.40705077183343,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/persistence-hooks.ts": 60.37498351156052,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/push/push-service.ts": 84.67095113473219,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/relay-transport.ts": 56.965919217628894,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/session.ts": 33.74895304129781,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/terminal-mcp/terminal-manager.ts": 64.40705077183343,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/terminal-mcp/tmux.ts": 36.07901588838887,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/test-utils/claude-config.ts": 84.67095113473219,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/test-utils/daemon-client.ts": 84.67095113473219,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/test-utils/paseo-daemon.ts": 64.40705077183343,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/utils/diff-highlighter.ts": 54.01285340419657,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/utils/syntax-highlighter.ts": 60.37498351156052,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/voice-conversation-store.ts": 69.34190226946438,
"./src/.paseo/worktrees/loved-insect/packages/server/src/server/websocket-session-bridge.ts": 69.34190226946438,
"./src/.paseo/worktrees/loved-insect/packages/server/src/shared/messages.ts": 84.67095113473219,
"./src/.paseo/worktrees/loved-insect/packages/server/src/tasks/cli.ts": 32.66995159445722,
"./src/.paseo/worktrees/loved-insect/packages/server/src/tasks/execution-order.ts": 54.01285340419657,
"./src/.paseo/worktrees/loved-insect/packages/server/src/tasks/task-store.ts": 41.636870352361086,
"./src/.paseo/worktrees/loved-insect/packages/server/src/terminal/terminal-manager.ts": 75.70403237682834,
"./src/.paseo/worktrees/loved-insect/packages/server/src/terminal/terminal.ts": 49.078001906565625,
"./src/.paseo/worktrees/loved-insect/packages/server/src/test-utils/test-logger.ts": 84.67095113473219,
"./src/.paseo/worktrees/loved-insect/packages/server/src/utils/checkout-git.ts": 28.814101543666858,
"./src/.paseo/worktrees/loved-insect/packages/server/src/utils/tool-call-parsers.ts": 60.37498351156052,
"./src/.paseo/worktrees/loved-insect/packages/server/src/utils/worktree-metadata.ts": 56.965919217628894,
"./src/.paseo/worktrees/loved-insect/packages/server/src/utils/worktree.ts": 40.11108314866176,
"./src/.paseo/worktrees/loved-insect/packages/website/src/components/butterfly.tsx": 40.11108314866176,
"./src/.paseo/worktrees/loved-insect/packages/website/src/router.tsx": 84.67095113473219,
"./src/.paseo/worktrees/loved-insect/packages/website/src/routes/__root.tsx": 75.70403237682834,
"./src/.paseo/worktrees/loved-insect/packages/website/src/routes/docs.tsx": 84.67095113473219,
"./src/.paseo/worktrees/loved-insect/packages/website/src/routes/docs/best-practices.tsx": 84.67095113473219,
"./src/.paseo/worktrees/loved-insect/packages/website/src/routes/docs/index.tsx": 84.67095113473219,
"./src/.paseo/worktrees/loved-insect/packages/website/src/routes/index.tsx": 41.636870352361086,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/babel.config.js": 84.67095113473219,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/e2e/global-setup.ts": 49.078001906565625,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/e2e/helpers/app.ts": 45.04593464629272,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/+html.tsx": 75.70403237682834,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/_layout.tsx": 37.34308237150715,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/agent/[id].tsx": 64.40705077183343,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/agent/[serverId]/[agentId].tsx": 27.94672987236956,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/agents.tsx": 64.40705077183343,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/index.tsx": 30.658097730535626,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/orchestrator.tsx": 56.965919217628894,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/pair-scan.tsx": 69.34190226946438,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/settings.tsx": 40.11108314866176,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/active-processes.tsx": 56.965919217628894,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-activity.tsx": 49.078001906565625,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-form/agent-form-dropdowns.tsx": 19.554262705039893,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-input-area.tsx": 27.112097130485,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-list.tsx": 56.965919217628894,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-status-bar.tsx": 64.40705077183343,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-stream-view.tsx": 25.53177193914712,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-thought-content.tsx": 69.34190226946438,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/artifact-drawer.tsx": 75.70403237682834,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/audio-debug-notice.tsx": 60.37498351156052,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/command-autocomplete.tsx": 64.40705077183343,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/connection-status.tsx": 75.70403237682834,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/conversation-selector.tsx": 54.01285340419657,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/dictation-controls.tsx": 64.40705077183343,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/dictation-status-notice.tsx": 64.40705077183343,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/diff-viewer.tsx": 75.70403237682834,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/download-toast.tsx": 60.37498351156052,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/empty-state.tsx": 75.70403237682834,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/explorer-sidebar.tsx": 36.07901588838887,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/file-drop-zone.tsx": 69.34190226946438,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/file-explorer-pane.tsx": 20.74996702312105,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/git-diff-pane.tsx": 31.641154806588556,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/headers/back-header.tsx": 75.70403237682834,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/headers/home-header.tsx": 64.40705077183343,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/headers/menu-header.tsx": 60.37498351156052,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/headers/screen-header.tsx": 84.67095113473219,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/home-footer.tsx": 60.37498351156052,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/icons/claude-icon.tsx": 84.67095113473219,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/icons/codex-icon.tsx": 84.67095113473219,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/message-input.tsx": 29.716885781024914,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/message.tsx": 28.814101543666858,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/mode-selector-modal.tsx": 75.70403237682834,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/multi-daemon-session-host.tsx": 56.965919217628894,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/orchestrator-messages-view.tsx": 75.70403237682834,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/realtime-controls.tsx": 69.34190226946438,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/sliding-sidebar.tsx": 36.07901588838887,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/thinking-sheet.tsx": 51.40806475365667,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/tool-call-details.tsx": 49.078001906565625,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/tool-call-preview.ts": 84.67095113473219,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/tool-call-sheet.tsx": 49.078001906565625,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/ui/dropdown-menu-floating.ts": 54.01285340419657,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/ui/dropdown-menu.tsx": 38.68380453892877,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/voice-button.tsx": 60.37498351156052,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/volume-meter.tsx": 60.37498351156052,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/constants/layout.ts": 69.34190226946438,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/daemon-connections-context.tsx": 60.37498351156052,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/daemon-registry-context.tsx": 30.658097730535626,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/explorer-sidebar-animation-context.tsx": 56.965919217628894,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/horizontal-scroll-context.tsx": 64.40705077183343,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/realtime-context.tsx": 64.40705077183343,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/session-context.tsx": 14.387836915757102,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/sidebar-animation-context.tsx": 56.965919217628894,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/dictation/dictation-stream-sender.ts": 75.70403237682834,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/checkout-status-revalidation.ts": 75.70403237682834,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-agent-commands-query.ts": 75.70403237682834,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-agent-form-state.ts": 40.11108314866176,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-aggregated-agents.ts": 60.37498351156052,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-audio-player.native.ts": 54.01285340419657,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-audio-recorder.native.ts": 54.01285340419657,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-audio-recorder.web.ts": 41.636870352361086,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-checkout-diff-query.ts": 56.965919217628894,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-checkout-pr-status-query.ts": 75.70403237682834,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-checkout-status-query.ts": 60.37498351156052,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-client-activity.ts": 56.965919217628894,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-daemon-client.ts": 69.34190226946438,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-dictation-audio-source.native.ts": 69.34190226946438,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-dictation-audio-source.web.ts": 51.40806475365667,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-dictation.ts": 45.04593464629272,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-favicon-status.ts": 51.40806475365667,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-file-drop-zone.ts": 54.01285340419657,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-form-preferences.ts": 75.70403237682834,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-git-diff-query.ts": 56.965919217628894,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-image-attachment-picker.ts": 69.34190226946438,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-recent-paths.ts": 60.37498351156052,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-session-directory.ts": 60.37498351156052,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-settings.ts": 64.40705077183343,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-speechmatics-audio.native.ts": 51.40806475365667,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-speechmatics-audio.web.ts": 69.34190226946438,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-theme-color.ts": 84.67095113473219,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/polyfills/crypto.ts": 84.67095113473219,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/stores/download-store.ts": 46.97020367185636,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/stores/panel-store.ts": 84.67095113473219,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/stores/session-store.ts": 69.34190226946438,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/types/agent-activity.ts": 84.67095113473219,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/types/stream.ts": 21.37296998946232,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/agent-status.ts": 75.70403237682834,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/analytics.ts": 84.67095113473219,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/attempt-guard.ts": 84.67095113473219,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/daemon-endpoints.ts": 49.078001906565625,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/daemons.ts": 75.70403237682834,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/diff-highlighter.ts": 56.965919217628894,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/exhaustive.ts": 84.67095113473219,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/extract-agent-model.ts": 84.67095113473219,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/os-notifications.ts": 64.40705077183343,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/perf-monitor.ts": 69.34190226946438,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/perf.ts": 75.70403237682834,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/syntax-highlighter.ts": 60.37498351156052,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/tauri-daemon-transport.ts": 41.636870352361086,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/tauri-window.ts": 51.40806475365667,
"./src/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/tool-call-parsers.ts": 23.354755673660954,
"./src/.paseo/worktrees/ripe-dragonfly/packages/desktop/src-tauri/build.rs": 84.67095113473219,
"./src/.paseo/worktrees/ripe-dragonfly/packages/desktop/src-tauri/src/lib.rs": 69.34190226946438,
"./src/.paseo/worktrees/ripe-dragonfly/packages/desktop/src-tauri/src/main.rs": 84.67095113473219,
"./src/.paseo/worktrees/ripe-dragonfly/packages/relay/src/cloudflare-adapter.ts": 69.34190226946438,
"./src/.paseo/worktrees/ripe-dragonfly/packages/relay/src/crypto.ts": 75.70403237682834,
"./src/.paseo/worktrees/ripe-dragonfly/packages/relay/src/encrypted-channel.ts": 69.34190226946438,
"./src/.paseo/worktrees/ripe-dragonfly/packages/relay/src/node-adapter.ts": 69.34190226946438,
"./src/.paseo/worktrees/ripe-dragonfly/packages/relay/src/relay.ts": 84.67095113473219,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/client/daemon-client-v2.ts": 45.04593464629272,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/poc-commands/investigate-command-output.ts": 64.40705077183343,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/poc-commands/run-poc.ts": 60.37498351156052,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/activity-curator.ts": 60.37498351156052,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/agent-manager.ts": 51.40806475365667,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/agent-projections.ts": 41.636870352361086,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/agent-registry.ts": 75.70403237682834,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/agent-response-loop.ts": 41.636870352361086,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/audio-utils.ts": 64.40705077183343,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/mcp-server.ts": 38.68380453892877,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/model-resolver.ts": 75.70403237682834,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/openai-realtime-transcription.ts": 75.70403237682834,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/paseo-instructions-tag.ts": 75.70403237682834,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/pcm16-resampler.ts": 84.67095113473219,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/provider-manifest.ts": 69.34190226946438,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/provider-registry.ts": 69.34190226946438,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/providers/claude-agent.ts": 25.53177193914712,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/providers/codex-mcp-agent.ts": 0.0,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/providers/opencode-agent.ts": 49.078001906565625,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/self-identification-instructions.ts": 75.70403237682834,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/stt-debug.ts": 84.67095113473219,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/stt-openai.ts": 60.37498351156052,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/system-prompt.ts": 75.70403237682834,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/tts-manager.ts": 60.37498351156052,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/tts-openai.ts": 84.67095113473219,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/bootstrap.ts": 46.97020367185636,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/config.ts": 69.34190226946438,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/connection-offer.ts": 56.965919217628894,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/daemon-e2e/setup.ts": 69.34190226946438,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/file-download/token-store.ts": 84.67095113473219,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/file-explorer/service.ts": 56.965919217628894,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/index.ts": 69.34190226946438,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/json-utils.ts": 84.67095113473219,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/logger.ts": 69.34190226946438,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/messages.ts": 75.70403237682834,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/pairing-qr.ts": 64.40705077183343,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/paseo-home.ts": 75.70403237682834,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/persisted-config.ts": 64.40705077183343,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/persistence-hooks.ts": 60.37498351156052,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/push/push-service.ts": 84.67095113473219,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/relay-transport.ts": 56.965919217628894,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/session.ts": 36.07901588838887,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/terminal-mcp/terminal-manager.ts": 64.40705077183343,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/terminal-mcp/tmux.ts": 36.07901588838887,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/test-utils/claude-config.ts": 84.67095113473219,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/test-utils/daemon-client.ts": 84.67095113473219,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/test-utils/paseo-daemon.ts": 64.40705077183343,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/utils/diff-highlighter.ts": 54.01285340419657,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/utils/syntax-highlighter.ts": 60.37498351156052,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/voice-conversation-store.ts": 69.34190226946438,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/websocket-session-bridge.ts": 69.34190226946438,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/shared/messages.ts": 84.67095113473219,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/tasks/cli.ts": 32.66995159445722,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/tasks/execution-order.ts": 54.01285340419657,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/tasks/task-store.ts": 41.636870352361086,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/terminal/terminal-manager.ts": 75.70403237682834,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/terminal/terminal.ts": 49.078001906565625,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/test-utils/test-logger.ts": 84.67095113473219,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/utils/checkout-git.ts": 28.814101543666858,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/utils/tool-call-parsers.ts": 60.37498351156052,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/utils/worktree-metadata.ts": 56.965919217628894,
"./src/.paseo/worktrees/ripe-dragonfly/packages/server/src/utils/worktree.ts": 40.11108314866176,
"./src/.paseo/worktrees/ripe-dragonfly/packages/website/src/components/butterfly.tsx": 40.11108314866176,
"./src/.paseo/worktrees/ripe-dragonfly/packages/website/src/router.tsx": 84.67095113473219,
"./src/.paseo/worktrees/ripe-dragonfly/packages/website/src/routes/__root.tsx": 75.70403237682834,
"./src/.paseo/worktrees/ripe-dragonfly/packages/website/src/routes/docs.tsx": 84.67095113473219,
"./src/.paseo/worktrees/ripe-dragonfly/packages/website/src/routes/docs/best-practices.tsx": 84.67095113473219,
"./src/.paseo/worktrees/ripe-dragonfly/packages/website/src/routes/docs/index.tsx": 84.67095113473219,
"./src/.paseo/worktrees/ripe-dragonfly/packages/website/src/routes/index.tsx": 41.636870352361086,
"./src/.paseo/worktrees/shallow-lynx/packages/app/babel.config.js": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/app/e2e/global-setup.ts": 49.078001906565625,
"./src/.paseo/worktrees/shallow-lynx/packages/app/e2e/helpers/app.ts": 43.275778737637374,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/app/+html.tsx": 75.70403237682834,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/app/_layout.tsx": 37.34308237150715,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/app/agent/[id].tsx": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/app/agent/[serverId]/[agentId].tsx": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/app/agent/index.tsx": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/app/agents.tsx": 64.40705077183343,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/app/index.tsx": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/app/pair-scan.tsx": 69.34190226946438,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/app/settings.tsx": 40.11108314866176,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/active-processes.tsx": 56.965919217628894,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/adaptive-modal-sheet.tsx": 64.40705077183343,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/add-host-method-modal.tsx": 60.37498351156052,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/add-host-modal.tsx": 45.04593464629272,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/agent-activity.tsx": 49.078001906565625,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/agent-form/agent-form-dropdowns.tsx": 18.979811114465704,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/agent-input-area.tsx": 27.112097130485,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/agent-list.tsx": 54.01285340419657,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/agent-status-bar.tsx": 64.40705077183343,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/agent-stream-view.tsx": 25.53177193914712,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/artifact-drawer.tsx": 75.70403237682834,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/audio-debug-notice.tsx": 60.37498351156052,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/command-autocomplete.tsx": 64.40705077183343,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/connection-status.tsx": 75.70403237682834,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/dictation-controls.tsx": 64.40705077183343,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/dictation-status-notice.tsx": 64.40705077183343,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/diff-viewer.tsx": 75.70403237682834,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/download-toast.tsx": 60.37498351156052,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/empty-state.tsx": 75.70403237682834,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/explorer-sidebar.tsx": 36.07901588838887,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/file-drop-zone.tsx": 69.34190226946438,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/file-explorer-pane.tsx": 20.74996702312105,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/git-diff-pane.tsx": 31.641154806588556,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/headers/back-header.tsx": 75.70403237682834,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/headers/menu-header.tsx": 60.37498351156052,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/headers/screen-header.tsx": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/home-footer.tsx": 60.37498351156052,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/icons/claude-icon.tsx": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/icons/codex-icon.tsx": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/message-input.tsx": 28.814101543666858,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/message.tsx": 30.658097730535626,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/mode-selector-modal.tsx": 75.70403237682834,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/multi-daemon-session-host.tsx": 56.965919217628894,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/pair-link-modal.tsx": 60.37498351156052,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/realtime-controls.tsx": 69.34190226946438,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/sliding-sidebar.tsx": 36.07901588838887,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/tool-call-details.tsx": 49.078001906565625,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/tool-call-preview.ts": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/tool-call-sheet.tsx": 49.078001906565625,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/ui/dropdown-menu-floating.ts": 54.01285340419657,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/ui/dropdown-menu.tsx": 38.68380453892877,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/voice-button.tsx": 60.37498351156052,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/volume-meter.tsx": 60.37498351156052,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/components/welcome-screen.tsx": 75.70403237682834,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/constants/layout.ts": 69.34190226946438,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/contexts/daemon-connections-context.tsx": 60.37498351156052,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/contexts/daemon-registry-context.tsx": 30.658097730535626,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/contexts/explorer-sidebar-animation-context.tsx": 56.965919217628894,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/contexts/horizontal-scroll-context.tsx": 64.40705077183343,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/contexts/realtime-context.tsx": 64.40705077183343,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/contexts/session-context.tsx": 14.387836915757102,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/contexts/sidebar-animation-context.tsx": 56.965919217628894,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/dictation/dictation-stream-sender.ts": 75.70403237682834,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/checkout-status-revalidation.ts": 75.70403237682834,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-agent-commands-query.ts": 75.70403237682834,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-agent-form-state.ts": 40.11108314866176,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-aggregated-agents.ts": 60.37498351156052,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-audio-player.native.ts": 54.01285340419657,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-audio-recorder.native.ts": 54.01285340419657,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-audio-recorder.web.ts": 41.636870352361086,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-checkout-diff-query.ts": 56.965919217628894,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-checkout-pr-status-query.ts": 75.70403237682834,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-checkout-status-query.ts": 56.965919217628894,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-client-activity.ts": 56.965919217628894,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-daemon-client.ts": 69.34190226946438,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-dictation-audio-source.native.ts": 69.34190226946438,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-dictation-audio-source.web.ts": 46.97020367185636,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-dictation.ts": 45.04593464629272,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-favicon-status.ts": 51.40806475365667,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-file-drop-zone.ts": 54.01285340419657,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-form-preferences.ts": 75.70403237682834,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-git-diff-query.ts": 56.965919217628894,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-image-attachment-picker.ts": 69.34190226946438,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-recent-paths.ts": 60.37498351156052,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-session-directory.ts": 60.37498351156052,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-settings.ts": 64.40705077183343,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-speechmatics-audio.native.ts": 51.40806475365667,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-speechmatics-audio.web.ts": 69.34190226946438,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-theme-color.ts": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/polyfills/crypto.ts": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/screens/agent/agent-ready-screen.tsx": 24.05688266995011,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/screens/agent/draft-agent-screen.tsx": 25.53177193914712,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/screens/agent/legacy-agent-id-screen.tsx": 64.40705077183343,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/stores/download-store.ts": 46.97020367185636,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/stores/panel-store.ts": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/stores/session-store.ts": 69.34190226946438,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/types/agent-activity.ts": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/types/stream.ts": 21.37296998946232,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/agent-status.ts": 75.70403237682834,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/analytics.ts": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/attempt-guard.ts": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/daemon-endpoints.ts": 49.078001906565625,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/daemons.ts": 75.70403237682834,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/diff-highlighter.ts": 56.965919217628894,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/exhaustive.ts": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/extract-agent-model.ts": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/os-notifications.ts": 64.40705077183343,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/perf-monitor.ts": 69.34190226946438,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/perf.ts": 75.70403237682834,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/syntax-highlighter.ts": 60.37498351156052,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/tauri-daemon-transport.ts": 41.636870352361086,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/tauri-window.ts": 51.40806475365667,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/test-daemon-connection.ts": 49.078001906565625,
"./src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/tool-call-parsers.ts": 23.354755673660954,
"./src/.paseo/worktrees/shallow-lynx/packages/desktop/src-tauri/build.rs": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/desktop/src-tauri/src/lib.rs": 69.34190226946438,
"./src/.paseo/worktrees/shallow-lynx/packages/desktop/src-tauri/src/main.rs": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/relay/src/cloudflare-adapter.ts": 69.34190226946438,
"./src/.paseo/worktrees/shallow-lynx/packages/relay/src/crypto.ts": 75.70403237682834,
"./src/.paseo/worktrees/shallow-lynx/packages/relay/src/encrypted-channel.ts": 69.34190226946438,
"./src/.paseo/worktrees/shallow-lynx/packages/relay/src/node-adapter.ts": 69.34190226946438,
"./src/.paseo/worktrees/shallow-lynx/packages/relay/src/relay.ts": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/client/daemon-client-v2.ts": 45.04593464629272,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/poc-commands/investigate-command-output.ts": 64.40705077183343,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/poc-commands/run-poc.ts": 60.37498351156052,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/activity-curator.ts": 60.37498351156052,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/agent-manager.ts": 51.40806475365667,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/agent-projections.ts": 41.636870352361086,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/agent-response-loop.ts": 41.636870352361086,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/agent-storage.ts": 69.34190226946438,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/audio-utils.ts": 64.40705077183343,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/mcp-server.ts": 38.68380453892877,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/model-resolver.ts": 75.70403237682834,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/openai-realtime-transcription.ts": 75.70403237682834,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/paseo-instructions-tag.ts": 75.70403237682834,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/pcm16-resampler.ts": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/provider-manifest.ts": 69.34190226946438,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/provider-registry.ts": 69.34190226946438,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/providers/claude-agent.ts": 25.53177193914712,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/providers/codex-mcp-agent.ts": 0.0,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/providers/opencode-agent.ts": 49.078001906565625,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/self-identification-instructions.ts": 75.70403237682834,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/stt-debug.ts": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/stt-openai.ts": 60.37498351156052,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/system-prompt.ts": 75.70403237682834,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/tts-manager.ts": 60.37498351156052,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/tts-openai.ts": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/bootstrap.ts": 46.97020367185636,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/config.ts": 69.34190226946438,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/connection-offer.ts": 56.965919217628894,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/daemon-e2e/setup.ts": 69.34190226946438,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/file-download/token-store.ts": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/file-explorer/service.ts": 56.965919217628894,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/index.ts": 69.34190226946438,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/json-utils.ts": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/logger.ts": 69.34190226946438,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/messages.ts": 75.70403237682834,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/pairing-qr.ts": 64.40705077183343,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/paseo-home.ts": 75.70403237682834,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/persisted-config.ts": 64.40705077183343,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/persistence-hooks.ts": 60.37498351156052,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/push/push-service.ts": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/relay-transport.ts": 56.965919217628894,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/session.ts": 33.74895304129781,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/terminal-mcp/terminal-manager.ts": 64.40705077183343,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/terminal-mcp/tmux.ts": 36.07901588838887,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/test-utils/claude-config.ts": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/test-utils/daemon-client.ts": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/test-utils/paseo-daemon.ts": 64.40705077183343,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/utils/diff-highlighter.ts": 54.01285340419657,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/utils/syntax-highlighter.ts": 60.37498351156052,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/voice-conversation-store.ts": 69.34190226946438,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/server/websocket-session-bridge.ts": 69.34190226946438,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/shared/messages.ts": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/tasks/cli.ts": 32.66995159445722,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/tasks/execution-order.ts": 54.01285340419657,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/tasks/task-store.ts": 41.636870352361086,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/terminal/terminal-manager.ts": 75.70403237682834,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/terminal/terminal.ts": 49.078001906565625,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/test-utils/test-logger.ts": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/utils/checkout-git.ts": 28.814101543666858,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/utils/tool-call-parsers.ts": 60.37498351156052,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/utils/worktree-metadata.ts": 56.965919217628894,
"./src/.paseo/worktrees/shallow-lynx/packages/server/src/utils/worktree.ts": 40.11108314866176,
"./src/.paseo/worktrees/shallow-lynx/packages/website/src/components/butterfly.tsx": 40.11108314866176,
"./src/.paseo/worktrees/shallow-lynx/packages/website/src/router.tsx": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/website/src/routes/__root.tsx": 75.70403237682834,
"./src/.paseo/worktrees/shallow-lynx/packages/website/src/routes/docs.tsx": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/website/src/routes/docs/best-practices.tsx": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/website/src/routes/docs/index.tsx": 84.67095113473219,
"./src/.paseo/worktrees/shallow-lynx/packages/website/src/routes/index.tsx": 41.636870352361086,
"./src/packages/app/app.config.js": 100.0,
"./src/packages/app/babel.config.js": 84.67095113473219,
"./src/packages/app/e2e/agent-details-sheet.spec.ts": 100.0,
"./src/packages/app/e2e/checkout-ship.spec.ts": 100.0,
"./src/packages/app/e2e/create-agent.spec.ts": 100.0,
"./src/packages/app/e2e/daemon-connectivity.spec.ts": 100.0,
"./src/packages/app/e2e/delete-agent-persists.spec.ts": 100.0,
"./src/packages/app/e2e/dictation-web.spec.ts": 100.0,
"./src/packages/app/e2e/fixtures.ts": 100.0,
"./src/packages/app/e2e/global-setup.ts": 49.078001906565625,
"./src/packages/app/e2e/helpers/app.ts": 43.275778737637374,
"./src/packages/app/e2e/helpers/workspace.ts": 100.0,
"./src/packages/app/e2e/host-onboarding-direct.spec.ts": 100.0,
"./src/packages/app/e2e/host-removal.spec.ts": 100.0,
"./src/packages/app/e2e/host-selection.spec.ts": 100.0,
"./src/packages/app/e2e/manual-host-port.spec.ts": 100.0,
"./src/packages/app/e2e/migration-wsurl-to-hostport.spec.ts": 100.0,
"./src/packages/app/e2e/pairing-offer-parsing.spec.ts": 100.0,
"./src/packages/app/e2e/permission-prompt.spec.ts": 100.0,
"./src/packages/app/e2e/preserve-prompt-on-error.spec.ts": 100.0,
"./src/packages/app/e2e/relay-fallback-connect.spec.ts": 100.0,
"./src/packages/app/e2e/sidebar-new-agent-clones-selected.spec.ts": 100.0,
"./src/packages/app/eslint.config.js": 100.0,
"./src/packages/app/index.ts": 100.0,
"./src/packages/app/metro.config.js": 100.0,
"./src/packages/app/playwright.config.ts": 100.0,
"./src/packages/app/plugins/with-android-product-flavors.js": 100.0,
"./src/packages/app/react-native-web.d.ts": 100.0,
"./src/packages/app/scripts/reset-project.js": 100.0,
"./src/packages/app/src/app/+html.tsx": 75.70403237682834,
"./src/packages/app/src/app/_layout.tsx": 37.34308237150715,
"./src/packages/app/src/app/agent/[id].tsx": 84.67095113473219,
"./src/packages/app/src/app/agent/[serverId]/[agentId].tsx": 84.67095113473219,
"./src/packages/app/src/app/agent/index.tsx": 84.67095113473219,
"./src/packages/app/src/app/agents.tsx": 64.40705077183343,
"./src/packages/app/src/app/audio-test.tsx": 100.0,
"./src/packages/app/src/app/index.tsx": 84.67095113473219,
"./src/packages/app/src/app/pair-scan.tsx": 69.34190226946438,
"./src/packages/app/src/app/settings.tsx": 40.11108314866176,
"./src/packages/app/src/components/active-processes.tsx": 56.965919217628894,
"./src/packages/app/src/components/adaptive-modal-sheet.tsx": 64.40705077183343,
"./src/packages/app/src/components/add-host-method-modal.tsx": 60.37498351156052,
"./src/packages/app/src/components/add-host-modal.tsx": 45.04593464629272,
"./src/packages/app/src/components/agent-activity.tsx": 49.078001906565625,
"./src/packages/app/src/components/agent-details-sheet.tsx": 69.34190226946438,
"./src/packages/app/src/components/agent-form/agent-form-dropdowns.tsx": 18.979811114465704,
"./src/packages/app/src/components/agent-input-area.tsx": 27.112097130485,
"./src/packages/app/src/components/agent-list.tsx": 51.40806475365667,
"./src/packages/app/src/components/agent-status-bar.tsx": 64.40705077183343,
"./src/packages/app/src/components/agent-stream-view.tsx": 25.53177193914712,
"./src/packages/app/src/components/artifact-drawer.tsx": 75.70403237682834,
"./src/packages/app/src/components/audio-debug-notice.tsx": 60.37498351156052,
"./src/packages/app/src/components/command-autocomplete.tsx": 64.40705077183343,
"./src/packages/app/src/components/connection-status.tsx": 75.70403237682834,
"./src/packages/app/src/components/dictation-controls.tsx": 64.40705077183343,
"./src/packages/app/src/components/dictation-status-notice.tsx": 64.40705077183343,
"./src/packages/app/src/components/diff-viewer.tsx": 75.70403237682834,
"./src/packages/app/src/components/download-toast.tsx": 60.37498351156052,
"./src/packages/app/src/components/empty-state.tsx": 75.70403237682834,
"./src/packages/app/src/components/explorer-sidebar.tsx": 36.07901588838887,
"./src/packages/app/src/components/file-drop-zone.tsx": 69.34190226946438,
"./src/packages/app/src/components/file-explorer-pane.tsx": 20.74996702312105,
"./src/packages/app/src/components/git-diff-pane.tsx": 31.641154806588556,
"./src/packages/app/src/components/grouped-agent-list.tsx": 46.97020367185636,
"./src/packages/app/src/components/headers/back-header.tsx": 75.70403237682834,
"./src/packages/app/src/components/headers/menu-header.tsx": 60.37498351156052,
"./src/packages/app/src/components/headers/screen-header.tsx": 84.67095113473219,
"./src/packages/app/src/components/home-footer.tsx": 60.37498351156052,
"./src/packages/app/src/components/icons/claude-icon.tsx": 84.67095113473219,
"./src/packages/app/src/components/icons/codex-icon.tsx": 84.67095113473219,
"./src/packages/app/src/components/message-input.tsx": 28.814101543666858,
"./src/packages/app/src/components/message.tsx": 30.658097730535626,
"./src/packages/app/src/components/mode-selector-modal.tsx": 75.70403237682834,
"./src/packages/app/src/components/multi-daemon-session-host.tsx": 56.965919217628894,
"./src/packages/app/src/components/pair-link-modal.tsx": 60.37498351156052,
"./src/packages/app/src/components/realtime-controls.tsx": 69.34190226946438,
"./src/packages/app/src/components/sliding-sidebar.tsx": 36.07901588838887,
"./src/packages/app/src/components/tool-call-details.tsx": 49.078001906565625,
"./src/packages/app/src/components/tool-call-preview.test.ts": 100.0,
"./src/packages/app/src/components/tool-call-preview.ts": 84.67095113473219,
"./src/packages/app/src/components/tool-call-sheet.tsx": 49.078001906565625,
"./src/packages/app/src/components/ui/dropdown-menu-floating.ts": 54.01285340419657,
"./src/packages/app/src/components/ui/dropdown-menu.tsx": 38.68380453892877,
"./src/packages/app/src/components/voice-button.tsx": 60.37498351156052,
"./src/packages/app/src/components/volume-meter.tsx": 60.37498351156052,
"./src/packages/app/src/components/welcome-screen.tsx": 75.70403237682834,
"./src/packages/app/src/config/audio-debug.ts": 100.0,
"./src/packages/app/src/constants/layout.ts": 69.34190226946438,
"./src/packages/app/src/constants/theme.ts": 100.0,
"./src/packages/app/src/contexts/daemon-connections-context.tsx": 60.37498351156052,
"./src/packages/app/src/contexts/daemon-registry-context.tsx": 30.658097730535626,
"./src/packages/app/src/contexts/explorer-sidebar-animation-context.tsx": 56.965919217628894,
"./src/packages/app/src/contexts/horizontal-scroll-context.tsx": 64.40705077183343,
"./src/packages/app/src/contexts/realtime-context.tsx": 64.40705077183343,
"./src/packages/app/src/contexts/session-context.tsx": 14.387836915757102,
"./src/packages/app/src/contexts/sidebar-animation-context.tsx": 56.965919217628894,
"./src/packages/app/src/contexts/toast-context.tsx": 56.965919217628894,
"./src/packages/app/src/dictation/dictation-stream-sender.test.ts": 100.0,
"./src/packages/app/src/dictation/dictation-stream-sender.ts": 75.70403237682834,
"./src/packages/app/src/hooks/checkout-status-revalidation.ts": 75.70403237682834,
"./src/packages/app/src/hooks/use-agent-commands-query.ts": 75.70403237682834,
"./src/packages/app/src/hooks/use-agent-form-state.test.ts": 100.0,
"./src/packages/app/src/hooks/use-agent-form-state.ts": 40.11108314866176,
"./src/packages/app/src/hooks/use-aggregated-agents.ts": 60.37498351156052,
"./src/packages/app/src/hooks/use-audio-player.d.ts": 100.0,
"./src/packages/app/src/hooks/use-audio-player.native.ts": 54.01285340419657,
"./src/packages/app/src/hooks/use-audio-player.web.ts": 100.0,
"./src/packages/app/src/hooks/use-audio-recorder.d.ts": 100.0,
"./src/packages/app/src/hooks/use-audio-recorder.native.ts": 54.01285340419657,
"./src/packages/app/src/hooks/use-audio-recorder.web.ts": 41.636870352361086,
"./src/packages/app/src/hooks/use-checkout-diff-query.ts": 56.965919217628894,
"./src/packages/app/src/hooks/use-checkout-pr-status-query.ts": 75.70403237682834,
"./src/packages/app/src/hooks/use-checkout-status-query.test.ts": 100.0,
"./src/packages/app/src/hooks/use-checkout-status-query.ts": 56.965919217628894,
"./src/packages/app/src/hooks/use-client-activity.ts": 56.965919217628894,
"./src/packages/app/src/hooks/use-color-scheme.ts": 100.0,
"./src/packages/app/src/hooks/use-color-scheme.web.ts": 100.0,
"./src/packages/app/src/hooks/use-daemon-client.ts": 69.34190226946438,
"./src/packages/app/src/hooks/use-dictation-audio-source.d.ts": 100.0,
"./src/packages/app/src/hooks/use-dictation-audio-source.native.ts": 69.34190226946438,
"./src/packages/app/src/hooks/use-dictation-audio-source.types.ts": 100.0,
"./src/packages/app/src/hooks/use-dictation-audio-source.web.ts": 46.97020367185636,
"./src/packages/app/src/hooks/use-dictation.d.ts": 100.0,
"./src/packages/app/src/hooks/use-dictation.shared.ts": 100.0,
"./src/packages/app/src/hooks/use-dictation.ts": 45.04593464629272,
"./src/packages/app/src/hooks/use-favicon-status.ts": 51.40806475365667,
"./src/packages/app/src/hooks/use-file-drop-zone.ts": 54.01285340419657,
"./src/packages/app/src/hooks/use-form-preferences.ts": 75.70403237682834,
"./src/packages/app/src/hooks/use-git-diff-query.ts": 56.965919217628894,
"./src/packages/app/src/hooks/use-image-attachment-picker.ts": 69.34190226946438,
"./src/packages/app/src/hooks/use-recent-paths.ts": 60.37498351156052,
"./src/packages/app/src/hooks/use-session-directory.ts": 60.37498351156052,
"./src/packages/app/src/hooks/use-settings.ts": 64.40705077183343,
"./src/packages/app/src/hooks/use-speechmatics-audio.d.ts": 100.0,
"./src/packages/app/src/hooks/use-speechmatics-audio.native.ts": 51.40806475365667,
"./src/packages/app/src/hooks/use-speechmatics-audio.web.ts": 69.34190226946438,
"./src/packages/app/src/hooks/use-theme-color.ts": 84.67095113473219,
"./src/packages/app/src/polyfills/crypto.ts": 84.67095113473219,
"./src/packages/app/src/screens/agent/agent-ready-screen.tsx": 23.354755673660954,
"./src/packages/app/src/screens/agent/draft-agent-screen.tsx": 25.53177193914712,
"./src/packages/app/src/screens/agent/legacy-agent-id-screen.tsx": 64.40705077183343,
"./src/packages/app/src/stores/create-flow-store.ts": 100.0,
"./src/packages/app/src/stores/download-store.ts": 46.97020367185636,
"./src/packages/app/src/stores/draft-store.ts": 100.0,
"./src/packages/app/src/stores/panel-store.ts": 84.67095113473219,
"./src/packages/app/src/stores/session-store.ts": 69.34190226946438,
"./src/packages/app/src/styles/markdown-styles.ts": 100.0,
"./src/packages/app/src/styles/theme.ts": 100.0,
"./src/packages/app/src/styles/unistyles.ts": 100.0,
"./src/packages/app/src/types/agent-activity.ts": 84.67095113473219,
"./src/packages/app/src/types/agent-directory.ts": 100.0,
"./src/packages/app/src/types/shared.ts": 100.0,
"./src/packages/app/src/types/stream-buffer.test.ts": 100.0,
"./src/packages/app/src/types/stream.harness.test.ts": 100.0,
"./src/packages/app/src/types/stream.test.ts": 100.0,
"./src/packages/app/src/types/stream.ts": 21.37296998946232,
"./src/packages/app/src/utils/agent-display-info.ts": 100.0,
"./src/packages/app/src/utils/agent-grouping.test.ts": 100.0,
"./src/packages/app/src/utils/agent-grouping.ts": 84.67095113473219,
"./src/packages/app/src/utils/agent-status.ts": 75.70403237682834,
"./src/packages/app/src/utils/analytics.ts": 84.67095113473219,
"./src/packages/app/src/utils/attempt-guard.ts": 84.67095113473219,
"./src/packages/app/src/utils/daemon-endpoints.ts": 49.078001906565625,
"./src/packages/app/src/utils/daemons.ts": 75.70403237682834,
"./src/packages/app/src/utils/diff-highlighter.test.ts": 100.0,
"./src/packages/app/src/utils/diff-highlighter.ts": 56.965919217628894,
"./src/packages/app/src/utils/exhaustive.ts": 84.67095113473219,
"./src/packages/app/src/utils/extract-agent-model.test.ts": 100.0,
"./src/packages/app/src/utils/extract-agent-model.ts": 84.67095113473219,
"./src/packages/app/src/utils/navigation-timing.ts": 100.0,
"./src/packages/app/src/utils/os-notifications.ts": 64.40705077183343,
"./src/packages/app/src/utils/perf-monitor.ts": 69.34190226946438,
"./src/packages/app/src/utils/perf.ts": 75.70403237682834,
"./src/packages/app/src/utils/shorten-path.ts": 100.0,
"./src/packages/app/src/utils/syntax-highlighter.ts": 60.37498351156052,
"./src/packages/app/src/utils/tauri-daemon-transport.ts": 41.636870352361086,
"./src/packages/app/src/utils/tauri-window.ts": 51.40806475365667,
"./src/packages/app/src/utils/test-daemon-connection.ts": 49.078001906565625,
"./src/packages/app/src/utils/time.ts": 100.0,
"./src/packages/app/src/utils/tool-call-parsers.test.ts": 100.0,
"./src/packages/app/src/utils/tool-call-parsers.ts": 23.354755673660954,
"./src/packages/app/vitest.config.ts": 100.0,
"./src/packages/desktop/src-tauri/build.rs": 84.67095113473219,
"./src/packages/desktop/src-tauri/src/lib.rs": 69.34190226946438,
"./src/packages/desktop/src-tauri/src/main.rs": 84.67095113473219,
"./src/packages/relay/src/cloudflare-adapter.ts": 69.34190226946438,
"./src/packages/relay/src/crypto.test.ts": 100.0,
"./src/packages/relay/src/crypto.ts": 75.70403237682834,
"./src/packages/relay/src/e2e.test.ts": 100.0,
"./src/packages/relay/src/encrypted-channel.test.ts": 100.0,
"./src/packages/relay/src/encrypted-channel.ts": 69.34190226946438,
"./src/packages/relay/src/index.ts": 100.0,
"./src/packages/relay/src/live-relay.e2e.test.ts": 100.0,
"./src/packages/relay/src/node-adapter.ts": 69.34190226946438,
"./src/packages/relay/src/relay.ts": 84.67095113473219,
"./src/packages/relay/src/types.ts": 100.0,
"./src/packages/server/scripts/dev-runner.ts": 100.0,
"./src/packages/server/scripts/process-conversation.ts": 100.0,
"./src/packages/server/scripts/test-codex-mcp-agents.ts": 100.0,
"./src/packages/server/scripts/test-codex-mcp-basic-auth.ts": 100.0,
"./src/packages/server/scripts/test-codex-mcp-bearer.ts": 100.0,
"./src/packages/server/scripts/test-codex-mcp-http-headers.ts": 100.0,
"./src/packages/server/scripts/test-codex-mcp-http.ts": 100.0,
"./src/packages/server/scripts/test-codex-mcp-servers.ts": 100.0,
"./src/packages/server/scripts/verify-codex-mcp-config.ts": 100.0,
"./src/packages/server/src/client/daemon-client-v2.test.ts": 100.0,
"./src/packages/server/src/client/daemon-client-v2.ts": 45.04593464629272,
"./src/packages/server/src/poc-commands/commands-poc.test.ts": 100.0,
"./src/packages/server/src/poc-commands/investigate-command-output.ts": 64.40705077183343,
"./src/packages/server/src/poc-commands/run-poc.ts": 60.37498351156052,
"./src/packages/server/src/server/agent/activity-curator.test.ts": 100.0,
"./src/packages/server/src/server/agent/activity-curator.ts": 60.37498351156052,
"./src/packages/server/src/server/agent/agent-manager.test.ts": 100.0,
"./src/packages/server/src/server/agent/agent-manager.ts": 51.40806475365667,
"./src/packages/server/src/server/agent/agent-mcp.e2e.test.ts": 100.0,
"./src/packages/server/src/server/agent/agent-projections.test.ts": 100.0,
"./src/packages/server/src/server/agent/agent-projections.ts": 41.636870352361086,
"./src/packages/server/src/server/agent/agent-response-loop.e2e.test.ts": 100.0,
"./src/packages/server/src/server/agent/agent-response-loop.test.ts": 100.0,
"./src/packages/server/src/server/agent/agent-response-loop.ts": 41.636870352361086,
"./src/packages/server/src/server/agent/agent-sdk-types.ts": 100.0,
"./src/packages/server/src/server/agent/agent-self-identification.e2e.test.ts": 100.0,
"./src/packages/server/src/server/agent/agent-storage.test.ts": 100.0,
"./src/packages/server/src/server/agent/agent-storage.ts": 64.40705077183343,
"./src/packages/server/src/server/agent/audio-utils.ts": 64.40705077183343,
"./src/packages/server/src/server/agent/dictation-debug.ts": 84.67095113473219,
"./src/packages/server/src/server/agent/llm-openai.ts": 100.0,
"./src/packages/server/src/server/agent/mcp-server.test.ts": 100.0,
"./src/packages/server/src/server/agent/mcp-server.ts": 38.68380453892877,
"./src/packages/server/src/server/agent/model-catalog.e2e.test.ts": 100.0,
"./src/packages/server/src/server/agent/model-resolver.test.ts": 100.0,
"./src/packages/server/src/server/agent/model-resolver.ts": 75.70403237682834,
"./src/packages/server/src/server/agent/openai-realtime-transcription.ts": 75.70403237682834,
"./src/packages/server/src/server/agent/opencode-reasoning.e2e.test.ts": 100.0,
"./src/packages/server/src/server/agent/orchestrator-instructions.ts": 100.0,
"./src/packages/server/src/server/agent/orchestrator.ts": 100.0,
"./src/packages/server/src/server/agent/paseo-instructions-tag.test.ts": 100.0,
"./src/packages/server/src/server/agent/paseo-instructions-tag.ts": 75.70403237682834,
"./src/packages/server/src/server/agent/pcm16-resampler.ts": 84.67095113473219,
"./src/packages/server/src/server/agent/provider-manifest.ts": 69.34190226946438,
"./src/packages/server/src/server/agent/provider-registry.ts": 69.34190226946438,
"./src/packages/server/src/server/agent/providers/claude-agent-commands.e2e.test.ts": 100.0,
"./src/packages/server/src/server/agent/providers/claude-agent-commands.test.ts": 100.0,
"./src/packages/server/src/server/agent/providers/claude-agent.history.test.ts": 100.0,
"./src/packages/server/src/server/agent/providers/claude-agent.test.ts": 100.0,
"./src/packages/server/src/server/agent/providers/claude-agent.ts": 25.53177193914712,
"./src/packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts": 100.0,
"./src/packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts": 100.0,
"./src/packages/server/src/server/agent/providers/codex-mcp-agent-commands.e2e.test.ts": 100.0,
"./src/packages/server/src/server/agent/providers/codex-mcp-agent.commands.test.ts": 100.0,
"./src/packages/server/src/server/agent/providers/codex-mcp-agent.paseo-instructions.test.ts": 100.0,
"./src/packages/server/src/server/agent/providers/codex-mcp-agent.resume-errors.test.ts": 100.0,
"./src/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts": 100.0,
"./src/packages/server/src/server/agent/providers/codex-mcp-agent.ts": 0.0,
"./src/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts": 100.0,
"./src/packages/server/src/server/agent/providers/opencode-agent.test.ts": 100.0,
"./src/packages/server/src/server/agent/providers/opencode-agent.ts": 49.078001906565625,
"./src/packages/server/src/server/agent/recordings-debug.ts": 69.34190226946438,
"./src/packages/server/src/server/agent/self-identification-instructions.ts": 75.70403237682834,
"./src/packages/server/src/server/agent/stt-debug.ts": 84.67095113473219,
"./src/packages/server/src/server/agent/stt-manager.ts": 100.0,
"./src/packages/server/src/server/agent/stt-openai.ts": 60.37498351156052,
"./src/packages/server/src/server/agent/system-prompt.ts": 75.70403237682834,
"./src/packages/server/src/server/agent/tts-debug.ts": 84.67095113473219,
"./src/packages/server/src/server/agent/tts-manager.ts": 60.37498351156052,
"./src/packages/server/src/server/agent/tts-openai.ts": 84.67095113473219,
"./src/packages/server/src/server/agent/wait-for-agent-tracker.test.ts": 100.0,
"./src/packages/server/src/server/agent/wait-for-agent-tracker.ts": 100.0,
"./src/packages/server/src/server/bootstrap.smoke.test.ts": 100.0,
"./src/packages/server/src/server/bootstrap.ts": 46.97020367185636,
"./src/packages/server/src/server/client-activity.e2e.test.ts": 100.0,
"./src/packages/server/src/server/config.ts": 69.34190226946438,
"./src/packages/server/src/server/connection-offer.ts": 56.965919217628894,
"./src/packages/server/src/server/daemon-client-v2.e2e.test.ts": 100.0,
"./src/packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts": 100.0,
"./src/packages/server/src/server/daemon-e2e/agent-configs.ts": 100.0,
"./src/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts": 100.0,
"./src/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts": 100.0,
"./src/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts": 100.0,
"./src/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts": 100.0,
"./src/packages/server/src/server/daemon-e2e/file-download.e2e.test.ts": 100.0,
"./src/packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts": 100.0,
"./src/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts": 100.0,
"./src/packages/server/src/server/daemon-e2e/images.e2e.test.ts": 100.0,
"./src/packages/server/src/server/daemon-e2e/models.e2e.test.ts": 100.0,
"./src/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts": 100.0,
"./src/packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts": 100.0,
"./src/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts": 100.0,
"./src/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts": 100.0,
"./src/packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts": 100.0,
"./src/packages/server/src/server/daemon-e2e/setup.ts": 69.34190226946438,
"./src/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts": 100.0,
"./src/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts": 100.0,
"./src/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts": 100.0,
"./src/packages/server/src/server/daemon-e2e/two-cycle-resume.e2e.test.ts": 100.0,
"./src/packages/server/src/server/daemon-e2e/wait-for-idle.e2e.test.ts": 100.0,
"./src/packages/server/src/server/file-download/token-store.ts": 84.67095113473219,
"./src/packages/server/src/server/file-explorer/service.ts": 56.965919217628894,
"./src/packages/server/src/server/index.ts": 69.34190226946438,
"./src/packages/server/src/server/json-utils.ts": 84.67095113473219,
"./src/packages/server/src/server/logger.test.ts": 100.0,
"./src/packages/server/src/server/logger.ts": 69.34190226946438,
"./src/packages/server/src/server/messages.test.ts": 100.0,
"./src/packages/server/src/server/messages.ts": 75.70403237682834,
"./src/packages/server/src/server/pairing-qr.ts": 64.40705077183343,
"./src/packages/server/src/server/paseo-home.ts": 75.70403237682834,
"./src/packages/server/src/server/persisted-config.ts": 64.40705077183343,
"./src/packages/server/src/server/persistence-hooks.test.ts": 100.0,
"./src/packages/server/src/server/persistence-hooks.ts": 60.37498351156052,
"./src/packages/server/src/server/push/push-service.ts": 84.67095113473219,
"./src/packages/server/src/server/push/token-store.ts": 100.0,
"./src/packages/server/src/server/relay-transport.ts": 56.965919217628894,
"./src/packages/server/src/server/session.ts": 33.74895304129781,
"./src/packages/server/src/server/terminal-mcp/index.ts": 100.0,
"./src/packages/server/src/server/terminal-mcp/server.ts": 100.0,
"./src/packages/server/src/server/terminal-mcp/terminal-manager.test.ts": 100.0,
"./src/packages/server/src/server/terminal-mcp/terminal-manager.ts": 64.40705077183343,
"./src/packages/server/src/server/terminal-mcp/tmux.ts": 36.07901588838887,
"./src/packages/server/src/server/test-utils/claude-auth.ts": 100.0,
"./src/packages/server/src/server/test-utils/claude-config.ts": 84.67095113473219,
"./src/packages/server/src/server/test-utils/daemon-client.ts": 84.67095113473219,
"./src/packages/server/src/server/test-utils/daemon-test-context.ts": 100.0,
"./src/packages/server/src/server/test-utils/index.ts": 100.0,
"./src/packages/server/src/server/test-utils/paseo-daemon.ts": 64.40705077183343,
"./src/packages/server/src/server/types.ts": 100.0,
"./src/packages/server/src/server/utils/diff-highlighter.test.ts": 100.0,
"./src/packages/server/src/server/utils/diff-highlighter.ts": 54.01285340419657,
"./src/packages/server/src/server/utils/syntax-highlighter.ts": 60.37498351156052,
"./src/packages/server/src/server/voice-conversation-store.ts": 69.34190226946438,
"./src/packages/server/src/server/voice-conversations.e2e.test.ts": 100.0,
"./src/packages/server/src/server/websocket-server.ts": 100.0,
"./src/packages/server/src/server/websocket-session-bridge.ts": 69.34190226946438,
"./src/packages/server/src/shared/agent-lifecycle.ts": 100.0,
"./src/packages/server/src/shared/messages.ts": 84.67095113473219,
"./src/packages/server/src/tasks/cli.ts": 32.66995159445722,
"./src/packages/server/src/tasks/execution-order.test.ts": 100.0,
"./src/packages/server/src/tasks/execution-order.ts": 54.01285340419657,
"./src/packages/server/src/tasks/task-store.test.ts": 100.0,
"./src/packages/server/src/tasks/task-store.ts": 41.636870352361086,
"./src/packages/server/src/tasks/types.ts": 100.0,
"./src/packages/server/src/terminal/terminal-manager.test.ts": 100.0,
"./src/packages/server/src/terminal/terminal-manager.ts": 75.70403237682834,
"./src/packages/server/src/terminal/terminal.test.ts": 100.0,
"./src/packages/server/src/terminal/terminal.ts": 49.078001906565625,
"./src/packages/server/src/test-utils/test-logger.ts": 84.67095113473219,
"./src/packages/server/src/test-utils/vitest-setup.ts": 100.0,
"./src/packages/server/src/utils/checkout-git.test.ts": 100.0,
"./src/packages/server/src/utils/checkout-git.ts": 23.354755673660954,
"./src/packages/server/src/utils/path.ts": 100.0,
"./src/packages/server/src/utils/tool-call-parsers.test.ts": 100.0,
"./src/packages/server/src/utils/tool-call-parsers.ts": 60.37498351156052,
"./src/packages/server/src/utils/worktree-metadata.ts": 56.965919217628894,
"./src/packages/server/src/utils/worktree.test.ts": 100.0,
"./src/packages/server/src/utils/worktree.ts": 31.641154806588556,
"./src/packages/server/vitest.config.ts": 100.0,
"./src/packages/website/src/components/butterfly.tsx": 40.11108314866176,
"./src/packages/website/src/routeTree.gen.ts": 100.0,
"./src/packages/website/src/router.tsx": 84.67095113473219,
"./src/packages/website/src/routes/__root.tsx": 75.70403237682834,
"./src/packages/website/src/routes/docs.tsx": 84.67095113473219,
"./src/packages/website/src/routes/docs/best-practices.tsx": 84.67095113473219,
"./src/packages/website/src/routes/docs/index.tsx": 84.67095113473219,
"./src/packages/website/src/routes/index.tsx": 41.636870352361086,
"./src/packages/website/vite.config.ts": 100.0,
"./src/scripts/codex-claude-test.ts": 100.0,
"./src/scripts/codex-cli-approval-test.mjs": 100.0,
"./src/scripts/codex-file-read-debug.ts": 100.0,
"./src/scripts/codex-full-access-ipc-repro.smoke.mjs": 100.0,
"./src/scripts/codex-mcp-elicitation-test.ts": 100.0,
"./src/scripts/codex-sdk-permission-test.mjs": 100.0,
"./src/scripts/codex-websearch-debug.ts": 100.0,
"./src/scripts/mcp-create-codex-check.ts": 100.0,
"./src/scripts/repro-ipc-listen.js": 100.0,
"./stream-buffer.test.ts": 100.0,
"./stream.harness.test.ts": 100.0,
"./stream.test.ts": 100.0,
"./stream.ts": 21.37296998946232,
"./streaming.e2e.test.ts": 100.0,
"./stt-debug.ts": 84.67095113473219,
"./stt-manager.ts": 100.0,
"./stt-openai.ts": 60.37498351156052,
"./syntax-highlighter.ts": 60.37498351156052,
"./system-prompt.ts": 75.70403237682834,
"./task-store.test.ts": 100.0,
"./task-store.ts": 41.636870352361086,
"./tauri-daemon-transport.ts": 41.636870352361086,
"./tauri-window.ts": 51.40806475365667,
"./terminal-manager.test.ts": 100.0,
"./terminal-manager.ts": 75.70403237682834,
"./terminal.e2e.test.ts": 100.0,
"./terminal.test.ts": 100.0,
"./terminal.ts": 49.078001906565625,
"./test-codex-mcp-agents.ts": 100.0,
"./test-codex-mcp-basic-auth.ts": 100.0,
"./test-codex-mcp-bearer.ts": 100.0,
"./test-codex-mcp-http-headers.ts": 100.0,
"./test-codex-mcp-http.ts": 100.0,
"./test-codex-mcp-servers.ts": 100.0,
"./test-daemon-connection.ts": 49.078001906565625,
"./test-logger.ts": 84.67095113473219,
"./theme.ts": 100.0,
"./thinking-sheet.tsx": 51.40806475365667,
"./time.ts": 100.0,
"./tmux.ts": 36.07901588838887,
"./toast-context.tsx": 56.965919217628894,
"./token-store.ts": 100.0,
"./tool-call-details.tsx": 49.078001906565625,
"./tool-call-parsers.test.ts": 100.0,
"./tool-call-parsers.ts": 23.354755673660954,
"./tool-call-preview.test.ts": 100.0,
"./tool-call-preview.ts": 84.67095113473219,
"./tool-call-sheet.tsx": 49.078001906565625,
"./tool-calls.e2e.test.ts": 100.0,
"./tts-debug.ts": 84.67095113473219,
"./tts-manager.ts": 60.37498351156052,
"./tts-openai.ts": 84.67095113473219,
"./two-cycle-resume.e2e.test.ts": 100.0,
"./types.ts": 100.0,
"./unistyles.ts": 100.0,
"./use-agent-commands-query.ts": 75.70403237682834,
"./use-agent-form-state.test.ts": 100.0,
"./use-agent-form-state.ts": 40.11108314866176,
"./use-aggregated-agents.ts": 60.37498351156052,
"./use-audio-player.d.ts": 100.0,
"./use-audio-player.native.ts": 54.01285340419657,
"./use-audio-player.web.ts": 100.0,
"./use-audio-recorder.d.ts": 100.0,
"./use-audio-recorder.native.ts": 54.01285340419657,
"./use-audio-recorder.web.ts": 41.636870352361086,
"./use-checkout-diff-query.ts": 56.965919217628894,
"./use-checkout-pr-status-query.ts": 75.70403237682834,
"./use-checkout-status-query.test.ts": 100.0,
"./use-checkout-status-query.ts": 56.965919217628894,
"./use-client-activity.ts": 56.965919217628894,
"./use-color-scheme.ts": 100.0,
"./use-color-scheme.web.ts": 100.0,
"./use-daemon-client.ts": 69.34190226946438,
"./use-dictation-audio-source.d.ts": 100.0,
"./use-dictation-audio-source.native.ts": 69.34190226946438,
"./use-dictation-audio-source.types.ts": 100.0,
"./use-dictation-audio-source.web.ts": 51.40806475365667,
"./use-dictation.d.ts": 100.0,
"./use-dictation.shared.ts": 100.0,
"./use-dictation.ts": 45.04593464629272,
"./use-favicon-status.ts": 51.40806475365667,
"./use-file-drop-zone.ts": 54.01285340419657,
"./use-form-preferences.ts": 75.70403237682834,
"./use-git-diff-query.ts": 56.965919217628894,
"./use-image-attachment-picker.ts": 69.34190226946438,
"./use-recent-paths.ts": 60.37498351156052,
"./use-session-directory.ts": 60.37498351156052,
"./use-settings.ts": 64.40705077183343,
"./use-speechmatics-audio.d.ts": 100.0,
"./use-speechmatics-audio.native.ts": 51.40806475365667,
"./use-speechmatics-audio.web.ts": 69.34190226946438,
"./use-theme-color.ts": 84.67095113473219,
"./verify-codex-mcp-config.ts": 100.0,
"./vite.config.ts": 100.0,
"./vitest-setup.ts": 100.0,
"./vitest.config.ts": 100.0,
"./voice-button.tsx": 60.37498351156052,
"./voice-conversation-store.ts": 69.34190226946438,
"./voice-conversations.e2e.test.ts": 100.0,
"./volume-meter.tsx": 60.37498351156052,
"./wait-for-agent-tracker.test.ts": 100.0,
"./wait-for-agent-tracker.ts": 100.0,
"./wait-for-idle.e2e.test.ts": 100.0,
"./websocket-server.ts": 100.0,
"./websocket-session-bridge.ts": 69.34190226946438,
"./welcome-screen.tsx": 75.70403237682834,
"./with-android-product-flavors.js": 100.0,
"./workspace.ts": 100.0,
"./worktree-metadata.ts": 56.965919217628894,
"./worktree.test.ts": 100.0,
"./worktree.ts": 40.11108314866176,
".paseo/worktrees/loved-insect/packages/app/babel.config.js": 84.67095113473219,
".paseo/worktrees/loved-insect/packages/app/e2e/global-setup.ts": 49.078001906565625,
".paseo/worktrees/loved-insect/packages/app/e2e/helpers/app.ts": 45.04593464629272,
".paseo/worktrees/loved-insect/packages/app/src/app/+html.tsx": 75.70403237682834,
".paseo/worktrees/loved-insect/packages/app/src/app/_layout.tsx": 37.34308237150715,
".paseo/worktrees/loved-insect/packages/app/src/app/agent/[id].tsx": 64.40705077183343,
".paseo/worktrees/loved-insect/packages/app/src/app/agent/[serverId]/[agentId].tsx": 27.94672987236956,
".paseo/worktrees/loved-insect/packages/app/src/app/agents.tsx": 64.40705077183343,
".paseo/worktrees/loved-insect/packages/app/src/app/index.tsx": 30.658097730535626,
".paseo/worktrees/loved-insect/packages/app/src/app/pair-scan.tsx": 69.34190226946438,
".paseo/worktrees/loved-insect/packages/app/src/app/settings.tsx": 40.11108314866176,
".paseo/worktrees/loved-insect/packages/app/src/components/active-processes.tsx": 56.965919217628894,
".paseo/worktrees/loved-insect/packages/app/src/components/adaptive-modal-sheet.tsx": 64.40705077183343,
".paseo/worktrees/loved-insect/packages/app/src/components/add-host-method-modal.tsx": 60.37498351156052,
".paseo/worktrees/loved-insect/packages/app/src/components/add-host-modal.tsx": 45.04593464629272,
".paseo/worktrees/loved-insect/packages/app/src/components/agent-activity.tsx": 49.078001906565625,
".paseo/worktrees/loved-insect/packages/app/src/components/agent-form/agent-form-dropdowns.tsx": 19.554262705039893,
".paseo/worktrees/loved-insect/packages/app/src/components/agent-input-area.tsx": 27.112097130485,
".paseo/worktrees/loved-insect/packages/app/src/components/agent-list.tsx": 54.01285340419657,
".paseo/worktrees/loved-insect/packages/app/src/components/agent-status-bar.tsx": 64.40705077183343,
".paseo/worktrees/loved-insect/packages/app/src/components/agent-stream-view.tsx": 25.53177193914712,
".paseo/worktrees/loved-insect/packages/app/src/components/artifact-drawer.tsx": 75.70403237682834,
".paseo/worktrees/loved-insect/packages/app/src/components/audio-debug-notice.tsx": 60.37498351156052,
".paseo/worktrees/loved-insect/packages/app/src/components/command-autocomplete.tsx": 64.40705077183343,
".paseo/worktrees/loved-insect/packages/app/src/components/connection-status.tsx": 75.70403237682834,
".paseo/worktrees/loved-insect/packages/app/src/components/dictation-controls.tsx": 64.40705077183343,
".paseo/worktrees/loved-insect/packages/app/src/components/dictation-status-notice.tsx": 64.40705077183343,
".paseo/worktrees/loved-insect/packages/app/src/components/diff-viewer.tsx": 75.70403237682834,
".paseo/worktrees/loved-insect/packages/app/src/components/download-toast.tsx": 60.37498351156052,
".paseo/worktrees/loved-insect/packages/app/src/components/empty-state.tsx": 75.70403237682834,
".paseo/worktrees/loved-insect/packages/app/src/components/explorer-sidebar.tsx": 36.07901588838887,
".paseo/worktrees/loved-insect/packages/app/src/components/file-drop-zone.tsx": 69.34190226946438,
".paseo/worktrees/loved-insect/packages/app/src/components/file-explorer-pane.tsx": 20.74996702312105,
".paseo/worktrees/loved-insect/packages/app/src/components/git-diff-pane.tsx": 31.641154806588556,
".paseo/worktrees/loved-insect/packages/app/src/components/headers/back-header.tsx": 75.70403237682834,
".paseo/worktrees/loved-insect/packages/app/src/components/headers/menu-header.tsx": 60.37498351156052,
".paseo/worktrees/loved-insect/packages/app/src/components/headers/screen-header.tsx": 84.67095113473219,
".paseo/worktrees/loved-insect/packages/app/src/components/home-footer.tsx": 60.37498351156052,
".paseo/worktrees/loved-insect/packages/app/src/components/icons/claude-icon.tsx": 84.67095113473219,
".paseo/worktrees/loved-insect/packages/app/src/components/icons/codex-icon.tsx": 84.67095113473219,
".paseo/worktrees/loved-insect/packages/app/src/components/message-input.tsx": 29.716885781024914,
".paseo/worktrees/loved-insect/packages/app/src/components/message.tsx": 30.658097730535626,
".paseo/worktrees/loved-insect/packages/app/src/components/mode-selector-modal.tsx": 75.70403237682834,
".paseo/worktrees/loved-insect/packages/app/src/components/multi-daemon-session-host.tsx": 56.965919217628894,
".paseo/worktrees/loved-insect/packages/app/src/components/pair-link-modal.tsx": 60.37498351156052,
".paseo/worktrees/loved-insect/packages/app/src/components/realtime-controls.tsx": 69.34190226946438,
".paseo/worktrees/loved-insect/packages/app/src/components/sliding-sidebar.tsx": 36.07901588838887,
".paseo/worktrees/loved-insect/packages/app/src/components/tool-call-details.tsx": 49.078001906565625,
".paseo/worktrees/loved-insect/packages/app/src/components/tool-call-preview.ts": 84.67095113473219,
".paseo/worktrees/loved-insect/packages/app/src/components/tool-call-sheet.tsx": 49.078001906565625,
".paseo/worktrees/loved-insect/packages/app/src/components/ui/dropdown-menu-floating.ts": 54.01285340419657,
".paseo/worktrees/loved-insect/packages/app/src/components/ui/dropdown-menu.tsx": 38.68380453892877,
".paseo/worktrees/loved-insect/packages/app/src/components/voice-button.tsx": 60.37498351156052,
".paseo/worktrees/loved-insect/packages/app/src/components/volume-meter.tsx": 60.37498351156052,
".paseo/worktrees/loved-insect/packages/app/src/components/welcome-screen.tsx": 75.70403237682834,
".paseo/worktrees/loved-insect/packages/app/src/constants/layout.ts": 69.34190226946438,
".paseo/worktrees/loved-insect/packages/app/src/contexts/daemon-connections-context.tsx": 60.37498351156052,
".paseo/worktrees/loved-insect/packages/app/src/contexts/daemon-registry-context.tsx": 30.658097730535626,
".paseo/worktrees/loved-insect/packages/app/src/contexts/explorer-sidebar-animation-context.tsx": 56.965919217628894,
".paseo/worktrees/loved-insect/packages/app/src/contexts/horizontal-scroll-context.tsx": 64.40705077183343,
".paseo/worktrees/loved-insect/packages/app/src/contexts/realtime-context.tsx": 64.40705077183343,
".paseo/worktrees/loved-insect/packages/app/src/contexts/session-context.tsx": 14.387836915757102,
".paseo/worktrees/loved-insect/packages/app/src/contexts/sidebar-animation-context.tsx": 56.965919217628894,
".paseo/worktrees/loved-insect/packages/app/src/dictation/dictation-stream-sender.ts": 75.70403237682834,
".paseo/worktrees/loved-insect/packages/app/src/hooks/checkout-status-revalidation.ts": 75.70403237682834,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-agent-commands-query.ts": 75.70403237682834,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-agent-form-state.ts": 40.11108314866176,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-aggregated-agents.ts": 60.37498351156052,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-audio-player.native.ts": 54.01285340419657,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-audio-recorder.native.ts": 54.01285340419657,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-audio-recorder.web.ts": 41.636870352361086,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-checkout-diff-query.ts": 56.965919217628894,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-checkout-pr-status-query.ts": 75.70403237682834,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-checkout-status-query.ts": 56.965919217628894,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-client-activity.ts": 56.965919217628894,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-daemon-client.ts": 69.34190226946438,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-dictation-audio-source.native.ts": 69.34190226946438,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-dictation-audio-source.web.ts": 51.40806475365667,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-dictation.ts": 45.04593464629272,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-favicon-status.ts": 51.40806475365667,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-file-drop-zone.ts": 54.01285340419657,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-form-preferences.ts": 75.70403237682834,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-git-diff-query.ts": 56.965919217628894,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-image-attachment-picker.ts": 69.34190226946438,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-recent-paths.ts": 60.37498351156052,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-session-directory.ts": 60.37498351156052,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-settings.ts": 64.40705077183343,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-speechmatics-audio.native.ts": 51.40806475365667,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-speechmatics-audio.web.ts": 69.34190226946438,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-theme-color.ts": 84.67095113473219,
".paseo/worktrees/loved-insect/packages/app/src/polyfills/crypto.ts": 84.67095113473219,
".paseo/worktrees/loved-insect/packages/app/src/stores/download-store.ts": 46.97020367185636,
".paseo/worktrees/loved-insect/packages/app/src/stores/panel-store.ts": 84.67095113473219,
".paseo/worktrees/loved-insect/packages/app/src/stores/session-store.ts": 69.34190226946438,
".paseo/worktrees/loved-insect/packages/app/src/types/agent-activity.ts": 84.67095113473219,
".paseo/worktrees/loved-insect/packages/app/src/types/stream.ts": 21.37296998946232,
".paseo/worktrees/loved-insect/packages/app/src/utils/agent-status.ts": 75.70403237682834,
".paseo/worktrees/loved-insect/packages/app/src/utils/analytics.ts": 84.67095113473219,
".paseo/worktrees/loved-insect/packages/app/src/utils/attempt-guard.ts": 84.67095113473219,
".paseo/worktrees/loved-insect/packages/app/src/utils/daemon-endpoints.ts": 49.078001906565625,
".paseo/worktrees/loved-insect/packages/app/src/utils/daemons.ts": 75.70403237682834,
".paseo/worktrees/loved-insect/packages/app/src/utils/diff-highlighter.ts": 56.965919217628894,
".paseo/worktrees/loved-insect/packages/app/src/utils/exhaustive.ts": 84.67095113473219,
".paseo/worktrees/loved-insect/packages/app/src/utils/extract-agent-model.ts": 84.67095113473219,
".paseo/worktrees/loved-insect/packages/app/src/utils/os-notifications.ts": 64.40705077183343,
".paseo/worktrees/loved-insect/packages/app/src/utils/perf-monitor.ts": 69.34190226946438,
".paseo/worktrees/loved-insect/packages/app/src/utils/perf.ts": 75.70403237682834,
".paseo/worktrees/loved-insect/packages/app/src/utils/syntax-highlighter.ts": 60.37498351156052,
".paseo/worktrees/loved-insect/packages/app/src/utils/tauri-daemon-transport.ts": 41.636870352361086,
".paseo/worktrees/loved-insect/packages/app/src/utils/tauri-window.ts": 51.40806475365667,
".paseo/worktrees/loved-insect/packages/app/src/utils/test-daemon-connection.ts": 49.078001906565625,
".paseo/worktrees/loved-insect/packages/app/src/utils/tool-call-parsers.ts": 23.354755673660954,
".paseo/worktrees/loved-insect/packages/desktop/src-tauri/build.rs": 84.67095113473219,
".paseo/worktrees/loved-insect/packages/desktop/src-tauri/src/lib.rs": 69.34190226946438,
".paseo/worktrees/loved-insect/packages/desktop/src-tauri/src/main.rs": 84.67095113473219,
".paseo/worktrees/loved-insect/packages/relay/src/cloudflare-adapter.ts": 69.34190226946438,
".paseo/worktrees/loved-insect/packages/relay/src/crypto.ts": 75.70403237682834,
".paseo/worktrees/loved-insect/packages/relay/src/encrypted-channel.ts": 69.34190226946438,
".paseo/worktrees/loved-insect/packages/relay/src/node-adapter.ts": 69.34190226946438,
".paseo/worktrees/loved-insect/packages/relay/src/relay.ts": 84.67095113473219,
".paseo/worktrees/loved-insect/packages/server/src/client/daemon-client-v2.ts": 45.04593464629272,
".paseo/worktrees/loved-insect/packages/server/src/poc-commands/investigate-command-output.ts": 64.40705077183343,
".paseo/worktrees/loved-insect/packages/server/src/poc-commands/run-poc.ts": 60.37498351156052,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/activity-curator.ts": 60.37498351156052,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/agent-manager.ts": 51.40806475365667,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/agent-projections.ts": 41.636870352361086,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/agent-response-loop.ts": 41.636870352361086,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/agent-storage.ts": 69.34190226946438,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/audio-utils.ts": 64.40705077183343,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/mcp-server.ts": 38.68380453892877,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/model-resolver.ts": 75.70403237682834,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/openai-realtime-transcription.ts": 75.70403237682834,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/paseo-instructions-tag.ts": 75.70403237682834,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/pcm16-resampler.ts": 84.67095113473219,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/provider-manifest.ts": 69.34190226946438,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/provider-registry.ts": 69.34190226946438,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/providers/claude-agent.ts": 25.53177193914712,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/providers/codex-mcp-agent.ts": 0.0,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/providers/opencode-agent.ts": 49.078001906565625,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/self-identification-instructions.ts": 75.70403237682834,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/stt-debug.ts": 84.67095113473219,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/stt-openai.ts": 60.37498351156052,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/system-prompt.ts": 75.70403237682834,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/tts-manager.ts": 60.37498351156052,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/tts-openai.ts": 84.67095113473219,
".paseo/worktrees/loved-insect/packages/server/src/server/bootstrap.ts": 46.97020367185636,
".paseo/worktrees/loved-insect/packages/server/src/server/config.ts": 69.34190226946438,
".paseo/worktrees/loved-insect/packages/server/src/server/connection-offer.ts": 56.965919217628894,
".paseo/worktrees/loved-insect/packages/server/src/server/daemon-e2e/setup.ts": 69.34190226946438,
".paseo/worktrees/loved-insect/packages/server/src/server/file-download/token-store.ts": 84.67095113473219,
".paseo/worktrees/loved-insect/packages/server/src/server/file-explorer/service.ts": 56.965919217628894,
".paseo/worktrees/loved-insect/packages/server/src/server/index.ts": 69.34190226946438,
".paseo/worktrees/loved-insect/packages/server/src/server/json-utils.ts": 84.67095113473219,
".paseo/worktrees/loved-insect/packages/server/src/server/logger.ts": 69.34190226946438,
".paseo/worktrees/loved-insect/packages/server/src/server/messages.ts": 75.70403237682834,
".paseo/worktrees/loved-insect/packages/server/src/server/pairing-qr.ts": 64.40705077183343,
".paseo/worktrees/loved-insect/packages/server/src/server/paseo-home.ts": 75.70403237682834,
".paseo/worktrees/loved-insect/packages/server/src/server/persisted-config.ts": 64.40705077183343,
".paseo/worktrees/loved-insect/packages/server/src/server/persistence-hooks.ts": 60.37498351156052,
".paseo/worktrees/loved-insect/packages/server/src/server/push/push-service.ts": 84.67095113473219,
".paseo/worktrees/loved-insect/packages/server/src/server/relay-transport.ts": 56.965919217628894,
".paseo/worktrees/loved-insect/packages/server/src/server/session.ts": 33.74895304129781,
".paseo/worktrees/loved-insect/packages/server/src/server/terminal-mcp/terminal-manager.ts": 64.40705077183343,
".paseo/worktrees/loved-insect/packages/server/src/server/terminal-mcp/tmux.ts": 36.07901588838887,
".paseo/worktrees/loved-insect/packages/server/src/server/test-utils/claude-config.ts": 84.67095113473219,
".paseo/worktrees/loved-insect/packages/server/src/server/test-utils/daemon-client.ts": 84.67095113473219,
".paseo/worktrees/loved-insect/packages/server/src/server/test-utils/paseo-daemon.ts": 64.40705077183343,
".paseo/worktrees/loved-insect/packages/server/src/server/utils/diff-highlighter.ts": 54.01285340419657,
".paseo/worktrees/loved-insect/packages/server/src/server/utils/syntax-highlighter.ts": 60.37498351156052,
".paseo/worktrees/loved-insect/packages/server/src/server/voice-conversation-store.ts": 69.34190226946438,
".paseo/worktrees/loved-insect/packages/server/src/server/websocket-session-bridge.ts": 69.34190226946438,
".paseo/worktrees/loved-insect/packages/server/src/shared/messages.ts": 84.67095113473219,
".paseo/worktrees/loved-insect/packages/server/src/tasks/cli.ts": 32.66995159445722,
".paseo/worktrees/loved-insect/packages/server/src/tasks/execution-order.ts": 54.01285340419657,
".paseo/worktrees/loved-insect/packages/server/src/tasks/task-store.ts": 41.636870352361086,
".paseo/worktrees/loved-insect/packages/server/src/terminal/terminal-manager.ts": 75.70403237682834,
".paseo/worktrees/loved-insect/packages/server/src/terminal/terminal.ts": 49.078001906565625,
".paseo/worktrees/loved-insect/packages/server/src/test-utils/test-logger.ts": 84.67095113473219,
".paseo/worktrees/loved-insect/packages/server/src/utils/checkout-git.ts": 28.814101543666858,
".paseo/worktrees/loved-insect/packages/server/src/utils/tool-call-parsers.ts": 60.37498351156052,
".paseo/worktrees/loved-insect/packages/server/src/utils/worktree-metadata.ts": 56.965919217628894,
".paseo/worktrees/loved-insect/packages/server/src/utils/worktree.ts": 40.11108314866176,
".paseo/worktrees/loved-insect/packages/website/src/components/butterfly.tsx": 40.11108314866176,
".paseo/worktrees/loved-insect/packages/website/src/router.tsx": 84.67095113473219,
".paseo/worktrees/loved-insect/packages/website/src/routes/__root.tsx": 75.70403237682834,
".paseo/worktrees/loved-insect/packages/website/src/routes/docs.tsx": 84.67095113473219,
".paseo/worktrees/loved-insect/packages/website/src/routes/docs/best-practices.tsx": 84.67095113473219,
".paseo/worktrees/loved-insect/packages/website/src/routes/docs/index.tsx": 84.67095113473219,
".paseo/worktrees/loved-insect/packages/website/src/routes/index.tsx": 41.636870352361086,
".paseo/worktrees/ripe-dragonfly/packages/app/babel.config.js": 84.67095113473219,
".paseo/worktrees/ripe-dragonfly/packages/app/e2e/global-setup.ts": 49.078001906565625,
".paseo/worktrees/ripe-dragonfly/packages/app/e2e/helpers/app.ts": 45.04593464629272,
".paseo/worktrees/ripe-dragonfly/packages/app/src/app/+html.tsx": 75.70403237682834,
".paseo/worktrees/ripe-dragonfly/packages/app/src/app/_layout.tsx": 37.34308237150715,
".paseo/worktrees/ripe-dragonfly/packages/app/src/app/agent/[id].tsx": 64.40705077183343,
".paseo/worktrees/ripe-dragonfly/packages/app/src/app/agent/[serverId]/[agentId].tsx": 27.94672987236956,
".paseo/worktrees/ripe-dragonfly/packages/app/src/app/agents.tsx": 64.40705077183343,
".paseo/worktrees/ripe-dragonfly/packages/app/src/app/index.tsx": 30.658097730535626,
".paseo/worktrees/ripe-dragonfly/packages/app/src/app/orchestrator.tsx": 56.965919217628894,
".paseo/worktrees/ripe-dragonfly/packages/app/src/app/pair-scan.tsx": 69.34190226946438,
".paseo/worktrees/ripe-dragonfly/packages/app/src/app/settings.tsx": 40.11108314866176,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/active-processes.tsx": 56.965919217628894,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-activity.tsx": 49.078001906565625,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-form/agent-form-dropdowns.tsx": 19.554262705039893,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-input-area.tsx": 27.112097130485,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-list.tsx": 56.965919217628894,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-status-bar.tsx": 64.40705077183343,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-stream-view.tsx": 25.53177193914712,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-thought-content.tsx": 69.34190226946438,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/artifact-drawer.tsx": 75.70403237682834,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/audio-debug-notice.tsx": 60.37498351156052,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/command-autocomplete.tsx": 64.40705077183343,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/connection-status.tsx": 75.70403237682834,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/conversation-selector.tsx": 54.01285340419657,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/dictation-controls.tsx": 64.40705077183343,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/dictation-status-notice.tsx": 64.40705077183343,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/diff-viewer.tsx": 75.70403237682834,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/download-toast.tsx": 60.37498351156052,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/empty-state.tsx": 75.70403237682834,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/explorer-sidebar.tsx": 36.07901588838887,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/file-drop-zone.tsx": 69.34190226946438,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/file-explorer-pane.tsx": 20.74996702312105,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/git-diff-pane.tsx": 31.641154806588556,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/headers/back-header.tsx": 75.70403237682834,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/headers/home-header.tsx": 64.40705077183343,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/headers/menu-header.tsx": 60.37498351156052,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/headers/screen-header.tsx": 84.67095113473219,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/home-footer.tsx": 60.37498351156052,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/icons/claude-icon.tsx": 84.67095113473219,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/icons/codex-icon.tsx": 84.67095113473219,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/message-input.tsx": 29.716885781024914,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/message.tsx": 28.814101543666858,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/mode-selector-modal.tsx": 75.70403237682834,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/multi-daemon-session-host.tsx": 56.965919217628894,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/orchestrator-messages-view.tsx": 75.70403237682834,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/realtime-controls.tsx": 69.34190226946438,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/sliding-sidebar.tsx": 36.07901588838887,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/thinking-sheet.tsx": 51.40806475365667,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/tool-call-details.tsx": 49.078001906565625,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/tool-call-preview.ts": 84.67095113473219,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/tool-call-sheet.tsx": 49.078001906565625,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/ui/dropdown-menu-floating.ts": 54.01285340419657,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/ui/dropdown-menu.tsx": 38.68380453892877,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/voice-button.tsx": 60.37498351156052,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/volume-meter.tsx": 60.37498351156052,
".paseo/worktrees/ripe-dragonfly/packages/app/src/constants/layout.ts": 69.34190226946438,
".paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/daemon-connections-context.tsx": 60.37498351156052,
".paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/daemon-registry-context.tsx": 30.658097730535626,
".paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/explorer-sidebar-animation-context.tsx": 56.965919217628894,
".paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/horizontal-scroll-context.tsx": 64.40705077183343,
".paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/realtime-context.tsx": 64.40705077183343,
".paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/session-context.tsx": 14.387836915757102,
".paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/sidebar-animation-context.tsx": 56.965919217628894,
".paseo/worktrees/ripe-dragonfly/packages/app/src/dictation/dictation-stream-sender.ts": 75.70403237682834,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/checkout-status-revalidation.ts": 75.70403237682834,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-agent-commands-query.ts": 75.70403237682834,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-agent-form-state.ts": 40.11108314866176,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-aggregated-agents.ts": 60.37498351156052,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-audio-player.native.ts": 54.01285340419657,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-audio-recorder.native.ts": 54.01285340419657,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-audio-recorder.web.ts": 41.636870352361086,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-checkout-diff-query.ts": 56.965919217628894,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-checkout-pr-status-query.ts": 75.70403237682834,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-checkout-status-query.ts": 60.37498351156052,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-client-activity.ts": 56.965919217628894,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-daemon-client.ts": 69.34190226946438,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-dictation-audio-source.native.ts": 69.34190226946438,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-dictation-audio-source.web.ts": 51.40806475365667,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-dictation.ts": 45.04593464629272,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-favicon-status.ts": 51.40806475365667,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-file-drop-zone.ts": 54.01285340419657,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-form-preferences.ts": 75.70403237682834,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-git-diff-query.ts": 56.965919217628894,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-image-attachment-picker.ts": 69.34190226946438,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-recent-paths.ts": 60.37498351156052,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-session-directory.ts": 60.37498351156052,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-settings.ts": 64.40705077183343,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-speechmatics-audio.native.ts": 51.40806475365667,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-speechmatics-audio.web.ts": 69.34190226946438,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-theme-color.ts": 84.67095113473219,
".paseo/worktrees/ripe-dragonfly/packages/app/src/polyfills/crypto.ts": 84.67095113473219,
".paseo/worktrees/ripe-dragonfly/packages/app/src/stores/download-store.ts": 46.97020367185636,
".paseo/worktrees/ripe-dragonfly/packages/app/src/stores/panel-store.ts": 84.67095113473219,
".paseo/worktrees/ripe-dragonfly/packages/app/src/stores/session-store.ts": 69.34190226946438,
".paseo/worktrees/ripe-dragonfly/packages/app/src/types/agent-activity.ts": 84.67095113473219,
".paseo/worktrees/ripe-dragonfly/packages/app/src/types/stream.ts": 21.37296998946232,
".paseo/worktrees/ripe-dragonfly/packages/app/src/utils/agent-status.ts": 75.70403237682834,
".paseo/worktrees/ripe-dragonfly/packages/app/src/utils/analytics.ts": 84.67095113473219,
".paseo/worktrees/ripe-dragonfly/packages/app/src/utils/attempt-guard.ts": 84.67095113473219,
".paseo/worktrees/ripe-dragonfly/packages/app/src/utils/daemon-endpoints.ts": 49.078001906565625,
".paseo/worktrees/ripe-dragonfly/packages/app/src/utils/daemons.ts": 75.70403237682834,
".paseo/worktrees/ripe-dragonfly/packages/app/src/utils/diff-highlighter.ts": 56.965919217628894,
".paseo/worktrees/ripe-dragonfly/packages/app/src/utils/exhaustive.ts": 84.67095113473219,
".paseo/worktrees/ripe-dragonfly/packages/app/src/utils/extract-agent-model.ts": 84.67095113473219,
".paseo/worktrees/ripe-dragonfly/packages/app/src/utils/os-notifications.ts": 64.40705077183343,
".paseo/worktrees/ripe-dragonfly/packages/app/src/utils/perf-monitor.ts": 69.34190226946438,
".paseo/worktrees/ripe-dragonfly/packages/app/src/utils/perf.ts": 75.70403237682834,
".paseo/worktrees/ripe-dragonfly/packages/app/src/utils/syntax-highlighter.ts": 60.37498351156052,
".paseo/worktrees/ripe-dragonfly/packages/app/src/utils/tauri-daemon-transport.ts": 41.636870352361086,
".paseo/worktrees/ripe-dragonfly/packages/app/src/utils/tauri-window.ts": 51.40806475365667,
".paseo/worktrees/ripe-dragonfly/packages/app/src/utils/tool-call-parsers.ts": 23.354755673660954,
".paseo/worktrees/ripe-dragonfly/packages/desktop/src-tauri/build.rs": 84.67095113473219,
".paseo/worktrees/ripe-dragonfly/packages/desktop/src-tauri/src/lib.rs": 69.34190226946438,
".paseo/worktrees/ripe-dragonfly/packages/desktop/src-tauri/src/main.rs": 84.67095113473219,
".paseo/worktrees/ripe-dragonfly/packages/relay/src/cloudflare-adapter.ts": 69.34190226946438,
".paseo/worktrees/ripe-dragonfly/packages/relay/src/crypto.ts": 75.70403237682834,
".paseo/worktrees/ripe-dragonfly/packages/relay/src/encrypted-channel.ts": 69.34190226946438,
".paseo/worktrees/ripe-dragonfly/packages/relay/src/node-adapter.ts": 69.34190226946438,
".paseo/worktrees/ripe-dragonfly/packages/relay/src/relay.ts": 84.67095113473219,
".paseo/worktrees/ripe-dragonfly/packages/server/src/client/daemon-client-v2.ts": 45.04593464629272,
".paseo/worktrees/ripe-dragonfly/packages/server/src/poc-commands/investigate-command-output.ts": 64.40705077183343,
".paseo/worktrees/ripe-dragonfly/packages/server/src/poc-commands/run-poc.ts": 60.37498351156052,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/activity-curator.ts": 60.37498351156052,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/agent-manager.ts": 51.40806475365667,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/agent-projections.ts": 41.636870352361086,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/agent-registry.ts": 75.70403237682834,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/agent-response-loop.ts": 41.636870352361086,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/audio-utils.ts": 64.40705077183343,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/mcp-server.ts": 38.68380453892877,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/model-resolver.ts": 75.70403237682834,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/openai-realtime-transcription.ts": 75.70403237682834,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/paseo-instructions-tag.ts": 75.70403237682834,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/pcm16-resampler.ts": 84.67095113473219,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/provider-manifest.ts": 69.34190226946438,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/provider-registry.ts": 69.34190226946438,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/providers/claude-agent.ts": 25.53177193914712,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/providers/codex-mcp-agent.ts": 0.0,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/providers/opencode-agent.ts": 49.078001906565625,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/self-identification-instructions.ts": 75.70403237682834,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/stt-debug.ts": 84.67095113473219,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/stt-openai.ts": 60.37498351156052,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/system-prompt.ts": 75.70403237682834,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/tts-manager.ts": 60.37498351156052,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/tts-openai.ts": 84.67095113473219,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/bootstrap.ts": 46.97020367185636,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/config.ts": 69.34190226946438,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/connection-offer.ts": 56.965919217628894,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/daemon-e2e/setup.ts": 69.34190226946438,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/file-download/token-store.ts": 84.67095113473219,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/file-explorer/service.ts": 56.965919217628894,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/index.ts": 69.34190226946438,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/json-utils.ts": 84.67095113473219,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/logger.ts": 69.34190226946438,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/messages.ts": 75.70403237682834,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/pairing-qr.ts": 64.40705077183343,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/paseo-home.ts": 75.70403237682834,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/persisted-config.ts": 64.40705077183343,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/persistence-hooks.ts": 60.37498351156052,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/push/push-service.ts": 84.67095113473219,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/relay-transport.ts": 56.965919217628894,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/session.ts": 36.07901588838887,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/terminal-mcp/terminal-manager.ts": 64.40705077183343,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/terminal-mcp/tmux.ts": 36.07901588838887,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/test-utils/claude-config.ts": 84.67095113473219,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/test-utils/daemon-client.ts": 84.67095113473219,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/test-utils/paseo-daemon.ts": 64.40705077183343,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/utils/diff-highlighter.ts": 54.01285340419657,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/utils/syntax-highlighter.ts": 60.37498351156052,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/voice-conversation-store.ts": 69.34190226946438,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/websocket-session-bridge.ts": 69.34190226946438,
".paseo/worktrees/ripe-dragonfly/packages/server/src/shared/messages.ts": 84.67095113473219,
".paseo/worktrees/ripe-dragonfly/packages/server/src/tasks/cli.ts": 32.66995159445722,
".paseo/worktrees/ripe-dragonfly/packages/server/src/tasks/execution-order.ts": 54.01285340419657,
".paseo/worktrees/ripe-dragonfly/packages/server/src/tasks/task-store.ts": 41.636870352361086,
".paseo/worktrees/ripe-dragonfly/packages/server/src/terminal/terminal-manager.ts": 75.70403237682834,
".paseo/worktrees/ripe-dragonfly/packages/server/src/terminal/terminal.ts": 49.078001906565625,
".paseo/worktrees/ripe-dragonfly/packages/server/src/test-utils/test-logger.ts": 84.67095113473219,
".paseo/worktrees/ripe-dragonfly/packages/server/src/utils/checkout-git.ts": 28.814101543666858,
".paseo/worktrees/ripe-dragonfly/packages/server/src/utils/tool-call-parsers.ts": 60.37498351156052,
".paseo/worktrees/ripe-dragonfly/packages/server/src/utils/worktree-metadata.ts": 56.965919217628894,
".paseo/worktrees/ripe-dragonfly/packages/server/src/utils/worktree.ts": 40.11108314866176,
".paseo/worktrees/ripe-dragonfly/packages/website/src/components/butterfly.tsx": 40.11108314866176,
".paseo/worktrees/ripe-dragonfly/packages/website/src/router.tsx": 84.67095113473219,
".paseo/worktrees/ripe-dragonfly/packages/website/src/routes/__root.tsx": 75.70403237682834,
".paseo/worktrees/ripe-dragonfly/packages/website/src/routes/docs.tsx": 84.67095113473219,
".paseo/worktrees/ripe-dragonfly/packages/website/src/routes/docs/best-practices.tsx": 84.67095113473219,
".paseo/worktrees/ripe-dragonfly/packages/website/src/routes/docs/index.tsx": 84.67095113473219,
".paseo/worktrees/ripe-dragonfly/packages/website/src/routes/index.tsx": 41.636870352361086,
".paseo/worktrees/shallow-lynx/packages/app/babel.config.js": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/app/e2e/global-setup.ts": 49.078001906565625,
".paseo/worktrees/shallow-lynx/packages/app/e2e/helpers/app.ts": 43.275778737637374,
".paseo/worktrees/shallow-lynx/packages/app/src/app/+html.tsx": 75.70403237682834,
".paseo/worktrees/shallow-lynx/packages/app/src/app/_layout.tsx": 37.34308237150715,
".paseo/worktrees/shallow-lynx/packages/app/src/app/agent/[id].tsx": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/app/src/app/agent/[serverId]/[agentId].tsx": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/app/src/app/agent/index.tsx": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/app/src/app/agents.tsx": 64.40705077183343,
".paseo/worktrees/shallow-lynx/packages/app/src/app/index.tsx": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/app/src/app/pair-scan.tsx": 69.34190226946438,
".paseo/worktrees/shallow-lynx/packages/app/src/app/settings.tsx": 40.11108314866176,
".paseo/worktrees/shallow-lynx/packages/app/src/components/active-processes.tsx": 56.965919217628894,
".paseo/worktrees/shallow-lynx/packages/app/src/components/adaptive-modal-sheet.tsx": 64.40705077183343,
".paseo/worktrees/shallow-lynx/packages/app/src/components/add-host-method-modal.tsx": 60.37498351156052,
".paseo/worktrees/shallow-lynx/packages/app/src/components/add-host-modal.tsx": 45.04593464629272,
".paseo/worktrees/shallow-lynx/packages/app/src/components/agent-activity.tsx": 49.078001906565625,
".paseo/worktrees/shallow-lynx/packages/app/src/components/agent-form/agent-form-dropdowns.tsx": 18.979811114465704,
".paseo/worktrees/shallow-lynx/packages/app/src/components/agent-input-area.tsx": 27.112097130485,
".paseo/worktrees/shallow-lynx/packages/app/src/components/agent-list.tsx": 54.01285340419657,
".paseo/worktrees/shallow-lynx/packages/app/src/components/agent-status-bar.tsx": 64.40705077183343,
".paseo/worktrees/shallow-lynx/packages/app/src/components/agent-stream-view.tsx": 25.53177193914712,
".paseo/worktrees/shallow-lynx/packages/app/src/components/artifact-drawer.tsx": 75.70403237682834,
".paseo/worktrees/shallow-lynx/packages/app/src/components/audio-debug-notice.tsx": 60.37498351156052,
".paseo/worktrees/shallow-lynx/packages/app/src/components/command-autocomplete.tsx": 64.40705077183343,
".paseo/worktrees/shallow-lynx/packages/app/src/components/connection-status.tsx": 75.70403237682834,
".paseo/worktrees/shallow-lynx/packages/app/src/components/dictation-controls.tsx": 64.40705077183343,
".paseo/worktrees/shallow-lynx/packages/app/src/components/dictation-status-notice.tsx": 64.40705077183343,
".paseo/worktrees/shallow-lynx/packages/app/src/components/diff-viewer.tsx": 75.70403237682834,
".paseo/worktrees/shallow-lynx/packages/app/src/components/download-toast.tsx": 60.37498351156052,
".paseo/worktrees/shallow-lynx/packages/app/src/components/empty-state.tsx": 75.70403237682834,
".paseo/worktrees/shallow-lynx/packages/app/src/components/explorer-sidebar.tsx": 36.07901588838887,
".paseo/worktrees/shallow-lynx/packages/app/src/components/file-drop-zone.tsx": 69.34190226946438,
".paseo/worktrees/shallow-lynx/packages/app/src/components/file-explorer-pane.tsx": 20.74996702312105,
".paseo/worktrees/shallow-lynx/packages/app/src/components/git-diff-pane.tsx": 31.641154806588556,
".paseo/worktrees/shallow-lynx/packages/app/src/components/headers/back-header.tsx": 75.70403237682834,
".paseo/worktrees/shallow-lynx/packages/app/src/components/headers/menu-header.tsx": 60.37498351156052,
".paseo/worktrees/shallow-lynx/packages/app/src/components/headers/screen-header.tsx": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/app/src/components/home-footer.tsx": 60.37498351156052,
".paseo/worktrees/shallow-lynx/packages/app/src/components/icons/claude-icon.tsx": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/app/src/components/icons/codex-icon.tsx": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/app/src/components/message-input.tsx": 28.814101543666858,
".paseo/worktrees/shallow-lynx/packages/app/src/components/message.tsx": 30.658097730535626,
".paseo/worktrees/shallow-lynx/packages/app/src/components/mode-selector-modal.tsx": 75.70403237682834,
".paseo/worktrees/shallow-lynx/packages/app/src/components/multi-daemon-session-host.tsx": 56.965919217628894,
".paseo/worktrees/shallow-lynx/packages/app/src/components/pair-link-modal.tsx": 60.37498351156052,
".paseo/worktrees/shallow-lynx/packages/app/src/components/realtime-controls.tsx": 69.34190226946438,
".paseo/worktrees/shallow-lynx/packages/app/src/components/sliding-sidebar.tsx": 36.07901588838887,
".paseo/worktrees/shallow-lynx/packages/app/src/components/tool-call-details.tsx": 49.078001906565625,
".paseo/worktrees/shallow-lynx/packages/app/src/components/tool-call-preview.ts": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/app/src/components/tool-call-sheet.tsx": 49.078001906565625,
".paseo/worktrees/shallow-lynx/packages/app/src/components/ui/dropdown-menu-floating.ts": 54.01285340419657,
".paseo/worktrees/shallow-lynx/packages/app/src/components/ui/dropdown-menu.tsx": 38.68380453892877,
".paseo/worktrees/shallow-lynx/packages/app/src/components/voice-button.tsx": 60.37498351156052,
".paseo/worktrees/shallow-lynx/packages/app/src/components/volume-meter.tsx": 60.37498351156052,
".paseo/worktrees/shallow-lynx/packages/app/src/components/welcome-screen.tsx": 75.70403237682834,
".paseo/worktrees/shallow-lynx/packages/app/src/constants/layout.ts": 69.34190226946438,
".paseo/worktrees/shallow-lynx/packages/app/src/contexts/daemon-connections-context.tsx": 60.37498351156052,
".paseo/worktrees/shallow-lynx/packages/app/src/contexts/daemon-registry-context.tsx": 30.658097730535626,
".paseo/worktrees/shallow-lynx/packages/app/src/contexts/explorer-sidebar-animation-context.tsx": 56.965919217628894,
".paseo/worktrees/shallow-lynx/packages/app/src/contexts/horizontal-scroll-context.tsx": 64.40705077183343,
".paseo/worktrees/shallow-lynx/packages/app/src/contexts/realtime-context.tsx": 64.40705077183343,
".paseo/worktrees/shallow-lynx/packages/app/src/contexts/session-context.tsx": 14.387836915757102,
".paseo/worktrees/shallow-lynx/packages/app/src/contexts/sidebar-animation-context.tsx": 56.965919217628894,
".paseo/worktrees/shallow-lynx/packages/app/src/dictation/dictation-stream-sender.ts": 75.70403237682834,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/checkout-status-revalidation.ts": 75.70403237682834,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-agent-commands-query.ts": 75.70403237682834,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-agent-form-state.ts": 40.11108314866176,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-aggregated-agents.ts": 60.37498351156052,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-audio-player.native.ts": 54.01285340419657,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-audio-recorder.native.ts": 54.01285340419657,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-audio-recorder.web.ts": 41.636870352361086,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-checkout-diff-query.ts": 56.965919217628894,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-checkout-pr-status-query.ts": 75.70403237682834,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-checkout-status-query.ts": 56.965919217628894,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-client-activity.ts": 56.965919217628894,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-daemon-client.ts": 69.34190226946438,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-dictation-audio-source.native.ts": 69.34190226946438,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-dictation-audio-source.web.ts": 46.97020367185636,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-dictation.ts": 45.04593464629272,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-favicon-status.ts": 51.40806475365667,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-file-drop-zone.ts": 54.01285340419657,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-form-preferences.ts": 75.70403237682834,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-git-diff-query.ts": 56.965919217628894,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-image-attachment-picker.ts": 69.34190226946438,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-recent-paths.ts": 60.37498351156052,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-session-directory.ts": 60.37498351156052,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-settings.ts": 64.40705077183343,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-speechmatics-audio.native.ts": 51.40806475365667,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-speechmatics-audio.web.ts": 69.34190226946438,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-theme-color.ts": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/app/src/polyfills/crypto.ts": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/app/src/screens/agent/agent-ready-screen.tsx": 24.05688266995011,
".paseo/worktrees/shallow-lynx/packages/app/src/screens/agent/draft-agent-screen.tsx": 25.53177193914712,
".paseo/worktrees/shallow-lynx/packages/app/src/screens/agent/legacy-agent-id-screen.tsx": 64.40705077183343,
".paseo/worktrees/shallow-lynx/packages/app/src/stores/download-store.ts": 46.97020367185636,
".paseo/worktrees/shallow-lynx/packages/app/src/stores/panel-store.ts": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/app/src/stores/session-store.ts": 69.34190226946438,
".paseo/worktrees/shallow-lynx/packages/app/src/types/agent-activity.ts": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/app/src/types/stream.ts": 21.37296998946232,
".paseo/worktrees/shallow-lynx/packages/app/src/utils/agent-status.ts": 75.70403237682834,
".paseo/worktrees/shallow-lynx/packages/app/src/utils/analytics.ts": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/app/src/utils/attempt-guard.ts": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/app/src/utils/daemon-endpoints.ts": 49.078001906565625,
".paseo/worktrees/shallow-lynx/packages/app/src/utils/daemons.ts": 75.70403237682834,
".paseo/worktrees/shallow-lynx/packages/app/src/utils/diff-highlighter.ts": 56.965919217628894,
".paseo/worktrees/shallow-lynx/packages/app/src/utils/exhaustive.ts": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/app/src/utils/extract-agent-model.ts": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/app/src/utils/os-notifications.ts": 64.40705077183343,
".paseo/worktrees/shallow-lynx/packages/app/src/utils/perf-monitor.ts": 69.34190226946438,
".paseo/worktrees/shallow-lynx/packages/app/src/utils/perf.ts": 75.70403237682834,
".paseo/worktrees/shallow-lynx/packages/app/src/utils/syntax-highlighter.ts": 60.37498351156052,
".paseo/worktrees/shallow-lynx/packages/app/src/utils/tauri-daemon-transport.ts": 41.636870352361086,
".paseo/worktrees/shallow-lynx/packages/app/src/utils/tauri-window.ts": 51.40806475365667,
".paseo/worktrees/shallow-lynx/packages/app/src/utils/test-daemon-connection.ts": 49.078001906565625,
".paseo/worktrees/shallow-lynx/packages/app/src/utils/tool-call-parsers.ts": 23.354755673660954,
".paseo/worktrees/shallow-lynx/packages/desktop/src-tauri/build.rs": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/desktop/src-tauri/src/lib.rs": 69.34190226946438,
".paseo/worktrees/shallow-lynx/packages/desktop/src-tauri/src/main.rs": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/relay/src/cloudflare-adapter.ts": 69.34190226946438,
".paseo/worktrees/shallow-lynx/packages/relay/src/crypto.ts": 75.70403237682834,
".paseo/worktrees/shallow-lynx/packages/relay/src/encrypted-channel.ts": 69.34190226946438,
".paseo/worktrees/shallow-lynx/packages/relay/src/node-adapter.ts": 69.34190226946438,
".paseo/worktrees/shallow-lynx/packages/relay/src/relay.ts": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/server/src/client/daemon-client-v2.ts": 45.04593464629272,
".paseo/worktrees/shallow-lynx/packages/server/src/poc-commands/investigate-command-output.ts": 64.40705077183343,
".paseo/worktrees/shallow-lynx/packages/server/src/poc-commands/run-poc.ts": 60.37498351156052,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/activity-curator.ts": 60.37498351156052,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/agent-manager.ts": 51.40806475365667,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/agent-projections.ts": 41.636870352361086,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/agent-response-loop.ts": 41.636870352361086,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/agent-storage.ts": 69.34190226946438,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/audio-utils.ts": 64.40705077183343,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/mcp-server.ts": 38.68380453892877,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/model-resolver.ts": 75.70403237682834,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/openai-realtime-transcription.ts": 75.70403237682834,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/paseo-instructions-tag.ts": 75.70403237682834,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/pcm16-resampler.ts": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/provider-manifest.ts": 69.34190226946438,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/provider-registry.ts": 69.34190226946438,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/providers/claude-agent.ts": 25.53177193914712,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/providers/codex-mcp-agent.ts": 0.0,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/providers/opencode-agent.ts": 49.078001906565625,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/self-identification-instructions.ts": 75.70403237682834,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/stt-debug.ts": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/stt-openai.ts": 60.37498351156052,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/system-prompt.ts": 75.70403237682834,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/tts-manager.ts": 60.37498351156052,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/tts-openai.ts": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/server/src/server/bootstrap.ts": 46.97020367185636,
".paseo/worktrees/shallow-lynx/packages/server/src/server/config.ts": 69.34190226946438,
".paseo/worktrees/shallow-lynx/packages/server/src/server/connection-offer.ts": 56.965919217628894,
".paseo/worktrees/shallow-lynx/packages/server/src/server/daemon-e2e/setup.ts": 69.34190226946438,
".paseo/worktrees/shallow-lynx/packages/server/src/server/file-download/token-store.ts": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/server/src/server/file-explorer/service.ts": 56.965919217628894,
".paseo/worktrees/shallow-lynx/packages/server/src/server/index.ts": 69.34190226946438,
".paseo/worktrees/shallow-lynx/packages/server/src/server/json-utils.ts": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/server/src/server/logger.ts": 69.34190226946438,
".paseo/worktrees/shallow-lynx/packages/server/src/server/messages.ts": 75.70403237682834,
".paseo/worktrees/shallow-lynx/packages/server/src/server/pairing-qr.ts": 64.40705077183343,
".paseo/worktrees/shallow-lynx/packages/server/src/server/paseo-home.ts": 75.70403237682834,
".paseo/worktrees/shallow-lynx/packages/server/src/server/persisted-config.ts": 64.40705077183343,
".paseo/worktrees/shallow-lynx/packages/server/src/server/persistence-hooks.ts": 60.37498351156052,
".paseo/worktrees/shallow-lynx/packages/server/src/server/push/push-service.ts": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/server/src/server/relay-transport.ts": 56.965919217628894,
".paseo/worktrees/shallow-lynx/packages/server/src/server/session.ts": 33.74895304129781,
".paseo/worktrees/shallow-lynx/packages/server/src/server/terminal-mcp/terminal-manager.ts": 64.40705077183343,
".paseo/worktrees/shallow-lynx/packages/server/src/server/terminal-mcp/tmux.ts": 36.07901588838887,
".paseo/worktrees/shallow-lynx/packages/server/src/server/test-utils/claude-config.ts": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/server/src/server/test-utils/daemon-client.ts": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/server/src/server/test-utils/paseo-daemon.ts": 64.40705077183343,
".paseo/worktrees/shallow-lynx/packages/server/src/server/utils/diff-highlighter.ts": 54.01285340419657,
".paseo/worktrees/shallow-lynx/packages/server/src/server/utils/syntax-highlighter.ts": 60.37498351156052,
".paseo/worktrees/shallow-lynx/packages/server/src/server/voice-conversation-store.ts": 69.34190226946438,
".paseo/worktrees/shallow-lynx/packages/server/src/server/websocket-session-bridge.ts": 69.34190226946438,
".paseo/worktrees/shallow-lynx/packages/server/src/shared/messages.ts": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/server/src/tasks/cli.ts": 32.66995159445722,
".paseo/worktrees/shallow-lynx/packages/server/src/tasks/execution-order.ts": 54.01285340419657,
".paseo/worktrees/shallow-lynx/packages/server/src/tasks/task-store.ts": 41.636870352361086,
".paseo/worktrees/shallow-lynx/packages/server/src/terminal/terminal-manager.ts": 75.70403237682834,
".paseo/worktrees/shallow-lynx/packages/server/src/terminal/terminal.ts": 49.078001906565625,
".paseo/worktrees/shallow-lynx/packages/server/src/test-utils/test-logger.ts": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/server/src/utils/checkout-git.ts": 28.814101543666858,
".paseo/worktrees/shallow-lynx/packages/server/src/utils/tool-call-parsers.ts": 60.37498351156052,
".paseo/worktrees/shallow-lynx/packages/server/src/utils/worktree-metadata.ts": 56.965919217628894,
".paseo/worktrees/shallow-lynx/packages/server/src/utils/worktree.ts": 40.11108314866176,
".paseo/worktrees/shallow-lynx/packages/website/src/components/butterfly.tsx": 40.11108314866176,
".paseo/worktrees/shallow-lynx/packages/website/src/router.tsx": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/website/src/routes/__root.tsx": 75.70403237682834,
".paseo/worktrees/shallow-lynx/packages/website/src/routes/docs.tsx": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/website/src/routes/docs/best-practices.tsx": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/website/src/routes/docs/index.tsx": 84.67095113473219,
".paseo/worktrees/shallow-lynx/packages/website/src/routes/index.tsx": 41.636870352361086,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/babel.config.js": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/e2e/global-setup.ts": 49.078001906565625,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/e2e/helpers/app.ts": 45.04593464629272,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/app/+html.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/app/_layout.tsx": 37.34308237150715,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/app/agent/[id].tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/app/agent/[serverId]/[agentId].tsx": 27.94672987236956,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/app/agents.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/app/index.tsx": 30.658097730535626,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/app/pair-scan.tsx": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/app/settings.tsx": 40.11108314866176,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/active-processes.tsx": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/adaptive-modal-sheet.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/add-host-method-modal.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/add-host-modal.tsx": 45.04593464629272,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/agent-activity.tsx": 49.078001906565625,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/agent-form/agent-form-dropdowns.tsx": 19.554262705039893,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/agent-input-area.tsx": 27.112097130485,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/agent-list.tsx": 54.01285340419657,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/agent-status-bar.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/agent-stream-view.tsx": 25.53177193914712,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/artifact-drawer.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/audio-debug-notice.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/command-autocomplete.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/connection-status.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/dictation-controls.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/dictation-status-notice.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/diff-viewer.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/download-toast.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/empty-state.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/explorer-sidebar.tsx": 36.07901588838887,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/file-drop-zone.tsx": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/file-explorer-pane.tsx": 20.74996702312105,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/git-diff-pane.tsx": 31.641154806588556,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/headers/back-header.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/headers/menu-header.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/headers/screen-header.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/home-footer.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/icons/claude-icon.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/icons/codex-icon.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/message-input.tsx": 29.716885781024914,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/message.tsx": 30.658097730535626,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/mode-selector-modal.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/multi-daemon-session-host.tsx": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/pair-link-modal.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/realtime-controls.tsx": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/sliding-sidebar.tsx": 36.07901588838887,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/tool-call-details.tsx": 49.078001906565625,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/tool-call-preview.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/tool-call-sheet.tsx": 49.078001906565625,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/ui/dropdown-menu-floating.ts": 54.01285340419657,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/ui/dropdown-menu.tsx": 38.68380453892877,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/voice-button.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/volume-meter.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/components/welcome-screen.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/constants/layout.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/contexts/daemon-connections-context.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/contexts/daemon-registry-context.tsx": 30.658097730535626,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/contexts/explorer-sidebar-animation-context.tsx": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/contexts/horizontal-scroll-context.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/contexts/realtime-context.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/contexts/session-context.tsx": 14.387836915757102,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/contexts/sidebar-animation-context.tsx": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/dictation/dictation-stream-sender.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/checkout-status-revalidation.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-agent-commands-query.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-agent-form-state.ts": 40.11108314866176,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-aggregated-agents.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-audio-player.native.ts": 54.01285340419657,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-audio-recorder.native.ts": 54.01285340419657,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-audio-recorder.web.ts": 41.636870352361086,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-checkout-diff-query.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-checkout-pr-status-query.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-checkout-status-query.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-client-activity.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-daemon-client.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-dictation-audio-source.native.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-dictation-audio-source.web.ts": 51.40806475365667,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-dictation.ts": 45.04593464629272,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-favicon-status.ts": 51.40806475365667,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-file-drop-zone.ts": 54.01285340419657,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-form-preferences.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-git-diff-query.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-image-attachment-picker.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-recent-paths.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-session-directory.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-settings.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-speechmatics-audio.native.ts": 51.40806475365667,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-speechmatics-audio.web.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-theme-color.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/polyfills/crypto.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/stores/download-store.ts": 46.97020367185636,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/stores/panel-store.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/stores/session-store.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/types/agent-activity.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/types/stream.ts": 21.37296998946232,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/agent-status.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/analytics.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/attempt-guard.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/daemon-endpoints.ts": 49.078001906565625,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/daemons.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/diff-highlighter.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/exhaustive.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/extract-agent-model.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/os-notifications.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/perf-monitor.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/perf.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/syntax-highlighter.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/tauri-daemon-transport.ts": 41.636870352361086,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/tauri-window.ts": 51.40806475365667,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/test-daemon-connection.ts": 49.078001906565625,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/app/src/utils/tool-call-parsers.ts": 23.354755673660954,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/desktop/src-tauri/build.rs": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/desktop/src-tauri/src/lib.rs": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/desktop/src-tauri/src/main.rs": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/relay/src/cloudflare-adapter.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/relay/src/crypto.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/relay/src/encrypted-channel.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/relay/src/node-adapter.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/relay/src/relay.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/client/daemon-client-v2.ts": 45.04593464629272,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/poc-commands/investigate-command-output.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/poc-commands/run-poc.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/activity-curator.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/agent-manager.ts": 51.40806475365667,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/agent-projections.ts": 41.636870352361086,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/agent-response-loop.ts": 41.636870352361086,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/agent-storage.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/audio-utils.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/mcp-server.ts": 38.68380453892877,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/model-resolver.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/openai-realtime-transcription.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/paseo-instructions-tag.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/pcm16-resampler.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/provider-manifest.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/provider-registry.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/providers/claude-agent.ts": 25.53177193914712,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/providers/codex-mcp-agent.ts": 0.0,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/providers/opencode-agent.ts": 49.078001906565625,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/self-identification-instructions.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/stt-debug.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/stt-openai.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/system-prompt.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/tts-manager.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/agent/tts-openai.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/bootstrap.ts": 46.97020367185636,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/config.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/connection-offer.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/daemon-e2e/setup.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/file-download/token-store.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/file-explorer/service.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/index.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/json-utils.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/logger.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/messages.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/pairing-qr.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/paseo-home.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/persisted-config.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/persistence-hooks.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/push/push-service.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/relay-transport.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/session.ts": 33.74895304129781,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/terminal-mcp/terminal-manager.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/terminal-mcp/tmux.ts": 36.07901588838887,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/test-utils/claude-config.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/test-utils/daemon-client.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/test-utils/paseo-daemon.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/utils/diff-highlighter.ts": 54.01285340419657,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/utils/syntax-highlighter.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/voice-conversation-store.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/server/websocket-session-bridge.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/shared/messages.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/tasks/cli.ts": 32.66995159445722,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/tasks/execution-order.ts": 54.01285340419657,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/tasks/task-store.ts": 41.636870352361086,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/terminal/terminal-manager.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/terminal/terminal.ts": 49.078001906565625,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/test-utils/test-logger.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/utils/checkout-git.ts": 28.814101543666858,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/utils/tool-call-parsers.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/utils/worktree-metadata.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/server/src/utils/worktree.ts": 40.11108314866176,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/website/src/components/butterfly.tsx": 40.11108314866176,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/website/src/router.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/website/src/routes/__root.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/website/src/routes/docs.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/website/src/routes/docs/best-practices.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/website/src/routes/docs/index.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/loved-insect/packages/website/src/routes/index.tsx": 41.636870352361086,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/babel.config.js": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/e2e/global-setup.ts": 49.078001906565625,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/e2e/helpers/app.ts": 45.04593464629272,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/+html.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/_layout.tsx": 37.34308237150715,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/agent/[id].tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/agent/[serverId]/[agentId].tsx": 27.94672987236956,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/agents.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/index.tsx": 30.658097730535626,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/orchestrator.tsx": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/pair-scan.tsx": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/settings.tsx": 40.11108314866176,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/active-processes.tsx": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-activity.tsx": 49.078001906565625,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-form/agent-form-dropdowns.tsx": 19.554262705039893,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-input-area.tsx": 27.112097130485,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-list.tsx": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-status-bar.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-stream-view.tsx": 25.53177193914712,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-thought-content.tsx": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/artifact-drawer.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/audio-debug-notice.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/command-autocomplete.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/connection-status.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/conversation-selector.tsx": 54.01285340419657,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/dictation-controls.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/dictation-status-notice.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/diff-viewer.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/download-toast.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/empty-state.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/explorer-sidebar.tsx": 36.07901588838887,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/file-drop-zone.tsx": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/file-explorer-pane.tsx": 20.74996702312105,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/git-diff-pane.tsx": 31.641154806588556,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/headers/back-header.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/headers/home-header.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/headers/menu-header.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/headers/screen-header.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/home-footer.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/icons/claude-icon.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/icons/codex-icon.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/message-input.tsx": 29.716885781024914,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/message.tsx": 28.814101543666858,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/mode-selector-modal.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/multi-daemon-session-host.tsx": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/orchestrator-messages-view.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/realtime-controls.tsx": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/sliding-sidebar.tsx": 36.07901588838887,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/thinking-sheet.tsx": 51.40806475365667,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/tool-call-details.tsx": 49.078001906565625,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/tool-call-preview.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/tool-call-sheet.tsx": 49.078001906565625,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/ui/dropdown-menu-floating.ts": 54.01285340419657,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/ui/dropdown-menu.tsx": 38.68380453892877,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/voice-button.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/volume-meter.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/constants/layout.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/daemon-connections-context.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/daemon-registry-context.tsx": 30.658097730535626,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/explorer-sidebar-animation-context.tsx": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/horizontal-scroll-context.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/realtime-context.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/session-context.tsx": 14.387836915757102,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/sidebar-animation-context.tsx": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/dictation/dictation-stream-sender.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/checkout-status-revalidation.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-agent-commands-query.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-agent-form-state.ts": 40.11108314866176,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-aggregated-agents.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-audio-player.native.ts": 54.01285340419657,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-audio-recorder.native.ts": 54.01285340419657,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-audio-recorder.web.ts": 41.636870352361086,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-checkout-diff-query.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-checkout-pr-status-query.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-checkout-status-query.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-client-activity.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-daemon-client.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-dictation-audio-source.native.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-dictation-audio-source.web.ts": 51.40806475365667,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-dictation.ts": 45.04593464629272,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-favicon-status.ts": 51.40806475365667,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-file-drop-zone.ts": 54.01285340419657,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-form-preferences.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-git-diff-query.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-image-attachment-picker.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-recent-paths.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-session-directory.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-settings.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-speechmatics-audio.native.ts": 51.40806475365667,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-speechmatics-audio.web.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-theme-color.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/polyfills/crypto.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/stores/download-store.ts": 46.97020367185636,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/stores/panel-store.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/stores/session-store.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/types/agent-activity.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/types/stream.ts": 21.37296998946232,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/agent-status.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/analytics.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/attempt-guard.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/daemon-endpoints.ts": 49.078001906565625,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/daemons.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/diff-highlighter.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/exhaustive.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/extract-agent-model.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/os-notifications.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/perf-monitor.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/perf.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/syntax-highlighter.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/tauri-daemon-transport.ts": 41.636870352361086,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/tauri-window.ts": 51.40806475365667,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/tool-call-parsers.ts": 23.354755673660954,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/desktop/src-tauri/build.rs": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/desktop/src-tauri/src/lib.rs": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/desktop/src-tauri/src/main.rs": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/relay/src/cloudflare-adapter.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/relay/src/crypto.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/relay/src/encrypted-channel.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/relay/src/node-adapter.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/relay/src/relay.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/client/daemon-client-v2.ts": 45.04593464629272,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/poc-commands/investigate-command-output.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/poc-commands/run-poc.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/activity-curator.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/agent-manager.ts": 51.40806475365667,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/agent-projections.ts": 41.636870352361086,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/agent-registry.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/agent-response-loop.ts": 41.636870352361086,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/audio-utils.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/mcp-server.ts": 38.68380453892877,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/model-resolver.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/openai-realtime-transcription.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/paseo-instructions-tag.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/pcm16-resampler.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/provider-manifest.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/provider-registry.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/providers/claude-agent.ts": 25.53177193914712,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/providers/codex-mcp-agent.ts": 0.0,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/providers/opencode-agent.ts": 49.078001906565625,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/self-identification-instructions.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/stt-debug.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/stt-openai.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/system-prompt.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/tts-manager.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/tts-openai.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/bootstrap.ts": 46.97020367185636,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/config.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/connection-offer.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/daemon-e2e/setup.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/file-download/token-store.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/file-explorer/service.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/index.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/json-utils.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/logger.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/messages.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/pairing-qr.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/paseo-home.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/persisted-config.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/persistence-hooks.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/push/push-service.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/relay-transport.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/session.ts": 36.07901588838887,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/terminal-mcp/terminal-manager.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/terminal-mcp/tmux.ts": 36.07901588838887,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/test-utils/claude-config.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/test-utils/daemon-client.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/test-utils/paseo-daemon.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/utils/diff-highlighter.ts": 54.01285340419657,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/utils/syntax-highlighter.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/voice-conversation-store.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/websocket-session-bridge.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/shared/messages.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/tasks/cli.ts": 32.66995159445722,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/tasks/execution-order.ts": 54.01285340419657,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/tasks/task-store.ts": 41.636870352361086,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/terminal/terminal-manager.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/terminal/terminal.ts": 49.078001906565625,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/test-utils/test-logger.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/utils/checkout-git.ts": 28.814101543666858,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/utils/tool-call-parsers.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/utils/worktree-metadata.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/server/src/utils/worktree.ts": 40.11108314866176,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/website/src/components/butterfly.tsx": 40.11108314866176,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/website/src/router.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/website/src/routes/__root.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/website/src/routes/docs.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/website/src/routes/docs/best-practices.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/website/src/routes/docs/index.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/ripe-dragonfly/packages/website/src/routes/index.tsx": 41.636870352361086,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/babel.config.js": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/e2e/global-setup.ts": 49.078001906565625,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/e2e/helpers/app.ts": 43.275778737637374,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/app/+html.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/app/_layout.tsx": 37.34308237150715,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/app/agent/[id].tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/app/agent/[serverId]/[agentId].tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/app/agent/index.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/app/agents.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/app/index.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/app/pair-scan.tsx": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/app/settings.tsx": 40.11108314866176,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/active-processes.tsx": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/adaptive-modal-sheet.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/add-host-method-modal.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/add-host-modal.tsx": 45.04593464629272,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/agent-activity.tsx": 49.078001906565625,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/agent-form/agent-form-dropdowns.tsx": 18.979811114465704,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/agent-input-area.tsx": 27.112097130485,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/agent-list.tsx": 54.01285340419657,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/agent-status-bar.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/agent-stream-view.tsx": 25.53177193914712,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/artifact-drawer.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/audio-debug-notice.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/command-autocomplete.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/connection-status.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/dictation-controls.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/dictation-status-notice.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/diff-viewer.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/download-toast.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/empty-state.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/explorer-sidebar.tsx": 36.07901588838887,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/file-drop-zone.tsx": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/file-explorer-pane.tsx": 20.74996702312105,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/git-diff-pane.tsx": 31.641154806588556,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/headers/back-header.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/headers/menu-header.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/headers/screen-header.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/home-footer.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/icons/claude-icon.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/icons/codex-icon.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/message-input.tsx": 28.814101543666858,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/message.tsx": 30.658097730535626,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/mode-selector-modal.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/multi-daemon-session-host.tsx": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/pair-link-modal.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/realtime-controls.tsx": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/sliding-sidebar.tsx": 36.07901588838887,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/tool-call-details.tsx": 49.078001906565625,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/tool-call-preview.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/tool-call-sheet.tsx": 49.078001906565625,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/ui/dropdown-menu-floating.ts": 54.01285340419657,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/ui/dropdown-menu.tsx": 38.68380453892877,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/voice-button.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/volume-meter.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/components/welcome-screen.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/constants/layout.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/contexts/daemon-connections-context.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/contexts/daemon-registry-context.tsx": 30.658097730535626,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/contexts/explorer-sidebar-animation-context.tsx": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/contexts/horizontal-scroll-context.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/contexts/realtime-context.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/contexts/session-context.tsx": 14.387836915757102,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/contexts/sidebar-animation-context.tsx": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/dictation/dictation-stream-sender.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/checkout-status-revalidation.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-agent-commands-query.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-agent-form-state.ts": 40.11108314866176,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-aggregated-agents.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-audio-player.native.ts": 54.01285340419657,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-audio-recorder.native.ts": 54.01285340419657,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-audio-recorder.web.ts": 41.636870352361086,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-checkout-diff-query.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-checkout-pr-status-query.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-checkout-status-query.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-client-activity.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-daemon-client.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-dictation-audio-source.native.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-dictation-audio-source.web.ts": 46.97020367185636,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-dictation.ts": 45.04593464629272,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-favicon-status.ts": 51.40806475365667,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-file-drop-zone.ts": 54.01285340419657,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-form-preferences.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-git-diff-query.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-image-attachment-picker.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-recent-paths.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-session-directory.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-settings.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-speechmatics-audio.native.ts": 51.40806475365667,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-speechmatics-audio.web.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-theme-color.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/polyfills/crypto.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/screens/agent/agent-ready-screen.tsx": 24.05688266995011,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/screens/agent/draft-agent-screen.tsx": 25.53177193914712,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/screens/agent/legacy-agent-id-screen.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/stores/download-store.ts": 46.97020367185636,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/stores/panel-store.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/stores/session-store.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/types/agent-activity.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/types/stream.ts": 21.37296998946232,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/agent-status.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/analytics.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/attempt-guard.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/daemon-endpoints.ts": 49.078001906565625,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/daemons.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/diff-highlighter.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/exhaustive.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/extract-agent-model.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/os-notifications.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/perf-monitor.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/perf.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/syntax-highlighter.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/tauri-daemon-transport.ts": 41.636870352361086,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/tauri-window.ts": 51.40806475365667,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/test-daemon-connection.ts": 49.078001906565625,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/app/src/utils/tool-call-parsers.ts": 23.354755673660954,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/desktop/src-tauri/build.rs": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/desktop/src-tauri/src/lib.rs": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/desktop/src-tauri/src/main.rs": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/relay/src/cloudflare-adapter.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/relay/src/crypto.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/relay/src/encrypted-channel.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/relay/src/node-adapter.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/relay/src/relay.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/client/daemon-client-v2.ts": 45.04593464629272,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/poc-commands/investigate-command-output.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/poc-commands/run-poc.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/activity-curator.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/agent-manager.ts": 51.40806475365667,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/agent-projections.ts": 41.636870352361086,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/agent-response-loop.ts": 41.636870352361086,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/agent-storage.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/audio-utils.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/mcp-server.ts": 38.68380453892877,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/model-resolver.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/openai-realtime-transcription.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/paseo-instructions-tag.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/pcm16-resampler.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/provider-manifest.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/provider-registry.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/providers/claude-agent.ts": 25.53177193914712,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/providers/codex-mcp-agent.ts": 0.0,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/providers/opencode-agent.ts": 49.078001906565625,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/self-identification-instructions.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/stt-debug.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/stt-openai.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/system-prompt.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/tts-manager.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/tts-openai.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/bootstrap.ts": 46.97020367185636,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/config.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/connection-offer.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/daemon-e2e/setup.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/file-download/token-store.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/file-explorer/service.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/index.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/json-utils.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/logger.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/messages.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/pairing-qr.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/paseo-home.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/persisted-config.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/persistence-hooks.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/push/push-service.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/relay-transport.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/session.ts": 33.74895304129781,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/terminal-mcp/terminal-manager.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/terminal-mcp/tmux.ts": 36.07901588838887,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/test-utils/claude-config.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/test-utils/daemon-client.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/test-utils/paseo-daemon.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/utils/diff-highlighter.ts": 54.01285340419657,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/utils/syntax-highlighter.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/voice-conversation-store.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/server/websocket-session-bridge.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/shared/messages.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/tasks/cli.ts": 32.66995159445722,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/tasks/execution-order.ts": 54.01285340419657,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/tasks/task-store.ts": 41.636870352361086,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/terminal/terminal-manager.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/terminal/terminal.ts": 49.078001906565625,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/test-utils/test-logger.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/utils/checkout-git.ts": 28.814101543666858,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/utils/tool-call-parsers.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/utils/worktree-metadata.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/server/src/utils/worktree.ts": 40.11108314866176,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/website/src/components/butterfly.tsx": 40.11108314866176,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/website/src/router.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/website/src/routes/__root.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/website/src/routes/docs.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/website/src/routes/docs/best-practices.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/website/src/routes/docs/index.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/.paseo/worktrees/shallow-lynx/packages/website/src/routes/index.tsx": 41.636870352361086,
"/Users/moboudra/dev/paseo/packages/app/app.config.js": 100.0,
"/Users/moboudra/dev/paseo/packages/app/babel.config.js": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/app/e2e/agent-details-sheet.spec.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/e2e/create-agent.spec.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/e2e/daemon-connectivity.spec.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/e2e/delete-agent-persists.spec.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/e2e/fixtures.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts": 49.078001906565625,
"/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts": 43.275778737637374,
"/Users/moboudra/dev/paseo/packages/app/e2e/helpers/workspace.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/e2e/host-onboarding-direct.spec.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/e2e/host-removal.spec.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/e2e/host-selection.spec.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/e2e/manual-host-port.spec.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/e2e/migration-wsurl-to-hostport.spec.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/e2e/pairing-offer-parsing.spec.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/e2e/permission-prompt.spec.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/e2e/preserve-prompt-on-error.spec.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/e2e/relay-fallback-connect.spec.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/e2e/sidebar-new-agent-clones-selected.spec.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/eslint.config.js": 100.0,
"/Users/moboudra/dev/paseo/packages/app/index.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/metro.config.js": 100.0,
"/Users/moboudra/dev/paseo/packages/app/playwright.config.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/plugins/with-android-product-flavors.js": 100.0,
"/Users/moboudra/dev/paseo/packages/app/react-native-web.d.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/scripts/reset-project.js": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/app/+html.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx": 37.34308237150715,
"/Users/moboudra/dev/paseo/packages/app/src/app/agent/[id].tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/app/src/app/agent/[serverId]/[agentId].tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/app/src/app/agent/index.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/app/src/app/agents.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/packages/app/src/app/audio-test.tsx": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/app/index.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/app/src/app/pair-scan.tsx": 69.34190226946438,
"/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx": 40.11108314866176,
"/Users/moboudra/dev/paseo/packages/app/src/components/active-processes.tsx": 56.965919217628894,
"/Users/moboudra/dev/paseo/packages/app/src/components/adaptive-modal-sheet.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/packages/app/src/components/add-host-method-modal.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx": 45.04593464629272,
"/Users/moboudra/dev/paseo/packages/app/src/components/agent-activity.tsx": 49.078001906565625,
"/Users/moboudra/dev/paseo/packages/app/src/components/agent-details-sheet.tsx": 69.34190226946438,
"/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx": 18.979811114465704,
"/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx": 27.112097130485,
"/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx": 51.40806475365667,
"/Users/moboudra/dev/paseo/packages/app/src/components/agent-status-bar.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx": 25.53177193914712,
"/Users/moboudra/dev/paseo/packages/app/src/components/artifact-drawer.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/packages/app/src/components/audio-debug-notice.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/packages/app/src/components/command-autocomplete.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/packages/app/src/components/connection-status.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/packages/app/src/components/dictation-controls.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/packages/app/src/components/dictation-status-notice.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/packages/app/src/components/diff-viewer.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/packages/app/src/components/download-toast.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/packages/app/src/components/empty-state.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx": 36.07901588838887,
"/Users/moboudra/dev/paseo/packages/app/src/components/file-drop-zone.tsx": 69.34190226946438,
"/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx": 20.74996702312105,
"/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx": 31.641154806588556,
"/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx": 46.97020367185636,
"/Users/moboudra/dev/paseo/packages/app/src/components/headers/back-header.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/packages/app/src/components/headers/menu-header.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/packages/app/src/components/headers/screen-header.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/app/src/components/home-footer.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/packages/app/src/components/icons/claude-icon.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/app/src/components/icons/codex-icon.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx": 28.814101543666858,
"/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx": 30.658097730535626,
"/Users/moboudra/dev/paseo/packages/app/src/components/mode-selector-modal.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/packages/app/src/components/multi-daemon-session-host.tsx": 56.965919217628894,
"/Users/moboudra/dev/paseo/packages/app/src/components/pair-link-modal.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/packages/app/src/components/realtime-controls.tsx": 69.34190226946438,
"/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx": 36.07901588838887,
"/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-details.tsx": 49.078001906565625,
"/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-preview.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-preview.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-sheet.tsx": 49.078001906565625,
"/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu-floating.ts": 54.01285340419657,
"/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx": 38.68380453892877,
"/Users/moboudra/dev/paseo/packages/app/src/components/voice-button.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/packages/app/src/components/volume-meter.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/packages/app/src/components/welcome-screen.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/packages/app/src/config/audio-debug.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/constants/layout.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/packages/app/src/constants/theme.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-connections-context.tsx": 60.37498351156052,
"/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx": 30.658097730535626,
"/Users/moboudra/dev/paseo/packages/app/src/contexts/explorer-sidebar-animation-context.tsx": 56.965919217628894,
"/Users/moboudra/dev/paseo/packages/app/src/contexts/horizontal-scroll-context.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx": 14.387836915757102,
"/Users/moboudra/dev/paseo/packages/app/src/contexts/sidebar-animation-context.tsx": 56.965919217628894,
"/Users/moboudra/dev/paseo/packages/app/src/contexts/toast-context.tsx": 56.965919217628894,
"/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/checkout-status-revalidation.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-commands-query.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts": 40.11108314866176,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-aggregated-agents.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.d.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts": 54.01285340419657,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.web.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.d.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts": 54.01285340419657,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts": 41.636870352361086,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-diff-query.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-pr-status-query.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-client-activity.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-color-scheme.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-color-scheme.web.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-daemon-client.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.d.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.native.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.types.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts": 46.97020367185636,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.d.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.shared.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts": 45.04593464629272,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-favicon-status.ts": 51.40806475365667,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-file-drop-zone.ts": 54.01285340419657,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-form-preferences.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-git-diff-query.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-image-attachment-picker.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-recent-paths.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-session-directory.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-settings.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.d.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts": 51.40806475365667,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.web.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/packages/app/src/hooks/use-theme-color.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/app/src/polyfills/crypto.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx": 23.354755673660954,
"/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx": 25.53177193914712,
"/Users/moboudra/dev/paseo/packages/app/src/screens/agent/legacy-agent-id-screen.tsx": 64.40705077183343,
"/Users/moboudra/dev/paseo/packages/app/src/stores/create-flow-store.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts": 46.97020367185636,
"/Users/moboudra/dev/paseo/packages/app/src/stores/draft-store.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/packages/app/src/styles/markdown-styles.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/styles/theme.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/styles/unistyles.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/types/agent-activity.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/app/src/types/agent-directory.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/types/shared.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/types/stream.harness.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts": 21.37296998946232,
"/Users/moboudra/dev/paseo/packages/app/src/utils/agent-display-info.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/app/src/utils/agent-status.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/packages/app/src/utils/analytics.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/app/src/utils/attempt-guard.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/app/src/utils/daemon-endpoints.ts": 49.078001906565625,
"/Users/moboudra/dev/paseo/packages/app/src/utils/daemons.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/packages/app/src/utils/exhaustive.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/app/src/utils/extract-agent-model.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/utils/extract-agent-model.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/app/src/utils/navigation-timing.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/utils/os-notifications.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/packages/app/src/utils/perf-monitor.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/packages/app/src/utils/perf.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/packages/app/src/utils/shorten-path.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/utils/syntax-highlighter.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts": 41.636870352361086,
"/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-window.ts": 51.40806475365667,
"/Users/moboudra/dev/paseo/packages/app/src/utils/test-daemon-connection.ts": 49.078001906565625,
"/Users/moboudra/dev/paseo/packages/app/src/utils/time.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts": 23.354755673660954,
"/Users/moboudra/dev/paseo/packages/app/vitest.config.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/desktop/src-tauri/build.rs": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/desktop/src-tauri/src/lib.rs": 69.34190226946438,
"/Users/moboudra/dev/paseo/packages/desktop/src-tauri/src/main.rs": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/relay/src/cloudflare-adapter.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/packages/relay/src/crypto.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/relay/src/crypto.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/packages/relay/src/index.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/packages/relay/src/relay.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/relay/src/types.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/scripts/dev-runner.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/scripts/process-conversation.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-agents.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-basic-auth.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-bearer.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-http-headers.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-http.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-servers.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/scripts/verify-codex-mcp-config.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts": 45.04593464629272,
"/Users/moboudra/dev/paseo/packages/server/src/poc-commands/commands-poc.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/poc-commands/investigate-command-output.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/packages/server/src/poc-commands/run-poc.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts": 51.40806475365667,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-mcp.e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts": 41.636870352361086,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts": 41.636870352361086,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-sdk-types.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/audio-utils.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/dictation-debug.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/llm-openai.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts": 38.68380453892877,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-catalog.e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-resolver.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-resolver.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/opencode-reasoning.e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/orchestrator-instructions.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/orchestrator.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/paseo-instructions-tag.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/paseo-instructions-tag.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/pcm16-resampler.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-manifest.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-registry.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.history.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts": 25.53177193914712,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent-commands.e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.commands.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.paseo-instructions.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.resume-errors.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts": 0.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts": 49.078001906565625,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/recordings-debug.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/self-identification-instructions.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-debug.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-manager.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-openai.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/system-prompt.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-debug.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-manager.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-openai.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/wait-for-agent-tracker.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/agent/wait-for-agent-tracker.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.smoke.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts": 46.97020367185636,
"/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/config.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/packages/server/src/server/connection-offer.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-configs.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/file-download.e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/images.e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/models.e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/setup.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/two-cycle-resume.e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/wait-for-idle.e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/file-download/token-store.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/server/src/server/file-explorer/service.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/packages/server/src/server/index.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/packages/server/src/server/json-utils.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/server/src/server/logger.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/logger.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/packages/server/src/server/messages.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/messages.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/packages/server/src/server/pairing-qr.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/packages/server/src/server/paseo-home.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/packages/server/src/server/persisted-config.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/packages/server/src/server/push/push-service.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/server/src/server/push/token-store.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/relay-transport.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/packages/server/src/server/session.ts": 33.74895304129781,
"/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/index.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/server.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts": 36.07901588838887,
"/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/claude-auth.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/claude-config.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/daemon-client.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/daemon-test-context.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/index.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/paseo-daemon.ts": 64.40705077183343,
"/Users/moboudra/dev/paseo/packages/server/src/server/types.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts": 54.01285340419657,
"/Users/moboudra/dev/paseo/packages/server/src/server/utils/syntax-highlighter.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversation-store.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversations.e2e.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/websocket-server.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts": 69.34190226946438,
"/Users/moboudra/dev/paseo/packages/server/src/shared/agent-lifecycle.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/shared/messages.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts": 32.66995159445722,
"/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts": 54.01285340419657,
"/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts": 41.636870352361086,
"/Users/moboudra/dev/paseo/packages/server/src/tasks/types.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.ts": 75.70403237682834,
"/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.ts": 49.078001906565625,
"/Users/moboudra/dev/paseo/packages/server/src/test-utils/test-logger.ts": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/server/src/test-utils/vitest-setup.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/utils/checkout-git.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/utils/checkout-git.ts": 23.354755673660954,
"/Users/moboudra/dev/paseo/packages/server/src/utils/path.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/utils/tool-call-parsers.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/utils/tool-call-parsers.ts": 60.37498351156052,
"/Users/moboudra/dev/paseo/packages/server/src/utils/worktree-metadata.ts": 56.965919217628894,
"/Users/moboudra/dev/paseo/packages/server/src/utils/worktree.test.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/server/src/utils/worktree.ts": 31.641154806588556,
"/Users/moboudra/dev/paseo/packages/server/vitest.config.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/website/src/components/butterfly.tsx": 40.11108314866176,
"/Users/moboudra/dev/paseo/packages/website/src/routeTree.gen.ts": 100.0,
"/Users/moboudra/dev/paseo/packages/website/src/router.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/website/src/routes/__root.tsx": 75.70403237682834,
"/Users/moboudra/dev/paseo/packages/website/src/routes/docs.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/website/src/routes/docs/best-practices.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/website/src/routes/docs/index.tsx": 84.67095113473219,
"/Users/moboudra/dev/paseo/packages/website/src/routes/index.tsx": 41.636870352361086,
"/Users/moboudra/dev/paseo/packages/website/vite.config.ts": 100.0,
"/Users/moboudra/dev/paseo/scripts/codex-claude-test.ts": 100.0,
"/Users/moboudra/dev/paseo/scripts/codex-cli-approval-test.mjs": 100.0,
"/Users/moboudra/dev/paseo/scripts/codex-file-read-debug.ts": 100.0,
"/Users/moboudra/dev/paseo/scripts/codex-full-access-ipc-repro.smoke.mjs": 100.0,
"/Users/moboudra/dev/paseo/scripts/codex-mcp-elicitation-test.ts": 100.0,
"/Users/moboudra/dev/paseo/scripts/codex-sdk-permission-test.mjs": 100.0,
"/Users/moboudra/dev/paseo/scripts/codex-websearch-debug.ts": 100.0,
"/Users/moboudra/dev/paseo/scripts/mcp-create-codex-check.ts": 100.0,
"/Users/moboudra/dev/paseo/scripts/repro-ipc-listen.js": 100.0,
"[agentId].tsx": 27.94672987236956,
"[id].tsx": 84.67095113473219,
"__root.tsx": 75.70403237682834,
"_layout.tsx": 37.34308237150715,
"active-processes.tsx": 56.965919217628894,
"activity-curator.test.ts": 100.0,
"activity-curator.ts": 60.37498351156052,
"adaptive-modal-sheet.tsx": 64.40705077183343,
"add-host-method-modal.tsx": 60.37498351156052,
"add-host-modal.tsx": 45.04593464629272,
"agent-activity.ts": 84.67095113473219,
"agent-activity.tsx": 49.078001906565625,
"agent-basics.e2e.test.ts": 100.0,
"agent-configs.ts": 100.0,
"agent-details-sheet.spec.ts": 100.0,
"agent-details-sheet.tsx": 69.34190226946438,
"agent-directory.ts": 100.0,
"agent-display-info.ts": 100.0,
"agent-form-dropdowns.tsx": 19.554262705039893,
"agent-grouping.test.ts": 100.0,
"agent-grouping.ts": 84.67095113473219,
"agent-input-area.tsx": 27.112097130485,
"agent-lifecycle.ts": 100.0,
"agent-list.tsx": 54.01285340419657,
"agent-manager.test.ts": 100.0,
"agent-manager.ts": 51.40806475365667,
"agent-mcp.e2e.test.ts": 100.0,
"agent-operations.e2e.test.ts": 100.0,
"agent-projections.test.ts": 100.0,
"agent-projections.ts": 41.636870352361086,
"agent-ready-screen.tsx": 23.354755673660954,
"agent-registry.ts": 75.70403237682834,
"agent-response-loop.e2e.test.ts": 100.0,
"agent-response-loop.test.ts": 100.0,
"agent-response-loop.ts": 41.636870352361086,
"agent-sdk-types.ts": 100.0,
"agent-self-identification.e2e.test.ts": 100.0,
"agent-status-bar.tsx": 64.40705077183343,
"agent-status.ts": 75.70403237682834,
"agent-storage.test.ts": 100.0,
"agent-storage.ts": 69.34190226946438,
"agent-stream-view.tsx": 25.53177193914712,
"agent-thought-content.tsx": 69.34190226946438,
"agents.tsx": 64.40705077183343,
"analytics.ts": 84.67095113473219,
"app.config.js": 100.0,
"app.ts": 43.275778737637374,
"artifact-drawer.tsx": 75.70403237682834,
"attempt-guard.ts": 84.67095113473219,
"audio-debug-notice.tsx": 60.37498351156052,
"audio-debug.ts": 100.0,
"audio-test.tsx": 100.0,
"audio-utils.ts": 64.40705077183343,
"babel.config.js": 84.67095113473219,
"back-header.tsx": 75.70403237682834,
"best-practices.tsx": 84.67095113473219,
"bootstrap.smoke.test.ts": 100.0,
"bootstrap.ts": 46.97020367185636,
"build.rs": 84.67095113473219,
"butterfly.tsx": 40.11108314866176,
"checkout-git.test.ts": 100.0,
"checkout-git.ts": 28.814101543666858,
"checkout-ship.e2e.test.ts": 100.0,
"checkout-ship.spec.ts": 100.0,
"checkout-status-revalidation.ts": 75.70403237682834,
"claude-agent-commands.e2e.test.ts": 100.0,
"claude-agent-commands.test.ts": 100.0,
"claude-agent.history.test.ts": 100.0,
"claude-agent.test.ts": 100.0,
"claude-agent.ts": 25.53177193914712,
"claude-auth.ts": 100.0,
"claude-config.ts": 84.67095113473219,
"claude-icon.tsx": 84.67095113473219,
"claude-sdk-behavior.test.ts": 100.0,
"cli.ts": 32.66995159445722,
"client-activity.e2e.test.ts": 100.0,
"cloudflare-adapter.ts": 69.34190226946438,
"codex-claude-test.ts": 100.0,
"codex-cli-approval-test.mjs": 100.0,
"codex-cli-full-access-ipc.test.ts": 100.0,
"codex-file-read-debug.ts": 100.0,
"codex-full-access-ipc-repro.smoke.mjs": 100.0,
"codex-icon.tsx": 84.67095113473219,
"codex-mcp-agent-commands.e2e.test.ts": 100.0,
"codex-mcp-agent.commands.test.ts": 100.0,
"codex-mcp-agent.paseo-instructions.test.ts": 100.0,
"codex-mcp-agent.resume-errors.test.ts": 100.0,
"codex-mcp-agent.test.ts": 100.0,
"codex-mcp-agent.ts": 0.0,
"codex-mcp-elicitation-test.ts": 100.0,
"codex-rollout-parsing.test.ts": 100.0,
"codex-sdk-permission-test.mjs": 100.0,
"codex-websearch-debug.ts": 100.0,
"command-autocomplete.tsx": 64.40705077183343,
"commands-poc.test.ts": 100.0,
"config.ts": 69.34190226946438,
"connection-offer.e2e.test.ts": 100.0,
"connection-offer.ts": 56.965919217628894,
"connection-status.tsx": 75.70403237682834,
"conversation-selector.tsx": 54.01285340419657,
"create-agent.spec.ts": 100.0,
"create-flow-store.ts": 100.0,
"crypto.test.ts": 100.0,
"crypto.ts": 84.67095113473219,
"daemon-client-v2.e2e.test.ts": 100.0,
"daemon-client-v2.test.ts": 100.0,
"daemon-client-v2.ts": 45.04593464629272,
"daemon-client.ts": 84.67095113473219,
"daemon-connections-context.tsx": 60.37498351156052,
"daemon-connectivity.spec.ts": 100.0,
"daemon-endpoints.ts": 49.078001906565625,
"daemon-registry-context.tsx": 30.658097730535626,
"daemon-restart-resume.e2e.test.ts": 100.0,
"daemon-test-context.ts": 100.0,
"daemons.ts": 75.70403237682834,
"delete-agent-persists.spec.ts": 100.0,
"dev-runner.ts": 100.0,
"dictation-controls.tsx": 64.40705077183343,
"dictation-debug.ts": 84.67095113473219,
"dictation-status-notice.tsx": 64.40705077183343,
"dictation-stream-sender.test.ts": 100.0,
"dictation-stream-sender.ts": 75.70403237682834,
"dictation-web.spec.ts": 100.0,
"diff-highlighter.test.ts": 100.0,
"diff-highlighter.ts": 54.01285340419657,
"diff-viewer.tsx": 75.70403237682834,
"docs.tsx": 84.67095113473219,
"download-store.ts": 46.97020367185636,
"download-toast.tsx": 60.37498351156052,
"draft-agent-screen.tsx": 25.53177193914712,
"draft-store.ts": 100.0,
"dropdown-menu-floating.ts": 54.01285340419657,
"dropdown-menu.tsx": 38.68380453892877,
"e2e.test.ts": 100.0,
"empty-state.tsx": 75.70403237682834,
"encrypted-channel.test.ts": 100.0,
"encrypted-channel.ts": 69.34190226946438,
"eslint.config.js": 100.0,
"execution-order.test.ts": 100.0,
"execution-order.ts": 54.01285340419657,
"exhaustive.ts": 84.67095113473219,
"explorer-sidebar-animation-context.tsx": 56.965919217628894,
"explorer-sidebar.tsx": 36.07901588838887,
"extract-agent-model.test.ts": 100.0,
"extract-agent-model.ts": 84.67095113473219,
"file-download.e2e.test.ts": 100.0,
"file-drop-zone.tsx": 69.34190226946438,
"file-explorer-pane.tsx": 20.74996702312105,
"filesystem.e2e.test.ts": 100.0,
"fixtures.ts": 100.0,
"git-diff-pane.tsx": 31.641154806588556,
"git-operations.e2e.test.ts": 100.0,
"global-setup.ts": 49.078001906565625,
"grouped-agent-list.tsx": 46.97020367185636,
"home-footer.tsx": 60.37498351156052,
"home-header.tsx": 64.40705077183343,
"horizontal-scroll-context.tsx": 64.40705077183343,
"host-onboarding-direct.spec.ts": 100.0,
"host-removal.spec.ts": 100.0,
"host-selection.spec.ts": 100.0,
"images.e2e.test.ts": 100.0,
"index.ts": 100.0,
"index.tsx": 30.658097730535626,
"investigate-command-output.ts": 64.40705077183343,
"json-utils.ts": 84.67095113473219,
"layout.ts": 69.34190226946438,
"legacy-agent-id-screen.tsx": 64.40705077183343,
"lib.rs": 69.34190226946438,
"live-relay.e2e.test.ts": 100.0,
"llm-openai.ts": 100.0,
"logger.test.ts": 100.0,
"logger.ts": 69.34190226946438,
"main.rs": 84.67095113473219,
"manual-host-port.spec.ts": 100.0,
"markdown-styles.ts": 100.0,
"mcp-create-codex-check.ts": 100.0,
"mcp-server.test.ts": 100.0,
"mcp-server.ts": 38.68380453892877,
"menu-header.tsx": 60.37498351156052,
"message-input.tsx": 29.716885781024914,
"message.tsx": 30.658097730535626,
"messages.test.ts": 100.0,
"messages.ts": 84.67095113473219,
"metro.config.js": 100.0,
"migration-wsurl-to-hostport.spec.ts": 100.0,
"mode-selector-modal.tsx": 75.70403237682834,
"model-catalog.e2e.test.ts": 100.0,
"model-resolver.test.ts": 100.0,
"model-resolver.ts": 75.70403237682834,
"models.e2e.test.ts": 100.0,
"multi-daemon-session-host.tsx": 56.965919217628894,
"navigation-timing.ts": 100.0,
"node-adapter.ts": 69.34190226946438,
"openai-realtime-transcription.ts": 75.70403237682834,
"opencode-agent.test.ts": 100.0,
"opencode-agent.ts": 49.078001906565625,
"opencode-reasoning.e2e.test.ts": 100.0,
"orchestration.e2e.test.ts": 100.0,
"orchestrator-instructions.ts": 100.0,
"orchestrator-messages-view.tsx": 75.70403237682834,
"orchestrator.ts": 100.0,
"orchestrator.tsx": 56.965919217628894,
"os-notifications.ts": 64.40705077183343,
"packages/app/app.config.js": 100.0,
"packages/app/babel.config.js": 84.67095113473219,
"packages/app/e2e/agent-details-sheet.spec.ts": 100.0,
"packages/app/e2e/checkout-ship.spec.ts": 100.0,
"packages/app/e2e/create-agent.spec.ts": 100.0,
"packages/app/e2e/daemon-connectivity.spec.ts": 100.0,
"packages/app/e2e/delete-agent-persists.spec.ts": 100.0,
"packages/app/e2e/dictation-web.spec.ts": 100.0,
"packages/app/e2e/fixtures.ts": 100.0,
"packages/app/e2e/global-setup.ts": 49.078001906565625,
"packages/app/e2e/helpers/app.ts": 43.275778737637374,
"packages/app/e2e/helpers/workspace.ts": 100.0,
"packages/app/e2e/host-onboarding-direct.spec.ts": 100.0,
"packages/app/e2e/host-removal.spec.ts": 100.0,
"packages/app/e2e/host-selection.spec.ts": 100.0,
"packages/app/e2e/manual-host-port.spec.ts": 100.0,
"packages/app/e2e/migration-wsurl-to-hostport.spec.ts": 100.0,
"packages/app/e2e/pairing-offer-parsing.spec.ts": 100.0,
"packages/app/e2e/permission-prompt.spec.ts": 100.0,
"packages/app/e2e/preserve-prompt-on-error.spec.ts": 100.0,
"packages/app/e2e/relay-fallback-connect.spec.ts": 100.0,
"packages/app/e2e/sidebar-new-agent-clones-selected.spec.ts": 100.0,
"packages/app/eslint.config.js": 100.0,
"packages/app/index.ts": 100.0,
"packages/app/metro.config.js": 100.0,
"packages/app/playwright.config.ts": 100.0,
"packages/app/plugins/with-android-product-flavors.js": 100.0,
"packages/app/react-native-web.d.ts": 100.0,
"packages/app/scripts/reset-project.js": 100.0,
"packages/app/src/app/+html.tsx": 75.70403237682834,
"packages/app/src/app/_layout.tsx": 37.34308237150715,
"packages/app/src/app/agent/[id].tsx": 84.67095113473219,
"packages/app/src/app/agent/[serverId]/[agentId].tsx": 84.67095113473219,
"packages/app/src/app/agent/index.tsx": 84.67095113473219,
"packages/app/src/app/agents.tsx": 64.40705077183343,
"packages/app/src/app/audio-test.tsx": 100.0,
"packages/app/src/app/index.tsx": 84.67095113473219,
"packages/app/src/app/pair-scan.tsx": 69.34190226946438,
"packages/app/src/app/settings.tsx": 40.11108314866176,
"packages/app/src/components/active-processes.tsx": 56.965919217628894,
"packages/app/src/components/adaptive-modal-sheet.tsx": 64.40705077183343,
"packages/app/src/components/add-host-method-modal.tsx": 60.37498351156052,
"packages/app/src/components/add-host-modal.tsx": 45.04593464629272,
"packages/app/src/components/agent-activity.tsx": 49.078001906565625,
"packages/app/src/components/agent-details-sheet.tsx": 69.34190226946438,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx": 18.979811114465704,
"packages/app/src/components/agent-input-area.tsx": 27.112097130485,
"packages/app/src/components/agent-list.tsx": 51.40806475365667,
"packages/app/src/components/agent-status-bar.tsx": 64.40705077183343,
"packages/app/src/components/agent-stream-view.tsx": 25.53177193914712,
"packages/app/src/components/artifact-drawer.tsx": 75.70403237682834,
"packages/app/src/components/audio-debug-notice.tsx": 60.37498351156052,
"packages/app/src/components/command-autocomplete.tsx": 64.40705077183343,
"packages/app/src/components/connection-status.tsx": 75.70403237682834,
"packages/app/src/components/dictation-controls.tsx": 64.40705077183343,
"packages/app/src/components/dictation-status-notice.tsx": 64.40705077183343,
"packages/app/src/components/diff-viewer.tsx": 75.70403237682834,
"packages/app/src/components/download-toast.tsx": 60.37498351156052,
"packages/app/src/components/empty-state.tsx": 75.70403237682834,
"packages/app/src/components/explorer-sidebar.tsx": 36.07901588838887,
"packages/app/src/components/file-drop-zone.tsx": 69.34190226946438,
"packages/app/src/components/file-explorer-pane.tsx": 20.74996702312105,
"packages/app/src/components/git-diff-pane.tsx": 31.641154806588556,
"packages/app/src/components/grouped-agent-list.tsx": 46.97020367185636,
"packages/app/src/components/headers/back-header.tsx": 75.70403237682834,
"packages/app/src/components/headers/menu-header.tsx": 60.37498351156052,
"packages/app/src/components/headers/screen-header.tsx": 84.67095113473219,
"packages/app/src/components/home-footer.tsx": 60.37498351156052,
"packages/app/src/components/icons/claude-icon.tsx": 84.67095113473219,
"packages/app/src/components/icons/codex-icon.tsx": 84.67095113473219,
"packages/app/src/components/message-input.tsx": 28.814101543666858,
"packages/app/src/components/message.tsx": 30.658097730535626,
"packages/app/src/components/mode-selector-modal.tsx": 75.70403237682834,
"packages/app/src/components/multi-daemon-session-host.tsx": 56.965919217628894,
"packages/app/src/components/pair-link-modal.tsx": 60.37498351156052,
"packages/app/src/components/realtime-controls.tsx": 69.34190226946438,
"packages/app/src/components/sliding-sidebar.tsx": 36.07901588838887,
"packages/app/src/components/tool-call-details.tsx": 49.078001906565625,
"packages/app/src/components/tool-call-preview.test.ts": 100.0,
"packages/app/src/components/tool-call-preview.ts": 84.67095113473219,
"packages/app/src/components/tool-call-sheet.tsx": 49.078001906565625,
"packages/app/src/components/ui/dropdown-menu-floating.ts": 54.01285340419657,
"packages/app/src/components/ui/dropdown-menu.tsx": 38.68380453892877,
"packages/app/src/components/voice-button.tsx": 60.37498351156052,
"packages/app/src/components/volume-meter.tsx": 60.37498351156052,
"packages/app/src/components/welcome-screen.tsx": 75.70403237682834,
"packages/app/src/config/audio-debug.ts": 100.0,
"packages/app/src/constants/layout.ts": 69.34190226946438,
"packages/app/src/constants/theme.ts": 100.0,
"packages/app/src/contexts/daemon-connections-context.tsx": 60.37498351156052,
"packages/app/src/contexts/daemon-registry-context.tsx": 30.658097730535626,
"packages/app/src/contexts/explorer-sidebar-animation-context.tsx": 56.965919217628894,
"packages/app/src/contexts/horizontal-scroll-context.tsx": 64.40705077183343,
"packages/app/src/contexts/realtime-context.tsx": 64.40705077183343,
"packages/app/src/contexts/session-context.tsx": 14.387836915757102,
"packages/app/src/contexts/sidebar-animation-context.tsx": 56.965919217628894,
"packages/app/src/contexts/toast-context.tsx": 56.965919217628894,
"packages/app/src/dictation/dictation-stream-sender.test.ts": 100.0,
"packages/app/src/dictation/dictation-stream-sender.ts": 75.70403237682834,
"packages/app/src/hooks/checkout-status-revalidation.ts": 75.70403237682834,
"packages/app/src/hooks/use-agent-commands-query.ts": 75.70403237682834,
"packages/app/src/hooks/use-agent-form-state.test.ts": 100.0,
"packages/app/src/hooks/use-agent-form-state.ts": 40.11108314866176,
"packages/app/src/hooks/use-aggregated-agents.ts": 60.37498351156052,
"packages/app/src/hooks/use-audio-player.d.ts": 100.0,
"packages/app/src/hooks/use-audio-player.native.ts": 54.01285340419657,
"packages/app/src/hooks/use-audio-player.web.ts": 100.0,
"packages/app/src/hooks/use-audio-recorder.d.ts": 100.0,
"packages/app/src/hooks/use-audio-recorder.native.ts": 54.01285340419657,
"packages/app/src/hooks/use-audio-recorder.web.ts": 41.636870352361086,
"packages/app/src/hooks/use-checkout-diff-query.ts": 56.965919217628894,
"packages/app/src/hooks/use-checkout-pr-status-query.ts": 75.70403237682834,
"packages/app/src/hooks/use-checkout-status-query.test.ts": 100.0,
"packages/app/src/hooks/use-checkout-status-query.ts": 56.965919217628894,
"packages/app/src/hooks/use-client-activity.ts": 56.965919217628894,
"packages/app/src/hooks/use-color-scheme.ts": 100.0,
"packages/app/src/hooks/use-color-scheme.web.ts": 100.0,
"packages/app/src/hooks/use-daemon-client.ts": 69.34190226946438,
"packages/app/src/hooks/use-dictation-audio-source.d.ts": 100.0,
"packages/app/src/hooks/use-dictation-audio-source.native.ts": 69.34190226946438,
"packages/app/src/hooks/use-dictation-audio-source.types.ts": 100.0,
"packages/app/src/hooks/use-dictation-audio-source.web.ts": 46.97020367185636,
"packages/app/src/hooks/use-dictation.d.ts": 100.0,
"packages/app/src/hooks/use-dictation.shared.ts": 100.0,
"packages/app/src/hooks/use-dictation.ts": 45.04593464629272,
"packages/app/src/hooks/use-favicon-status.ts": 51.40806475365667,
"packages/app/src/hooks/use-file-drop-zone.ts": 54.01285340419657,
"packages/app/src/hooks/use-form-preferences.ts": 75.70403237682834,
"packages/app/src/hooks/use-git-diff-query.ts": 56.965919217628894,
"packages/app/src/hooks/use-image-attachment-picker.ts": 69.34190226946438,
"packages/app/src/hooks/use-recent-paths.ts": 60.37498351156052,
"packages/app/src/hooks/use-session-directory.ts": 60.37498351156052,
"packages/app/src/hooks/use-settings.ts": 64.40705077183343,
"packages/app/src/hooks/use-speechmatics-audio.d.ts": 100.0,
"packages/app/src/hooks/use-speechmatics-audio.native.ts": 51.40806475365667,
"packages/app/src/hooks/use-speechmatics-audio.web.ts": 69.34190226946438,
"packages/app/src/hooks/use-theme-color.ts": 84.67095113473219,
"packages/app/src/polyfills/crypto.ts": 84.67095113473219,
"packages/app/src/screens/agent/agent-ready-screen.tsx": 23.354755673660954,
"packages/app/src/screens/agent/draft-agent-screen.tsx": 25.53177193914712,
"packages/app/src/screens/agent/legacy-agent-id-screen.tsx": 64.40705077183343,
"packages/app/src/stores/create-flow-store.ts": 100.0,
"packages/app/src/stores/download-store.ts": 46.97020367185636,
"packages/app/src/stores/draft-store.ts": 100.0,
"packages/app/src/stores/panel-store.ts": 84.67095113473219,
"packages/app/src/stores/session-store.ts": 69.34190226946438,
"packages/app/src/styles/markdown-styles.ts": 100.0,
"packages/app/src/styles/theme.ts": 100.0,
"packages/app/src/styles/unistyles.ts": 100.0,
"packages/app/src/types/agent-activity.ts": 84.67095113473219,
"packages/app/src/types/agent-directory.ts": 100.0,
"packages/app/src/types/shared.ts": 100.0,
"packages/app/src/types/stream-buffer.test.ts": 100.0,
"packages/app/src/types/stream.harness.test.ts": 100.0,
"packages/app/src/types/stream.test.ts": 100.0,
"packages/app/src/types/stream.ts": 21.37296998946232,
"packages/app/src/utils/agent-display-info.ts": 100.0,
"packages/app/src/utils/agent-grouping.test.ts": 100.0,
"packages/app/src/utils/agent-grouping.ts": 84.67095113473219,
"packages/app/src/utils/agent-status.ts": 75.70403237682834,
"packages/app/src/utils/analytics.ts": 84.67095113473219,
"packages/app/src/utils/attempt-guard.ts": 84.67095113473219,
"packages/app/src/utils/daemon-endpoints.ts": 49.078001906565625,
"packages/app/src/utils/daemons.ts": 75.70403237682834,
"packages/app/src/utils/diff-highlighter.test.ts": 100.0,
"packages/app/src/utils/diff-highlighter.ts": 56.965919217628894,
"packages/app/src/utils/exhaustive.ts": 84.67095113473219,
"packages/app/src/utils/extract-agent-model.test.ts": 100.0,
"packages/app/src/utils/extract-agent-model.ts": 84.67095113473219,
"packages/app/src/utils/navigation-timing.ts": 100.0,
"packages/app/src/utils/os-notifications.ts": 64.40705077183343,
"packages/app/src/utils/perf-monitor.ts": 69.34190226946438,
"packages/app/src/utils/perf.ts": 75.70403237682834,
"packages/app/src/utils/shorten-path.ts": 100.0,
"packages/app/src/utils/syntax-highlighter.ts": 60.37498351156052,
"packages/app/src/utils/tauri-daemon-transport.ts": 41.636870352361086,
"packages/app/src/utils/tauri-window.ts": 51.40806475365667,
"packages/app/src/utils/test-daemon-connection.ts": 49.078001906565625,
"packages/app/src/utils/time.ts": 100.0,
"packages/app/src/utils/tool-call-parsers.test.ts": 100.0,
"packages/app/src/utils/tool-call-parsers.ts": 23.354755673660954,
"packages/app/vitest.config.ts": 100.0,
"packages/desktop/src-tauri/build.rs": 84.67095113473219,
"packages/desktop/src-tauri/src/lib.rs": 69.34190226946438,
"packages/desktop/src-tauri/src/main.rs": 84.67095113473219,
"packages/relay/src/cloudflare-adapter.ts": 69.34190226946438,
"packages/relay/src/crypto.test.ts": 100.0,
"packages/relay/src/crypto.ts": 75.70403237682834,
"packages/relay/src/e2e.test.ts": 100.0,
"packages/relay/src/encrypted-channel.test.ts": 100.0,
"packages/relay/src/encrypted-channel.ts": 69.34190226946438,
"packages/relay/src/index.ts": 100.0,
"packages/relay/src/live-relay.e2e.test.ts": 100.0,
"packages/relay/src/node-adapter.ts": 69.34190226946438,
"packages/relay/src/relay.ts": 84.67095113473219,
"packages/relay/src/types.ts": 100.0,
"packages/server/scripts/dev-runner.ts": 100.0,
"packages/server/scripts/process-conversation.ts": 100.0,
"packages/server/scripts/test-codex-mcp-agents.ts": 100.0,
"packages/server/scripts/test-codex-mcp-basic-auth.ts": 100.0,
"packages/server/scripts/test-codex-mcp-bearer.ts": 100.0,
"packages/server/scripts/test-codex-mcp-http-headers.ts": 100.0,
"packages/server/scripts/test-codex-mcp-http.ts": 100.0,
"packages/server/scripts/test-codex-mcp-servers.ts": 100.0,
"packages/server/scripts/verify-codex-mcp-config.ts": 100.0,
"packages/server/src/client/daemon-client-v2.test.ts": 100.0,
"packages/server/src/client/daemon-client-v2.ts": 45.04593464629272,
"packages/server/src/poc-commands/commands-poc.test.ts": 100.0,
"packages/server/src/poc-commands/investigate-command-output.ts": 64.40705077183343,
"packages/server/src/poc-commands/run-poc.ts": 60.37498351156052,
"packages/server/src/server/agent/activity-curator.test.ts": 100.0,
"packages/server/src/server/agent/activity-curator.ts": 60.37498351156052,
"packages/server/src/server/agent/agent-manager.test.ts": 100.0,
"packages/server/src/server/agent/agent-manager.ts": 51.40806475365667,
"packages/server/src/server/agent/agent-mcp.e2e.test.ts": 100.0,
"packages/server/src/server/agent/agent-projections.test.ts": 100.0,
"packages/server/src/server/agent/agent-projections.ts": 41.636870352361086,
"packages/server/src/server/agent/agent-response-loop.e2e.test.ts": 100.0,
"packages/server/src/server/agent/agent-response-loop.test.ts": 100.0,
"packages/server/src/server/agent/agent-response-loop.ts": 41.636870352361086,
"packages/server/src/server/agent/agent-sdk-types.ts": 100.0,
"packages/server/src/server/agent/agent-self-identification.e2e.test.ts": 100.0,
"packages/server/src/server/agent/agent-storage.test.ts": 100.0,
"packages/server/src/server/agent/agent-storage.ts": 64.40705077183343,
"packages/server/src/server/agent/audio-utils.ts": 64.40705077183343,
"packages/server/src/server/agent/dictation-debug.ts": 84.67095113473219,
"packages/server/src/server/agent/llm-openai.ts": 100.0,
"packages/server/src/server/agent/mcp-server.test.ts": 100.0,
"packages/server/src/server/agent/mcp-server.ts": 38.68380453892877,
"packages/server/src/server/agent/model-catalog.e2e.test.ts": 100.0,
"packages/server/src/server/agent/model-resolver.test.ts": 100.0,
"packages/server/src/server/agent/model-resolver.ts": 75.70403237682834,
"packages/server/src/server/agent/openai-realtime-transcription.ts": 75.70403237682834,
"packages/server/src/server/agent/opencode-reasoning.e2e.test.ts": 100.0,
"packages/server/src/server/agent/orchestrator-instructions.ts": 100.0,
"packages/server/src/server/agent/orchestrator.ts": 100.0,
"packages/server/src/server/agent/paseo-instructions-tag.test.ts": 100.0,
"packages/server/src/server/agent/paseo-instructions-tag.ts": 75.70403237682834,
"packages/server/src/server/agent/pcm16-resampler.ts": 84.67095113473219,
"packages/server/src/server/agent/provider-manifest.ts": 69.34190226946438,
"packages/server/src/server/agent/provider-registry.ts": 69.34190226946438,
"packages/server/src/server/agent/providers/claude-agent-commands.e2e.test.ts": 100.0,
"packages/server/src/server/agent/providers/claude-agent-commands.test.ts": 100.0,
"packages/server/src/server/agent/providers/claude-agent.history.test.ts": 100.0,
"packages/server/src/server/agent/providers/claude-agent.test.ts": 100.0,
"packages/server/src/server/agent/providers/claude-agent.ts": 25.53177193914712,
"packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts": 100.0,
"packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts": 100.0,
"packages/server/src/server/agent/providers/codex-mcp-agent-commands.e2e.test.ts": 100.0,
"packages/server/src/server/agent/providers/codex-mcp-agent.commands.test.ts": 100.0,
"packages/server/src/server/agent/providers/codex-mcp-agent.paseo-instructions.test.ts": 100.0,
"packages/server/src/server/agent/providers/codex-mcp-agent.resume-errors.test.ts": 100.0,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts": 100.0,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts": 0.0,
"packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts": 100.0,
"packages/server/src/server/agent/providers/opencode-agent.test.ts": 100.0,
"packages/server/src/server/agent/providers/opencode-agent.ts": 49.078001906565625,
"packages/server/src/server/agent/recordings-debug.ts": 69.34190226946438,
"packages/server/src/server/agent/self-identification-instructions.ts": 75.70403237682834,
"packages/server/src/server/agent/stt-debug.ts": 84.67095113473219,
"packages/server/src/server/agent/stt-manager.ts": 100.0,
"packages/server/src/server/agent/stt-openai.ts": 60.37498351156052,
"packages/server/src/server/agent/system-prompt.ts": 75.70403237682834,
"packages/server/src/server/agent/tts-debug.ts": 84.67095113473219,
"packages/server/src/server/agent/tts-manager.ts": 60.37498351156052,
"packages/server/src/server/agent/tts-openai.ts": 84.67095113473219,
"packages/server/src/server/agent/wait-for-agent-tracker.test.ts": 100.0,
"packages/server/src/server/agent/wait-for-agent-tracker.ts": 100.0,
"packages/server/src/server/bootstrap.smoke.test.ts": 100.0,
"packages/server/src/server/bootstrap.ts": 46.97020367185636,
"packages/server/src/server/client-activity.e2e.test.ts": 100.0,
"packages/server/src/server/config.ts": 69.34190226946438,
"packages/server/src/server/connection-offer.ts": 56.965919217628894,
"packages/server/src/server/daemon-client-v2.e2e.test.ts": 100.0,
"packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts": 100.0,
"packages/server/src/server/daemon-e2e/agent-configs.ts": 100.0,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts": 100.0,
"packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts": 100.0,
"packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts": 100.0,
"packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts": 100.0,
"packages/server/src/server/daemon-e2e/file-download.e2e.test.ts": 100.0,
"packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts": 100.0,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts": 100.0,
"packages/server/src/server/daemon-e2e/images.e2e.test.ts": 100.0,
"packages/server/src/server/daemon-e2e/models.e2e.test.ts": 100.0,
"packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts": 100.0,
"packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts": 100.0,
"packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts": 100.0,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts": 100.0,
"packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts": 100.0,
"packages/server/src/server/daemon-e2e/setup.ts": 69.34190226946438,
"packages/server/src/server/daemon-e2e/streaming.e2e.test.ts": 100.0,
"packages/server/src/server/daemon-e2e/terminal.e2e.test.ts": 100.0,
"packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts": 100.0,
"packages/server/src/server/daemon-e2e/two-cycle-resume.e2e.test.ts": 100.0,
"packages/server/src/server/daemon-e2e/wait-for-idle.e2e.test.ts": 100.0,
"packages/server/src/server/file-download/token-store.ts": 84.67095113473219,
"packages/server/src/server/file-explorer/service.ts": 56.965919217628894,
"packages/server/src/server/index.ts": 69.34190226946438,
"packages/server/src/server/json-utils.ts": 84.67095113473219,
"packages/server/src/server/logger.test.ts": 100.0,
"packages/server/src/server/logger.ts": 69.34190226946438,
"packages/server/src/server/messages.test.ts": 100.0,
"packages/server/src/server/messages.ts": 75.70403237682834,
"packages/server/src/server/pairing-qr.ts": 64.40705077183343,
"packages/server/src/server/paseo-home.ts": 75.70403237682834,
"packages/server/src/server/persisted-config.ts": 64.40705077183343,
"packages/server/src/server/persistence-hooks.test.ts": 100.0,
"packages/server/src/server/persistence-hooks.ts": 60.37498351156052,
"packages/server/src/server/push/push-service.ts": 84.67095113473219,
"packages/server/src/server/push/token-store.ts": 100.0,
"packages/server/src/server/relay-transport.ts": 56.965919217628894,
"packages/server/src/server/session.ts": 33.74895304129781,
"packages/server/src/server/terminal-mcp/index.ts": 100.0,
"packages/server/src/server/terminal-mcp/server.ts": 100.0,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts": 100.0,
"packages/server/src/server/terminal-mcp/terminal-manager.ts": 64.40705077183343,
"packages/server/src/server/terminal-mcp/tmux.ts": 36.07901588838887,
"packages/server/src/server/test-utils/claude-auth.ts": 100.0,
"packages/server/src/server/test-utils/claude-config.ts": 84.67095113473219,
"packages/server/src/server/test-utils/daemon-client.ts": 84.67095113473219,
"packages/server/src/server/test-utils/daemon-test-context.ts": 100.0,
"packages/server/src/server/test-utils/index.ts": 100.0,
"packages/server/src/server/test-utils/paseo-daemon.ts": 64.40705077183343,
"packages/server/src/server/types.ts": 100.0,
"packages/server/src/server/utils/diff-highlighter.test.ts": 100.0,
"packages/server/src/server/utils/diff-highlighter.ts": 54.01285340419657,
"packages/server/src/server/utils/syntax-highlighter.ts": 60.37498351156052,
"packages/server/src/server/voice-conversation-store.ts": 69.34190226946438,
"packages/server/src/server/voice-conversations.e2e.test.ts": 100.0,
"packages/server/src/server/websocket-server.ts": 100.0,
"packages/server/src/server/websocket-session-bridge.ts": 69.34190226946438,
"packages/server/src/shared/agent-lifecycle.ts": 100.0,
"packages/server/src/shared/messages.ts": 84.67095113473219,
"packages/server/src/tasks/cli.ts": 32.66995159445722,
"packages/server/src/tasks/execution-order.test.ts": 100.0,
"packages/server/src/tasks/execution-order.ts": 54.01285340419657,
"packages/server/src/tasks/task-store.test.ts": 100.0,
"packages/server/src/tasks/task-store.ts": 41.636870352361086,
"packages/server/src/tasks/types.ts": 100.0,
"packages/server/src/terminal/terminal-manager.test.ts": 100.0,
"packages/server/src/terminal/terminal-manager.ts": 75.70403237682834,
"packages/server/src/terminal/terminal.test.ts": 100.0,
"packages/server/src/terminal/terminal.ts": 49.078001906565625,
"packages/server/src/test-utils/test-logger.ts": 84.67095113473219,
"packages/server/src/test-utils/vitest-setup.ts": 100.0,
"packages/server/src/utils/checkout-git.test.ts": 100.0,
"packages/server/src/utils/checkout-git.ts": 23.354755673660954,
"packages/server/src/utils/path.ts": 100.0,
"packages/server/src/utils/tool-call-parsers.test.ts": 100.0,
"packages/server/src/utils/tool-call-parsers.ts": 60.37498351156052,
"packages/server/src/utils/worktree-metadata.ts": 56.965919217628894,
"packages/server/src/utils/worktree.test.ts": 100.0,
"packages/server/src/utils/worktree.ts": 31.641154806588556,
"packages/server/vitest.config.ts": 100.0,
"packages/website/src/components/butterfly.tsx": 40.11108314866176,
"packages/website/src/routeTree.gen.ts": 100.0,
"packages/website/src/router.tsx": 84.67095113473219,
"packages/website/src/routes/__root.tsx": 75.70403237682834,
"packages/website/src/routes/docs.tsx": 84.67095113473219,
"packages/website/src/routes/docs/best-practices.tsx": 84.67095113473219,
"packages/website/src/routes/docs/index.tsx": 84.67095113473219,
"packages/website/src/routes/index.tsx": 41.636870352361086,
"packages/website/vite.config.ts": 100.0,
"pair-link-modal.tsx": 60.37498351156052,
"pair-scan.tsx": 69.34190226946438,
"pairing-offer-parsing.spec.ts": 100.0,
"pairing-qr.ts": 64.40705077183343,
"panel-store.ts": 84.67095113473219,
"paseo-daemon.ts": 64.40705077183343,
"paseo-home.ts": 75.70403237682834,
"paseo-instructions-tag.test.ts": 100.0,
"paseo-instructions-tag.ts": 75.70403237682834,
"path.ts": 100.0,
"pcm16-resampler.ts": 84.67095113473219,
"perf-monitor.ts": 69.34190226946438,
"perf.ts": 75.70403237682834,
"permission-prompt.spec.ts": 100.0,
"permissions-claude.e2e.test.ts": 100.0,
"permissions-codex.e2e.test.ts": 100.0,
"persisted-config.ts": 64.40705077183343,
"persistence-hooks.test.ts": 100.0,
"persistence-hooks.ts": 60.37498351156052,
"persistence.e2e.test.ts": 100.0,
"playwright.config.ts": 100.0,
"preserve-prompt-on-error.spec.ts": 100.0,
"process-conversation.ts": 100.0,
"provider-manifest.ts": 69.34190226946438,
"provider-registry.ts": 69.34190226946438,
"push-service.ts": 84.67095113473219,
"react-native-web.d.ts": 100.0,
"realtime-context.tsx": 64.40705077183343,
"realtime-controls.tsx": 69.34190226946438,
"recordings-debug.ts": 69.34190226946438,
"relay-fallback-connect.spec.ts": 100.0,
"relay-transport.e2e.test.ts": 100.0,
"relay-transport.ts": 56.965919217628894,
"relay.ts": 84.67095113473219,
"repro-ipc-listen.js": 100.0,
"reset-project.js": 100.0,
"routeTree.gen.ts": 100.0,
"router.tsx": 84.67095113473219,
"run-poc.ts": 60.37498351156052,
"screen-header.tsx": 84.67095113473219,
"scripts/codex-claude-test.ts": 100.0,
"scripts/codex-cli-approval-test.mjs": 100.0,
"scripts/codex-file-read-debug.ts": 100.0,
"scripts/codex-full-access-ipc-repro.smoke.mjs": 100.0,
"scripts/codex-mcp-elicitation-test.ts": 100.0,
"scripts/codex-sdk-permission-test.mjs": 100.0,
"scripts/codex-websearch-debug.ts": 100.0,
"scripts/mcp-create-codex-check.ts": 100.0,
"scripts/repro-ipc-listen.js": 100.0,
"self-identification-instructions.ts": 75.70403237682834,
"server.ts": 100.0,
"service.ts": 56.965919217628894,
"session-context.tsx": 14.387836915757102,
"session-store.ts": 69.34190226946438,
"session.ts": 36.07901588838887,
"settings.tsx": 40.11108314866176,
"setup.ts": 69.34190226946438,
"shared.ts": 100.0,
"shorten-path.ts": 100.0,
"sidebar-animation-context.tsx": 56.965919217628894,
"sidebar-new-agent-clones-selected.spec.ts": 100.0,
"sliding-sidebar.tsx": 36.07901588838887,
"src/.paseo/worktrees/loved-insect/packages/app/babel.config.js": 84.67095113473219,
"src/.paseo/worktrees/loved-insect/packages/app/e2e/global-setup.ts": 49.078001906565625,
"src/.paseo/worktrees/loved-insect/packages/app/e2e/helpers/app.ts": 45.04593464629272,
"src/.paseo/worktrees/loved-insect/packages/app/src/app/+html.tsx": 75.70403237682834,
"src/.paseo/worktrees/loved-insect/packages/app/src/app/_layout.tsx": 37.34308237150715,
"src/.paseo/worktrees/loved-insect/packages/app/src/app/agent/[id].tsx": 64.40705077183343,
"src/.paseo/worktrees/loved-insect/packages/app/src/app/agent/[serverId]/[agentId].tsx": 27.94672987236956,
"src/.paseo/worktrees/loved-insect/packages/app/src/app/agents.tsx": 64.40705077183343,
"src/.paseo/worktrees/loved-insect/packages/app/src/app/index.tsx": 30.658097730535626,
"src/.paseo/worktrees/loved-insect/packages/app/src/app/pair-scan.tsx": 69.34190226946438,
"src/.paseo/worktrees/loved-insect/packages/app/src/app/settings.tsx": 40.11108314866176,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/active-processes.tsx": 56.965919217628894,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/adaptive-modal-sheet.tsx": 64.40705077183343,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/add-host-method-modal.tsx": 60.37498351156052,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/add-host-modal.tsx": 45.04593464629272,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/agent-activity.tsx": 49.078001906565625,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/agent-form/agent-form-dropdowns.tsx": 19.554262705039893,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/agent-input-area.tsx": 27.112097130485,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/agent-list.tsx": 54.01285340419657,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/agent-status-bar.tsx": 64.40705077183343,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/agent-stream-view.tsx": 25.53177193914712,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/artifact-drawer.tsx": 75.70403237682834,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/audio-debug-notice.tsx": 60.37498351156052,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/command-autocomplete.tsx": 64.40705077183343,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/connection-status.tsx": 75.70403237682834,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/dictation-controls.tsx": 64.40705077183343,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/dictation-status-notice.tsx": 64.40705077183343,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/diff-viewer.tsx": 75.70403237682834,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/download-toast.tsx": 60.37498351156052,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/empty-state.tsx": 75.70403237682834,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/explorer-sidebar.tsx": 36.07901588838887,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/file-drop-zone.tsx": 69.34190226946438,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/file-explorer-pane.tsx": 20.74996702312105,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/git-diff-pane.tsx": 31.641154806588556,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/headers/back-header.tsx": 75.70403237682834,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/headers/menu-header.tsx": 60.37498351156052,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/headers/screen-header.tsx": 84.67095113473219,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/home-footer.tsx": 60.37498351156052,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/icons/claude-icon.tsx": 84.67095113473219,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/icons/codex-icon.tsx": 84.67095113473219,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/message-input.tsx": 29.716885781024914,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/message.tsx": 30.658097730535626,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/mode-selector-modal.tsx": 75.70403237682834,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/multi-daemon-session-host.tsx": 56.965919217628894,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/pair-link-modal.tsx": 60.37498351156052,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/realtime-controls.tsx": 69.34190226946438,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/sliding-sidebar.tsx": 36.07901588838887,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/tool-call-details.tsx": 49.078001906565625,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/tool-call-preview.ts": 84.67095113473219,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/tool-call-sheet.tsx": 49.078001906565625,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/ui/dropdown-menu-floating.ts": 54.01285340419657,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/ui/dropdown-menu.tsx": 38.68380453892877,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/voice-button.tsx": 60.37498351156052,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/volume-meter.tsx": 60.37498351156052,
"src/.paseo/worktrees/loved-insect/packages/app/src/components/welcome-screen.tsx": 75.70403237682834,
"src/.paseo/worktrees/loved-insect/packages/app/src/constants/layout.ts": 69.34190226946438,
"src/.paseo/worktrees/loved-insect/packages/app/src/contexts/daemon-connections-context.tsx": 60.37498351156052,
"src/.paseo/worktrees/loved-insect/packages/app/src/contexts/daemon-registry-context.tsx": 30.658097730535626,
"src/.paseo/worktrees/loved-insect/packages/app/src/contexts/explorer-sidebar-animation-context.tsx": 56.965919217628894,
"src/.paseo/worktrees/loved-insect/packages/app/src/contexts/horizontal-scroll-context.tsx": 64.40705077183343,
"src/.paseo/worktrees/loved-insect/packages/app/src/contexts/realtime-context.tsx": 64.40705077183343,
"src/.paseo/worktrees/loved-insect/packages/app/src/contexts/session-context.tsx": 14.387836915757102,
"src/.paseo/worktrees/loved-insect/packages/app/src/contexts/sidebar-animation-context.tsx": 56.965919217628894,
"src/.paseo/worktrees/loved-insect/packages/app/src/dictation/dictation-stream-sender.ts": 75.70403237682834,
"src/.paseo/worktrees/loved-insect/packages/app/src/hooks/checkout-status-revalidation.ts": 75.70403237682834,
"src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-agent-commands-query.ts": 75.70403237682834,
"src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-agent-form-state.ts": 40.11108314866176,
"src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-aggregated-agents.ts": 60.37498351156052,
"src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-audio-player.native.ts": 54.01285340419657,
"src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-audio-recorder.native.ts": 54.01285340419657,
"src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-audio-recorder.web.ts": 41.636870352361086,
"src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-checkout-diff-query.ts": 56.965919217628894,
"src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-checkout-pr-status-query.ts": 75.70403237682834,
"src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-checkout-status-query.ts": 56.965919217628894,
"src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-client-activity.ts": 56.965919217628894,
"src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-daemon-client.ts": 69.34190226946438,
"src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-dictation-audio-source.native.ts": 69.34190226946438,
"src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-dictation-audio-source.web.ts": 51.40806475365667,
"src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-dictation.ts": 45.04593464629272,
"src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-favicon-status.ts": 51.40806475365667,
"src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-file-drop-zone.ts": 54.01285340419657,
"src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-form-preferences.ts": 75.70403237682834,
"src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-git-diff-query.ts": 56.965919217628894,
"src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-image-attachment-picker.ts": 69.34190226946438,
"src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-recent-paths.ts": 60.37498351156052,
"src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-session-directory.ts": 60.37498351156052,
"src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-settings.ts": 64.40705077183343,
"src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-speechmatics-audio.native.ts": 51.40806475365667,
"src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-speechmatics-audio.web.ts": 69.34190226946438,
"src/.paseo/worktrees/loved-insect/packages/app/src/hooks/use-theme-color.ts": 84.67095113473219,
"src/.paseo/worktrees/loved-insect/packages/app/src/polyfills/crypto.ts": 84.67095113473219,
"src/.paseo/worktrees/loved-insect/packages/app/src/stores/download-store.ts": 46.97020367185636,
"src/.paseo/worktrees/loved-insect/packages/app/src/stores/panel-store.ts": 84.67095113473219,
"src/.paseo/worktrees/loved-insect/packages/app/src/stores/session-store.ts": 69.34190226946438,
"src/.paseo/worktrees/loved-insect/packages/app/src/types/agent-activity.ts": 84.67095113473219,
"src/.paseo/worktrees/loved-insect/packages/app/src/types/stream.ts": 21.37296998946232,
"src/.paseo/worktrees/loved-insect/packages/app/src/utils/agent-status.ts": 75.70403237682834,
"src/.paseo/worktrees/loved-insect/packages/app/src/utils/analytics.ts": 84.67095113473219,
"src/.paseo/worktrees/loved-insect/packages/app/src/utils/attempt-guard.ts": 84.67095113473219,
"src/.paseo/worktrees/loved-insect/packages/app/src/utils/daemon-endpoints.ts": 49.078001906565625,
"src/.paseo/worktrees/loved-insect/packages/app/src/utils/daemons.ts": 75.70403237682834,
"src/.paseo/worktrees/loved-insect/packages/app/src/utils/diff-highlighter.ts": 56.965919217628894,
"src/.paseo/worktrees/loved-insect/packages/app/src/utils/exhaustive.ts": 84.67095113473219,
"src/.paseo/worktrees/loved-insect/packages/app/src/utils/extract-agent-model.ts": 84.67095113473219,
"src/.paseo/worktrees/loved-insect/packages/app/src/utils/os-notifications.ts": 64.40705077183343,
"src/.paseo/worktrees/loved-insect/packages/app/src/utils/perf-monitor.ts": 69.34190226946438,
"src/.paseo/worktrees/loved-insect/packages/app/src/utils/perf.ts": 75.70403237682834,
"src/.paseo/worktrees/loved-insect/packages/app/src/utils/syntax-highlighter.ts": 60.37498351156052,
"src/.paseo/worktrees/loved-insect/packages/app/src/utils/tauri-daemon-transport.ts": 41.636870352361086,
"src/.paseo/worktrees/loved-insect/packages/app/src/utils/tauri-window.ts": 51.40806475365667,
"src/.paseo/worktrees/loved-insect/packages/app/src/utils/test-daemon-connection.ts": 49.078001906565625,
"src/.paseo/worktrees/loved-insect/packages/app/src/utils/tool-call-parsers.ts": 23.354755673660954,
"src/.paseo/worktrees/loved-insect/packages/desktop/src-tauri/build.rs": 84.67095113473219,
"src/.paseo/worktrees/loved-insect/packages/desktop/src-tauri/src/lib.rs": 69.34190226946438,
"src/.paseo/worktrees/loved-insect/packages/desktop/src-tauri/src/main.rs": 84.67095113473219,
"src/.paseo/worktrees/loved-insect/packages/relay/src/cloudflare-adapter.ts": 69.34190226946438,
"src/.paseo/worktrees/loved-insect/packages/relay/src/crypto.ts": 75.70403237682834,
"src/.paseo/worktrees/loved-insect/packages/relay/src/encrypted-channel.ts": 69.34190226946438,
"src/.paseo/worktrees/loved-insect/packages/relay/src/node-adapter.ts": 69.34190226946438,
"src/.paseo/worktrees/loved-insect/packages/relay/src/relay.ts": 84.67095113473219,
"src/.paseo/worktrees/loved-insect/packages/server/src/client/daemon-client-v2.ts": 45.04593464629272,
"src/.paseo/worktrees/loved-insect/packages/server/src/poc-commands/investigate-command-output.ts": 64.40705077183343,
"src/.paseo/worktrees/loved-insect/packages/server/src/poc-commands/run-poc.ts": 60.37498351156052,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/activity-curator.ts": 60.37498351156052,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/agent-manager.ts": 51.40806475365667,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/agent-projections.ts": 41.636870352361086,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/agent-response-loop.ts": 41.636870352361086,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/agent-storage.ts": 69.34190226946438,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/audio-utils.ts": 64.40705077183343,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/mcp-server.ts": 38.68380453892877,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/model-resolver.ts": 75.70403237682834,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/openai-realtime-transcription.ts": 75.70403237682834,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/paseo-instructions-tag.ts": 75.70403237682834,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/pcm16-resampler.ts": 84.67095113473219,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/provider-manifest.ts": 69.34190226946438,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/provider-registry.ts": 69.34190226946438,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/providers/claude-agent.ts": 25.53177193914712,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/providers/codex-mcp-agent.ts": 0.0,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/providers/opencode-agent.ts": 49.078001906565625,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/self-identification-instructions.ts": 75.70403237682834,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/stt-debug.ts": 84.67095113473219,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/stt-openai.ts": 60.37498351156052,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/system-prompt.ts": 75.70403237682834,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/tts-manager.ts": 60.37498351156052,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/agent/tts-openai.ts": 84.67095113473219,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/bootstrap.ts": 46.97020367185636,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/config.ts": 69.34190226946438,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/connection-offer.ts": 56.965919217628894,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/daemon-e2e/setup.ts": 69.34190226946438,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/file-download/token-store.ts": 84.67095113473219,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/file-explorer/service.ts": 56.965919217628894,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/index.ts": 69.34190226946438,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/json-utils.ts": 84.67095113473219,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/logger.ts": 69.34190226946438,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/messages.ts": 75.70403237682834,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/pairing-qr.ts": 64.40705077183343,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/paseo-home.ts": 75.70403237682834,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/persisted-config.ts": 64.40705077183343,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/persistence-hooks.ts": 60.37498351156052,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/push/push-service.ts": 84.67095113473219,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/relay-transport.ts": 56.965919217628894,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/session.ts": 33.74895304129781,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/terminal-mcp/terminal-manager.ts": 64.40705077183343,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/terminal-mcp/tmux.ts": 36.07901588838887,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/test-utils/claude-config.ts": 84.67095113473219,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/test-utils/daemon-client.ts": 84.67095113473219,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/test-utils/paseo-daemon.ts": 64.40705077183343,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/utils/diff-highlighter.ts": 54.01285340419657,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/utils/syntax-highlighter.ts": 60.37498351156052,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/voice-conversation-store.ts": 69.34190226946438,
"src/.paseo/worktrees/loved-insect/packages/server/src/server/websocket-session-bridge.ts": 69.34190226946438,
"src/.paseo/worktrees/loved-insect/packages/server/src/shared/messages.ts": 84.67095113473219,
"src/.paseo/worktrees/loved-insect/packages/server/src/tasks/cli.ts": 32.66995159445722,
"src/.paseo/worktrees/loved-insect/packages/server/src/tasks/execution-order.ts": 54.01285340419657,
"src/.paseo/worktrees/loved-insect/packages/server/src/tasks/task-store.ts": 41.636870352361086,
"src/.paseo/worktrees/loved-insect/packages/server/src/terminal/terminal-manager.ts": 75.70403237682834,
"src/.paseo/worktrees/loved-insect/packages/server/src/terminal/terminal.ts": 49.078001906565625,
"src/.paseo/worktrees/loved-insect/packages/server/src/test-utils/test-logger.ts": 84.67095113473219,
"src/.paseo/worktrees/loved-insect/packages/server/src/utils/checkout-git.ts": 28.814101543666858,
"src/.paseo/worktrees/loved-insect/packages/server/src/utils/tool-call-parsers.ts": 60.37498351156052,
"src/.paseo/worktrees/loved-insect/packages/server/src/utils/worktree-metadata.ts": 56.965919217628894,
"src/.paseo/worktrees/loved-insect/packages/server/src/utils/worktree.ts": 40.11108314866176,
"src/.paseo/worktrees/loved-insect/packages/website/src/components/butterfly.tsx": 40.11108314866176,
"src/.paseo/worktrees/loved-insect/packages/website/src/router.tsx": 84.67095113473219,
"src/.paseo/worktrees/loved-insect/packages/website/src/routes/__root.tsx": 75.70403237682834,
"src/.paseo/worktrees/loved-insect/packages/website/src/routes/docs.tsx": 84.67095113473219,
"src/.paseo/worktrees/loved-insect/packages/website/src/routes/docs/best-practices.tsx": 84.67095113473219,
"src/.paseo/worktrees/loved-insect/packages/website/src/routes/docs/index.tsx": 84.67095113473219,
"src/.paseo/worktrees/loved-insect/packages/website/src/routes/index.tsx": 41.636870352361086,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/babel.config.js": 84.67095113473219,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/e2e/global-setup.ts": 49.078001906565625,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/e2e/helpers/app.ts": 45.04593464629272,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/+html.tsx": 75.70403237682834,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/_layout.tsx": 37.34308237150715,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/agent/[id].tsx": 64.40705077183343,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/agent/[serverId]/[agentId].tsx": 27.94672987236956,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/agents.tsx": 64.40705077183343,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/index.tsx": 30.658097730535626,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/orchestrator.tsx": 56.965919217628894,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/pair-scan.tsx": 69.34190226946438,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/app/settings.tsx": 40.11108314866176,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/active-processes.tsx": 56.965919217628894,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-activity.tsx": 49.078001906565625,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-form/agent-form-dropdowns.tsx": 19.554262705039893,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-input-area.tsx": 27.112097130485,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-list.tsx": 56.965919217628894,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-status-bar.tsx": 64.40705077183343,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-stream-view.tsx": 25.53177193914712,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-thought-content.tsx": 69.34190226946438,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/artifact-drawer.tsx": 75.70403237682834,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/audio-debug-notice.tsx": 60.37498351156052,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/command-autocomplete.tsx": 64.40705077183343,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/connection-status.tsx": 75.70403237682834,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/conversation-selector.tsx": 54.01285340419657,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/dictation-controls.tsx": 64.40705077183343,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/dictation-status-notice.tsx": 64.40705077183343,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/diff-viewer.tsx": 75.70403237682834,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/download-toast.tsx": 60.37498351156052,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/empty-state.tsx": 75.70403237682834,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/explorer-sidebar.tsx": 36.07901588838887,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/file-drop-zone.tsx": 69.34190226946438,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/file-explorer-pane.tsx": 20.74996702312105,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/git-diff-pane.tsx": 31.641154806588556,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/headers/back-header.tsx": 75.70403237682834,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/headers/home-header.tsx": 64.40705077183343,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/headers/menu-header.tsx": 60.37498351156052,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/headers/screen-header.tsx": 84.67095113473219,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/home-footer.tsx": 60.37498351156052,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/icons/claude-icon.tsx": 84.67095113473219,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/icons/codex-icon.tsx": 84.67095113473219,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/message-input.tsx": 29.716885781024914,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/message.tsx": 28.814101543666858,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/mode-selector-modal.tsx": 75.70403237682834,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/multi-daemon-session-host.tsx": 56.965919217628894,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/orchestrator-messages-view.tsx": 75.70403237682834,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/realtime-controls.tsx": 69.34190226946438,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/sliding-sidebar.tsx": 36.07901588838887,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/thinking-sheet.tsx": 51.40806475365667,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/tool-call-details.tsx": 49.078001906565625,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/tool-call-preview.ts": 84.67095113473219,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/tool-call-sheet.tsx": 49.078001906565625,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/ui/dropdown-menu-floating.ts": 54.01285340419657,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/ui/dropdown-menu.tsx": 38.68380453892877,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/voice-button.tsx": 60.37498351156052,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/components/volume-meter.tsx": 60.37498351156052,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/constants/layout.ts": 69.34190226946438,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/daemon-connections-context.tsx": 60.37498351156052,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/daemon-registry-context.tsx": 30.658097730535626,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/explorer-sidebar-animation-context.tsx": 56.965919217628894,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/horizontal-scroll-context.tsx": 64.40705077183343,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/realtime-context.tsx": 64.40705077183343,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/session-context.tsx": 14.387836915757102,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/sidebar-animation-context.tsx": 56.965919217628894,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/dictation/dictation-stream-sender.ts": 75.70403237682834,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/checkout-status-revalidation.ts": 75.70403237682834,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-agent-commands-query.ts": 75.70403237682834,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-agent-form-state.ts": 40.11108314866176,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-aggregated-agents.ts": 60.37498351156052,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-audio-player.native.ts": 54.01285340419657,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-audio-recorder.native.ts": 54.01285340419657,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-audio-recorder.web.ts": 41.636870352361086,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-checkout-diff-query.ts": 56.965919217628894,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-checkout-pr-status-query.ts": 75.70403237682834,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-checkout-status-query.ts": 60.37498351156052,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-client-activity.ts": 56.965919217628894,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-daemon-client.ts": 69.34190226946438,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-dictation-audio-source.native.ts": 69.34190226946438,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-dictation-audio-source.web.ts": 51.40806475365667,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-dictation.ts": 45.04593464629272,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-favicon-status.ts": 51.40806475365667,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-file-drop-zone.ts": 54.01285340419657,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-form-preferences.ts": 75.70403237682834,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-git-diff-query.ts": 56.965919217628894,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-image-attachment-picker.ts": 69.34190226946438,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-recent-paths.ts": 60.37498351156052,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-session-directory.ts": 60.37498351156052,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-settings.ts": 64.40705077183343,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-speechmatics-audio.native.ts": 51.40806475365667,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-speechmatics-audio.web.ts": 69.34190226946438,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-theme-color.ts": 84.67095113473219,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/polyfills/crypto.ts": 84.67095113473219,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/stores/download-store.ts": 46.97020367185636,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/stores/panel-store.ts": 84.67095113473219,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/stores/session-store.ts": 69.34190226946438,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/types/agent-activity.ts": 84.67095113473219,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/types/stream.ts": 21.37296998946232,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/agent-status.ts": 75.70403237682834,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/analytics.ts": 84.67095113473219,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/attempt-guard.ts": 84.67095113473219,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/daemon-endpoints.ts": 49.078001906565625,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/daemons.ts": 75.70403237682834,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/diff-highlighter.ts": 56.965919217628894,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/exhaustive.ts": 84.67095113473219,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/extract-agent-model.ts": 84.67095113473219,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/os-notifications.ts": 64.40705077183343,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/perf-monitor.ts": 69.34190226946438,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/perf.ts": 75.70403237682834,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/syntax-highlighter.ts": 60.37498351156052,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/tauri-daemon-transport.ts": 41.636870352361086,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/tauri-window.ts": 51.40806475365667,
"src/.paseo/worktrees/ripe-dragonfly/packages/app/src/utils/tool-call-parsers.ts": 23.354755673660954,
"src/.paseo/worktrees/ripe-dragonfly/packages/desktop/src-tauri/build.rs": 84.67095113473219,
"src/.paseo/worktrees/ripe-dragonfly/packages/desktop/src-tauri/src/lib.rs": 69.34190226946438,
"src/.paseo/worktrees/ripe-dragonfly/packages/desktop/src-tauri/src/main.rs": 84.67095113473219,
"src/.paseo/worktrees/ripe-dragonfly/packages/relay/src/cloudflare-adapter.ts": 69.34190226946438,
"src/.paseo/worktrees/ripe-dragonfly/packages/relay/src/crypto.ts": 75.70403237682834,
"src/.paseo/worktrees/ripe-dragonfly/packages/relay/src/encrypted-channel.ts": 69.34190226946438,
"src/.paseo/worktrees/ripe-dragonfly/packages/relay/src/node-adapter.ts": 69.34190226946438,
"src/.paseo/worktrees/ripe-dragonfly/packages/relay/src/relay.ts": 84.67095113473219,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/client/daemon-client-v2.ts": 45.04593464629272,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/poc-commands/investigate-command-output.ts": 64.40705077183343,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/poc-commands/run-poc.ts": 60.37498351156052,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/activity-curator.ts": 60.37498351156052,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/agent-manager.ts": 51.40806475365667,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/agent-projections.ts": 41.636870352361086,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/agent-registry.ts": 75.70403237682834,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/agent-response-loop.ts": 41.636870352361086,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/audio-utils.ts": 64.40705077183343,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/mcp-server.ts": 38.68380453892877,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/model-resolver.ts": 75.70403237682834,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/openai-realtime-transcription.ts": 75.70403237682834,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/paseo-instructions-tag.ts": 75.70403237682834,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/pcm16-resampler.ts": 84.67095113473219,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/provider-manifest.ts": 69.34190226946438,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/provider-registry.ts": 69.34190226946438,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/providers/claude-agent.ts": 25.53177193914712,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/providers/codex-mcp-agent.ts": 0.0,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/providers/opencode-agent.ts": 49.078001906565625,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/self-identification-instructions.ts": 75.70403237682834,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/stt-debug.ts": 84.67095113473219,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/stt-openai.ts": 60.37498351156052,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/system-prompt.ts": 75.70403237682834,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/tts-manager.ts": 60.37498351156052,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/tts-openai.ts": 84.67095113473219,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/bootstrap.ts": 46.97020367185636,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/config.ts": 69.34190226946438,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/connection-offer.ts": 56.965919217628894,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/daemon-e2e/setup.ts": 69.34190226946438,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/file-download/token-store.ts": 84.67095113473219,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/file-explorer/service.ts": 56.965919217628894,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/index.ts": 69.34190226946438,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/json-utils.ts": 84.67095113473219,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/logger.ts": 69.34190226946438,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/messages.ts": 75.70403237682834,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/pairing-qr.ts": 64.40705077183343,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/paseo-home.ts": 75.70403237682834,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/persisted-config.ts": 64.40705077183343,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/persistence-hooks.ts": 60.37498351156052,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/push/push-service.ts": 84.67095113473219,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/relay-transport.ts": 56.965919217628894,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/session.ts": 36.07901588838887,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/terminal-mcp/terminal-manager.ts": 64.40705077183343,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/terminal-mcp/tmux.ts": 36.07901588838887,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/test-utils/claude-config.ts": 84.67095113473219,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/test-utils/daemon-client.ts": 84.67095113473219,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/test-utils/paseo-daemon.ts": 64.40705077183343,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/utils/diff-highlighter.ts": 54.01285340419657,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/utils/syntax-highlighter.ts": 60.37498351156052,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/voice-conversation-store.ts": 69.34190226946438,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/server/websocket-session-bridge.ts": 69.34190226946438,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/shared/messages.ts": 84.67095113473219,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/tasks/cli.ts": 32.66995159445722,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/tasks/execution-order.ts": 54.01285340419657,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/tasks/task-store.ts": 41.636870352361086,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/terminal/terminal-manager.ts": 75.70403237682834,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/terminal/terminal.ts": 49.078001906565625,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/test-utils/test-logger.ts": 84.67095113473219,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/utils/checkout-git.ts": 28.814101543666858,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/utils/tool-call-parsers.ts": 60.37498351156052,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/utils/worktree-metadata.ts": 56.965919217628894,
"src/.paseo/worktrees/ripe-dragonfly/packages/server/src/utils/worktree.ts": 40.11108314866176,
"src/.paseo/worktrees/ripe-dragonfly/packages/website/src/components/butterfly.tsx": 40.11108314866176,
"src/.paseo/worktrees/ripe-dragonfly/packages/website/src/router.tsx": 84.67095113473219,
"src/.paseo/worktrees/ripe-dragonfly/packages/website/src/routes/__root.tsx": 75.70403237682834,
"src/.paseo/worktrees/ripe-dragonfly/packages/website/src/routes/docs.tsx": 84.67095113473219,
"src/.paseo/worktrees/ripe-dragonfly/packages/website/src/routes/docs/best-practices.tsx": 84.67095113473219,
"src/.paseo/worktrees/ripe-dragonfly/packages/website/src/routes/docs/index.tsx": 84.67095113473219,
"src/.paseo/worktrees/ripe-dragonfly/packages/website/src/routes/index.tsx": 41.636870352361086,
"src/.paseo/worktrees/shallow-lynx/packages/app/babel.config.js": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/app/e2e/global-setup.ts": 49.078001906565625,
"src/.paseo/worktrees/shallow-lynx/packages/app/e2e/helpers/app.ts": 43.275778737637374,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/app/+html.tsx": 75.70403237682834,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/app/_layout.tsx": 37.34308237150715,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/app/agent/[id].tsx": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/app/agent/[serverId]/[agentId].tsx": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/app/agent/index.tsx": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/app/agents.tsx": 64.40705077183343,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/app/index.tsx": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/app/pair-scan.tsx": 69.34190226946438,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/app/settings.tsx": 40.11108314866176,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/active-processes.tsx": 56.965919217628894,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/adaptive-modal-sheet.tsx": 64.40705077183343,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/add-host-method-modal.tsx": 60.37498351156052,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/add-host-modal.tsx": 45.04593464629272,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/agent-activity.tsx": 49.078001906565625,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/agent-form/agent-form-dropdowns.tsx": 18.979811114465704,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/agent-input-area.tsx": 27.112097130485,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/agent-list.tsx": 54.01285340419657,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/agent-status-bar.tsx": 64.40705077183343,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/agent-stream-view.tsx": 25.53177193914712,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/artifact-drawer.tsx": 75.70403237682834,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/audio-debug-notice.tsx": 60.37498351156052,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/command-autocomplete.tsx": 64.40705077183343,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/connection-status.tsx": 75.70403237682834,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/dictation-controls.tsx": 64.40705077183343,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/dictation-status-notice.tsx": 64.40705077183343,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/diff-viewer.tsx": 75.70403237682834,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/download-toast.tsx": 60.37498351156052,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/empty-state.tsx": 75.70403237682834,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/explorer-sidebar.tsx": 36.07901588838887,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/file-drop-zone.tsx": 69.34190226946438,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/file-explorer-pane.tsx": 20.74996702312105,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/git-diff-pane.tsx": 31.641154806588556,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/headers/back-header.tsx": 75.70403237682834,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/headers/menu-header.tsx": 60.37498351156052,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/headers/screen-header.tsx": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/home-footer.tsx": 60.37498351156052,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/icons/claude-icon.tsx": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/icons/codex-icon.tsx": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/message-input.tsx": 28.814101543666858,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/message.tsx": 30.658097730535626,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/mode-selector-modal.tsx": 75.70403237682834,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/multi-daemon-session-host.tsx": 56.965919217628894,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/pair-link-modal.tsx": 60.37498351156052,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/realtime-controls.tsx": 69.34190226946438,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/sliding-sidebar.tsx": 36.07901588838887,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/tool-call-details.tsx": 49.078001906565625,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/tool-call-preview.ts": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/tool-call-sheet.tsx": 49.078001906565625,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/ui/dropdown-menu-floating.ts": 54.01285340419657,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/ui/dropdown-menu.tsx": 38.68380453892877,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/voice-button.tsx": 60.37498351156052,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/volume-meter.tsx": 60.37498351156052,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/components/welcome-screen.tsx": 75.70403237682834,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/constants/layout.ts": 69.34190226946438,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/contexts/daemon-connections-context.tsx": 60.37498351156052,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/contexts/daemon-registry-context.tsx": 30.658097730535626,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/contexts/explorer-sidebar-animation-context.tsx": 56.965919217628894,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/contexts/horizontal-scroll-context.tsx": 64.40705077183343,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/contexts/realtime-context.tsx": 64.40705077183343,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/contexts/session-context.tsx": 14.387836915757102,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/contexts/sidebar-animation-context.tsx": 56.965919217628894,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/dictation/dictation-stream-sender.ts": 75.70403237682834,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/checkout-status-revalidation.ts": 75.70403237682834,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-agent-commands-query.ts": 75.70403237682834,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-agent-form-state.ts": 40.11108314866176,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-aggregated-agents.ts": 60.37498351156052,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-audio-player.native.ts": 54.01285340419657,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-audio-recorder.native.ts": 54.01285340419657,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-audio-recorder.web.ts": 41.636870352361086,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-checkout-diff-query.ts": 56.965919217628894,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-checkout-pr-status-query.ts": 75.70403237682834,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-checkout-status-query.ts": 56.965919217628894,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-client-activity.ts": 56.965919217628894,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-daemon-client.ts": 69.34190226946438,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-dictation-audio-source.native.ts": 69.34190226946438,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-dictation-audio-source.web.ts": 46.97020367185636,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-dictation.ts": 45.04593464629272,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-favicon-status.ts": 51.40806475365667,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-file-drop-zone.ts": 54.01285340419657,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-form-preferences.ts": 75.70403237682834,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-git-diff-query.ts": 56.965919217628894,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-image-attachment-picker.ts": 69.34190226946438,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-recent-paths.ts": 60.37498351156052,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-session-directory.ts": 60.37498351156052,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-settings.ts": 64.40705077183343,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-speechmatics-audio.native.ts": 51.40806475365667,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-speechmatics-audio.web.ts": 69.34190226946438,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-theme-color.ts": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/polyfills/crypto.ts": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/screens/agent/agent-ready-screen.tsx": 24.05688266995011,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/screens/agent/draft-agent-screen.tsx": 25.53177193914712,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/screens/agent/legacy-agent-id-screen.tsx": 64.40705077183343,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/stores/download-store.ts": 46.97020367185636,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/stores/panel-store.ts": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/stores/session-store.ts": 69.34190226946438,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/types/agent-activity.ts": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/types/stream.ts": 21.37296998946232,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/agent-status.ts": 75.70403237682834,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/analytics.ts": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/attempt-guard.ts": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/daemon-endpoints.ts": 49.078001906565625,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/daemons.ts": 75.70403237682834,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/diff-highlighter.ts": 56.965919217628894,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/exhaustive.ts": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/extract-agent-model.ts": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/os-notifications.ts": 64.40705077183343,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/perf-monitor.ts": 69.34190226946438,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/perf.ts": 75.70403237682834,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/syntax-highlighter.ts": 60.37498351156052,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/tauri-daemon-transport.ts": 41.636870352361086,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/tauri-window.ts": 51.40806475365667,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/test-daemon-connection.ts": 49.078001906565625,
"src/.paseo/worktrees/shallow-lynx/packages/app/src/utils/tool-call-parsers.ts": 23.354755673660954,
"src/.paseo/worktrees/shallow-lynx/packages/desktop/src-tauri/build.rs": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/desktop/src-tauri/src/lib.rs": 69.34190226946438,
"src/.paseo/worktrees/shallow-lynx/packages/desktop/src-tauri/src/main.rs": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/relay/src/cloudflare-adapter.ts": 69.34190226946438,
"src/.paseo/worktrees/shallow-lynx/packages/relay/src/crypto.ts": 75.70403237682834,
"src/.paseo/worktrees/shallow-lynx/packages/relay/src/encrypted-channel.ts": 69.34190226946438,
"src/.paseo/worktrees/shallow-lynx/packages/relay/src/node-adapter.ts": 69.34190226946438,
"src/.paseo/worktrees/shallow-lynx/packages/relay/src/relay.ts": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/client/daemon-client-v2.ts": 45.04593464629272,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/poc-commands/investigate-command-output.ts": 64.40705077183343,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/poc-commands/run-poc.ts": 60.37498351156052,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/activity-curator.ts": 60.37498351156052,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/agent-manager.ts": 51.40806475365667,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/agent-projections.ts": 41.636870352361086,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/agent-response-loop.ts": 41.636870352361086,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/agent-storage.ts": 69.34190226946438,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/audio-utils.ts": 64.40705077183343,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/mcp-server.ts": 38.68380453892877,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/model-resolver.ts": 75.70403237682834,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/openai-realtime-transcription.ts": 75.70403237682834,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/paseo-instructions-tag.ts": 75.70403237682834,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/pcm16-resampler.ts": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/provider-manifest.ts": 69.34190226946438,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/provider-registry.ts": 69.34190226946438,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/providers/claude-agent.ts": 25.53177193914712,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/providers/codex-mcp-agent.ts": 0.0,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/providers/opencode-agent.ts": 49.078001906565625,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/self-identification-instructions.ts": 75.70403237682834,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/stt-debug.ts": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/stt-openai.ts": 60.37498351156052,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/system-prompt.ts": 75.70403237682834,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/tts-manager.ts": 60.37498351156052,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/agent/tts-openai.ts": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/bootstrap.ts": 46.97020367185636,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/config.ts": 69.34190226946438,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/connection-offer.ts": 56.965919217628894,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/daemon-e2e/setup.ts": 69.34190226946438,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/file-download/token-store.ts": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/file-explorer/service.ts": 56.965919217628894,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/index.ts": 69.34190226946438,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/json-utils.ts": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/logger.ts": 69.34190226946438,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/messages.ts": 75.70403237682834,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/pairing-qr.ts": 64.40705077183343,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/paseo-home.ts": 75.70403237682834,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/persisted-config.ts": 64.40705077183343,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/persistence-hooks.ts": 60.37498351156052,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/push/push-service.ts": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/relay-transport.ts": 56.965919217628894,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/session.ts": 33.74895304129781,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/terminal-mcp/terminal-manager.ts": 64.40705077183343,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/terminal-mcp/tmux.ts": 36.07901588838887,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/test-utils/claude-config.ts": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/test-utils/daemon-client.ts": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/test-utils/paseo-daemon.ts": 64.40705077183343,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/utils/diff-highlighter.ts": 54.01285340419657,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/utils/syntax-highlighter.ts": 60.37498351156052,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/voice-conversation-store.ts": 69.34190226946438,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/server/websocket-session-bridge.ts": 69.34190226946438,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/shared/messages.ts": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/tasks/cli.ts": 32.66995159445722,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/tasks/execution-order.ts": 54.01285340419657,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/tasks/task-store.ts": 41.636870352361086,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/terminal/terminal-manager.ts": 75.70403237682834,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/terminal/terminal.ts": 49.078001906565625,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/test-utils/test-logger.ts": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/utils/checkout-git.ts": 28.814101543666858,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/utils/tool-call-parsers.ts": 60.37498351156052,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/utils/worktree-metadata.ts": 56.965919217628894,
"src/.paseo/worktrees/shallow-lynx/packages/server/src/utils/worktree.ts": 40.11108314866176,
"src/.paseo/worktrees/shallow-lynx/packages/website/src/components/butterfly.tsx": 40.11108314866176,
"src/.paseo/worktrees/shallow-lynx/packages/website/src/router.tsx": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/website/src/routes/__root.tsx": 75.70403237682834,
"src/.paseo/worktrees/shallow-lynx/packages/website/src/routes/docs.tsx": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/website/src/routes/docs/best-practices.tsx": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/website/src/routes/docs/index.tsx": 84.67095113473219,
"src/.paseo/worktrees/shallow-lynx/packages/website/src/routes/index.tsx": 41.636870352361086,
"src/packages/app/app.config.js": 100.0,
"src/packages/app/babel.config.js": 84.67095113473219,
"src/packages/app/e2e/agent-details-sheet.spec.ts": 100.0,
"src/packages/app/e2e/checkout-ship.spec.ts": 100.0,
"src/packages/app/e2e/create-agent.spec.ts": 100.0,
"src/packages/app/e2e/daemon-connectivity.spec.ts": 100.0,
"src/packages/app/e2e/delete-agent-persists.spec.ts": 100.0,
"src/packages/app/e2e/dictation-web.spec.ts": 100.0,
"src/packages/app/e2e/fixtures.ts": 100.0,
"src/packages/app/e2e/global-setup.ts": 49.078001906565625,
"src/packages/app/e2e/helpers/app.ts": 43.275778737637374,
"src/packages/app/e2e/helpers/workspace.ts": 100.0,
"src/packages/app/e2e/host-onboarding-direct.spec.ts": 100.0,
"src/packages/app/e2e/host-removal.spec.ts": 100.0,
"src/packages/app/e2e/host-selection.spec.ts": 100.0,
"src/packages/app/e2e/manual-host-port.spec.ts": 100.0,
"src/packages/app/e2e/migration-wsurl-to-hostport.spec.ts": 100.0,
"src/packages/app/e2e/pairing-offer-parsing.spec.ts": 100.0,
"src/packages/app/e2e/permission-prompt.spec.ts": 100.0,
"src/packages/app/e2e/preserve-prompt-on-error.spec.ts": 100.0,
"src/packages/app/e2e/relay-fallback-connect.spec.ts": 100.0,
"src/packages/app/e2e/sidebar-new-agent-clones-selected.spec.ts": 100.0,
"src/packages/app/eslint.config.js": 100.0,
"src/packages/app/index.ts": 100.0,
"src/packages/app/metro.config.js": 100.0,
"src/packages/app/playwright.config.ts": 100.0,
"src/packages/app/plugins/with-android-product-flavors.js": 100.0,
"src/packages/app/react-native-web.d.ts": 100.0,
"src/packages/app/scripts/reset-project.js": 100.0,
"src/packages/app/src/app/+html.tsx": 75.70403237682834,
"src/packages/app/src/app/_layout.tsx": 37.34308237150715,
"src/packages/app/src/app/agent/[id].tsx": 84.67095113473219,
"src/packages/app/src/app/agent/[serverId]/[agentId].tsx": 84.67095113473219,
"src/packages/app/src/app/agent/index.tsx": 84.67095113473219,
"src/packages/app/src/app/agents.tsx": 64.40705077183343,
"src/packages/app/src/app/audio-test.tsx": 100.0,
"src/packages/app/src/app/index.tsx": 84.67095113473219,
"src/packages/app/src/app/pair-scan.tsx": 69.34190226946438,
"src/packages/app/src/app/settings.tsx": 40.11108314866176,
"src/packages/app/src/components/active-processes.tsx": 56.965919217628894,
"src/packages/app/src/components/adaptive-modal-sheet.tsx": 64.40705077183343,
"src/packages/app/src/components/add-host-method-modal.tsx": 60.37498351156052,
"src/packages/app/src/components/add-host-modal.tsx": 45.04593464629272,
"src/packages/app/src/components/agent-activity.tsx": 49.078001906565625,
"src/packages/app/src/components/agent-details-sheet.tsx": 69.34190226946438,
"src/packages/app/src/components/agent-form/agent-form-dropdowns.tsx": 18.979811114465704,
"src/packages/app/src/components/agent-input-area.tsx": 27.112097130485,
"src/packages/app/src/components/agent-list.tsx": 51.40806475365667,
"src/packages/app/src/components/agent-status-bar.tsx": 64.40705077183343,
"src/packages/app/src/components/agent-stream-view.tsx": 25.53177193914712,
"src/packages/app/src/components/artifact-drawer.tsx": 75.70403237682834,
"src/packages/app/src/components/audio-debug-notice.tsx": 60.37498351156052,
"src/packages/app/src/components/command-autocomplete.tsx": 64.40705077183343,
"src/packages/app/src/components/connection-status.tsx": 75.70403237682834,
"src/packages/app/src/components/dictation-controls.tsx": 64.40705077183343,
"src/packages/app/src/components/dictation-status-notice.tsx": 64.40705077183343,
"src/packages/app/src/components/diff-viewer.tsx": 75.70403237682834,
"src/packages/app/src/components/download-toast.tsx": 60.37498351156052,
"src/packages/app/src/components/empty-state.tsx": 75.70403237682834,
"src/packages/app/src/components/explorer-sidebar.tsx": 36.07901588838887,
"src/packages/app/src/components/file-drop-zone.tsx": 69.34190226946438,
"src/packages/app/src/components/file-explorer-pane.tsx": 20.74996702312105,
"src/packages/app/src/components/git-diff-pane.tsx": 31.641154806588556,
"src/packages/app/src/components/grouped-agent-list.tsx": 46.97020367185636,
"src/packages/app/src/components/headers/back-header.tsx": 75.70403237682834,
"src/packages/app/src/components/headers/menu-header.tsx": 60.37498351156052,
"src/packages/app/src/components/headers/screen-header.tsx": 84.67095113473219,
"src/packages/app/src/components/home-footer.tsx": 60.37498351156052,
"src/packages/app/src/components/icons/claude-icon.tsx": 84.67095113473219,
"src/packages/app/src/components/icons/codex-icon.tsx": 84.67095113473219,
"src/packages/app/src/components/message-input.tsx": 28.814101543666858,
"src/packages/app/src/components/message.tsx": 30.658097730535626,
"src/packages/app/src/components/mode-selector-modal.tsx": 75.70403237682834,
"src/packages/app/src/components/multi-daemon-session-host.tsx": 56.965919217628894,
"src/packages/app/src/components/pair-link-modal.tsx": 60.37498351156052,
"src/packages/app/src/components/realtime-controls.tsx": 69.34190226946438,
"src/packages/app/src/components/sliding-sidebar.tsx": 36.07901588838887,
"src/packages/app/src/components/tool-call-details.tsx": 49.078001906565625,
"src/packages/app/src/components/tool-call-preview.test.ts": 100.0,
"src/packages/app/src/components/tool-call-preview.ts": 84.67095113473219,
"src/packages/app/src/components/tool-call-sheet.tsx": 49.078001906565625,
"src/packages/app/src/components/ui/dropdown-menu-floating.ts": 54.01285340419657,
"src/packages/app/src/components/ui/dropdown-menu.tsx": 38.68380453892877,
"src/packages/app/src/components/voice-button.tsx": 60.37498351156052,
"src/packages/app/src/components/volume-meter.tsx": 60.37498351156052,
"src/packages/app/src/components/welcome-screen.tsx": 75.70403237682834,
"src/packages/app/src/config/audio-debug.ts": 100.0,
"src/packages/app/src/constants/layout.ts": 69.34190226946438,
"src/packages/app/src/constants/theme.ts": 100.0,
"src/packages/app/src/contexts/daemon-connections-context.tsx": 60.37498351156052,
"src/packages/app/src/contexts/daemon-registry-context.tsx": 30.658097730535626,
"src/packages/app/src/contexts/explorer-sidebar-animation-context.tsx": 56.965919217628894,
"src/packages/app/src/contexts/horizontal-scroll-context.tsx": 64.40705077183343,
"src/packages/app/src/contexts/realtime-context.tsx": 64.40705077183343,
"src/packages/app/src/contexts/session-context.tsx": 14.387836915757102,
"src/packages/app/src/contexts/sidebar-animation-context.tsx": 56.965919217628894,
"src/packages/app/src/contexts/toast-context.tsx": 56.965919217628894,
"src/packages/app/src/dictation/dictation-stream-sender.test.ts": 100.0,
"src/packages/app/src/dictation/dictation-stream-sender.ts": 75.70403237682834,
"src/packages/app/src/hooks/checkout-status-revalidation.ts": 75.70403237682834,
"src/packages/app/src/hooks/use-agent-commands-query.ts": 75.70403237682834,
"src/packages/app/src/hooks/use-agent-form-state.test.ts": 100.0,
"src/packages/app/src/hooks/use-agent-form-state.ts": 40.11108314866176,
"src/packages/app/src/hooks/use-aggregated-agents.ts": 60.37498351156052,
"src/packages/app/src/hooks/use-audio-player.d.ts": 100.0,
"src/packages/app/src/hooks/use-audio-player.native.ts": 54.01285340419657,
"src/packages/app/src/hooks/use-audio-player.web.ts": 100.0,
"src/packages/app/src/hooks/use-audio-recorder.d.ts": 100.0,
"src/packages/app/src/hooks/use-audio-recorder.native.ts": 54.01285340419657,
"src/packages/app/src/hooks/use-audio-recorder.web.ts": 41.636870352361086,
"src/packages/app/src/hooks/use-checkout-diff-query.ts": 56.965919217628894,
"src/packages/app/src/hooks/use-checkout-pr-status-query.ts": 75.70403237682834,
"src/packages/app/src/hooks/use-checkout-status-query.test.ts": 100.0,
"src/packages/app/src/hooks/use-checkout-status-query.ts": 56.965919217628894,
"src/packages/app/src/hooks/use-client-activity.ts": 56.965919217628894,
"src/packages/app/src/hooks/use-color-scheme.ts": 100.0,
"src/packages/app/src/hooks/use-color-scheme.web.ts": 100.0,
"src/packages/app/src/hooks/use-daemon-client.ts": 69.34190226946438,
"src/packages/app/src/hooks/use-dictation-audio-source.d.ts": 100.0,
"src/packages/app/src/hooks/use-dictation-audio-source.native.ts": 69.34190226946438,
"src/packages/app/src/hooks/use-dictation-audio-source.types.ts": 100.0,
"src/packages/app/src/hooks/use-dictation-audio-source.web.ts": 46.97020367185636,
"src/packages/app/src/hooks/use-dictation.d.ts": 100.0,
"src/packages/app/src/hooks/use-dictation.shared.ts": 100.0,
"src/packages/app/src/hooks/use-dictation.ts": 45.04593464629272,
"src/packages/app/src/hooks/use-favicon-status.ts": 51.40806475365667,
"src/packages/app/src/hooks/use-file-drop-zone.ts": 54.01285340419657,
"src/packages/app/src/hooks/use-form-preferences.ts": 75.70403237682834,
"src/packages/app/src/hooks/use-git-diff-query.ts": 56.965919217628894,
"src/packages/app/src/hooks/use-image-attachment-picker.ts": 69.34190226946438,
"src/packages/app/src/hooks/use-recent-paths.ts": 60.37498351156052,
"src/packages/app/src/hooks/use-session-directory.ts": 60.37498351156052,
"src/packages/app/src/hooks/use-settings.ts": 64.40705077183343,
"src/packages/app/src/hooks/use-speechmatics-audio.d.ts": 100.0,
"src/packages/app/src/hooks/use-speechmatics-audio.native.ts": 51.40806475365667,
"src/packages/app/src/hooks/use-speechmatics-audio.web.ts": 69.34190226946438,
"src/packages/app/src/hooks/use-theme-color.ts": 84.67095113473219,
"src/packages/app/src/polyfills/crypto.ts": 84.67095113473219,
"src/packages/app/src/screens/agent/agent-ready-screen.tsx": 23.354755673660954,
"src/packages/app/src/screens/agent/draft-agent-screen.tsx": 25.53177193914712,
"src/packages/app/src/screens/agent/legacy-agent-id-screen.tsx": 64.40705077183343,
"src/packages/app/src/stores/create-flow-store.ts": 100.0,
"src/packages/app/src/stores/download-store.ts": 46.97020367185636,
"src/packages/app/src/stores/draft-store.ts": 100.0,
"src/packages/app/src/stores/panel-store.ts": 84.67095113473219,
"src/packages/app/src/stores/session-store.ts": 69.34190226946438,
"src/packages/app/src/styles/markdown-styles.ts": 100.0,
"src/packages/app/src/styles/theme.ts": 100.0,
"src/packages/app/src/styles/unistyles.ts": 100.0,
"src/packages/app/src/types/agent-activity.ts": 84.67095113473219,
"src/packages/app/src/types/agent-directory.ts": 100.0,
"src/packages/app/src/types/shared.ts": 100.0,
"src/packages/app/src/types/stream-buffer.test.ts": 100.0,
"src/packages/app/src/types/stream.harness.test.ts": 100.0,
"src/packages/app/src/types/stream.test.ts": 100.0,
"src/packages/app/src/types/stream.ts": 21.37296998946232,
"src/packages/app/src/utils/agent-display-info.ts": 100.0,
"src/packages/app/src/utils/agent-grouping.test.ts": 100.0,
"src/packages/app/src/utils/agent-grouping.ts": 84.67095113473219,
"src/packages/app/src/utils/agent-status.ts": 75.70403237682834,
"src/packages/app/src/utils/analytics.ts": 84.67095113473219,
"src/packages/app/src/utils/attempt-guard.ts": 84.67095113473219,
"src/packages/app/src/utils/daemon-endpoints.ts": 49.078001906565625,
"src/packages/app/src/utils/daemons.ts": 75.70403237682834,
"src/packages/app/src/utils/diff-highlighter.test.ts": 100.0,
"src/packages/app/src/utils/diff-highlighter.ts": 56.965919217628894,
"src/packages/app/src/utils/exhaustive.ts": 84.67095113473219,
"src/packages/app/src/utils/extract-agent-model.test.ts": 100.0,
"src/packages/app/src/utils/extract-agent-model.ts": 84.67095113473219,
"src/packages/app/src/utils/navigation-timing.ts": 100.0,
"src/packages/app/src/utils/os-notifications.ts": 64.40705077183343,
"src/packages/app/src/utils/perf-monitor.ts": 69.34190226946438,
"src/packages/app/src/utils/perf.ts": 75.70403237682834,
"src/packages/app/src/utils/shorten-path.ts": 100.0,
"src/packages/app/src/utils/syntax-highlighter.ts": 60.37498351156052,
"src/packages/app/src/utils/tauri-daemon-transport.ts": 41.636870352361086,
"src/packages/app/src/utils/tauri-window.ts": 51.40806475365667,
"src/packages/app/src/utils/test-daemon-connection.ts": 49.078001906565625,
"src/packages/app/src/utils/time.ts": 100.0,
"src/packages/app/src/utils/tool-call-parsers.test.ts": 100.0,
"src/packages/app/src/utils/tool-call-parsers.ts": 23.354755673660954,
"src/packages/app/vitest.config.ts": 100.0,
"src/packages/desktop/src-tauri/build.rs": 84.67095113473219,
"src/packages/desktop/src-tauri/src/lib.rs": 69.34190226946438,
"src/packages/desktop/src-tauri/src/main.rs": 84.67095113473219,
"src/packages/relay/src/cloudflare-adapter.ts": 69.34190226946438,
"src/packages/relay/src/crypto.test.ts": 100.0,
"src/packages/relay/src/crypto.ts": 75.70403237682834,
"src/packages/relay/src/e2e.test.ts": 100.0,
"src/packages/relay/src/encrypted-channel.test.ts": 100.0,
"src/packages/relay/src/encrypted-channel.ts": 69.34190226946438,
"src/packages/relay/src/index.ts": 100.0,
"src/packages/relay/src/live-relay.e2e.test.ts": 100.0,
"src/packages/relay/src/node-adapter.ts": 69.34190226946438,
"src/packages/relay/src/relay.ts": 84.67095113473219,
"src/packages/relay/src/types.ts": 100.0,
"src/packages/server/scripts/dev-runner.ts": 100.0,
"src/packages/server/scripts/process-conversation.ts": 100.0,
"src/packages/server/scripts/test-codex-mcp-agents.ts": 100.0,
"src/packages/server/scripts/test-codex-mcp-basic-auth.ts": 100.0,
"src/packages/server/scripts/test-codex-mcp-bearer.ts": 100.0,
"src/packages/server/scripts/test-codex-mcp-http-headers.ts": 100.0,
"src/packages/server/scripts/test-codex-mcp-http.ts": 100.0,
"src/packages/server/scripts/test-codex-mcp-servers.ts": 100.0,
"src/packages/server/scripts/verify-codex-mcp-config.ts": 100.0,
"src/packages/server/src/client/daemon-client-v2.test.ts": 100.0,
"src/packages/server/src/client/daemon-client-v2.ts": 45.04593464629272,
"src/packages/server/src/poc-commands/commands-poc.test.ts": 100.0,
"src/packages/server/src/poc-commands/investigate-command-output.ts": 64.40705077183343,
"src/packages/server/src/poc-commands/run-poc.ts": 60.37498351156052,
"src/packages/server/src/server/agent/activity-curator.test.ts": 100.0,
"src/packages/server/src/server/agent/activity-curator.ts": 60.37498351156052,
"src/packages/server/src/server/agent/agent-manager.test.ts": 100.0,
"src/packages/server/src/server/agent/agent-manager.ts": 51.40806475365667,
"src/packages/server/src/server/agent/agent-mcp.e2e.test.ts": 100.0,
"src/packages/server/src/server/agent/agent-projections.test.ts": 100.0,
"src/packages/server/src/server/agent/agent-projections.ts": 41.636870352361086,
"src/packages/server/src/server/agent/agent-response-loop.e2e.test.ts": 100.0,
"src/packages/server/src/server/agent/agent-response-loop.test.ts": 100.0,
"src/packages/server/src/server/agent/agent-response-loop.ts": 41.636870352361086,
"src/packages/server/src/server/agent/agent-sdk-types.ts": 100.0,
"src/packages/server/src/server/agent/agent-self-identification.e2e.test.ts": 100.0,
"src/packages/server/src/server/agent/agent-storage.test.ts": 100.0,
"src/packages/server/src/server/agent/agent-storage.ts": 64.40705077183343,
"src/packages/server/src/server/agent/audio-utils.ts": 64.40705077183343,
"src/packages/server/src/server/agent/dictation-debug.ts": 84.67095113473219,
"src/packages/server/src/server/agent/llm-openai.ts": 100.0,
"src/packages/server/src/server/agent/mcp-server.test.ts": 100.0,
"src/packages/server/src/server/agent/mcp-server.ts": 38.68380453892877,
"src/packages/server/src/server/agent/model-catalog.e2e.test.ts": 100.0,
"src/packages/server/src/server/agent/model-resolver.test.ts": 100.0,
"src/packages/server/src/server/agent/model-resolver.ts": 75.70403237682834,
"src/packages/server/src/server/agent/openai-realtime-transcription.ts": 75.70403237682834,
"src/packages/server/src/server/agent/opencode-reasoning.e2e.test.ts": 100.0,
"src/packages/server/src/server/agent/orchestrator-instructions.ts": 100.0,
"src/packages/server/src/server/agent/orchestrator.ts": 100.0,
"src/packages/server/src/server/agent/paseo-instructions-tag.test.ts": 100.0,
"src/packages/server/src/server/agent/paseo-instructions-tag.ts": 75.70403237682834,
"src/packages/server/src/server/agent/pcm16-resampler.ts": 84.67095113473219,
"src/packages/server/src/server/agent/provider-manifest.ts": 69.34190226946438,
"src/packages/server/src/server/agent/provider-registry.ts": 69.34190226946438,
"src/packages/server/src/server/agent/providers/claude-agent-commands.e2e.test.ts": 100.0,
"src/packages/server/src/server/agent/providers/claude-agent-commands.test.ts": 100.0,
"src/packages/server/src/server/agent/providers/claude-agent.history.test.ts": 100.0,
"src/packages/server/src/server/agent/providers/claude-agent.test.ts": 100.0,
"src/packages/server/src/server/agent/providers/claude-agent.ts": 25.53177193914712,
"src/packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts": 100.0,
"src/packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts": 100.0,
"src/packages/server/src/server/agent/providers/codex-mcp-agent-commands.e2e.test.ts": 100.0,
"src/packages/server/src/server/agent/providers/codex-mcp-agent.commands.test.ts": 100.0,
"src/packages/server/src/server/agent/providers/codex-mcp-agent.paseo-instructions.test.ts": 100.0,
"src/packages/server/src/server/agent/providers/codex-mcp-agent.resume-errors.test.ts": 100.0,
"src/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts": 100.0,
"src/packages/server/src/server/agent/providers/codex-mcp-agent.ts": 0.0,
"src/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts": 100.0,
"src/packages/server/src/server/agent/providers/opencode-agent.test.ts": 100.0,
"src/packages/server/src/server/agent/providers/opencode-agent.ts": 49.078001906565625,
"src/packages/server/src/server/agent/recordings-debug.ts": 69.34190226946438,
"src/packages/server/src/server/agent/self-identification-instructions.ts": 75.70403237682834,
"src/packages/server/src/server/agent/stt-debug.ts": 84.67095113473219,
"src/packages/server/src/server/agent/stt-manager.ts": 100.0,
"src/packages/server/src/server/agent/stt-openai.ts": 60.37498351156052,
"src/packages/server/src/server/agent/system-prompt.ts": 75.70403237682834,
"src/packages/server/src/server/agent/tts-debug.ts": 84.67095113473219,
"src/packages/server/src/server/agent/tts-manager.ts": 60.37498351156052,
"src/packages/server/src/server/agent/tts-openai.ts": 84.67095113473219,
"src/packages/server/src/server/agent/wait-for-agent-tracker.test.ts": 100.0,
"src/packages/server/src/server/agent/wait-for-agent-tracker.ts": 100.0,
"src/packages/server/src/server/bootstrap.smoke.test.ts": 100.0,
"src/packages/server/src/server/bootstrap.ts": 46.97020367185636,
"src/packages/server/src/server/client-activity.e2e.test.ts": 100.0,
"src/packages/server/src/server/config.ts": 69.34190226946438,
"src/packages/server/src/server/connection-offer.ts": 56.965919217628894,
"src/packages/server/src/server/daemon-client-v2.e2e.test.ts": 100.0,
"src/packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts": 100.0,
"src/packages/server/src/server/daemon-e2e/agent-configs.ts": 100.0,
"src/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts": 100.0,
"src/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts": 100.0,
"src/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts": 100.0,
"src/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts": 100.0,
"src/packages/server/src/server/daemon-e2e/file-download.e2e.test.ts": 100.0,
"src/packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts": 100.0,
"src/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts": 100.0,
"src/packages/server/src/server/daemon-e2e/images.e2e.test.ts": 100.0,
"src/packages/server/src/server/daemon-e2e/models.e2e.test.ts": 100.0,
"src/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts": 100.0,
"src/packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts": 100.0,
"src/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts": 100.0,
"src/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts": 100.0,
"src/packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts": 100.0,
"src/packages/server/src/server/daemon-e2e/setup.ts": 69.34190226946438,
"src/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts": 100.0,
"src/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts": 100.0,
"src/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts": 100.0,
"src/packages/server/src/server/daemon-e2e/two-cycle-resume.e2e.test.ts": 100.0,
"src/packages/server/src/server/daemon-e2e/wait-for-idle.e2e.test.ts": 100.0,
"src/packages/server/src/server/file-download/token-store.ts": 84.67095113473219,
"src/packages/server/src/server/file-explorer/service.ts": 56.965919217628894,
"src/packages/server/src/server/index.ts": 69.34190226946438,
"src/packages/server/src/server/json-utils.ts": 84.67095113473219,
"src/packages/server/src/server/logger.test.ts": 100.0,
"src/packages/server/src/server/logger.ts": 69.34190226946438,
"src/packages/server/src/server/messages.test.ts": 100.0,
"src/packages/server/src/server/messages.ts": 75.70403237682834,
"src/packages/server/src/server/pairing-qr.ts": 64.40705077183343,
"src/packages/server/src/server/paseo-home.ts": 75.70403237682834,
"src/packages/server/src/server/persisted-config.ts": 64.40705077183343,
"src/packages/server/src/server/persistence-hooks.test.ts": 100.0,
"src/packages/server/src/server/persistence-hooks.ts": 60.37498351156052,
"src/packages/server/src/server/push/push-service.ts": 84.67095113473219,
"src/packages/server/src/server/push/token-store.ts": 100.0,
"src/packages/server/src/server/relay-transport.ts": 56.965919217628894,
"src/packages/server/src/server/session.ts": 33.74895304129781,
"src/packages/server/src/server/terminal-mcp/index.ts": 100.0,
"src/packages/server/src/server/terminal-mcp/server.ts": 100.0,
"src/packages/server/src/server/terminal-mcp/terminal-manager.test.ts": 100.0,
"src/packages/server/src/server/terminal-mcp/terminal-manager.ts": 64.40705077183343,
"src/packages/server/src/server/terminal-mcp/tmux.ts": 36.07901588838887,
"src/packages/server/src/server/test-utils/claude-auth.ts": 100.0,
"src/packages/server/src/server/test-utils/claude-config.ts": 84.67095113473219,
"src/packages/server/src/server/test-utils/daemon-client.ts": 84.67095113473219,
"src/packages/server/src/server/test-utils/daemon-test-context.ts": 100.0,
"src/packages/server/src/server/test-utils/index.ts": 100.0,
"src/packages/server/src/server/test-utils/paseo-daemon.ts": 64.40705077183343,
"src/packages/server/src/server/types.ts": 100.0,
"src/packages/server/src/server/utils/diff-highlighter.test.ts": 100.0,
"src/packages/server/src/server/utils/diff-highlighter.ts": 54.01285340419657,
"src/packages/server/src/server/utils/syntax-highlighter.ts": 60.37498351156052,
"src/packages/server/src/server/voice-conversation-store.ts": 69.34190226946438,
"src/packages/server/src/server/voice-conversations.e2e.test.ts": 100.0,
"src/packages/server/src/server/websocket-server.ts": 100.0,
"src/packages/server/src/server/websocket-session-bridge.ts": 69.34190226946438,
"src/packages/server/src/shared/agent-lifecycle.ts": 100.0,
"src/packages/server/src/shared/messages.ts": 84.67095113473219,
"src/packages/server/src/tasks/cli.ts": 32.66995159445722,
"src/packages/server/src/tasks/execution-order.test.ts": 100.0,
"src/packages/server/src/tasks/execution-order.ts": 54.01285340419657,
"src/packages/server/src/tasks/task-store.test.ts": 100.0,
"src/packages/server/src/tasks/task-store.ts": 41.636870352361086,
"src/packages/server/src/tasks/types.ts": 100.0,
"src/packages/server/src/terminal/terminal-manager.test.ts": 100.0,
"src/packages/server/src/terminal/terminal-manager.ts": 75.70403237682834,
"src/packages/server/src/terminal/terminal.test.ts": 100.0,
"src/packages/server/src/terminal/terminal.ts": 49.078001906565625,
"src/packages/server/src/test-utils/test-logger.ts": 84.67095113473219,
"src/packages/server/src/test-utils/vitest-setup.ts": 100.0,
"src/packages/server/src/utils/checkout-git.test.ts": 100.0,
"src/packages/server/src/utils/checkout-git.ts": 23.354755673660954,
"src/packages/server/src/utils/path.ts": 100.0,
"src/packages/server/src/utils/tool-call-parsers.test.ts": 100.0,
"src/packages/server/src/utils/tool-call-parsers.ts": 60.37498351156052,
"src/packages/server/src/utils/worktree-metadata.ts": 56.965919217628894,
"src/packages/server/src/utils/worktree.test.ts": 100.0,
"src/packages/server/src/utils/worktree.ts": 31.641154806588556,
"src/packages/server/vitest.config.ts": 100.0,
"src/packages/website/src/components/butterfly.tsx": 40.11108314866176,
"src/packages/website/src/routeTree.gen.ts": 100.0,
"src/packages/website/src/router.tsx": 84.67095113473219,
"src/packages/website/src/routes/__root.tsx": 75.70403237682834,
"src/packages/website/src/routes/docs.tsx": 84.67095113473219,
"src/packages/website/src/routes/docs/best-practices.tsx": 84.67095113473219,
"src/packages/website/src/routes/docs/index.tsx": 84.67095113473219,
"src/packages/website/src/routes/index.tsx": 41.636870352361086,
"src/packages/website/vite.config.ts": 100.0,
"src/scripts/codex-claude-test.ts": 100.0,
"src/scripts/codex-cli-approval-test.mjs": 100.0,
"src/scripts/codex-file-read-debug.ts": 100.0,
"src/scripts/codex-full-access-ipc-repro.smoke.mjs": 100.0,
"src/scripts/codex-mcp-elicitation-test.ts": 100.0,
"src/scripts/codex-sdk-permission-test.mjs": 100.0,
"src/scripts/codex-websearch-debug.ts": 100.0,
"src/scripts/mcp-create-codex-check.ts": 100.0,
"src/scripts/repro-ipc-listen.js": 100.0,
"stream-buffer.test.ts": 100.0,
"stream.harness.test.ts": 100.0,
"stream.test.ts": 100.0,
"stream.ts": 21.37296998946232,
"streaming.e2e.test.ts": 100.0,
"stt-debug.ts": 84.67095113473219,
"stt-manager.ts": 100.0,
"stt-openai.ts": 60.37498351156052,
"syntax-highlighter.ts": 60.37498351156052,
"system-prompt.ts": 75.70403237682834,
"task-store.test.ts": 100.0,
"task-store.ts": 41.636870352361086,
"tauri-daemon-transport.ts": 41.636870352361086,
"tauri-window.ts": 51.40806475365667,
"terminal-manager.test.ts": 100.0,
"terminal-manager.ts": 75.70403237682834,
"terminal.e2e.test.ts": 100.0,
"terminal.test.ts": 100.0,
"terminal.ts": 49.078001906565625,
"test-codex-mcp-agents.ts": 100.0,
"test-codex-mcp-basic-auth.ts": 100.0,
"test-codex-mcp-bearer.ts": 100.0,
"test-codex-mcp-http-headers.ts": 100.0,
"test-codex-mcp-http.ts": 100.0,
"test-codex-mcp-servers.ts": 100.0,
"test-daemon-connection.ts": 49.078001906565625,
"test-logger.ts": 84.67095113473219,
"theme.ts": 100.0,
"thinking-sheet.tsx": 51.40806475365667,
"time.ts": 100.0,
"tmux.ts": 36.07901588838887,
"toast-context.tsx": 56.965919217628894,
"token-store.ts": 100.0,
"tool-call-details.tsx": 49.078001906565625,
"tool-call-parsers.test.ts": 100.0,
"tool-call-parsers.ts": 23.354755673660954,
"tool-call-preview.test.ts": 100.0,
"tool-call-preview.ts": 84.67095113473219,
"tool-call-sheet.tsx": 49.078001906565625,
"tool-calls.e2e.test.ts": 100.0,
"tts-debug.ts": 84.67095113473219,
"tts-manager.ts": 60.37498351156052,
"tts-openai.ts": 84.67095113473219,
"two-cycle-resume.e2e.test.ts": 100.0,
"types.ts": 100.0,
"unistyles.ts": 100.0,
"use-agent-commands-query.ts": 75.70403237682834,
"use-agent-form-state.test.ts": 100.0,
"use-agent-form-state.ts": 40.11108314866176,
"use-aggregated-agents.ts": 60.37498351156052,
"use-audio-player.d.ts": 100.0,
"use-audio-player.native.ts": 54.01285340419657,
"use-audio-player.web.ts": 100.0,
"use-audio-recorder.d.ts": 100.0,
"use-audio-recorder.native.ts": 54.01285340419657,
"use-audio-recorder.web.ts": 41.636870352361086,
"use-checkout-diff-query.ts": 56.965919217628894,
"use-checkout-pr-status-query.ts": 75.70403237682834,
"use-checkout-status-query.test.ts": 100.0,
"use-checkout-status-query.ts": 56.965919217628894,
"use-client-activity.ts": 56.965919217628894,
"use-color-scheme.ts": 100.0,
"use-color-scheme.web.ts": 100.0,
"use-daemon-client.ts": 69.34190226946438,
"use-dictation-audio-source.d.ts": 100.0,
"use-dictation-audio-source.native.ts": 69.34190226946438,
"use-dictation-audio-source.types.ts": 100.0,
"use-dictation-audio-source.web.ts": 51.40806475365667,
"use-dictation.d.ts": 100.0,
"use-dictation.shared.ts": 100.0,
"use-dictation.ts": 45.04593464629272,
"use-favicon-status.ts": 51.40806475365667,
"use-file-drop-zone.ts": 54.01285340419657,
"use-form-preferences.ts": 75.70403237682834,
"use-git-diff-query.ts": 56.965919217628894,
"use-image-attachment-picker.ts": 69.34190226946438,
"use-recent-paths.ts": 60.37498351156052,
"use-session-directory.ts": 60.37498351156052,
"use-settings.ts": 64.40705077183343,
"use-speechmatics-audio.d.ts": 100.0,
"use-speechmatics-audio.native.ts": 51.40806475365667,
"use-speechmatics-audio.web.ts": 69.34190226946438,
"use-theme-color.ts": 84.67095113473219,
"verify-codex-mcp-config.ts": 100.0,
"vite.config.ts": 100.0,
"vitest-setup.ts": 100.0,
"vitest.config.ts": 100.0,
"voice-button.tsx": 60.37498351156052,
"voice-conversation-store.ts": 69.34190226946438,
"voice-conversations.e2e.test.ts": 100.0,
"volume-meter.tsx": 60.37498351156052,
"wait-for-agent-tracker.test.ts": 100.0,
"wait-for-agent-tracker.ts": 100.0,
"wait-for-idle.e2e.test.ts": 100.0,
"websocket-server.ts": 100.0,
"websocket-session-bridge.ts": 69.34190226946438,
"welcome-screen.tsx": 75.70403237682834,
"with-android-product-flavors.js": 100.0,
"workspace.ts": 100.0,
"worktree-metadata.ts": 56.965919217628894,
"worktree.test.ts": 100.0,
"worktree.ts": 40.11108314866176
},
"file_doc_issues": {
".paseo/worktrees/loved-insect/packages/app/e2e/global-setup.ts": 9,
".paseo/worktrees/loved-insect/packages/app/e2e/helpers/app.ts": 11,
".paseo/worktrees/loved-insect/packages/app/src/app/+html.tsx": 2,
".paseo/worktrees/loved-insect/packages/app/src/app/_layout.tsx": 16,
".paseo/worktrees/loved-insect/packages/app/src/app/agent/[id].tsx": 4,
".paseo/worktrees/loved-insect/packages/app/src/app/agent/[serverId]/[agentId].tsx": 25,
".paseo/worktrees/loved-insect/packages/app/src/app/agents.tsx": 4,
".paseo/worktrees/loved-insect/packages/app/src/app/index.tsx": 22,
".paseo/worktrees/loved-insect/packages/app/src/app/pair-scan.tsx": 3,
".paseo/worktrees/loved-insect/packages/app/src/app/settings.tsx": 14,
".paseo/worktrees/loved-insect/packages/app/src/components/active-processes.tsx": 6,
".paseo/worktrees/loved-insect/packages/app/src/components/adaptive-modal-sheet.tsx": 4,
".paseo/worktrees/loved-insect/packages/app/src/components/add-host-method-modal.tsx": 5,
".paseo/worktrees/loved-insect/packages/app/src/components/add-host-modal.tsx": 11,
".paseo/worktrees/loved-insect/packages/app/src/components/agent-activity.tsx": 9,
".paseo/worktrees/loved-insect/packages/app/src/components/agent-form/agent-form-dropdowns.tsx": 37,
".paseo/worktrees/loved-insect/packages/app/src/components/agent-input-area.tsx": 26,
".paseo/worktrees/loved-insect/packages/app/src/components/agent-list.tsx": 7,
".paseo/worktrees/loved-insect/packages/app/src/components/agent-status-bar.tsx": 4,
".paseo/worktrees/loved-insect/packages/app/src/components/agent-stream-view.tsx": 28,
".paseo/worktrees/loved-insect/packages/app/src/components/artifact-drawer.tsx": 2,
".paseo/worktrees/loved-insect/packages/app/src/components/audio-debug-notice.tsx": 5,
".paseo/worktrees/loved-insect/packages/app/src/components/command-autocomplete.tsx": 4,
".paseo/worktrees/loved-insect/packages/app/src/components/connection-status.tsx": 2,
".paseo/worktrees/loved-insect/packages/app/src/components/dictation-controls.tsx": 4,
".paseo/worktrees/loved-insect/packages/app/src/components/dictation-status-notice.tsx": 4,
".paseo/worktrees/loved-insect/packages/app/src/components/diff-viewer.tsx": 2,
".paseo/worktrees/loved-insect/packages/app/src/components/download-toast.tsx": 5,
".paseo/worktrees/loved-insect/packages/app/src/components/empty-state.tsx": 2,
".paseo/worktrees/loved-insect/packages/app/src/components/explorer-sidebar.tsx": 17,
".paseo/worktrees/loved-insect/packages/app/src/components/file-drop-zone.tsx": 3,
".paseo/worktrees/loved-insect/packages/app/src/components/file-explorer-pane.tsx": 35,
".paseo/worktrees/loved-insect/packages/app/src/components/git-diff-pane.tsx": 21,
".paseo/worktrees/loved-insect/packages/app/src/components/headers/back-header.tsx": 2,
".paseo/worktrees/loved-insect/packages/app/src/components/headers/menu-header.tsx": 5,
".paseo/worktrees/loved-insect/packages/app/src/components/headers/screen-header.tsx": 1,
".paseo/worktrees/loved-insect/packages/app/src/components/home-footer.tsx": 5,
".paseo/worktrees/loved-insect/packages/app/src/components/message-input.tsx": 23,
".paseo/worktrees/loved-insect/packages/app/src/components/message.tsx": 22,
".paseo/worktrees/loved-insect/packages/app/src/components/mode-selector-modal.tsx": 2,
".paseo/worktrees/loved-insect/packages/app/src/components/multi-daemon-session-host.tsx": 6,
".paseo/worktrees/loved-insect/packages/app/src/components/pair-link-modal.tsx": 5,
".paseo/worktrees/loved-insect/packages/app/src/components/realtime-controls.tsx": 3,
".paseo/worktrees/loved-insect/packages/app/src/components/sliding-sidebar.tsx": 17,
".paseo/worktrees/loved-insect/packages/app/src/components/tool-call-details.tsx": 9,
".paseo/worktrees/loved-insect/packages/app/src/components/tool-call-sheet.tsx": 9,
".paseo/worktrees/loved-insect/packages/app/src/components/ui/dropdown-menu-floating.ts": 7,
".paseo/worktrees/loved-insect/packages/app/src/components/ui/dropdown-menu.tsx": 15,
".paseo/worktrees/loved-insect/packages/app/src/components/voice-button.tsx": 5,
".paseo/worktrees/loved-insect/packages/app/src/components/volume-meter.tsx": 5,
".paseo/worktrees/loved-insect/packages/app/src/components/welcome-screen.tsx": 2,
".paseo/worktrees/loved-insect/packages/app/src/constants/layout.ts": 3,
".paseo/worktrees/loved-insect/packages/app/src/contexts/daemon-connections-context.tsx": 5,
".paseo/worktrees/loved-insect/packages/app/src/contexts/daemon-registry-context.tsx": 22,
".paseo/worktrees/loved-insect/packages/app/src/contexts/explorer-sidebar-animation-context.tsx": 6,
".paseo/worktrees/loved-insect/packages/app/src/contexts/horizontal-scroll-context.tsx": 4,
".paseo/worktrees/loved-insect/packages/app/src/contexts/realtime-context.tsx": 4,
".paseo/worktrees/loved-insect/packages/app/src/contexts/session-context.tsx": 47,
".paseo/worktrees/loved-insect/packages/app/src/contexts/sidebar-animation-context.tsx": 6,
".paseo/worktrees/loved-insect/packages/app/src/dictation/dictation-stream-sender.ts": 2,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-agent-commands-query.ts": 2,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-agent-form-state.ts": 14,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-aggregated-agents.ts": 5,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-audio-player.native.ts": 7,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-audio-recorder.native.ts": 7,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-audio-recorder.web.ts": 13,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-checkout-diff-query.ts": 6,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-checkout-pr-status-query.ts": 2,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-checkout-status-query.ts": 6,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-client-activity.ts": 6,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-dictation-audio-source.web.ts": 8,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-dictation.ts": 11,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-favicon-status.ts": 8,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-file-drop-zone.ts": 7,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-form-preferences.ts": 2,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-git-diff-query.ts": 6,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-image-attachment-picker.ts": 3,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-recent-paths.ts": 5,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-settings.ts": 4,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-speechmatics-audio.native.ts": 8,
".paseo/worktrees/loved-insect/packages/app/src/hooks/use-speechmatics-audio.web.ts": 3,
".paseo/worktrees/loved-insect/packages/app/src/stores/download-store.ts": 10,
".paseo/worktrees/loved-insect/packages/app/src/stores/panel-store.ts": 1,
".paseo/worktrees/loved-insect/packages/app/src/stores/session-store.ts": 3,
".paseo/worktrees/loved-insect/packages/app/src/types/agent-activity.ts": 1,
".paseo/worktrees/loved-insect/packages/app/src/types/stream.ts": 34,
".paseo/worktrees/loved-insect/packages/app/src/utils/daemon-endpoints.ts": 9,
".paseo/worktrees/loved-insect/packages/app/src/utils/diff-highlighter.ts": 6,
".paseo/worktrees/loved-insect/packages/app/src/utils/os-notifications.ts": 4,
".paseo/worktrees/loved-insect/packages/app/src/utils/perf-monitor.ts": 3,
".paseo/worktrees/loved-insect/packages/app/src/utils/perf.ts": 2,
".paseo/worktrees/loved-insect/packages/app/src/utils/syntax-highlighter.ts": 5,
".paseo/worktrees/loved-insect/packages/app/src/utils/tauri-daemon-transport.ts": 13,
".paseo/worktrees/loved-insect/packages/app/src/utils/tauri-window.ts": 8,
".paseo/worktrees/loved-insect/packages/app/src/utils/test-daemon-connection.ts": 9,
".paseo/worktrees/loved-insect/packages/app/src/utils/tool-call-parsers.ts": 31,
".paseo/worktrees/loved-insect/packages/desktop/src-tauri/src/lib.rs": 3,
".paseo/worktrees/loved-insect/packages/relay/src/cloudflare-adapter.ts": 3,
".paseo/worktrees/loved-insect/packages/relay/src/crypto.ts": 2,
".paseo/worktrees/loved-insect/packages/relay/src/encrypted-channel.ts": 3,
".paseo/worktrees/loved-insect/packages/relay/src/node-adapter.ts": 3,
".paseo/worktrees/loved-insect/packages/relay/src/relay.ts": 1,
".paseo/worktrees/loved-insect/packages/server/src/client/daemon-client-v2.ts": 11,
".paseo/worktrees/loved-insect/packages/server/src/poc-commands/investigate-command-output.ts": 4,
".paseo/worktrees/loved-insect/packages/server/src/poc-commands/run-poc.ts": 5,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/activity-curator.ts": 5,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/agent-manager.ts": 8,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/agent-projections.ts": 13,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/agent-response-loop.ts": 13,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/agent-storage.ts": 3,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/mcp-server.ts": 15,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/openai-realtime-transcription.ts": 2,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/pcm16-resampler.ts": 1,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/provider-manifest.ts": 3,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/provider-registry.ts": 3,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/providers/claude-agent.ts": 28,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/providers/codex-mcp-agent.ts": 91,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/providers/opencode-agent.ts": 9,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/stt-debug.ts": 1,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/stt-openai.ts": 5,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/tts-manager.ts": 5,
".paseo/worktrees/loved-insect/packages/server/src/server/agent/tts-openai.ts": 1,
".paseo/worktrees/loved-insect/packages/server/src/server/bootstrap.ts": 10,
".paseo/worktrees/loved-insect/packages/server/src/server/config.ts": 3,
".paseo/worktrees/loved-insect/packages/server/src/server/connection-offer.ts": 6,
".paseo/worktrees/loved-insect/packages/server/src/server/daemon-e2e/setup.ts": 3,
".paseo/worktrees/loved-insect/packages/server/src/server/file-download/token-store.ts": 1,
".paseo/worktrees/loved-insect/packages/server/src/server/file-explorer/service.ts": 6,
".paseo/worktrees/loved-insect/packages/server/src/server/index.ts": 3,
".paseo/worktrees/loved-insect/packages/server/src/server/json-utils.ts": 1,
".paseo/worktrees/loved-insect/packages/server/src/server/logger.ts": 3,
".paseo/worktrees/loved-insect/packages/server/src/server/pairing-qr.ts": 4,
".paseo/worktrees/loved-insect/packages/server/src/server/persisted-config.ts": 4,
".paseo/worktrees/loved-insect/packages/server/src/server/persistence-hooks.ts": 5,
".paseo/worktrees/loved-insect/packages/server/src/server/push/push-service.ts": 1,
".paseo/worktrees/loved-insect/packages/server/src/server/relay-transport.ts": 6,
".paseo/worktrees/loved-insect/packages/server/src/server/session.ts": 19,
".paseo/worktrees/loved-insect/packages/server/src/server/terminal-mcp/terminal-manager.ts": 4,
".paseo/worktrees/loved-insect/packages/server/src/server/terminal-mcp/tmux.ts": 17,
".paseo/worktrees/loved-insect/packages/server/src/server/test-utils/paseo-daemon.ts": 4,
".paseo/worktrees/loved-insect/packages/server/src/server/utils/diff-highlighter.ts": 7,
".paseo/worktrees/loved-insect/packages/server/src/server/utils/syntax-highlighter.ts": 5,
".paseo/worktrees/loved-insect/packages/server/src/server/voice-conversation-store.ts": 3,
".paseo/worktrees/loved-insect/packages/server/src/server/websocket-session-bridge.ts": 3,
".paseo/worktrees/loved-insect/packages/server/src/shared/messages.ts": 1,
".paseo/worktrees/loved-insect/packages/server/src/tasks/cli.ts": 20,
".paseo/worktrees/loved-insect/packages/server/src/tasks/execution-order.ts": 7,
".paseo/worktrees/loved-insect/packages/server/src/tasks/task-store.ts": 13,
".paseo/worktrees/loved-insect/packages/server/src/terminal/terminal-manager.ts": 2,
".paseo/worktrees/loved-insect/packages/server/src/terminal/terminal.ts": 9,
".paseo/worktrees/loved-insect/packages/server/src/utils/checkout-git.ts": 24,
".paseo/worktrees/loved-insect/packages/server/src/utils/tool-call-parsers.ts": 5,
".paseo/worktrees/loved-insect/packages/server/src/utils/worktree-metadata.ts": 6,
".paseo/worktrees/loved-insect/packages/server/src/utils/worktree.ts": 14,
".paseo/worktrees/loved-insect/packages/website/src/components/butterfly.tsx": 14,
".paseo/worktrees/loved-insect/packages/website/src/routes/__root.tsx": 2,
".paseo/worktrees/loved-insect/packages/website/src/routes/docs.tsx": 1,
".paseo/worktrees/loved-insect/packages/website/src/routes/docs/best-practices.tsx": 1,
".paseo/worktrees/loved-insect/packages/website/src/routes/docs/index.tsx": 1,
".paseo/worktrees/loved-insect/packages/website/src/routes/index.tsx": 13,
".paseo/worktrees/ripe-dragonfly/packages/app/e2e/global-setup.ts": 9,
".paseo/worktrees/ripe-dragonfly/packages/app/e2e/helpers/app.ts": 11,
".paseo/worktrees/ripe-dragonfly/packages/app/src/app/+html.tsx": 2,
".paseo/worktrees/ripe-dragonfly/packages/app/src/app/_layout.tsx": 16,
".paseo/worktrees/ripe-dragonfly/packages/app/src/app/agent/[id].tsx": 4,
".paseo/worktrees/ripe-dragonfly/packages/app/src/app/agent/[serverId]/[agentId].tsx": 25,
".paseo/worktrees/ripe-dragonfly/packages/app/src/app/agents.tsx": 4,
".paseo/worktrees/ripe-dragonfly/packages/app/src/app/index.tsx": 22,
".paseo/worktrees/ripe-dragonfly/packages/app/src/app/orchestrator.tsx": 6,
".paseo/worktrees/ripe-dragonfly/packages/app/src/app/pair-scan.tsx": 3,
".paseo/worktrees/ripe-dragonfly/packages/app/src/app/settings.tsx": 14,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/active-processes.tsx": 6,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-activity.tsx": 9,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-form/agent-form-dropdowns.tsx": 37,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-input-area.tsx": 26,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-list.tsx": 6,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-status-bar.tsx": 4,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-stream-view.tsx": 28,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/agent-thought-content.tsx": 3,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/artifact-drawer.tsx": 2,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/audio-debug-notice.tsx": 5,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/command-autocomplete.tsx": 4,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/connection-status.tsx": 2,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/conversation-selector.tsx": 7,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/dictation-controls.tsx": 4,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/dictation-status-notice.tsx": 4,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/diff-viewer.tsx": 2,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/download-toast.tsx": 5,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/empty-state.tsx": 2,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/explorer-sidebar.tsx": 17,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/file-drop-zone.tsx": 3,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/file-explorer-pane.tsx": 35,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/git-diff-pane.tsx": 21,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/headers/back-header.tsx": 2,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/headers/home-header.tsx": 4,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/headers/menu-header.tsx": 5,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/headers/screen-header.tsx": 1,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/home-footer.tsx": 5,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/message-input.tsx": 23,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/message.tsx": 24,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/mode-selector-modal.tsx": 2,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/multi-daemon-session-host.tsx": 6,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/orchestrator-messages-view.tsx": 2,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/realtime-controls.tsx": 3,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/sliding-sidebar.tsx": 17,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/thinking-sheet.tsx": 8,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/tool-call-details.tsx": 9,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/tool-call-sheet.tsx": 9,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/ui/dropdown-menu-floating.ts": 7,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/ui/dropdown-menu.tsx": 15,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/voice-button.tsx": 5,
".paseo/worktrees/ripe-dragonfly/packages/app/src/components/volume-meter.tsx": 5,
".paseo/worktrees/ripe-dragonfly/packages/app/src/constants/layout.ts": 3,
".paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/daemon-connections-context.tsx": 5,
".paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/daemon-registry-context.tsx": 22,
".paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/explorer-sidebar-animation-context.tsx": 6,
".paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/horizontal-scroll-context.tsx": 4,
".paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/realtime-context.tsx": 4,
".paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/session-context.tsx": 47,
".paseo/worktrees/ripe-dragonfly/packages/app/src/contexts/sidebar-animation-context.tsx": 6,
".paseo/worktrees/ripe-dragonfly/packages/app/src/dictation/dictation-stream-sender.ts": 2,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-agent-commands-query.ts": 2,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-agent-form-state.ts": 14,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-aggregated-agents.ts": 5,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-audio-player.native.ts": 7,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-audio-recorder.native.ts": 7,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-audio-recorder.web.ts": 13,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-checkout-diff-query.ts": 6,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-checkout-pr-status-query.ts": 2,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-checkout-status-query.ts": 5,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-client-activity.ts": 6,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-dictation-audio-source.web.ts": 8,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-dictation.ts": 11,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-favicon-status.ts": 8,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-file-drop-zone.ts": 7,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-form-preferences.ts": 2,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-git-diff-query.ts": 6,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-image-attachment-picker.ts": 3,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-recent-paths.ts": 5,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-settings.ts": 4,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-speechmatics-audio.native.ts": 8,
".paseo/worktrees/ripe-dragonfly/packages/app/src/hooks/use-speechmatics-audio.web.ts": 3,
".paseo/worktrees/ripe-dragonfly/packages/app/src/stores/download-store.ts": 10,
".paseo/worktrees/ripe-dragonfly/packages/app/src/stores/panel-store.ts": 1,
".paseo/worktrees/ripe-dragonfly/packages/app/src/stores/session-store.ts": 3,
".paseo/worktrees/ripe-dragonfly/packages/app/src/types/agent-activity.ts": 1,
".paseo/worktrees/ripe-dragonfly/packages/app/src/types/stream.ts": 34,
".paseo/worktrees/ripe-dragonfly/packages/app/src/utils/daemon-endpoints.ts": 9,
".paseo/worktrees/ripe-dragonfly/packages/app/src/utils/diff-highlighter.ts": 6,
".paseo/worktrees/ripe-dragonfly/packages/app/src/utils/os-notifications.ts": 4,
".paseo/worktrees/ripe-dragonfly/packages/app/src/utils/perf-monitor.ts": 3,
".paseo/worktrees/ripe-dragonfly/packages/app/src/utils/perf.ts": 2,
".paseo/worktrees/ripe-dragonfly/packages/app/src/utils/syntax-highlighter.ts": 5,
".paseo/worktrees/ripe-dragonfly/packages/app/src/utils/tauri-daemon-transport.ts": 13,
".paseo/worktrees/ripe-dragonfly/packages/app/src/utils/tauri-window.ts": 8,
".paseo/worktrees/ripe-dragonfly/packages/app/src/utils/tool-call-parsers.ts": 31,
".paseo/worktrees/ripe-dragonfly/packages/desktop/src-tauri/src/lib.rs": 3,
".paseo/worktrees/ripe-dragonfly/packages/relay/src/cloudflare-adapter.ts": 3,
".paseo/worktrees/ripe-dragonfly/packages/relay/src/crypto.ts": 2,
".paseo/worktrees/ripe-dragonfly/packages/relay/src/encrypted-channel.ts": 3,
".paseo/worktrees/ripe-dragonfly/packages/relay/src/node-adapter.ts": 3,
".paseo/worktrees/ripe-dragonfly/packages/relay/src/relay.ts": 1,
".paseo/worktrees/ripe-dragonfly/packages/server/src/client/daemon-client-v2.ts": 11,
".paseo/worktrees/ripe-dragonfly/packages/server/src/poc-commands/investigate-command-output.ts": 4,
".paseo/worktrees/ripe-dragonfly/packages/server/src/poc-commands/run-poc.ts": 5,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/activity-curator.ts": 5,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/agent-manager.ts": 8,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/agent-projections.ts": 13,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/agent-registry.ts": 2,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/agent-response-loop.ts": 13,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/mcp-server.ts": 15,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/openai-realtime-transcription.ts": 2,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/pcm16-resampler.ts": 1,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/provider-manifest.ts": 3,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/provider-registry.ts": 3,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/providers/claude-agent.ts": 28,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/providers/codex-mcp-agent.ts": 91,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/providers/opencode-agent.ts": 9,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/stt-debug.ts": 1,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/stt-openai.ts": 5,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/tts-manager.ts": 5,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/agent/tts-openai.ts": 1,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/bootstrap.ts": 10,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/config.ts": 3,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/connection-offer.ts": 6,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/daemon-e2e/setup.ts": 3,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/file-download/token-store.ts": 1,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/file-explorer/service.ts": 6,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/index.ts": 3,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/json-utils.ts": 1,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/logger.ts": 3,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/pairing-qr.ts": 4,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/persisted-config.ts": 4,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/persistence-hooks.ts": 5,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/push/push-service.ts": 1,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/relay-transport.ts": 6,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/session.ts": 17,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/terminal-mcp/terminal-manager.ts": 4,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/terminal-mcp/tmux.ts": 17,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/test-utils/paseo-daemon.ts": 4,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/utils/diff-highlighter.ts": 7,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/utils/syntax-highlighter.ts": 5,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/voice-conversation-store.ts": 3,
".paseo/worktrees/ripe-dragonfly/packages/server/src/server/websocket-session-bridge.ts": 3,
".paseo/worktrees/ripe-dragonfly/packages/server/src/shared/messages.ts": 1,
".paseo/worktrees/ripe-dragonfly/packages/server/src/tasks/cli.ts": 20,
".paseo/worktrees/ripe-dragonfly/packages/server/src/tasks/execution-order.ts": 7,
".paseo/worktrees/ripe-dragonfly/packages/server/src/tasks/task-store.ts": 13,
".paseo/worktrees/ripe-dragonfly/packages/server/src/terminal/terminal-manager.ts": 2,
".paseo/worktrees/ripe-dragonfly/packages/server/src/terminal/terminal.ts": 9,
".paseo/worktrees/ripe-dragonfly/packages/server/src/utils/checkout-git.ts": 24,
".paseo/worktrees/ripe-dragonfly/packages/server/src/utils/tool-call-parsers.ts": 5,
".paseo/worktrees/ripe-dragonfly/packages/server/src/utils/worktree-metadata.ts": 6,
".paseo/worktrees/ripe-dragonfly/packages/server/src/utils/worktree.ts": 14,
".paseo/worktrees/ripe-dragonfly/packages/website/src/components/butterfly.tsx": 14,
".paseo/worktrees/ripe-dragonfly/packages/website/src/routes/__root.tsx": 2,
".paseo/worktrees/ripe-dragonfly/packages/website/src/routes/docs.tsx": 1,
".paseo/worktrees/ripe-dragonfly/packages/website/src/routes/docs/best-practices.tsx": 1,
".paseo/worktrees/ripe-dragonfly/packages/website/src/routes/docs/index.tsx": 1,
".paseo/worktrees/ripe-dragonfly/packages/website/src/routes/index.tsx": 13,
".paseo/worktrees/shallow-lynx/packages/app/e2e/global-setup.ts": 9,
".paseo/worktrees/shallow-lynx/packages/app/e2e/helpers/app.ts": 12,
".paseo/worktrees/shallow-lynx/packages/app/src/app/+html.tsx": 2,
".paseo/worktrees/shallow-lynx/packages/app/src/app/_layout.tsx": 16,
".paseo/worktrees/shallow-lynx/packages/app/src/app/agents.tsx": 4,
".paseo/worktrees/shallow-lynx/packages/app/src/app/pair-scan.tsx": 3,
".paseo/worktrees/shallow-lynx/packages/app/src/app/settings.tsx": 14,
".paseo/worktrees/shallow-lynx/packages/app/src/components/active-processes.tsx": 6,
".paseo/worktrees/shallow-lynx/packages/app/src/components/adaptive-modal-sheet.tsx": 4,
".paseo/worktrees/shallow-lynx/packages/app/src/components/add-host-method-modal.tsx": 5,
".paseo/worktrees/shallow-lynx/packages/app/src/components/add-host-modal.tsx": 11,
".paseo/worktrees/shallow-lynx/packages/app/src/components/agent-activity.tsx": 9,
".paseo/worktrees/shallow-lynx/packages/app/src/components/agent-form/agent-form-dropdowns.tsx": 38,
".paseo/worktrees/shallow-lynx/packages/app/src/components/agent-input-area.tsx": 26,
".paseo/worktrees/shallow-lynx/packages/app/src/components/agent-list.tsx": 7,
".paseo/worktrees/shallow-lynx/packages/app/src/components/agent-status-bar.tsx": 4,
".paseo/worktrees/shallow-lynx/packages/app/src/components/agent-stream-view.tsx": 28,
".paseo/worktrees/shallow-lynx/packages/app/src/components/artifact-drawer.tsx": 2,
".paseo/worktrees/shallow-lynx/packages/app/src/components/audio-debug-notice.tsx": 5,
".paseo/worktrees/shallow-lynx/packages/app/src/components/command-autocomplete.tsx": 4,
".paseo/worktrees/shallow-lynx/packages/app/src/components/connection-status.tsx": 2,
".paseo/worktrees/shallow-lynx/packages/app/src/components/dictation-controls.tsx": 4,
".paseo/worktrees/shallow-lynx/packages/app/src/components/dictation-status-notice.tsx": 4,
".paseo/worktrees/shallow-lynx/packages/app/src/components/diff-viewer.tsx": 2,
".paseo/worktrees/shallow-lynx/packages/app/src/components/download-toast.tsx": 5,
".paseo/worktrees/shallow-lynx/packages/app/src/components/empty-state.tsx": 2,
".paseo/worktrees/shallow-lynx/packages/app/src/components/explorer-sidebar.tsx": 17,
".paseo/worktrees/shallow-lynx/packages/app/src/components/file-drop-zone.tsx": 3,
".paseo/worktrees/shallow-lynx/packages/app/src/components/file-explorer-pane.tsx": 35,
".paseo/worktrees/shallow-lynx/packages/app/src/components/git-diff-pane.tsx": 21,
".paseo/worktrees/shallow-lynx/packages/app/src/components/headers/back-header.tsx": 2,
".paseo/worktrees/shallow-lynx/packages/app/src/components/headers/menu-header.tsx": 5,
".paseo/worktrees/shallow-lynx/packages/app/src/components/headers/screen-header.tsx": 1,
".paseo/worktrees/shallow-lynx/packages/app/src/components/home-footer.tsx": 5,
".paseo/worktrees/shallow-lynx/packages/app/src/components/message-input.tsx": 24,
".paseo/worktrees/shallow-lynx/packages/app/src/components/message.tsx": 22,
".paseo/worktrees/shallow-lynx/packages/app/src/components/mode-selector-modal.tsx": 2,
".paseo/worktrees/shallow-lynx/packages/app/src/components/multi-daemon-session-host.tsx": 6,
".paseo/worktrees/shallow-lynx/packages/app/src/components/pair-link-modal.tsx": 5,
".paseo/worktrees/shallow-lynx/packages/app/src/components/realtime-controls.tsx": 3,
".paseo/worktrees/shallow-lynx/packages/app/src/components/sliding-sidebar.tsx": 17,
".paseo/worktrees/shallow-lynx/packages/app/src/components/tool-call-details.tsx": 9,
".paseo/worktrees/shallow-lynx/packages/app/src/components/tool-call-sheet.tsx": 9,
".paseo/worktrees/shallow-lynx/packages/app/src/components/ui/dropdown-menu-floating.ts": 7,
".paseo/worktrees/shallow-lynx/packages/app/src/components/ui/dropdown-menu.tsx": 15,
".paseo/worktrees/shallow-lynx/packages/app/src/components/voice-button.tsx": 5,
".paseo/worktrees/shallow-lynx/packages/app/src/components/volume-meter.tsx": 5,
".paseo/worktrees/shallow-lynx/packages/app/src/components/welcome-screen.tsx": 2,
".paseo/worktrees/shallow-lynx/packages/app/src/constants/layout.ts": 3,
".paseo/worktrees/shallow-lynx/packages/app/src/contexts/daemon-connections-context.tsx": 5,
".paseo/worktrees/shallow-lynx/packages/app/src/contexts/daemon-registry-context.tsx": 22,
".paseo/worktrees/shallow-lynx/packages/app/src/contexts/explorer-sidebar-animation-context.tsx": 6,
".paseo/worktrees/shallow-lynx/packages/app/src/contexts/horizontal-scroll-context.tsx": 4,
".paseo/worktrees/shallow-lynx/packages/app/src/contexts/realtime-context.tsx": 4,
".paseo/worktrees/shallow-lynx/packages/app/src/contexts/session-context.tsx": 47,
".paseo/worktrees/shallow-lynx/packages/app/src/contexts/sidebar-animation-context.tsx": 6,
".paseo/worktrees/shallow-lynx/packages/app/src/dictation/dictation-stream-sender.ts": 2,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-agent-commands-query.ts": 2,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-agent-form-state.ts": 14,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-aggregated-agents.ts": 5,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-audio-player.native.ts": 7,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-audio-recorder.native.ts": 7,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-audio-recorder.web.ts": 13,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-checkout-diff-query.ts": 6,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-checkout-pr-status-query.ts": 2,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-checkout-status-query.ts": 6,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-client-activity.ts": 6,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-dictation-audio-source.web.ts": 10,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-dictation.ts": 11,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-favicon-status.ts": 8,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-file-drop-zone.ts": 7,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-form-preferences.ts": 2,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-git-diff-query.ts": 6,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-image-attachment-picker.ts": 3,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-recent-paths.ts": 5,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-settings.ts": 4,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-speechmatics-audio.native.ts": 8,
".paseo/worktrees/shallow-lynx/packages/app/src/hooks/use-speechmatics-audio.web.ts": 3,
".paseo/worktrees/shallow-lynx/packages/app/src/screens/agent/agent-ready-screen.tsx": 30,
".paseo/worktrees/shallow-lynx/packages/app/src/screens/agent/draft-agent-screen.tsx": 28,
".paseo/worktrees/shallow-lynx/packages/app/src/screens/agent/legacy-agent-id-screen.tsx": 4,
".paseo/worktrees/shallow-lynx/packages/app/src/stores/download-store.ts": 10,
".paseo/worktrees/shallow-lynx/packages/app/src/stores/panel-store.ts": 1,
".paseo/worktrees/shallow-lynx/packages/app/src/stores/session-store.ts": 3,
".paseo/worktrees/shallow-lynx/packages/app/src/types/agent-activity.ts": 1,
".paseo/worktrees/shallow-lynx/packages/app/src/types/stream.ts": 34,
".paseo/worktrees/shallow-lynx/packages/app/src/utils/daemon-endpoints.ts": 9,
".paseo/worktrees/shallow-lynx/packages/app/src/utils/diff-highlighter.ts": 6,
".paseo/worktrees/shallow-lynx/packages/app/src/utils/os-notifications.ts": 4,
".paseo/worktrees/shallow-lynx/packages/app/src/utils/perf-monitor.ts": 3,
".paseo/worktrees/shallow-lynx/packages/app/src/utils/perf.ts": 2,
".paseo/worktrees/shallow-lynx/packages/app/src/utils/syntax-highlighter.ts": 5,
".paseo/worktrees/shallow-lynx/packages/app/src/utils/tauri-daemon-transport.ts": 13,
".paseo/worktrees/shallow-lynx/packages/app/src/utils/tauri-window.ts": 8,
".paseo/worktrees/shallow-lynx/packages/app/src/utils/test-daemon-connection.ts": 9,
".paseo/worktrees/shallow-lynx/packages/app/src/utils/tool-call-parsers.ts": 31,
".paseo/worktrees/shallow-lynx/packages/desktop/src-tauri/src/lib.rs": 3,
".paseo/worktrees/shallow-lynx/packages/relay/src/cloudflare-adapter.ts": 3,
".paseo/worktrees/shallow-lynx/packages/relay/src/crypto.ts": 2,
".paseo/worktrees/shallow-lynx/packages/relay/src/encrypted-channel.ts": 3,
".paseo/worktrees/shallow-lynx/packages/relay/src/node-adapter.ts": 3,
".paseo/worktrees/shallow-lynx/packages/relay/src/relay.ts": 1,
".paseo/worktrees/shallow-lynx/packages/server/src/client/daemon-client-v2.ts": 11,
".paseo/worktrees/shallow-lynx/packages/server/src/poc-commands/investigate-command-output.ts": 4,
".paseo/worktrees/shallow-lynx/packages/server/src/poc-commands/run-poc.ts": 5,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/activity-curator.ts": 5,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/agent-manager.ts": 8,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/agent-projections.ts": 13,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/agent-response-loop.ts": 13,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/agent-storage.ts": 3,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/mcp-server.ts": 15,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/openai-realtime-transcription.ts": 2,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/pcm16-resampler.ts": 1,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/provider-manifest.ts": 3,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/provider-registry.ts": 3,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/providers/claude-agent.ts": 28,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/providers/codex-mcp-agent.ts": 91,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/providers/opencode-agent.ts": 9,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/stt-debug.ts": 1,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/stt-openai.ts": 5,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/tts-manager.ts": 5,
".paseo/worktrees/shallow-lynx/packages/server/src/server/agent/tts-openai.ts": 1,
".paseo/worktrees/shallow-lynx/packages/server/src/server/bootstrap.ts": 10,
".paseo/worktrees/shallow-lynx/packages/server/src/server/config.ts": 3,
".paseo/worktrees/shallow-lynx/packages/server/src/server/connection-offer.ts": 6,
".paseo/worktrees/shallow-lynx/packages/server/src/server/daemon-e2e/setup.ts": 3,
".paseo/worktrees/shallow-lynx/packages/server/src/server/file-download/token-store.ts": 1,
".paseo/worktrees/shallow-lynx/packages/server/src/server/file-explorer/service.ts": 6,
".paseo/worktrees/shallow-lynx/packages/server/src/server/index.ts": 3,
".paseo/worktrees/shallow-lynx/packages/server/src/server/json-utils.ts": 1,
".paseo/worktrees/shallow-lynx/packages/server/src/server/logger.ts": 3,
".paseo/worktrees/shallow-lynx/packages/server/src/server/pairing-qr.ts": 4,
".paseo/worktrees/shallow-lynx/packages/server/src/server/persisted-config.ts": 4,
".paseo/worktrees/shallow-lynx/packages/server/src/server/persistence-hooks.ts": 5,
".paseo/worktrees/shallow-lynx/packages/server/src/server/push/push-service.ts": 1,
".paseo/worktrees/shallow-lynx/packages/server/src/server/relay-transport.ts": 6,
".paseo/worktrees/shallow-lynx/packages/server/src/server/session.ts": 19,
".paseo/worktrees/shallow-lynx/packages/server/src/server/terminal-mcp/terminal-manager.ts": 4,
".paseo/worktrees/shallow-lynx/packages/server/src/server/terminal-mcp/tmux.ts": 17,
".paseo/worktrees/shallow-lynx/packages/server/src/server/test-utils/paseo-daemon.ts": 4,
".paseo/worktrees/shallow-lynx/packages/server/src/server/utils/diff-highlighter.ts": 7,
".paseo/worktrees/shallow-lynx/packages/server/src/server/utils/syntax-highlighter.ts": 5,
".paseo/worktrees/shallow-lynx/packages/server/src/server/voice-conversation-store.ts": 3,
".paseo/worktrees/shallow-lynx/packages/server/src/server/websocket-session-bridge.ts": 3,
".paseo/worktrees/shallow-lynx/packages/server/src/shared/messages.ts": 1,
".paseo/worktrees/shallow-lynx/packages/server/src/tasks/cli.ts": 20,
".paseo/worktrees/shallow-lynx/packages/server/src/tasks/execution-order.ts": 7,
".paseo/worktrees/shallow-lynx/packages/server/src/tasks/task-store.ts": 13,
".paseo/worktrees/shallow-lynx/packages/server/src/terminal/terminal-manager.ts": 2,
".paseo/worktrees/shallow-lynx/packages/server/src/terminal/terminal.ts": 9,
".paseo/worktrees/shallow-lynx/packages/server/src/utils/checkout-git.ts": 24,
".paseo/worktrees/shallow-lynx/packages/server/src/utils/tool-call-parsers.ts": 5,
".paseo/worktrees/shallow-lynx/packages/server/src/utils/worktree-metadata.ts": 6,
".paseo/worktrees/shallow-lynx/packages/server/src/utils/worktree.ts": 14,
".paseo/worktrees/shallow-lynx/packages/website/src/components/butterfly.tsx": 14,
".paseo/worktrees/shallow-lynx/packages/website/src/routes/__root.tsx": 2,
".paseo/worktrees/shallow-lynx/packages/website/src/routes/docs.tsx": 1,
".paseo/worktrees/shallow-lynx/packages/website/src/routes/docs/best-practices.tsx": 1,
".paseo/worktrees/shallow-lynx/packages/website/src/routes/docs/index.tsx": 1,
".paseo/worktrees/shallow-lynx/packages/website/src/routes/index.tsx": 13,
"packages/app/e2e/global-setup.ts": 9,
"packages/app/e2e/helpers/app.ts": 12,
"packages/app/src/app/+html.tsx": 2,
"packages/app/src/app/_layout.tsx": 16,
"packages/app/src/app/agents.tsx": 4,
"packages/app/src/app/pair-scan.tsx": 3,
"packages/app/src/app/settings.tsx": 14,
"packages/app/src/components/active-processes.tsx": 6,
"packages/app/src/components/adaptive-modal-sheet.tsx": 4,
"packages/app/src/components/add-host-method-modal.tsx": 5,
"packages/app/src/components/add-host-modal.tsx": 11,
"packages/app/src/components/agent-activity.tsx": 9,
"packages/app/src/components/agent-details-sheet.tsx": 3,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx": 38,
"packages/app/src/components/agent-input-area.tsx": 26,
"packages/app/src/components/agent-list.tsx": 8,
"packages/app/src/components/agent-status-bar.tsx": 4,
"packages/app/src/components/agent-stream-view.tsx": 28,
"packages/app/src/components/artifact-drawer.tsx": 2,
"packages/app/src/components/audio-debug-notice.tsx": 5,
"packages/app/src/components/command-autocomplete.tsx": 4,
"packages/app/src/components/connection-status.tsx": 2,
"packages/app/src/components/dictation-controls.tsx": 4,
"packages/app/src/components/dictation-status-notice.tsx": 4,
"packages/app/src/components/diff-viewer.tsx": 2,
"packages/app/src/components/download-toast.tsx": 5,
"packages/app/src/components/empty-state.tsx": 2,
"packages/app/src/components/explorer-sidebar.tsx": 17,
"packages/app/src/components/file-drop-zone.tsx": 3,
"packages/app/src/components/file-explorer-pane.tsx": 35,
"packages/app/src/components/git-diff-pane.tsx": 21,
"packages/app/src/components/grouped-agent-list.tsx": 10,
"packages/app/src/components/headers/back-header.tsx": 2,
"packages/app/src/components/headers/menu-header.tsx": 5,
"packages/app/src/components/headers/screen-header.tsx": 1,
"packages/app/src/components/home-footer.tsx": 5,
"packages/app/src/components/message-input.tsx": 24,
"packages/app/src/components/message.tsx": 22,
"packages/app/src/components/mode-selector-modal.tsx": 2,
"packages/app/src/components/multi-daemon-session-host.tsx": 6,
"packages/app/src/components/pair-link-modal.tsx": 5,
"packages/app/src/components/realtime-controls.tsx": 3,
"packages/app/src/components/sliding-sidebar.tsx": 17,
"packages/app/src/components/tool-call-details.tsx": 9,
"packages/app/src/components/tool-call-sheet.tsx": 9,
"packages/app/src/components/ui/dropdown-menu-floating.ts": 7,
"packages/app/src/components/ui/dropdown-menu.tsx": 15,
"packages/app/src/components/voice-button.tsx": 5,
"packages/app/src/components/volume-meter.tsx": 5,
"packages/app/src/components/welcome-screen.tsx": 2,
"packages/app/src/constants/layout.ts": 3,
"packages/app/src/contexts/daemon-connections-context.tsx": 5,
"packages/app/src/contexts/daemon-registry-context.tsx": 22,
"packages/app/src/contexts/explorer-sidebar-animation-context.tsx": 6,
"packages/app/src/contexts/horizontal-scroll-context.tsx": 4,
"packages/app/src/contexts/realtime-context.tsx": 4,
"packages/app/src/contexts/session-context.tsx": 47,
"packages/app/src/contexts/sidebar-animation-context.tsx": 6,
"packages/app/src/contexts/toast-context.tsx": 6,
"packages/app/src/dictation/dictation-stream-sender.ts": 2,
"packages/app/src/hooks/use-agent-commands-query.ts": 2,
"packages/app/src/hooks/use-agent-form-state.ts": 14,
"packages/app/src/hooks/use-aggregated-agents.ts": 5,
"packages/app/src/hooks/use-audio-player.native.ts": 7,
"packages/app/src/hooks/use-audio-recorder.native.ts": 7,
"packages/app/src/hooks/use-audio-recorder.web.ts": 13,
"packages/app/src/hooks/use-checkout-diff-query.ts": 6,
"packages/app/src/hooks/use-checkout-pr-status-query.ts": 2,
"packages/app/src/hooks/use-checkout-status-query.ts": 6,
"packages/app/src/hooks/use-client-activity.ts": 6,
"packages/app/src/hooks/use-dictation-audio-source.web.ts": 10,
"packages/app/src/hooks/use-dictation.ts": 11,
"packages/app/src/hooks/use-favicon-status.ts": 8,
"packages/app/src/hooks/use-file-drop-zone.ts": 7,
"packages/app/src/hooks/use-form-preferences.ts": 2,
"packages/app/src/hooks/use-git-diff-query.ts": 6,
"packages/app/src/hooks/use-image-attachment-picker.ts": 3,
"packages/app/src/hooks/use-recent-paths.ts": 5,
"packages/app/src/hooks/use-settings.ts": 4,
"packages/app/src/hooks/use-speechmatics-audio.native.ts": 8,
"packages/app/src/hooks/use-speechmatics-audio.web.ts": 3,
"packages/app/src/screens/agent/agent-ready-screen.tsx": 31,
"packages/app/src/screens/agent/draft-agent-screen.tsx": 28,
"packages/app/src/screens/agent/legacy-agent-id-screen.tsx": 4,
"packages/app/src/stores/download-store.ts": 10,
"packages/app/src/stores/panel-store.ts": 1,
"packages/app/src/stores/session-store.ts": 3,
"packages/app/src/types/agent-activity.ts": 1,
"packages/app/src/types/stream.ts": 34,
"packages/app/src/utils/agent-grouping.ts": 1,
"packages/app/src/utils/daemon-endpoints.ts": 9,
"packages/app/src/utils/diff-highlighter.ts": 6,
"packages/app/src/utils/os-notifications.ts": 4,
"packages/app/src/utils/perf-monitor.ts": 3,
"packages/app/src/utils/perf.ts": 2,
"packages/app/src/utils/syntax-highlighter.ts": 5,
"packages/app/src/utils/tauri-daemon-transport.ts": 13,
"packages/app/src/utils/tauri-window.ts": 8,
"packages/app/src/utils/test-daemon-connection.ts": 9,
"packages/app/src/utils/tool-call-parsers.ts": 31,
"packages/desktop/src-tauri/src/lib.rs": 3,
"packages/relay/src/cloudflare-adapter.ts": 3,
"packages/relay/src/crypto.ts": 2,
"packages/relay/src/encrypted-channel.ts": 3,
"packages/relay/src/node-adapter.ts": 3,
"packages/relay/src/relay.ts": 1,
"packages/server/src/client/daemon-client-v2.ts": 11,
"packages/server/src/poc-commands/investigate-command-output.ts": 4,
"packages/server/src/poc-commands/run-poc.ts": 5,
"packages/server/src/server/agent/activity-curator.ts": 5,
"packages/server/src/server/agent/agent-manager.ts": 8,
"packages/server/src/server/agent/agent-projections.ts": 13,
"packages/server/src/server/agent/agent-response-loop.ts": 13,
"packages/server/src/server/agent/agent-storage.ts": 4,
"packages/server/src/server/agent/mcp-server.ts": 15,
"packages/server/src/server/agent/openai-realtime-transcription.ts": 2,
"packages/server/src/server/agent/pcm16-resampler.ts": 1,
"packages/server/src/server/agent/provider-manifest.ts": 3,
"packages/server/src/server/agent/provider-registry.ts": 3,
"packages/server/src/server/agent/providers/claude-agent.ts": 28,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts": 91,
"packages/server/src/server/agent/providers/opencode-agent.ts": 9,
"packages/server/src/server/agent/stt-debug.ts": 1,
"packages/server/src/server/agent/stt-openai.ts": 5,
"packages/server/src/server/agent/tts-manager.ts": 5,
"packages/server/src/server/agent/tts-openai.ts": 1,
"packages/server/src/server/bootstrap.ts": 10,
"packages/server/src/server/config.ts": 3,
"packages/server/src/server/connection-offer.ts": 6,
"packages/server/src/server/daemon-e2e/setup.ts": 3,
"packages/server/src/server/file-download/token-store.ts": 1,
"packages/server/src/server/file-explorer/service.ts": 6,
"packages/server/src/server/index.ts": 3,
"packages/server/src/server/json-utils.ts": 1,
"packages/server/src/server/logger.ts": 3,
"packages/server/src/server/pairing-qr.ts": 4,
"packages/server/src/server/persisted-config.ts": 4,
"packages/server/src/server/persistence-hooks.ts": 5,
"packages/server/src/server/push/push-service.ts": 1,
"packages/server/src/server/relay-transport.ts": 6,
"packages/server/src/server/session.ts": 19,
"packages/server/src/server/terminal-mcp/terminal-manager.ts": 4,
"packages/server/src/server/terminal-mcp/tmux.ts": 17,
"packages/server/src/server/test-utils/paseo-daemon.ts": 4,
"packages/server/src/server/utils/diff-highlighter.ts": 7,
"packages/server/src/server/utils/syntax-highlighter.ts": 5,
"packages/server/src/server/voice-conversation-store.ts": 3,
"packages/server/src/server/websocket-session-bridge.ts": 3,
"packages/server/src/shared/messages.ts": 1,
"packages/server/src/tasks/cli.ts": 20,
"packages/server/src/tasks/execution-order.ts": 7,
"packages/server/src/tasks/task-store.ts": 13,
"packages/server/src/terminal/terminal-manager.ts": 2,
"packages/server/src/terminal/terminal.ts": 9,
"packages/server/src/utils/checkout-git.ts": 31,
"packages/server/src/utils/tool-call-parsers.ts": 5,
"packages/server/src/utils/worktree-metadata.ts": 6,
"packages/server/src/utils/worktree.ts": 21,
"packages/website/src/components/butterfly.tsx": 14,
"packages/website/src/routes/__root.tsx": 2,
"packages/website/src/routes/docs.tsx": 1,
"packages/website/src/routes/docs/best-practices.tsx": 1,
"packages/website/src/routes/docs/index.tsx": 1,
"packages/website/src/routes/index.tsx": 13
},
"issues_count": 1527
},
"entity_health": {
"packages/app/babel.config.js:function:anonymous_function_0": 97.6734504930885,
"packages/app/e2e/agent-details-sheet.spec.ts:function:anonymous_function_4": 91.25571893866605,
"packages/app/e2e/checkout-ship.spec.ts:function:anonymous_function_138": 99.22200000000001,
"packages/app/e2e/checkout-ship.spec.ts:function:anonymous_function_163": 96.528,
"packages/app/e2e/checkout-ship.spec.ts:function:anonymous_function_164": 99.22200000000001,
"packages/app/e2e/checkout-ship.spec.ts:function:anonymous_function_165": 99.22200000000001,
"packages/app/e2e/checkout-ship.spec.ts:function:anonymous_function_167": 99.22200000000001,
"packages/app/e2e/checkout-ship.spec.ts:function:anonymous_function_170": 99.22200000000001,
"packages/app/e2e/checkout-ship.spec.ts:function:anonymous_function_210": 72.68694840025468,
"packages/app/e2e/checkout-ship.spec.ts:function:anonymous_function_229": 99.22200000000001,
"packages/app/e2e/checkout-ship.spec.ts:function:anonymous_function_230": 99.22200000000001,
"packages/app/e2e/checkout-ship.spec.ts:function:anonymous_function_262": 99.22200000000001,
"packages/app/e2e/checkout-ship.spec.ts:function:anonymous_function_49": 99.22200000000001,
"packages/app/e2e/checkout-ship.spec.ts:function:createAgentAndWait": 98.994,
"packages/app/e2e/checkout-ship.spec.ts:function:enableCreateWorktree": 97.55199999999999,
"packages/app/e2e/checkout-ship.spec.ts:function:getChangesActionButton": 99.184,
"packages/app/e2e/checkout-ship.spec.ts:function:getChangesActionLabel": 99.184,
"packages/app/e2e/checkout-ship.spec.ts:function:getChangesHeader": 99.184,
"packages/app/e2e/checkout-ship.spec.ts:function:getChangesScope": 99.184,
"packages/app/e2e/checkout-ship.spec.ts:function:normalizeTmpPath": 97.818,
"packages/app/e2e/checkout-ship.spec.ts:function:openChangesOverflowMenu": 99.108,
"packages/app/e2e/checkout-ship.spec.ts:function:openChangesPanel": 89.68644457903781,
"packages/app/e2e/checkout-ship.spec.ts:function:openChangesShipMenu": 97.666,
"packages/app/e2e/checkout-ship.spec.ts:function:refreshChangesTab": 99.108,
"packages/app/e2e/checkout-ship.spec.ts:function:refreshUncommittedMode": 99.146,
"packages/app/e2e/checkout-ship.spec.ts:function:requestCwd": 97.59,
"packages/app/e2e/checkout-ship.spec.ts:function:selectAttachWorktree": 88.7672567649226,
"packages/app/e2e/checkout-ship.spec.ts:function:selectChangesView": 97.70400000000001,
"packages/app/e2e/checkout-ship.spec.ts:function:sendPrompt": 99.07,
"packages/app/e2e/checkout-ship.spec.ts:function:waitForAssistantText": 99.108,
"packages/app/e2e/checkout-ship.spec.ts:function:waitForAssistantTextWithPermissions": 84.1948829743437,
"packages/app/e2e/create-agent.spec.ts:function:anonymous_function_4": 93.23235472565942,
"packages/app/e2e/daemon-connectivity.spec.ts:function:anonymous_function_3": 97.59,
"packages/app/e2e/delete-agent-persists.spec.ts:function:anonymous_function_19": 86.04879590149058,
"packages/app/e2e/delete-agent-persists.spec.ts:function:longPress": 97.666,
"packages/app/e2e/dictation-web.spec.ts:function:addFakeMicrophone": 76.58327806274391,
"packages/app/e2e/dictation-web.spec.ts:function:anonymous_function_106": 99.22200000000001,
"packages/app/e2e/dictation-web.spec.ts:function:anonymous_function_107": 99.22200000000001,
"packages/app/e2e/dictation-web.spec.ts:function:anonymous_function_114": 99.22200000000001,
"packages/app/e2e/dictation-web.spec.ts:function:anonymous_function_12": 77.39895364203376,
"packages/app/e2e/dictation-web.spec.ts:function:anonymous_function_121": 92.7966515014048,
"packages/app/e2e/dictation-web.spec.ts:function:anonymous_function_136": 99.22200000000001,
"packages/app/e2e/dictation-web.spec.ts:function:anonymous_function_148": 89.14513846284079,
"packages/app/e2e/dictation-web.spec.ts:function:anonymous_function_163": 99.22200000000001,
"packages/app/e2e/dictation-web.spec.ts:function:anonymous_function_166": 97.30600000000001,
"packages/app/e2e/dictation-web.spec.ts:function:anonymous_function_175": 99.22200000000001,
"packages/app/e2e/dictation-web.spec.ts:function:anonymous_function_182": 89.98452333463327,
"packages/app/e2e/dictation-web.spec.ts:function:anonymous_function_197": 99.22200000000001,
"packages/app/e2e/dictation-web.spec.ts:function:anonymous_function_27": 98.804,
"packages/app/e2e/dictation-web.spec.ts:function:anonymous_function_31": 99.146,
"packages/app/e2e/dictation-web.spec.ts:function:anonymous_function_37": 99.22200000000001,
"packages/app/e2e/dictation-web.spec.ts:function:anonymous_function_41": 97.742,
"packages/app/e2e/dictation-web.spec.ts:function:anonymous_function_90": 91.56858528331402,
"packages/app/e2e/dictation-web.spec.ts:function:constructor": 99.108,
"packages/app/e2e/dictation-web.spec.ts:function:isTypeSupported": 99.184,
"packages/app/e2e/dictation-web.spec.ts:function:start": 99.184,
"packages/app/e2e/dictation-web.spec.ts:function:stop": 92.96199999999999,
"packages/app/e2e/fixtures.ts:function:anonymous_function_103": 94.34846862049474,
"packages/app/e2e/fixtures.ts:function:anonymous_function_15": 77.76233840952335,
"packages/app/e2e/fixtures.ts:function:anonymous_function_38": 99.22200000000001,
"packages/app/e2e/fixtures.ts:function:anonymous_function_39": 99.184,
"packages/app/e2e/fixtures.ts:function:anonymous_function_4": 97.78,
"packages/app/e2e/fixtures.ts:function:anonymous_function_46": 99.184,
"packages/app/e2e/fixtures.ts:function:anonymous_function_50": 99.184,
"packages/app/e2e/fixtures.ts:function:anonymous_function_78": 93.15242112641985,
"packages/app/e2e/global-setup.ts:function:anonymous_function_102": 99.184,
"packages/app/e2e/global-setup.ts:function:anonymous_function_111": 99.184,
"packages/app/e2e/global-setup.ts:function:anonymous_function_12": 95.97800000000001,
"packages/app/e2e/global-setup.ts:function:anonymous_function_130": 69.8985875442661,
"packages/app/e2e/global-setup.ts:function:anonymous_function_15": 99.22200000000001,
"packages/app/e2e/global-setup.ts:function:anonymous_function_161": 99.184,
"packages/app/e2e/global-setup.ts:function:anonymous_function_174": 99.22200000000001,
"packages/app/e2e/global-setup.ts:function:anonymous_function_175": 99.22200000000001,
"packages/app/e2e/global-setup.ts:function:anonymous_function_18": 99.22200000000001,
"packages/app/e2e/global-setup.ts:function:anonymous_function_189": 91.85309032072986,
"packages/app/e2e/global-setup.ts:function:anonymous_function_27": 99.032,
"packages/app/e2e/global-setup.ts:function:anonymous_function_28": 99.146,
"packages/app/e2e/global-setup.ts:function:anonymous_function_36": 99.22200000000001,
"packages/app/e2e/global-setup.ts:function:anonymous_function_9": 95.82600000000001,
"packages/app/e2e/global-setup.ts:function:anonymous_function_95": 99.07,
"packages/app/e2e/global-setup.ts:function:anonymous_function_96": 99.22200000000001,
"packages/app/e2e/global-setup.ts:function:decodeOfferFromFragmentUrl": 90.00826522088474,
"packages/app/e2e/global-setup.ts:function:getAvailablePort": 95.55468996995626,
"packages/app/e2e/global-setup.ts:function:globalSetup": 51.528378644704105,
"packages/app/e2e/global-setup.ts:function:stripAnsi": 99.184,
"packages/app/e2e/global-setup.ts:function:waitForServer": 91.64644582303629,
"packages/app/e2e/helpers/app.ts:function:anonymous_function_111": 97.458,
"packages/app/e2e/helpers/app.ts:function:anonymous_function_116": 95.694,
"packages/app/e2e/helpers/app.ts:function:anonymous_function_136": 99.07,
"packages/app/e2e/helpers/app.ts:function:anonymous_function_143": 99.07,
"packages/app/e2e/helpers/app.ts:function:anonymous_function_150": 62.947703781594555,
"packages/app/e2e/helpers/app.ts:function:anonymous_function_158": 87.01217044288363,
"packages/app/e2e/helpers/app.ts:function:anonymous_function_170": 99.22200000000001,
"packages/app/e2e/helpers/app.ts:function:anonymous_function_186": 94.61200000000001,
"packages/app/e2e/helpers/app.ts:function:anonymous_function_21": 83.10389417479425,
"packages/app/e2e/helpers/app.ts:function:anonymous_function_216": 99.22200000000001,
"packages/app/e2e/helpers/app.ts:function:anonymous_function_233": 96.49000000000001,
"packages/app/e2e/helpers/app.ts:function:anonymous_function_234": 99.22200000000001,
"packages/app/e2e/helpers/app.ts:function:anonymous_function_243": 61.38304339784405,
"packages/app/e2e/helpers/app.ts:function:anonymous_function_257": 84.29461901598422,
"packages/app/e2e/helpers/app.ts:function:anonymous_function_30": 95.182,
"packages/app/e2e/helpers/app.ts:function:anonymous_function_308": 98.59892590790885,
"packages/app/e2e/helpers/app.ts:function:anonymous_function_31": 99.22200000000001,
"packages/app/e2e/helpers/app.ts:function:anonymous_function_331": 98.956,
"packages/app/e2e/helpers/app.ts:function:anonymous_function_341": 95.36509522298799,
"packages/app/e2e/helpers/app.ts:function:anonymous_function_364": 95.40630631696207,
"packages/app/e2e/helpers/app.ts:function:anonymous_function_387": 92.99006359627259,
"packages/app/e2e/helpers/app.ts:function:anonymous_function_407": 99.146,
"packages/app/e2e/helpers/app.ts:function:anonymous_function_412": 99.108,
"packages/app/e2e/helpers/app.ts:function:anonymous_function_418": 99.108,
"packages/app/e2e/helpers/app.ts:function:anonymous_function_43": 94.54335314636816,
"packages/app/e2e/helpers/app.ts:function:anonymous_function_82": 99.108,
"packages/app/e2e/helpers/app.ts:function:assertE2EUsesSeededTestDaemon": 59.3778278550958,
"packages/app/e2e/helpers/app.ts:function:ensureE2EStorageSeeded": 72.11004028362052,
"packages/app/e2e/helpers/app.ts:function:escapeRegex": 99.184,
"packages/app/e2e/helpers/app.ts:function:getE2EDaemonPort": 96.414,
"packages/app/e2e/helpers/app.ts:function:getToolCallCount": 99.07,
"packages/app/e2e/helpers/app.ts:function:waitForAgentIdle": 99.146,
"packages/app/e2e/helpers/workspace.ts:function:anonymous_function_12": 76.73845349327983,
"packages/app/e2e/helpers/workspace.ts:function:anonymous_function_50": 91.862,
"packages/app/e2e/host-onboarding-direct.spec.ts:function:anonymous_function_2": 92.18121092967803,
"packages/app/e2e/host-onboarding-direct.spec.ts:function:anonymous_function_8": 99.108,
"packages/app/e2e/host-removal.spec.ts:function:anonymous_function_2": 60.08375433808498,
"packages/app/e2e/host-removal.spec.ts:function:anonymous_function_36": 80.03200656212363,
"packages/app/e2e/host-removal.spec.ts:function:anonymous_function_54": 97.97,
"packages/app/e2e/host-removal.spec.ts:function:anonymous_function_59": 97.97,
"packages/app/e2e/host-removal.spec.ts:function:anonymous_function_77": 99.22200000000001,
"packages/app/e2e/host-removal.spec.ts:function:anonymous_function_82": 91.12199999999999,
"packages/app/e2e/host-removal.spec.ts:function:anonymous_function_87": 95.694,
"packages/app/e2e/host-removal.spec.ts:function:anonymous_function_97": 99.146,
"packages/app/e2e/host-removal.spec.ts:refactoring:2": 100.0,
"packages/app/e2e/host-selection.spec.ts:function:anonymous_function_15": 79.92048833175315,
"packages/app/e2e/host-selection.spec.ts:function:anonymous_function_3": 98.88,
"packages/app/e2e/host-selection.spec.ts:function:anonymous_function_43": 99.032,
"packages/app/e2e/host-selection.spec.ts:function:anonymous_function_55": 93.986,
"packages/app/e2e/manual-host-port.spec.ts:function:anonymous_function_2": 78.11735212661587,
"packages/app/e2e/manual-host-port.spec.ts:function:anonymous_function_28": 87.79589772923629,
"packages/app/e2e/manual-host-port.spec.ts:function:anonymous_function_37": 99.22200000000001,
"packages/app/e2e/manual-host-port.spec.ts:function:anonymous_function_9": 99.146,
"packages/app/e2e/migration-wsurl-to-hostport.spec.ts:function:anonymous_function_2": 76.44937800022022,
"packages/app/e2e/migration-wsurl-to-hostport.spec.ts:function:anonymous_function_21": 99.146,
"packages/app/e2e/migration-wsurl-to-hostport.spec.ts:function:anonymous_function_30": 86.59501739653953,
"packages/app/e2e/pairing-offer-parsing.spec.ts:function:anonymous_function_11": 70.35512700024753,
"packages/app/e2e/pairing-offer-parsing.spec.ts:function:anonymous_function_19": 99.07,
"packages/app/e2e/pairing-offer-parsing.spec.ts:function:anonymous_function_48": 80.70353455674753,
"packages/app/e2e/pairing-offer-parsing.spec.ts:function:encodeBase64Url": 99.032,
"packages/app/e2e/pairing-offer-parsing.spec.ts:refactoring:3": 100.0,
"packages/app/e2e/permission-prompt.spec.ts:function:anonymous_function_15": 85.45315831982998,
"packages/app/e2e/permission-prompt.spec.ts:function:anonymous_function_16": 92.09222739303418,
"packages/app/e2e/permission-prompt.spec.ts:function:anonymous_function_35": 99.22200000000001,
"packages/app/e2e/permission-prompt.spec.ts:function:anonymous_function_49": 93.14483698213064,
"packages/app/e2e/preserve-prompt-on-error.spec.ts:function:anonymous_function_3": 95.9307715051037,
"packages/app/e2e/relay-fallback-connect.spec.ts:function:anonymous_function_2": 89.07128370699257,
"packages/app/e2e/relay-fallback-connect.spec.ts:function:anonymous_function_24": 99.07,
"packages/app/e2e/sidebar-new-agent-clones-selected.spec.ts:function:anonymous_function_4": 95.33085570071235,
"packages/app/metro.config.js:function:anonymous_function_11": 91.27252560398634,
"packages/app/plugins/with-android-product-flavors.js:function:anonymous_function_13": 89.56819263388337,
"packages/app/plugins/with-android-product-flavors.js:function:withAndroidProductFlavors": 89.16355912481588,
"packages/app/plugins/with-android-product-flavors.js:refactoring:2": 100.0,
"packages/app/scripts/reset-project.js:function:anonymous_function_102": 94.688,
"packages/app/scripts/reset-project.js:function:anonymous_function_105": 99.22200000000001,
"packages/app/scripts/reset-project.js:function:anonymous_function_47": 78.12044595999376,
"packages/app/src/app/+html.tsx:function:Root": 97.96584631117105,
"packages/app/src/app/+html.tsx:function:WebRespectfulStyleReset": 98.994,
"packages/app/src/app/_layout.tsx:function:LoadingView": 98.766,
"packages/app/src/app/_layout.tsx:function:ProvidersWrapper": 89.38255996077044,
"packages/app/src/app/_layout.tsx:function:QueryProvider": 98.43960788244226,
"packages/app/src/app/_layout.tsx:function:anonymous_function_106": 76.0708135523638,
"packages/app/src/app/_layout.tsx:function:anonymous_function_112": 97.818,
"packages/app/src/app/_layout.tsx:function:anonymous_function_118": 92.18187839955851,
"packages/app/src/app/_layout.tsx:function:anonymous_function_135": 99.184,
"packages/app/src/app/_layout.tsx:function:anonymous_function_138": 98.88,
"packages/app/src/app/_layout.tsx:function:anonymous_function_149": 96.376,
"packages/app/src/app/_layout.tsx:function:anonymous_function_160": 99.184,
"packages/app/src/app/_layout.tsx:function:anonymous_function_213": 96.452,
"packages/app/src/app/_layout.tsx:function:anonymous_function_238": 99.22200000000001,
"packages/app/src/app/_layout.tsx:function:anonymous_function_240": 91.86955687852561,
"packages/app/src/app/_layout.tsx:function:anonymous_function_242": 95.238,
"packages/app/src/app/_layout.tsx:function:anonymous_function_245": 97.894,
"packages/app/src/app/_layout.tsx:function:anonymous_function_251": 99.22200000000001,
"packages/app/src/app/_layout.tsx:function:anonymous_function_253": 99.184,
"packages/app/src/app/_layout.tsx:function:anonymous_function_257": 99.146,
"packages/app/src/app/_layout.tsx:function:anonymous_function_272": 97.70400000000001,
"packages/app/src/app/_layout.tsx:function:anonymous_function_38": 98.842,
"packages/app/src/app/_layout.tsx:function:anonymous_function_63": 99.22200000000001,
"packages/app/src/app/_layout.tsx:function:anonymous_function_64": 99.22200000000001,
"packages/app/src/app/_layout.tsx:function:anonymous_function_65": 99.22200000000001,
"packages/app/src/app/_layout.tsx:function:anonymous_function_66": 99.22200000000001,
"packages/app/src/app/_layout.tsx:function:anonymous_function_79": 91.55799999999999,
"packages/app/src/app/_layout.tsx:function:anonymous_function_89": 99.22200000000001,
"packages/app/src/app/_layout.tsx:function:handleKeyDown": 94.29,
"packages/app/src/app/agent/[id].tsx:function:LegacyAgentRoute": 99.146,
"packages/app/src/app/agent/[serverId]/[agentId].tsx:function:AgentReadyRoute": 98.804,
"packages/app/src/app/agent/index.tsx:function:AgentDraftRoute": 99.184,
"packages/app/src/app/agents.tsx:function:AgentsScreen": 82.89142020548836,
"packages/app/src/app/agents.tsx:function:anonymous_function_13": 99.146,
"packages/app/src/app/agents.tsx:function:anonymous_function_19": 96.092,
"packages/app/src/app/agents.tsx:function:anonymous_function_25": 93.0,
"packages/app/src/app/agents.tsx:function:anonymous_function_26": 93.076,
"packages/app/src/app/agents.tsx:function:anonymous_function_45": 99.07,
"packages/app/src/app/agents.tsx:refactoring:1": 100.0,
"packages/app/src/app/audio-test.tsx:function:anonymous_function_242": 99.184,
"packages/app/src/app/audio-test.tsx:function:anonymous_function_7": 78.31270734341169,
"packages/app/src/app/audio-test.tsx:function:checkAndRequestPermissions": 89.0993660039578,
"packages/app/src/app/audio-test.tsx:function:handlePlayLastRecording": 93.61003465847355,
"packages/app/src/app/audio-test.tsx:function:handlePlayTestAudio": 94.96804895449797,
"packages/app/src/app/audio-test.tsx:function:handleStartRecording": 93.76339182256851,
"packages/app/src/app/audio-test.tsx:function:handleStopPlayback": 99.146,
"packages/app/src/app/audio-test.tsx:function:handleStopRecording": 93.92132079820215,
"packages/app/src/app/index.tsx:function:Index": 99.184,
"packages/app/src/app/pair-scan.tsx:function:anonymous_function_141": 94.84,
"packages/app/src/app/pair-scan.tsx:function:anonymous_function_144": 99.22200000000001,
"packages/app/src/app/pair-scan.tsx:function:anonymous_function_148": 87.24167005939319,
"packages/app/src/app/pair-scan.tsx:function:anonymous_function_176": 97.3977470897439,
"packages/app/src/app/pair-scan.tsx:function:anonymous_function_186": 99.07,
"packages/app/src/app/pair-scan.tsx:function:anonymous_function_215": 99.108,
"packages/app/src/app/pair-scan.tsx:function:anonymous_function_8": 82.72011894862588,
"packages/app/src/app/pair-scan.tsx:function:extractOfferUrlFromScan": 95.238,
"packages/app/src/app/settings.tsx:function:DaemonCard": 52.990213317029706,
"packages/app/src/app/settings.tsx:function:anonymous_function_29": 99.032,
"packages/app/src/app/settings.tsx:function:anonymous_function_30": 99.07,
"packages/app/src/app/settings.tsx:function:anonymous_function_31": 99.146,
"packages/app/src/app/settings.tsx:function:anonymous_function_37": 75.85608854266272,
"packages/app/src/app/settings.tsx:function:anonymous_function_397": 99.108,
"packages/app/src/app/settings.tsx:function:anonymous_function_398": 99.184,
"packages/app/src/app/settings.tsx:function:anonymous_function_404": 94.024,
"packages/app/src/app/settings.tsx:function:anonymous_function_420": 99.146,
"packages/app/src/app/settings.tsx:function:anonymous_function_425": 97.856,
"packages/app/src/app/settings.tsx:function:anonymous_function_431": 89.22141252306159,
"packages/app/src/app/settings.tsx:function:anonymous_function_454": 82.36158376074533,
"packages/app/src/app/settings.tsx:function:anonymous_function_463": 99.146,
"packages/app/src/app/settings.tsx:function:anonymous_function_478": 95.97800000000001,
"packages/app/src/app/settings.tsx:function:anonymous_function_494": 99.184,
"packages/app/src/app/settings.tsx:function:anonymous_function_501": 99.184,
"packages/app/src/app/settings.tsx:function:anonymous_function_508": 97.70400000000001,
"packages/app/src/app/settings.tsx:function:anonymous_function_529": 95.75,
"packages/app/src/app/settings.tsx:function:anonymous_function_605": 99.22200000000001,
"packages/app/src/app/settings.tsx:function:anonymous_function_606": 99.22200000000001,
"packages/app/src/app/settings.tsx:function:anonymous_function_607": 99.22200000000001,
"packages/app/src/app/settings.tsx:function:anonymous_function_672": 99.22200000000001,
"packages/app/src/app/settings.tsx:function:anonymous_function_684": 99.22200000000001,
"packages/app/src/app/settings.tsx:function:anonymous_function_696": 99.22200000000001,
"packages/app/src/app/settings.tsx:function:anonymous_function_812": 99.22200000000001,
"packages/app/src/app/settings.tsx:function:anonymous_function_814": 99.22200000000001,
"packages/app/src/app/settings.tsx:function:anonymous_function_819": 99.184,
"packages/app/src/app/settings.tsx:function:anonymous_function_823": 92.17243714827258,
"packages/app/src/app/settings.tsx:function:anonymous_function_829": 99.22200000000001,
"packages/app/src/app/settings.tsx:function:anonymous_function_833": 99.22200000000001,
"packages/app/src/app/settings.tsx:function:anonymous_function_846": 88.1419097667364,
"packages/app/src/app/settings.tsx:function:anonymous_function_879": 85.35424892064928,
"packages/app/src/app/settings.tsx:function:handleReset": 92.6505781692781,
"packages/app/src/components/active-processes.tsx:function:anonymous_function_31": 99.22200000000001,
"packages/app/src/components/active-processes.tsx:function:anonymous_function_46": 85.98543527267127,
"packages/app/src/components/active-processes.tsx:function:getAgentStatusColor": 98.69,
"packages/app/src/components/active-processes.tsx:function:getModeColor": 92.14600000000002,
"packages/app/src/components/active-processes.tsx:function:getModeName": 96.604,
"packages/app/src/components/adaptive-modal-sheet.tsx:function:SheetBackground": 98.72800000000001,
"packages/app/src/components/adaptive-modal-sheet.tsx:function:anonymous_function_118": 99.22200000000001,
"packages/app/src/components/adaptive-modal-sheet.tsx:function:anonymous_function_120": 96.49000000000001,
"packages/app/src/components/adaptive-modal-sheet.tsx:function:anonymous_function_130": 97.856,
"packages/app/src/components/adaptive-modal-sheet.tsx:function:anonymous_function_18": 87.97580689118482,
"packages/app/src/components/add-host-method-modal.tsx:function:AddHostMethodModal": 87.26959730138822,
"packages/app/src/components/add-host-method-modal.tsx:function:anonymous_function_49": 99.146,
"packages/app/src/components/add-host-method-modal.tsx:function:anonymous_function_54": 99.146,
"packages/app/src/components/add-host-method-modal.tsx:function:anonymous_function_59": 99.146,
"packages/app/src/components/add-host-method-modal.tsx:function:anonymous_function_6": 94.98720671451426,
"packages/app/src/components/add-host-modal.tsx:function:AddHostModal": 59.25240724748791,
"packages/app/src/components/add-host-modal.tsx:function:anonymous_function_10": 88.72844491235233,
"packages/app/src/components/add-host-modal.tsx:function:anonymous_function_106": 96.33800000000001,
"packages/app/src/components/add-host-modal.tsx:function:anonymous_function_157": 97.97,
"packages/app/src/components/add-host-modal.tsx:function:anonymous_function_166": 97.78,
"packages/app/src/components/add-host-modal.tsx:function:anonymous_function_174": 68.46112056016119,
"packages/app/src/components/add-host-modal.tsx:function:anonymous_function_245": 99.22200000000001,
"packages/app/src/components/add-host-modal.tsx:function:anonymous_function_263": 99.22200000000001,
"packages/app/src/components/add-host-modal.tsx:function:anonymous_function_82": 99.22200000000001,
"packages/app/src/components/add-host-modal.tsx:function:anonymous_function_83": 99.22200000000001,
"packages/app/src/components/add-host-modal.tsx:function:anonymous_function_84": 99.22200000000001,
"packages/app/src/components/add-host-modal.tsx:function:anonymous_function_85": 99.22200000000001,
"packages/app/src/components/add-host-modal.tsx:function:anonymous_function_91": 97.894,
"packages/app/src/components/add-host-modal.tsx:function:buildConnectionFailureCopy": 59.33943281176975,
"packages/app/src/components/add-host-modal.tsx:function:formatTechnicalTransportDetails": 91.1545837199393,
"packages/app/src/components/add-host-modal.tsx:function:isHostPortOnly": 97.932,
"packages/app/src/components/add-host-modal.tsx:function:normalizeTransportMessage": 96.566,
"packages/app/src/components/agent-activity.tsx:function:PlanItem": 94.92988268646918,
"packages/app/src/components/agent-activity.tsx:function:anonymous_function_159": 96.30000000000001,
"packages/app/src/components/agent-activity.tsx:function:anonymous_function_252": 79.61818424423333,
"packages/app/src/components/agent-activity.tsx:function:formatTimestamp": 98.994,
"packages/app/src/components/agent-activity.tsx:function:getStatusColor": 98.766,
"packages/app/src/components/agent-activity.tsx:function:getToolIcon": 96.62744682700941,
"packages/app/src/components/agent-details-sheet.tsx:function:anonymous_function_129": 88.43613968423179,
"packages/app/src/components/agent-details-sheet.tsx:function:anonymous_function_25": 98.766,
"packages/app/src/components/agent-details-sheet.tsx:function:anonymous_function_43": 94.688,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:AgentConfigRow": 80.92645641228196,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:SelectField": 83.39842146704281,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_1018": 99.22200000000001,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_1019": 99.22200000000001,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_1021": 97.856,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_1028": 97.742,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_1032": 99.22200000000001,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_1043": 99.146,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_1050": 97.818,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_1125": 98.842,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_1198": 99.22200000000001,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_1202": 99.22200000000001,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_1243": 99.184,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_1247": 97.856,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_1253": 99.146,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_1258": 97.78,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_1266": 99.146,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_1273": 99.22200000000001,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_1407": 75.28231018040313,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_179": 99.22200000000001,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_199": 99.22200000000001,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_201": 97.78,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_210": 97.856,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_276": 99.22200000000001,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_280": 97.818,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_288": 88.03981101754934,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_296": 93.26599999999999,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_302": 97.344,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_322": 95.94,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_328": 99.22200000000001,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_329": 99.22200000000001,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_332": 96.49000000000001,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_342": 97.856,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_463": 99.22200000000001,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_466": 99.22200000000001,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_467": 99.146,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_472": 97.856,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_479": 95.124,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_484": 96.642,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_497": 97.932,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_503": 99.146,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_602": 99.22200000000001,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_667": 99.07,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_668": 99.108,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_676": 97.666,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_680": 99.108,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_687": 98.804,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_760": 99.22200000000001,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_763": 99.22200000000001,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_764": 99.22200000000001,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_828": 99.22200000000001,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_833": 97.856,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_838": 99.22200000000001,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_914": 99.22200000000001,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_925": 99.22200000000001,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:anonymous_function_926": 99.22200000000001,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:apply": 91.23599999999999,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:isCreateMode": 96.35793553013113,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx:function:value": 92.73269634180113,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_102": 99.22200000000001,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_106": 99.22200000000001,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_131": 97.78,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_134": 99.22200000000001,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_140": 99.184,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_151": 99.184,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_152": 99.22200000000001,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_155": 99.184,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_160": 97.78,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_170": 99.184,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_174": 99.184,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_178": 99.184,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_185": 99.032,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_186": 99.108,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_205": 99.108,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_281": 97.894,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_285": 99.22200000000001,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_289": 99.22200000000001,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_292": 96.092,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_300": 96.224,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_317": 90.78500977812982,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_324": 97.818,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_338": 98.994,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_375": 99.22200000000001,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_378": 99.22200000000001,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_384": 99.22200000000001,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_388": 99.22200000000001,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_395": 99.184,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_401": 99.146,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_410": 76.1815082912204,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_417": 97.458,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_425": 97.458,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_596": 85.12642661706872,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_86": 99.22200000000001,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_90": 99.22200000000001,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_94": 99.22200000000001,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_95": 99.22200000000001,
"packages/app/src/components/agent-input-area.tsx:function:anonymous_function_97": 99.22200000000001,
"packages/app/src/components/agent-input-area.tsx:function:handleCancelAgent": 91.08399999999999,
"packages/app/src/components/agent-input-area.tsx:function:handleEditQueuedMessage": 97.742,
"packages/app/src/components/agent-input-area.tsx:function:handlePickImage": 96.33800000000001,
"packages/app/src/components/agent-input-area.tsx:function:handleRealtimePress": 88.922,
"packages/app/src/components/agent-input-area.tsx:function:handleRemoveImage": 99.184,
"packages/app/src/components/agent-input-area.tsx:function:handleSendQueuedNow": 92.84799999999998,
"packages/app/src/components/agent-input-area.tsx:function:handleSubmit": 97.666,
"packages/app/src/components/agent-input-area.tsx:function:queueMessage": 91.47084149086841,
"packages/app/src/components/agent-input-area.tsx:function:sendMessageWithContent": 71.05265183817538,
"packages/app/src/components/agent-list.tsx:function:anonymous_function_125": 99.184,
"packages/app/src/components/agent-list.tsx:function:anonymous_function_129": 99.184,
"packages/app/src/components/agent-list.tsx:function:anonymous_function_133": 96.016,
"packages/app/src/components/agent-list.tsx:function:anonymous_function_142": 99.22200000000001,
"packages/app/src/components/agent-list.tsx:function:anonymous_function_147": 84.12867543441607,
"packages/app/src/components/agent-list.tsx:function:anonymous_function_173": 99.22200000000001,
"packages/app/src/components/agent-list.tsx:function:anonymous_function_201": 72.74826272689107,
"packages/app/src/components/agent-list.tsx:function:anonymous_function_249": 93.1527569007401,
"packages/app/src/components/agent-list.tsx:function:anonymous_function_271": 99.22200000000001,
"packages/app/src/components/agent-list.tsx:function:anonymous_function_274": 99.108,
"packages/app/src/components/agent-list.tsx:function:anonymous_function_283": 99.22200000000001,
"packages/app/src/components/agent-list.tsx:function:anonymous_function_371": 81.99596517017113,
"packages/app/src/components/agent-list.tsx:function:anonymous_function_86": 97.894,
"packages/app/src/components/agent-list.tsx:function:anonymous_function_97": 91.2520531086729,
"packages/app/src/components/agent-list.tsx:function:deriveDateSectionLabel": 88.74094517558672,
"packages/app/src/components/agent-list.tsx:function:shortenPath": 97.458,
"packages/app/src/components/agent-status-bar.tsx:function:anonymous_function_21": 99.22200000000001,
"packages/app/src/components/agent-status-bar.tsx:function:anonymous_function_27": 99.22200000000001,
"packages/app/src/components/agent-status-bar.tsx:function:anonymous_function_90": 95.086187967359,
"packages/app/src/components/agent-status-bar.tsx:function:handleModeChange": 97.856,
"packages/app/src/components/agent-stream-view.tsx:function:WorkingIndicator": 88.5762535479369,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_1015": 99.22200000000001,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_103": 99.22200000000001,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_1039": 99.108,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_104": 99.22200000000001,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_1068": 83.74652136911021,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_115": 99.108,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_1172": 89.94580745235893,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_122": 93.78570287809514,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_151": 97.628,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_166": 97.666,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_179": 92.25028840040203,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_185": 99.108,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_190": 99.22200000000001,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_208": 99.184,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_218": 90.26170838806009,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_241": 80.02097826681427,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_344": 93.37646195546003,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_364": 90.54083226880863,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_378": 99.22200000000001,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_397": 99.146,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_399": 99.22200000000001,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_404": 80.59897523162451,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_498": 97.23,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_525": 99.146,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_54": 99.22200000000001,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_55": 97.97,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_697": 96.13056708848274,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_699": 98.804,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_713": 99.07,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_714": 99.146,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_722": 99.146,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_727": 99.146,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_732": 99.146,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_762": 93.23608448093991,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_781": 99.22200000000001,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_785": 99.22200000000001,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_789": 98.88,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_800": 98.766,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_83": 99.22200000000001,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_84": 99.22200000000001,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_873": 93.30004824015255,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_90": 99.22200000000001,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_904": 97.476,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_92": 99.22200000000001,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_926": 99.184,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_930": 98.842,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_935": 99.07,
"packages/app/src/components/agent-stream-view.tsx:function:anonymous_function_98": 99.22200000000001,
"packages/app/src/components/agent-stream-view.tsx:function:if": 99.184,
"packages/app/src/components/agent-stream-view.tsx:function:isAbsolutePath": 97.932,
"packages/app/src/components/agent-stream-view.tsx:function:map": 95.2,
"packages/app/src/components/agent-stream-view.tsx:function:normalizeInlinePath": 75.42096462224059,
"packages/app/src/components/agent-stream-view.tsx:function:resolvePathAgainstCwd": 82.7796906735775,
"packages/app/src/components/agent-stream-view.tsx:function:scrollToBottom": 99.108,
"packages/app/src/components/artifact-drawer.tsx:function:anonymous_function_156": 97.70400000000001,
"packages/app/src/components/artifact-drawer.tsx:function:anonymous_function_25": 81.80886755890171,
"packages/app/src/components/audio-debug-notice.tsx:function:anonymous_function_55": 87.38877231160589,
"packages/app/src/components/audio-debug-notice.tsx:function:anonymous_function_82": 94.57400000000001,
"packages/app/src/components/audio-debug-notice.tsx:function:anonymous_function_89": 99.22200000000001,
"packages/app/src/components/audio-debug-notice.tsx:function:formatBytes": 88.8979600140814,
"packages/app/src/components/audio-debug-notice.tsx:function:formatDuration": 93.39800000000001,
"packages/app/src/components/command-autocomplete.tsx:function:CommandAutocomplete": 75.9108365607145,
"packages/app/src/components/command-autocomplete.tsx:function:anonymous_function_105": 99.22200000000001,
"packages/app/src/components/command-autocomplete.tsx:function:anonymous_function_108": 88.71558775909274,
"packages/app/src/components/command-autocomplete.tsx:function:anonymous_function_36": 99.22200000000001,
"packages/app/src/components/command-autocomplete.tsx:function:anonymous_function_73": 97.476,
"packages/app/src/components/command-autocomplete.tsx:function:useCommandAutocomplete": 99.146,
"packages/app/src/components/connection-status.tsx:function:anonymous_function_7": 94.19973078171911,
"packages/app/src/components/dictation-controls.tsx:function:anonymous_function_274": 87.97636745926988,
"packages/app/src/components/dictation-controls.tsx:function:anonymous_function_342": 87.86040720593246,
"packages/app/src/components/dictation-controls.tsx:function:formatDuration": 99.032,
"packages/app/src/components/dictation-status-notice.tsx:function:anonymous_function_122": 90.65474894843763,
"packages/app/src/components/dictation-status-notice.tsx:function:anonymous_function_34": 96.054,
"packages/app/src/components/dictation-status-notice.tsx:function:anonymous_function_41": 98.842,
"packages/app/src/components/diff-viewer.tsx:function:anonymous_function_88": 88.63234196691101,
"packages/app/src/components/download-toast.tsx:function:anonymous_function_10": 99.22200000000001,
"packages/app/src/components/download-toast.tsx:function:anonymous_function_11": 99.22200000000001,
"packages/app/src/components/download-toast.tsx:function:anonymous_function_12": 99.22200000000001,
"packages/app/src/components/download-toast.tsx:function:anonymous_function_17": 91.94152956063539,
"packages/app/src/components/download-toast.tsx:function:anonymous_function_24": 99.184,
"packages/app/src/components/download-toast.tsx:function:anonymous_function_29": 97.856,
"packages/app/src/components/download-toast.tsx:function:anonymous_function_88": 89.07627673691047,
"packages/app/src/components/empty-state.tsx:function:anonymous_function_36": 89.5050808658315,
"packages/app/src/components/explorer-sidebar.tsx:function:anonymous_function_103": 99.184,
"packages/app/src/components/explorer-sidebar.tsx:function:anonymous_function_122": 96.3000755341624,
"packages/app/src/components/explorer-sidebar.tsx:function:anonymous_function_126": 99.146,
"packages/app/src/components/explorer-sidebar.tsx:function:anonymous_function_130": 98.956,
"packages/app/src/components/explorer-sidebar.tsx:function:anonymous_function_139": 99.184,
"packages/app/src/components/explorer-sidebar.tsx:function:anonymous_function_145": 99.184,
"packages/app/src/components/explorer-sidebar.tsx:function:anonymous_function_149": 97.894,
"packages/app/src/components/explorer-sidebar.tsx:function:anonymous_function_154": 99.184,
"packages/app/src/components/explorer-sidebar.tsx:function:anonymous_function_227": 99.22200000000001,
"packages/app/src/components/explorer-sidebar.tsx:function:anonymous_function_228": 99.22200000000001,
"packages/app/src/components/explorer-sidebar.tsx:function:anonymous_function_33": 99.22200000000001,
"packages/app/src/components/explorer-sidebar.tsx:function:anonymous_function_332": 84.41296709798121,
"packages/app/src/components/explorer-sidebar.tsx:function:anonymous_function_34": 99.22200000000001,
"packages/app/src/components/explorer-sidebar.tsx:function:anonymous_function_35": 99.22200000000001,
"packages/app/src/components/explorer-sidebar.tsx:function:anonymous_function_36": 99.22200000000001,
"packages/app/src/components/explorer-sidebar.tsx:function:anonymous_function_37": 99.22200000000001,
"packages/app/src/components/explorer-sidebar.tsx:function:anonymous_function_38": 99.22200000000001,
"packages/app/src/components/explorer-sidebar.tsx:function:anonymous_function_39": 99.22200000000001,
"packages/app/src/components/explorer-sidebar.tsx:function:anonymous_function_40": 99.22200000000001,
"packages/app/src/components/explorer-sidebar.tsx:function:anonymous_function_41": 99.22200000000001,
"packages/app/src/components/explorer-sidebar.tsx:function:anonymous_function_60": 99.184,
"packages/app/src/components/explorer-sidebar.tsx:function:anonymous_function_65": 99.184,
"packages/app/src/components/explorer-sidebar.tsx:function:anonymous_function_73": 88.56829463415053,
"packages/app/src/components/explorer-sidebar.tsx:function:anonymous_function_82": 99.184,
"packages/app/src/components/explorer-sidebar.tsx:function:anonymous_function_85": 99.032,
"packages/app/src/components/explorer-sidebar.tsx:function:anonymous_function_92": 96.376,
"packages/app/src/components/file-drop-zone.tsx:function:FileDropZone": 86.2093318760149,
"packages/app/src/components/file-drop-zone.tsx:function:anonymous_function_33": 97.932,
"packages/app/src/components/file-drop-zone.tsx:function:anonymous_function_37": 97.894,
"packages/app/src/components/file-drop-zone.tsx:function:anonymous_function_69": 95.26950602907407,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_1058": 76.28391097276108,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_112": 93.27013350316741,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_114": 94.74578919744687,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_151": 99.22200000000001,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_166": 99.22200000000001,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_175": 99.184,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_179": 99.184,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_183": 99.184,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_187": 99.184,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_192": 80.15202034898668,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_211": 99.22200000000001,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_214": 97.116,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_217": 99.108,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_230": 74.3784010432398,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_251": 99.108,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_253": 99.22200000000001,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_260": 99.22200000000001,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_263": 97.116,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_266": 99.108,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_290": 94.25100001757426,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_297": 96.016,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_308": 99.184,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_312": 96.262,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_327": 99.146,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_332": 99.184,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_337": 96.414,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_348": 97.742,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_357": 99.108,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_364": 94.57400000000001,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_378": 94.498,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_395": 99.184,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_399": 96.452,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_409": 99.146,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_414": 97.894,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_416": 97.97,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_420": 93.986,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_437": 96.15095420387148,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_455": 99.108,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_463": 99.146,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_468": 99.184,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_472": 97.856,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_490": 99.184,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_496": 96.054,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_503": 95.94,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_513": 89.31277518824619,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_538": 94.688,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_590": 99.22200000000001,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_620": 99.108,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_621": 99.22200000000001,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_626": 99.22200000000001,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_628": 79.64969072910463,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_653": 89.99641436123667,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_673": 99.032,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_681": 99.184,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_687": 99.108,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_70": 96.642,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_76": 96.642,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_82": 99.22200000000001,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_869": 99.146,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_87": 99.22200000000001,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_88": 99.22200000000001,
"packages/app/src/components/file-explorer-pane.tsx:function:anonymous_function_89": 99.22200000000001,
"packages/app/src/components/file-explorer-pane.tsx:function:formatFileSize": 96.452,
"packages/app/src/components/file-explorer-pane.tsx:function:getEntryDisplayKind": 91.9286694800791,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_104": 95.31400000000001,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_1070": 75.03002903534497,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_178": 96.86908612253397,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_209": 95.75,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_224": 87.8951745267797,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_233": 97.628,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_245": 99.22200000000001,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_252": 95.97800000000001,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_256": 99.184,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_262": 97.742,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_361": 99.22200000000001,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_403": 95.09279375844409,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_427": 99.07,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_434": 97.818,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_441": 92.48255843253787,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_447": 94.802,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_453": 99.22200000000001,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_454": 99.184,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_460": 94.688,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_472": 99.07,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_473": 99.146,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_480": 94.328,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_486": 93.82259199891995,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_508": 99.22200000000001,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_513": 96.414,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_523": 99.07,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_529": 97.856,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_537": 96.414,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_547": 99.108,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_552": 97.856,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_560": 96.262,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_574": 99.07,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_580": 97.856,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_588": 96.30000000000001,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_601": 99.07,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_607": 97.856,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_615": 96.414,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_625": 99.108,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_630": 97.856,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_638": 95.01,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_652": 97.70400000000001,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_656": 97.97,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_661": 97.856,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_669": 98.842,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_680": 99.22200000000001,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_702": 96.604,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_786": 99.146,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_793": 94.65,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_796": 99.22200000000001,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_800": 99.22200000000001,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_804": 96.566,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_807": 99.22200000000001,
"packages/app/src/components/git-diff-pane.tsx:function:anonymous_function_811": 95.31400000000001,
"packages/app/src/components/grouped-agent-list.tsx:function:SectionHeader": 79.8089955592929,
"packages/app/src/components/grouped-agent-list.tsx:function:anonymous_function_141": 97.894,
"packages/app/src/components/grouped-agent-list.tsx:function:anonymous_function_152": 91.2520531086729,
"packages/app/src/components/grouped-agent-list.tsx:function:anonymous_function_180": 99.184,
"packages/app/src/components/grouped-agent-list.tsx:function:anonymous_function_184": 99.184,
"packages/app/src/components/grouped-agent-list.tsx:function:anonymous_function_188": 96.016,
"packages/app/src/components/grouped-agent-list.tsx:function:anonymous_function_196": 97.628,
"packages/app/src/components/grouped-agent-list.tsx:function:anonymous_function_197": 97.70400000000001,
"packages/app/src/components/grouped-agent-list.tsx:function:anonymous_function_212": 98.994,
"packages/app/src/components/grouped-agent-list.tsx:function:anonymous_function_216": 99.184,
"packages/app/src/components/grouped-agent-list.tsx:function:anonymous_function_223": 95.78800000000001,
"packages/app/src/components/grouped-agent-list.tsx:function:anonymous_function_239": 99.108,
"packages/app/src/components/grouped-agent-list.tsx:function:anonymous_function_241": 99.22200000000001,
"packages/app/src/components/grouped-agent-list.tsx:function:anonymous_function_248": 95.95259569865127,
"packages/app/src/components/grouped-agent-list.tsx:function:anonymous_function_269": 99.22200000000001,
"packages/app/src/components/grouped-agent-list.tsx:function:anonymous_function_274": 84.12867543441607,
"packages/app/src/components/grouped-agent-list.tsx:function:anonymous_function_300": 99.22200000000001,
"packages/app/src/components/grouped-agent-list.tsx:function:anonymous_function_329": 80.66407617681702,
"packages/app/src/components/grouped-agent-list.tsx:function:anonymous_function_377": 99.22200000000001,
"packages/app/src/components/grouped-agent-list.tsx:function:anonymous_function_380": 98.88,
"packages/app/src/components/grouped-agent-list.tsx:function:anonymous_function_395": 99.22200000000001,
"packages/app/src/components/grouped-agent-list.tsx:function:anonymous_function_482": 81.00765449867103,
"packages/app/src/components/headers/back-header.tsx:function:BackHeader": 94.17084788359679,
"packages/app/src/components/headers/back-header.tsx:function:anonymous_function_21": 99.22200000000001,
"packages/app/src/components/headers/back-header.tsx:function:anonymous_function_39": 96.71045972056875,
"packages/app/src/components/headers/menu-header.tsx:function:MenuHeader": 82.06305361431878,
"packages/app/src/components/headers/menu-header.tsx:function:anonymous_function_17": 99.22200000000001,
"packages/app/src/components/headers/menu-header.tsx:function:anonymous_function_18": 99.22200000000001,
"packages/app/src/components/headers/menu-header.tsx:function:anonymous_function_19": 99.22200000000001,
"packages/app/src/components/headers/menu-header.tsx:function:anonymous_function_54": 94.4447457907299,
"packages/app/src/components/headers/screen-header.tsx:function:anonymous_function_40": 94.21889847984859,
"packages/app/src/components/home-footer.tsx:function:HomeFooter": 72.16408279118377,
"packages/app/src/components/home-footer.tsx:function:anonymous_function_146": 97.894,
"packages/app/src/components/home-footer.tsx:function:anonymous_function_164": 95.352,
"packages/app/src/components/home-footer.tsx:function:anonymous_function_193": 98.956,
"packages/app/src/components/home-footer.tsx:function:anonymous_function_212": 85.2440428677552,
"packages/app/src/components/home-footer.tsx:function:anonymous_function_34": 98.994,
"packages/app/src/components/home-footer.tsx:function:anonymous_function_45": 99.184,
"packages/app/src/components/home-footer.tsx:function:anonymous_function_46": 99.22200000000001,
"packages/app/src/components/home-footer.tsx:function:anonymous_function_50": 91.03085341730493,
"packages/app/src/components/home-footer.tsx:function:anonymous_function_66": 99.146,
"packages/app/src/components/home-footer.tsx:function:anonymous_function_76": 99.032,
"packages/app/src/components/home-footer.tsx:function:anonymous_function_78": 99.146,
"packages/app/src/components/home-footer.tsx:function:anonymous_function_86": 99.184,
"packages/app/src/components/icons/claude-icon.tsx:function:ClaudeIcon": 99.184,
"packages/app/src/components/icons/codex-icon.tsx:function:CodexIcon": 99.184,
"packages/app/src/components/message-input.tsx:function:anonymous_function_120": 99.22200000000001,
"packages/app/src/components/message-input.tsx:function:anonymous_function_127": 98.994,
"packages/app/src/components/message-input.tsx:function:anonymous_function_128": 99.184,
"packages/app/src/components/message-input.tsx:function:anonymous_function_131": 99.184,
"packages/app/src/components/message-input.tsx:function:anonymous_function_141": 99.184,
"packages/app/src/components/message-input.tsx:function:anonymous_function_146": 95.97800000000001,
"packages/app/src/components/message-input.tsx:function:anonymous_function_149": 99.184,
"packages/app/src/components/message-input.tsx:function:anonymous_function_152": 99.22200000000001,
"packages/app/src/components/message-input.tsx:function:anonymous_function_156": 85.4531249528425,
"packages/app/src/components/message-input.tsx:function:anonymous_function_173": 99.184,
"packages/app/src/components/message-input.tsx:function:anonymous_function_181": 99.184,
"packages/app/src/components/message-input.tsx:function:anonymous_function_185": 97.894,
"packages/app/src/components/message-input.tsx:function:anonymous_function_190": 99.146,
"packages/app/src/components/message-input.tsx:function:anonymous_function_219": 99.184,
"packages/app/src/components/message-input.tsx:function:anonymous_function_223": 96.054,
"packages/app/src/components/message-input.tsx:function:anonymous_function_231": 69.22160305125348,
"packages/app/src/components/message-input.tsx:function:anonymous_function_233": 96.49000000000001,
"packages/app/src/components/message-input.tsx:function:anonymous_function_269": 99.22200000000001,
"packages/app/src/components/message-input.tsx:function:anonymous_function_273": 95.2,
"packages/app/src/components/message-input.tsx:function:anonymous_function_283": 97.894,
"packages/app/src/components/message-input.tsx:function:anonymous_function_288": 99.184,
"packages/app/src/components/message-input.tsx:function:anonymous_function_292": 97.78,
"packages/app/src/components/message-input.tsx:function:anonymous_function_300": 99.184,
"packages/app/src/components/message-input.tsx:function:anonymous_function_304": 99.146,
"packages/app/src/components/message-input.tsx:function:anonymous_function_309": 99.146,
"packages/app/src/components/message-input.tsx:function:anonymous_function_314": 99.184,
"packages/app/src/components/message-input.tsx:function:anonymous_function_318": 99.184,
"packages/app/src/components/message-input.tsx:function:anonymous_function_322": 90.14907346889339,
"packages/app/src/components/message-input.tsx:function:anonymous_function_423": 99.22200000000001,
"packages/app/src/components/message-input.tsx:function:anonymous_function_534": 99.184,
"packages/app/src/components/message-input.tsx:function:anonymous_function_537": 99.184,
"packages/app/src/components/message-input.tsx:function:anonymous_function_655": 76.73703806496819,
"packages/app/src/components/message-input.tsx:function:getWebTextArea": 93.39800000000001,
"packages/app/src/components/message-input.tsx:function:handleContentSizeChange": 97.666,
"packages/app/src/components/message-input.tsx:function:handleDesktopKeyPress": 53.8555504002979,
"packages/app/src/components/message-input.tsx:function:handleKeyDown": 76.1656699564578,
"packages/app/src/components/message-input.tsx:function:isTextAreaLike": 96.68,
"packages/app/src/components/message-input.tsx:function:measureWebInputHeight": 78.91371343886395,
"packages/app/src/components/message-input.tsx:function:setBoundedInputHeight": 97.70400000000001,
"packages/app/src/components/message.tsx:function:MessageOuterSpacingProvider": 98.804,
"packages/app/src/components/message.tsx:function:UserMessage": 74.92037009901348,
"packages/app/src/components/message.tsx:function:anonymous_function_1021": 92.01408480770705,
"packages/app/src/components/message.tsx:function:anonymous_function_1088": 95.27265553807939,
"packages/app/src/components/message.tsx:function:anonymous_function_1097": 99.22200000000001,
"packages/app/src/components/message.tsx:function:anonymous_function_1105": 99.184,
"packages/app/src/components/message.tsx:function:anonymous_function_1111": 99.108,
"packages/app/src/components/message.tsx:function:anonymous_function_1248": 99.22200000000001,
"packages/app/src/components/message.tsx:function:anonymous_function_1259": 93.53121829435572,
"packages/app/src/components/message.tsx:function:anonymous_function_1275": 99.22200000000001,
"packages/app/src/components/message.tsx:function:anonymous_function_1279": 86.11175622120791,
"packages/app/src/components/message.tsx:function:anonymous_function_1288": 95.864,
"packages/app/src/components/message.tsx:function:anonymous_function_1300": 99.22200000000001,
"packages/app/src/components/message.tsx:function:anonymous_function_1307": 97.59,
"packages/app/src/components/message.tsx:function:anonymous_function_1344": 99.07,
"packages/app/src/components/message.tsx:function:anonymous_function_152": 95.56116521588214,
"packages/app/src/components/message.tsx:function:anonymous_function_164": 99.146,
"packages/app/src/components/message.tsx:function:anonymous_function_170": 97.78,
"packages/app/src/components/message.tsx:function:anonymous_function_171": 97.856,
"packages/app/src/components/message.tsx:function:anonymous_function_195": 97.894,
"packages/app/src/components/message.tsx:function:anonymous_function_227": 93.13490115969547,
"packages/app/src/components/message.tsx:function:anonymous_function_261": 98.804,
"packages/app/src/components/message.tsx:function:anonymous_function_285": 95.1321245602623,
"packages/app/src/components/message.tsx:function:anonymous_function_298": 99.146,
"packages/app/src/components/message.tsx:function:anonymous_function_304": 97.78,
"packages/app/src/components/message.tsx:function:anonymous_function_305": 97.856,
"packages/app/src/components/message.tsx:function:anonymous_function_333": 86.81401184873405,
"packages/app/src/components/message.tsx:function:anonymous_function_506": 99.22200000000001,
"packages/app/src/components/message.tsx:function:anonymous_function_510": 98.88,
"packages/app/src/components/message.tsx:function:anonymous_function_521": 98.766,
"packages/app/src/components/message.tsx:function:anonymous_function_587": 96.75591059203526,
"packages/app/src/components/message.tsx:function:anonymous_function_678": 87.11463725393241,
"packages/app/src/components/message.tsx:function:anonymous_function_792": 92.488,
"packages/app/src/components/message.tsx:function:anonymous_function_875": 84.76734689722879,
"packages/app/src/components/message.tsx:function:anonymous_function_92": 90.29295723979993,
"packages/app/src/components/message.tsx:function:anonymous_function_972": 99.146,
"packages/app/src/components/message.tsx:function:anonymous_function_978": 99.22200000000001,
"packages/app/src/components/message.tsx:function:anonymous_function_983": 99.22200000000001,
"packages/app/src/components/message.tsx:function:formatPlanTimestamp": 95.864,
"packages/app/src/components/message.tsx:function:getToolKindFromName": 79.86029712389225,
"packages/app/src/components/message.tsx:function:isLikelyPathToken": 82.0358702613701,
"packages/app/src/components/message.tsx:function:normalizeInlinePathValue": 97.628,
"packages/app/src/components/message.tsx:function:parseInlinePathToken": 74.54120511728027,
"packages/app/src/components/message.tsx:function:useDisableOuterSpacing": 99.146,
"packages/app/src/components/mode-selector-modal.tsx:function:anonymous_function_69": 91.3722999028355,
"packages/app/src/components/multi-daemon-session-host.tsx:function:ManagedDaemonSession": 63.87084846590651,
"packages/app/src/components/multi-daemon-session-host.tsx:function:anonymous_function_109": 99.22200000000001,
"packages/app/src/components/multi-daemon-session-host.tsx:function:anonymous_function_18": 97.932,
"packages/app/src/components/multi-daemon-session-host.tsx:function:anonymous_function_58": 99.22200000000001,
"packages/app/src/components/multi-daemon-session-host.tsx:function:anonymous_function_65": 96.376,
"packages/app/src/components/multi-daemon-session-host.tsx:function:anonymous_function_85": 75.10186251815102,
"packages/app/src/components/multi-daemon-session-host.tsx:function:anonymous_function_97": 99.184,
"packages/app/src/components/multi-daemon-session-host.tsx:function:buildCandidateUrls": 86.2160789553427,
"packages/app/src/components/multi-daemon-session-host.tsx:function:extractEndpointFromUrl": 87.044,
"packages/app/src/components/multi-daemon-session-host.tsx:refactoring:4": 100.0,
"packages/app/src/components/pair-link-modal.tsx:function:anonymous_function_76": 97.97,
"packages/app/src/components/pair-link-modal.tsx:function:anonymous_function_8": 88.72844491235233,
"packages/app/src/components/pair-link-modal.tsx:function:anonymous_function_82": 97.818,
"packages/app/src/components/pair-link-modal.tsx:function:anonymous_function_89": 83.49088671137112,
"packages/app/src/components/realtime-controls.tsx:function:RealtimeControls": 88.13496947772713,
"packages/app/src/components/realtime-controls.tsx:function:anonymous_function_67": 91.11695233239888,
"packages/app/src/components/realtime-controls.tsx:function:handleStop": 99.184,
"packages/app/src/components/sliding-sidebar.tsx:function:anonymous_function_104": 99.184,
"packages/app/src/components/sliding-sidebar.tsx:function:anonymous_function_110": 99.108,
"packages/app/src/components/sliding-sidebar.tsx:function:anonymous_function_116": 97.742,
"packages/app/src/components/sliding-sidebar.tsx:function:anonymous_function_132": 99.184,
"packages/app/src/components/sliding-sidebar.tsx:function:anonymous_function_135": 97.59,
"packages/app/src/components/sliding-sidebar.tsx:function:anonymous_function_147": 95.124,
"packages/app/src/components/sliding-sidebar.tsx:function:anonymous_function_158": 99.184,
"packages/app/src/components/sliding-sidebar.tsx:function:anonymous_function_163": 99.184,
"packages/app/src/components/sliding-sidebar.tsx:function:anonymous_function_167": 97.894,
"packages/app/src/components/sliding-sidebar.tsx:function:anonymous_function_298": 83.8592454273693,
"packages/app/src/components/sliding-sidebar.tsx:function:anonymous_function_31": 99.22200000000001,
"packages/app/src/components/sliding-sidebar.tsx:function:anonymous_function_32": 99.22200000000001,
"packages/app/src/components/sliding-sidebar.tsx:function:anonymous_function_33": 99.22200000000001,
"packages/app/src/components/sliding-sidebar.tsx:function:anonymous_function_53": 99.146,
"packages/app/src/components/sliding-sidebar.tsx:function:anonymous_function_59": 96.092,
"packages/app/src/components/sliding-sidebar.tsx:function:anonymous_function_65": 93.0,
"packages/app/src/components/sliding-sidebar.tsx:function:anonymous_function_66": 93.076,
"packages/app/src/components/sliding-sidebar.tsx:function:anonymous_function_74": 99.22200000000001,
"packages/app/src/components/sliding-sidebar.tsx:function:anonymous_function_78": 99.184,
"packages/app/src/components/sliding-sidebar.tsx:function:anonymous_function_82": 99.184,
"packages/app/src/components/sliding-sidebar.tsx:function:anonymous_function_87": 99.146,
"packages/app/src/components/sliding-sidebar.tsx:function:anonymous_function_93": 99.184,
"packages/app/src/components/sliding-sidebar.tsx:function:anonymous_function_98": 99.146,
"packages/app/src/components/tool-call-details.tsx:function:anonymous_function_149": 96.49000000000001,
"packages/app/src/components/tool-call-details.tsx:function:anonymous_function_259": 98.10028285018915,
"packages/app/src/components/tool-call-details.tsx:function:anonymous_function_283": 98.10028285018915,
"packages/app/src/components/tool-call-details.tsx:function:anonymous_function_336": 84.74303746167595,
"packages/app/src/components/tool-call-details.tsx:function:anonymous_function_364": 84.39345833616973,
"packages/app/src/components/tool-call-details.tsx:function:anonymous_function_76": 99.22200000000001,
"packages/app/src/components/tool-call-details.tsx:function:anonymous_function_77": 99.22200000000001,
"packages/app/src/components/tool-call-details.tsx:function:assertNever": 99.184,
"packages/app/src/components/tool-call-details.tsx:function:formatValue": 78.80856616372499,
"packages/app/src/components/tool-call-details.tsx:function:if": 95.19519587196663,
"packages/app/src/components/tool-call-details.tsx:function:summarizeToolCallDisplay": 87.42112901841017,
"packages/app/src/components/tool-call-details.tsx:function:useToolCallDetails": 83.51407906135509,
"packages/app/src/components/tool-call-preview.test.ts:function:anonymous_function_41": 93.54312939521375,
"packages/app/src/components/tool-call-preview.test.ts:function:anonymous_function_5": 87.35511743625335,
"packages/app/src/components/tool-call-preview.test.ts:function:anonymous_function_6": 93.31045049241926,
"packages/app/src/components/tool-call-preview.test.ts:function:anonymous_function_69": 99.22200000000001,
"packages/app/src/components/tool-call-preview.ts:function:resolveToolCallPreview": 98.43778032106981,
"packages/app/src/components/tool-call-sheet.tsx:function:CustomSheetBackground": 98.994,
"packages/app/src/components/tool-call-sheet.tsx:function:ToolCallSheetContent": 89.87655691401449,
"packages/app/src/components/tool-call-sheet.tsx:function:anonymous_function_108": 99.22200000000001,
"packages/app/src/components/tool-call-sheet.tsx:function:anonymous_function_176": 89.67770383959045,
"packages/app/src/components/tool-call-sheet.tsx:function:anonymous_function_62": 99.22200000000001,
"packages/app/src/components/tool-call-sheet.tsx:function:anonymous_function_78": 99.22200000000001,
"packages/app/src/components/tool-call-sheet.tsx:function:anonymous_function_80": 99.146,
"packages/app/src/components/tool-call-sheet.tsx:function:anonymous_function_85": 99.184,
"packages/app/src/components/tool-call-sheet.tsx:function:anonymous_function_89": 97.856,
"packages/app/src/components/tool-call-sheet.tsx:function:useToolCallSheet": 97.78,
"packages/app/src/components/ui/dropdown-menu-floating.ts:function:anonymous_function_160": 97.666,
"packages/app/src/components/ui/dropdown-menu-floating.ts:function:anonymous_function_171": 85.85313067412847,
"packages/app/src/components/ui/dropdown-menu-floating.ts:function:anonymous_function_211": 99.146,
"packages/app/src/components/ui/dropdown-menu-floating.ts:function:anonymous_function_219": 99.146,
"packages/app/src/components/ui/dropdown-menu-floating.ts:function:anonymous_function_224": 91.07139612674847,
"packages/app/src/components/ui/dropdown-menu-floating.ts:function:anonymous_function_26": 99.108,
"packages/app/src/components/ui/dropdown-menu-floating.ts:function:anonymous_function_27": 99.184,
"packages/app/src/components/ui/dropdown-menu-floating.ts:function:computeGeometry": 49.19815033450703,
"packages/app/src/components/ui/dropdown-menu-floating.ts:function:measureElement": 99.032,
"packages/app/src/components/ui/dropdown-menu-floating.ts:function:useDropdownFloating": 68.99157217052726,
"packages/app/src/components/ui/dropdown-menu.tsx:function:DropdownMenuHint": 98.918,
"packages/app/src/components/ui/dropdown-menu.tsx:function:DropdownMenuTrigger": 94.66991744993766,
"packages/app/src/components/ui/dropdown-menu.tsx:function:anonymous_function_165": 99.108,
"packages/app/src/components/ui/dropdown-menu.tsx:function:anonymous_function_183": 97.894,
"packages/app/src/components/ui/dropdown-menu.tsx:function:anonymous_function_228": 99.184,
"packages/app/src/components/ui/dropdown-menu.tsx:function:anonymous_function_233": 88.66714579072989,
"packages/app/src/components/ui/dropdown-menu.tsx:function:anonymous_function_247": 97.666,
"packages/app/src/components/ui/dropdown-menu.tsx:function:anonymous_function_258": 99.184,
"packages/app/src/components/ui/dropdown-menu.tsx:function:anonymous_function_264": 90.90747690601088,
"packages/app/src/components/ui/dropdown-menu.tsx:function:anonymous_function_291": 99.146,
"packages/app/src/components/ui/dropdown-menu.tsx:function:anonymous_function_458": 83.25505516886082,
"packages/app/src/components/ui/dropdown-menu.tsx:function:anonymous_function_66": 97.894,
"packages/app/src/components/ui/dropdown-menu.tsx:function:anonymous_function_76": 99.108,
"packages/app/src/components/ui/dropdown-menu.tsx:function:anonymous_function_77": 99.184,
"packages/app/src/components/ui/dropdown-menu.tsx:function:computePosition": 62.96049068292239,
"packages/app/src/components/ui/dropdown-menu.tsx:function:measureElement": 99.032,
"packages/app/src/components/ui/dropdown-menu.tsx:function:useControllableOpenState": 94.14153399110721,
"packages/app/src/components/ui/dropdown-menu.tsx:function:useDropdownMenuContext": 97.78,
"packages/app/src/components/voice-button.tsx:function:VoiceButton": 82.83837060822351,
"packages/app/src/components/voice-button.tsx:function:anonymous_function_10": 83.02595913568203,
"packages/app/src/components/voice-button.tsx:function:anonymous_function_132": 95.90918251488081,
"packages/app/src/components/voice-button.tsx:function:anonymous_function_153": 98.842,
"packages/app/src/components/voice-button.tsx:function:anonymous_function_166": 93.9657106272318,
"packages/app/src/components/voice-button.tsx:function:anonymous_function_196": 98.842,
"packages/app/src/components/volume-meter.tsx:function:VolumeMeter": 50.34612357984481,
"packages/app/src/components/volume-meter.tsx:function:anonymous_function_133": 91.44399999999999,
"packages/app/src/components/volume-meter.tsx:function:anonymous_function_143": 91.44399999999999,
"packages/app/src/components/volume-meter.tsx:function:anonymous_function_153": 91.44399999999999,
"packages/app/src/components/volume-meter.tsx:function:anonymous_function_192": 98.918,
"packages/app/src/components/volume-meter.tsx:function:anonymous_function_39": 90.01078333024934,
"packages/app/src/components/volume-meter.tsx:function:anonymous_function_81": 87.90635564428509,
"packages/app/src/components/volume-meter.tsx:refactoring:5": 100.0,
"packages/app/src/components/welcome-screen.tsx:function:WelcomeScreen": 88.54188151135459,
"packages/app/src/components/welcome-screen.tsx:function:anonymous_function_105": 99.108,
"packages/app/src/components/welcome-screen.tsx:function:anonymous_function_106": 99.146,
"packages/app/src/components/welcome-screen.tsx:function:anonymous_function_8": 88.80906029781713,
"packages/app/src/components/welcome-screen.tsx:function:anonymous_function_86": 99.22200000000001,
"packages/app/src/constants/layout.ts:function:getIsTauriMac": 96.414,
"packages/app/src/constants/layout.ts:function:getTrafficLightPadding": 97.70400000000001,
"packages/app/src/constants/layout.ts:function:isTauriMac": 93.986,
"packages/app/src/contexts/daemon-connections-context.tsx:function:DaemonConnectionsProvider": 83.55359565659231,
"packages/app/src/contexts/daemon-connections-context.tsx:function:anonymous_function_125": 98.804,
"packages/app/src/contexts/daemon-connections-context.tsx:function:anonymous_function_126": 98.88,
"packages/app/src/contexts/daemon-connections-context.tsx:function:anonymous_function_141": 90.88565472202463,
"packages/app/src/contexts/daemon-connections-context.tsx:function:anonymous_function_142": 91.59371097330069,
"packages/app/src/contexts/daemon-connections-context.tsx:function:createDefaultConnectionState": 98.956,
"packages/app/src/contexts/daemon-connections-context.tsx:function:logConnectionLifecycle": 94.25446015617433,
"packages/app/src/contexts/daemon-connections-context.tsx:function:resolveNextConnectionState": 86.2735843113845,
"packages/app/src/contexts/daemon-connections-context.tsx:function:useDaemonConnections": 97.78,
"packages/app/src/contexts/daemon-registry-context.tsx:function:DaemonRegistryProvider": 74.99312638336694,
"packages/app/src/contexts/daemon-registry-context.tsx:function:anonymous_function_100": 99.22200000000001,
"packages/app/src/contexts/daemon-registry-context.tsx:function:anonymous_function_113": 97.59,
"packages/app/src/contexts/daemon-registry-context.tsx:function:anonymous_function_114": 97.742,
"packages/app/src/contexts/daemon-registry-context.tsx:function:anonymous_function_126": 99.146,
"packages/app/src/contexts/daemon-registry-context.tsx:function:anonymous_function_127": 99.22200000000001,
"packages/app/src/contexts/daemon-registry-context.tsx:function:anonymous_function_132": 90.74834702509851,
"packages/app/src/contexts/daemon-registry-context.tsx:function:anonymous_function_135": 99.22200000000001,
"packages/app/src/contexts/daemon-registry-context.tsx:function:anonymous_function_138": 99.22200000000001,
"packages/app/src/contexts/daemon-registry-context.tsx:function:anonymous_function_172": 96.22009488075406,
"packages/app/src/contexts/daemon-registry-context.tsx:function:anonymous_function_275": 99.22200000000001,
"packages/app/src/contexts/daemon-registry-context.tsx:function:anonymous_function_309": 99.22200000000001,
"packages/app/src/contexts/daemon-registry-context.tsx:function:anonymous_function_310": 99.22200000000001,
"packages/app/src/contexts/daemon-registry-context.tsx:function:anonymous_function_323": 71.97596181884693,
"packages/app/src/contexts/daemon-registry-context.tsx:function:anonymous_function_326": 91.91999999999999,
"packages/app/src/contexts/daemon-registry-context.tsx:function:anonymous_function_333": 99.22200000000001,
"packages/app/src/contexts/daemon-registry-context.tsx:function:anonymous_function_348": 99.22200000000001,
"packages/app/src/contexts/daemon-registry-context.tsx:function:anonymous_function_83": 99.146,
"packages/app/src/contexts/daemon-registry-context.tsx:function:anonymous_function_90": 99.184,
"packages/app/src/contexts/daemon-registry-context.tsx:function:anonymous_function_94": 95.83733859685319,
"packages/app/src/contexts/daemon-registry-context.tsx:function:buildDirectDaemonWsUrl": 97.78,
"packages/app/src/contexts/daemon-registry-context.tsx:function:createProfile": 98.804,
"packages/app/src/contexts/daemon-registry-context.tsx:function:generateDaemonId": 99.146,
"packages/app/src/contexts/daemon-registry-context.tsx:function:getLocalDaemonEndpoint": 96.016,
"packages/app/src/contexts/daemon-registry-context.tsx:function:isHostProfile": 93.58800000000001,
"packages/app/src/contexts/daemon-registry-context.tsx:function:isLegacyDaemonProfile": 93.58800000000001,
"packages/app/src/contexts/daemon-registry-context.tsx:function:loadDaemonRegistryFromStorage": 50.85276268078335,
"packages/app/src/contexts/daemon-registry-context.tsx:function:migrateLegacyToHostProfile": 98.804,
"packages/app/src/contexts/daemon-registry-context.tsx:function:upsertLocalDaemon": 94.16005545176984,
"packages/app/src/contexts/daemon-registry-context.tsx:function:useDaemonRegistry": 97.78,
"packages/app/src/contexts/explorer-sidebar-animation-context.tsx:function:ExplorerSidebarAnimationProvider": 75.38794347494694,
"packages/app/src/contexts/explorer-sidebar-animation-context.tsx:function:anonymous_function_31": 99.22200000000001,
"packages/app/src/contexts/explorer-sidebar-animation-context.tsx:function:anonymous_function_32": 99.22200000000001,
"packages/app/src/contexts/explorer-sidebar-animation-context.tsx:function:anonymous_function_47": 89.92783768547318,
"packages/app/src/contexts/explorer-sidebar-animation-context.tsx:function:anonymous_function_80": 98.88,
"packages/app/src/contexts/explorer-sidebar-animation-context.tsx:function:anonymous_function_92": 98.88,
"packages/app/src/contexts/explorer-sidebar-animation-context.tsx:function:useExplorerSidebarAnimation": 97.78,
"packages/app/src/contexts/horizontal-scroll-context.tsx:function:HorizontalScrollProvider": 90.20234219550373,
"packages/app/src/contexts/horizontal-scroll-context.tsx:function:anonymous_function_17": 97.666,
"packages/app/src/contexts/horizontal-scroll-context.tsx:function:anonymous_function_29": 99.146,
"packages/app/src/contexts/horizontal-scroll-context.tsx:function:anonymous_function_37": 99.146,
"packages/app/src/contexts/horizontal-scroll-context.tsx:function:useHorizontalScroll": 97.78,
"packages/app/src/contexts/horizontal-scroll-context.tsx:function:useHorizontalScrollOptional": 99.184,
"packages/app/src/contexts/realtime-context.tsx:function:RealtimeProvider": 47.454704917982845,
"packages/app/src/contexts/realtime-context.tsx:function:anonymous_function_103": 99.184,
"packages/app/src/contexts/realtime-context.tsx:function:anonymous_function_111": 97.742,
"packages/app/src/contexts/realtime-context.tsx:function:anonymous_function_126": 97.818,
"packages/app/src/contexts/realtime-context.tsx:function:anonymous_function_133": 99.184,
"packages/app/src/contexts/realtime-context.tsx:function:anonymous_function_139": 95.864,
"packages/app/src/contexts/realtime-context.tsx:function:anonymous_function_152": 82.32621141922235,
"packages/app/src/contexts/realtime-context.tsx:function:anonymous_function_181": 97.458,
"packages/app/src/contexts/realtime-context.tsx:function:anonymous_function_188": 91.93636742518298,
"packages/app/src/contexts/realtime-context.tsx:function:anonymous_function_37": 99.22200000000001,
"packages/app/src/contexts/realtime-context.tsx:function:anonymous_function_41": 97.818,
"packages/app/src/contexts/realtime-context.tsx:function:anonymous_function_55": 84.44216064017701,
"packages/app/src/contexts/realtime-context.tsx:function:anonymous_function_73": 99.184,
"packages/app/src/contexts/realtime-context.tsx:function:anonymous_function_82": 99.184,
"packages/app/src/contexts/realtime-context.tsx:function:anonymous_function_85": 90.47346254492268,
"packages/app/src/contexts/realtime-context.tsx:function:useRealtime": 97.78,
"packages/app/src/contexts/session-context.tsx:function:SessionProvider": 35.0,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1009": 99.108,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1019": 77.5396902751989,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1048": 99.108,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1056": 97.19200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1067": 97.70400000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_107": 95.94,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1084": 87.6163496829817,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1094": 99.146,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1100": 99.108,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1107": 97.742,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1126": 86.68155981321803,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1138": 99.108,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1149": 96.22249717495356,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1160": 99.07,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_117": 97.742,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1171": 87.63936368721735,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1182": 92.9136988940157,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1201": 69.21890491865375,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1233": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1236": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1238": 97.628,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1243": 99.108,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1244": 99.184,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_126": 88.03774303495072,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1281": 99.184,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1304": 56.17992875636014,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1323": 98.88,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1343": 95.542,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1344": 95.61800000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1363": 95.542,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1364": 95.61800000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1376": 98.956,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1389": 98.956,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1402": 98.88,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1415": 97.78,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1419": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1423": 95.62302285021941,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1442": 87.38317440811338,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1456": 98.918,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1469": 73.84700794874927,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1476": 97.742,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1486": 97.628,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1498": 97.742,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1511": 96.376,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_152": 79.35691357778896,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1523": 97.742,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1532": 97.742,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1541": 97.742,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1551": 98.72800000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1591": 91.43255170523761,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1592": 99.108,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1598": 99.108,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1606": 99.108,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1616": 98.994,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1618": 99.108,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1629": 95.06633007612807,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1630": 99.108,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1636": 99.108,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1645": 98.994,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1647": 99.108,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1666": 80.22132424644153,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1678": 99.146,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1691": 97.78,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1700": 99.108,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1707": 99.108,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1718": 99.108,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1729": 99.108,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1734": 97.628,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1738": 99.108,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1752": 85.43670502678735,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1755": 98.72800000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1776": 98.72800000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1795": 96.12568018433404,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1797": 97.476,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1818": 66.02507538658769,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1823": 72.22616184620355,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1825": 77.233819848117,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1839": 91.55896236540674,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1841": 94.29,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1853": 99.108,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1876": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1884": 87.25704931343645,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1891": 97.59,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1916": 99.184,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1927": 97.70400000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1932": 99.184,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1940": 97.70400000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1945": 99.184,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1953": 97.70400000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1958": 99.184,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1966": 77.42646661545076,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_1997": 99.146,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2021": 97.70400000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2026": 99.184,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2034": 97.628,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2041": 99.184,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2049": 99.146,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2057": 98.766,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2060": 99.108,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2061": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2065": 99.108,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2066": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2075": 83.08369335818907,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2079": 97.628,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2093": 93.53428656687214,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2094": 94.26795202261995,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2113": 98.994,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2114": 99.07,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2126": 86.37793473154667,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2128": 99.108,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2136": 93.97923511853831,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2137": 94.75757304120735,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2155": 99.032,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2156": 99.108,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2167": 99.184,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_217": 99.184,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2174": 81.00155887140288,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2177": 94.27104524032214,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2202": 93.53428656687214,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2203": 94.26795202261995,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2222": 98.994,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2223": 99.07,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2235": 94.57400000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2249": 99.108,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2250": 99.184,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2256": 97.54132258026016,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2306": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2308": 98.538,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_2350": 99.184,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_305": 98.918,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_316": 96.49000000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_388": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_394": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_395": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_396": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_397": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_399": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_402": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_405": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_408": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_411": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_414": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_416": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_418": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_421": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_423": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_424": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_425": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_426": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_427": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_428": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_429": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_431": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_436": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_447": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_448": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_472": 98.956,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_473": 99.184,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_477": 99.184,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_483": 73.44501762843404,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_55": 91.4820824999187,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_558": 99.07,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_559": 99.184,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_565": 99.184,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_570": 99.184,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_574": 99.184,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_579": 92.1221156273582,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_611": 97.856,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_617": 99.108,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_618": 99.184,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_623": 99.146,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_628": 84.22798313746877,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_631": 85.81578958745541,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_655": 97.818,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_673": 99.184,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_679": 98.994,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_680": 99.07,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_691": 95.048,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_707": 96.452,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_719": 90.91401227590063,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_740": 91.81894880890282,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_75": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_763": 93.09225353141922,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_78": 96.528,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_781": 80.89986220833,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_797": 88.76208067200376,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_811": 93.48360280408504,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_823": 99.184,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_844": 97.818,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_853": 35.0,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_856": 68.49998245870458,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_86": 96.33800000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_895": 92.8715402171623,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_901": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_915": 92.8715402171623,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_921": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_935": 92.8715402171623,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_941": 99.22200000000001,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_964": 76.19525852743878,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_971": 99.108,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_980": 97.55199999999999,
"packages/app/src/contexts/session-context.tsx:function:anonymous_function_99": 96.016,
"packages/app/src/contexts/session-context.tsx:function:getInitKey": 99.184,
"packages/app/src/contexts/session-context.tsx:function:loadPersistedSessionSnapshot": 89.26638180223985,
"packages/app/src/contexts/session-context.tsx:function:normalizeAgentSnapshot": 89.09059127256944,
"packages/app/src/contexts/session-context.tsx:function:persistSessionSnapshot": 94.21011020092111,
"packages/app/src/contexts/session-context.tsx:refactoring:61": 100.0,
"packages/app/src/contexts/sidebar-animation-context.tsx:function:SidebarAnimationProvider": 75.59998005700467,
"packages/app/src/contexts/sidebar-animation-context.tsx:function:anonymous_function_29": 99.22200000000001,
"packages/app/src/contexts/sidebar-animation-context.tsx:function:anonymous_function_30": 99.22200000000001,
"packages/app/src/contexts/sidebar-animation-context.tsx:function:anonymous_function_44": 89.88917143368488,
"packages/app/src/contexts/sidebar-animation-context.tsx:function:anonymous_function_77": 98.88,
"packages/app/src/contexts/sidebar-animation-context.tsx:function:anonymous_function_89": 98.88,
"packages/app/src/contexts/sidebar-animation-context.tsx:function:useSidebarAnimation": 97.78,
"packages/app/src/contexts/toast-context.tsx:function:ToastProvider": 81.80901077259837,
"packages/app/src/contexts/toast-context.tsx:function:anonymous_function_100": 97.818,
"packages/app/src/contexts/toast-context.tsx:function:anonymous_function_102": 97.97,
"packages/app/src/contexts/toast-context.tsx:function:anonymous_function_104": 99.22200000000001,
"packages/app/src/contexts/toast-context.tsx:function:anonymous_function_112": 99.22200000000001,
"packages/app/src/contexts/toast-context.tsx:function:anonymous_function_130": 97.818,
"packages/app/src/contexts/toast-context.tsx:function:anonymous_function_137": 95.29625912006325,
"packages/app/src/contexts/toast-context.tsx:function:anonymous_function_152": 97.856,
"packages/app/src/contexts/toast-context.tsx:function:anonymous_function_159": 91.42732542804008,
"packages/app/src/contexts/toast-context.tsx:function:anonymous_function_186": 99.184,
"packages/app/src/contexts/toast-context.tsx:function:anonymous_function_190": 99.184,
"packages/app/src/contexts/toast-context.tsx:function:anonymous_function_236": 91.28458048498536,
"packages/app/src/contexts/toast-context.tsx:function:anonymous_function_66": 87.51365272438376,
"packages/app/src/contexts/toast-context.tsx:function:useToast": 97.78,
"packages/app/src/dictation/dictation-stream-sender.test.ts:function:anonymous_function_103": 95.77769865637704,
"packages/app/src/dictation/dictation-stream-sender.test.ts:function:anonymous_function_110": 99.22200000000001,
"packages/app/src/dictation/dictation-stream-sender.test.ts:function:anonymous_function_122": 99.22200000000001,
"packages/app/src/dictation/dictation-stream-sender.test.ts:function:anonymous_function_33": 99.146,
"packages/app/src/dictation/dictation-stream-sender.test.ts:function:anonymous_function_38": 84.45247222674247,
"packages/app/src/dictation/dictation-stream-sender.test.ts:function:anonymous_function_39": 96.38756441429172,
"packages/app/src/dictation/dictation-stream-sender.test.ts:function:anonymous_function_45": 99.22200000000001,
"packages/app/src/dictation/dictation-stream-sender.test.ts:function:anonymous_function_60": 95.38776253250002,
"packages/app/src/dictation/dictation-stream-sender.test.ts:function:anonymous_function_66": 99.22200000000001,
"packages/app/src/dictation/dictation-stream-sender.test.ts:function:anonymous_function_75": 99.22200000000001,
"packages/app/src/dictation/dictation-stream-sender.test.ts:function:anonymous_function_76": 99.22200000000001,
"packages/app/src/dictation/dictation-stream-sender.test.ts:function:anonymous_function_77": 99.22200000000001,
"packages/app/src/dictation/dictation-stream-sender.test.ts:function:anonymous_function_83": 96.37818075352374,
"packages/app/src/dictation/dictation-stream-sender.test.ts:function:anonymous_function_89": 99.22200000000001,
"packages/app/src/dictation/dictation-stream-sender.test.ts:function:anonymous_function_99": 99.22200000000001,
"packages/app/src/dictation/dictation-stream-sender.test.ts:function:cancelDictationStream": 99.184,
"packages/app/src/dictation/dictation-stream-sender.test.ts:function:finishDictationStream": 99.146,
"packages/app/src/dictation/dictation-stream-sender.test.ts:function:sendDictationStreamChunk": 99.184,
"packages/app/src/dictation/dictation-stream-sender.test.ts:function:startDictationStream": 99.184,
"packages/app/src/dictation/dictation-stream-sender.ts:function:anonymous_function_127": 95.352,
"packages/app/src/dictation/dictation-stream-sender.ts:function:anonymous_function_137": 94.95400000000001,
"packages/app/src/dictation/dictation-stream-sender.ts:function:anonymous_function_144": 97.344,
"packages/app/src/dictation/dictation-stream-sender.ts:function:cancel": 94.95400000000001,
"packages/app/src/dictation/dictation-stream-sender.ts:function:clearAll": 98.994,
"packages/app/src/dictation/dictation-stream-sender.ts:function:constructor": 99.108,
"packages/app/src/dictation/dictation-stream-sender.ts:function:enqueueSegment": 95.2,
"packages/app/src/dictation/dictation-stream-sender.ts:function:finish": 83.99481665249316,
"packages/app/src/dictation/dictation-stream-sender.ts:function:flush": 89.15965717932394,
"packages/app/src/dictation/dictation-stream-sender.ts:function:getDictationId": 99.184,
"packages/app/src/dictation/dictation-stream-sender.ts:function:getFinalSeq": 99.184,
"packages/app/src/dictation/dictation-stream-sender.ts:function:getSegmentCount": 99.184,
"packages/app/src/dictation/dictation-stream-sender.ts:function:hasSegments": 99.184,
"packages/app/src/dictation/dictation-stream-sender.ts:function:resetStreamForReplay": 99.032,
"packages/app/src/dictation/dictation-stream-sender.ts:function:restartStream": 79.8735012018034,
"packages/app/src/dictation/dictation-stream-sender.ts:function:setClient": 99.184,
"packages/app/src/hooks/checkout-status-revalidation.ts:function:checkoutStatusRevalidationKey": 95.31400000000001,
"packages/app/src/hooks/checkout-status-revalidation.ts:function:nextCheckoutStatusRefetchDecision": 96.49000000000001,
"packages/app/src/hooks/use-agent-commands-query.ts:function:anonymous_function_27": 99.22200000000001,
"packages/app/src/hooks/use-agent-commands-query.ts:function:anonymous_function_30": 99.22200000000001,
"packages/app/src/hooks/use-agent-commands-query.ts:function:anonymous_function_35": 97.78,
"packages/app/src/hooks/use-agent-commands-query.ts:function:anonymous_function_45": 99.22200000000001,
"packages/app/src/hooks/use-agent-commands-query.ts:function:commandsQueryKey": 99.184,
"packages/app/src/hooks/use-agent-commands-query.ts:function:useAgentCommandsQuery": 85.18960491441659,
"packages/app/src/hooks/use-agent-form-state.test.ts:function:anonymous_function_15": 99.108,
"packages/app/src/hooks/use-agent-form-state.test.ts:function:anonymous_function_21": 99.108,
"packages/app/src/hooks/use-agent-form-state.test.ts:function:anonymous_function_27": 98.956,
"packages/app/src/hooks/use-agent-form-state.test.ts:function:anonymous_function_3": 92.25637195284531,
"packages/app/src/hooks/use-agent-form-state.test.ts:function:anonymous_function_4": 92.67880651730873,
"packages/app/src/hooks/use-agent-form-state.test.ts:function:anonymous_function_5": 99.184,
"packages/app/src/hooks/use-agent-form-state.test.ts:function:anonymous_function_9": 99.108,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_131": 99.22200000000001,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_151": 99.22200000000001,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_152": 99.22200000000001,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_249": 99.22200000000001,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_257": 99.032,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_265": 99.184,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_273": 97.818,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_281": 97.97,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_287": 99.22200000000001,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_296": 99.184,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_301": 76.68792290294348,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_344": 90.93199999999999,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_369": 99.108,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_370": 99.22200000000001,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_371": 99.22200000000001,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_378": 97.73429896827568,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_379": 99.22200000000001,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_380": 99.22200000000001,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_388": 99.07,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_399": 99.108,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_400": 99.22200000000001,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_401": 99.22200000000001,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_408": 99.108,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_409": 99.22200000000001,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_410": 99.22200000000001,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_416": 99.184,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_417": 99.22200000000001,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_421": 99.108,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_422": 99.22200000000001,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_423": 99.22200000000001,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_429": 99.184,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_430": 99.22200000000001,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_433": 96.452,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_443": 98.88,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_463": 96.414,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_475": 82.15447534336903,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_497": 97.818,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_513": 98.994,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_514": 99.07,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_515": 99.184,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_522": 92.734,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_532": 99.184,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_552": 95.72652017945144,
"packages/app/src/hooks/use-agent-form-state.ts:function:anonymous_function_89": 99.22200000000001,
"packages/app/src/hooks/use-agent-form-state.ts:function:combineInitialValues": 87.7994027341442,
"packages/app/src/hooks/use-agent-form-state.ts:function:resolveFormState": 48.82335140797181,
"packages/app/src/hooks/use-agent-form-state.ts:function:useAgentFormState": 41.58961681776934,
"packages/app/src/hooks/use-aggregated-agents.ts:function:anonymous_function_107": 80.5277702202245,
"packages/app/src/hooks/use-aggregated-agents.ts:function:anonymous_function_143": 97.30600000000001,
"packages/app/src/hooks/use-aggregated-agents.ts:function:anonymous_function_25": 99.032,
"packages/app/src/hooks/use-aggregated-agents.ts:function:anonymous_function_35": 99.032,
"packages/app/src/hooks/use-aggregated-agents.ts:function:anonymous_function_44": 97.70400000000001,
"packages/app/src/hooks/use-aggregated-agents.ts:function:anonymous_function_54": 51.45775620569,
"packages/app/src/hooks/use-aggregated-agents.ts:function:anonymous_function_88": 92.77199999999999,
"packages/app/src/hooks/use-aggregated-agents.ts:function:useAggregatedAgents": 49.45306080467617,
"packages/app/src/hooks/use-aggregated-agents.ts:refactoring:5": 100.0,
"packages/app/src/hooks/use-audio-player.native.ts:function:anonymous_function_180": 78.39391751509679,
"packages/app/src/hooks/use-audio-player.native.ts:function:anonymous_function_232": 99.07,
"packages/app/src/hooks/use-audio-player.native.ts:function:anonymous_function_313": 99.22200000000001,
"packages/app/src/hooks/use-audio-player.native.ts:function:anonymous_function_62": 89.07150852549611,
"packages/app/src/hooks/use-audio-player.native.ts:function:anonymous_function_96": 75.68763868497199,
"packages/app/src/hooks/use-audio-player.native.ts:function:clearQueue": 92.92869414806431,
"packages/app/src/hooks/use-audio-player.native.ts:function:play": 88.38010524269986,
"packages/app/src/hooks/use-audio-player.native.ts:function:playAudio": 78.10431121163842,
"packages/app/src/hooks/use-audio-player.native.ts:function:processNextInQueue": 93.512,
"packages/app/src/hooks/use-audio-player.native.ts:function:processQueue": 76.79598118065577,
"packages/app/src/hooks/use-audio-player.native.ts:function:resamplePcm24kTo16k": 91.69714632227108,
"packages/app/src/hooks/use-audio-player.native.ts:function:startCheckingForClearFlags": 72.56850145828693,
"packages/app/src/hooks/use-audio-player.native.ts:function:stop": 85.32534809320171,
"packages/app/src/hooks/use-audio-player.native.ts:function:useAudioPlayer": 42.35701366214144,
"packages/app/src/hooks/use-audio-player.native.ts:refactoring:10": 100.0,
"packages/app/src/hooks/use-audio-player.web.ts:function:anonymous_function_13": 98.88,
"packages/app/src/hooks/use-audio-player.web.ts:function:anonymous_function_14": 99.146,
"packages/app/src/hooks/use-audio-player.web.ts:function:anonymous_function_18": 99.184,
"packages/app/src/hooks/use-audio-player.web.ts:function:anonymous_function_21": 99.22200000000001,
"packages/app/src/hooks/use-audio-player.web.ts:function:anonymous_function_22": 99.22200000000001,
"packages/app/src/hooks/use-audio-player.web.ts:function:useAudioPlayer": 98.69,
"packages/app/src/hooks/use-audio-recorder.native.ts:function:anonymous_function_107": 97.70400000000001,
"packages/app/src/hooks/use-audio-recorder.native.ts:function:anonymous_function_135": 99.184,
"packages/app/src/hooks/use-audio-recorder.native.ts:function:anonymous_function_140": 86.81201068968066,
"packages/app/src/hooks/use-audio-recorder.native.ts:function:anonymous_function_173": 99.184,
"packages/app/src/hooks/use-audio-recorder.native.ts:function:anonymous_function_179": 91.32997114768118,
"packages/app/src/hooks/use-audio-recorder.native.ts:function:anonymous_function_183": 95.902,
"packages/app/src/hooks/use-audio-recorder.native.ts:function:anonymous_function_194": 99.22200000000001,
"packages/app/src/hooks/use-audio-recorder.native.ts:function:anonymous_function_197": 77.79884661972503,
"packages/app/src/hooks/use-audio-recorder.native.ts:function:anonymous_function_260": 65.36147716306303,
"packages/app/src/hooks/use-audio-recorder.native.ts:function:anonymous_function_266": 99.22200000000001,
"packages/app/src/hooks/use-audio-recorder.native.ts:function:anonymous_function_270": 72.71966304696267,
"packages/app/src/hooks/use-audio-recorder.native.ts:function:anonymous_function_335": 99.108,
"packages/app/src/hooks/use-audio-recorder.native.ts:function:anonymous_function_341": 99.184,
"packages/app/src/hooks/use-audio-recorder.native.ts:function:anonymous_function_346": 99.07,
"packages/app/src/hooks/use-audio-recorder.native.ts:function:anonymous_function_40": 97.19200000000001,
"packages/app/src/hooks/use-audio-recorder.native.ts:function:anonymous_function_49": 97.458,
"packages/app/src/hooks/use-audio-recorder.native.ts:function:getActualRecordingUri": 66.01204245689672,
"packages/app/src/hooks/use-audio-recorder.native.ts:function:uriToBlob": 94.27298024097743,
"packages/app/src/hooks/use-audio-recorder.native.ts:function:useAudioRecorder": 44.74483704826095,
"packages/app/src/hooks/use-audio-recorder.native.ts:refactoring:9": 100.0,
"packages/app/src/hooks/use-audio-recorder.web.ts:function:anonymous_function_121": 97.078,
"packages/app/src/hooks/use-audio-recorder.web.ts:function:anonymous_function_140": 49.93793758925431,
"packages/app/src/hooks/use-audio-recorder.web.ts:function:anonymous_function_191": 93.968,
"packages/app/src/hooks/use-audio-recorder.web.ts:function:anonymous_function_225": 91.93799999999999,
"packages/app/src/hooks/use-audio-recorder.web.ts:function:anonymous_function_234": 99.146,
"packages/app/src/hooks/use-audio-recorder.web.ts:function:anonymous_function_251": 71.18500004566422,
"packages/app/src/hooks/use-audio-recorder.web.ts:function:anonymous_function_271": 80.67928940116057,
"packages/app/src/hooks/use-audio-recorder.web.ts:function:anonymous_function_272": 96.08621217957054,
"packages/app/src/hooks/use-audio-recorder.web.ts:function:anonymous_function_287": 93.81633486868407,
"packages/app/src/hooks/use-audio-recorder.web.ts:function:anonymous_function_317": 95.864,
"packages/app/src/hooks/use-audio-recorder.web.ts:function:anonymous_function_318": 95.94,
"packages/app/src/hooks/use-audio-recorder.web.ts:function:anonymous_function_32": 99.184,
"packages/app/src/hooks/use-audio-recorder.web.ts:function:anonymous_function_329": 99.22200000000001,
"packages/app/src/hooks/use-audio-recorder.web.ts:function:anonymous_function_336": 99.22200000000001,
"packages/app/src/hooks/use-audio-recorder.web.ts:function:anonymous_function_36": 93.36326077763212,
"packages/app/src/hooks/use-audio-recorder.web.ts:function:anonymous_function_46": 99.22200000000001,
"packages/app/src/hooks/use-audio-recorder.web.ts:function:anonymous_function_54": 96.08213718862862,
"packages/app/src/hooks/use-audio-recorder.web.ts:function:anonymous_function_65": 99.22200000000001,
"packages/app/src/hooks/use-audio-recorder.web.ts:function:anonymous_function_70": 93.55000000000001,
"packages/app/src/hooks/use-audio-recorder.web.ts:function:anonymous_function_72": 94.992,
"packages/app/src/hooks/use-audio-recorder.web.ts:function:anonymous_function_83": 99.032,
"packages/app/src/hooks/use-audio-recorder.web.ts:function:anonymous_function_91": 78.11123401208161,
"packages/app/src/hooks/use-audio-recorder.web.ts:function:useAudioRecorder": 39.945911754604936,
"packages/app/src/hooks/use-audio-recorder.web.ts:refactoring:9": 100.0,
"packages/app/src/hooks/use-checkout-diff-query.ts:function:anonymous_function_40": 99.22200000000001,
"packages/app/src/hooks/use-checkout-diff-query.ts:function:anonymous_function_43": 99.22200000000001,
"packages/app/src/hooks/use-checkout-diff-query.ts:function:anonymous_function_47": 99.22200000000001,
"packages/app/src/hooks/use-checkout-diff-query.ts:function:anonymous_function_48": 99.22200000000001,
"packages/app/src/hooks/use-checkout-diff-query.ts:function:anonymous_function_49": 99.22200000000001,
"packages/app/src/hooks/use-checkout-diff-query.ts:function:anonymous_function_54": 97.818,
"packages/app/src/hooks/use-checkout-diff-query.ts:function:anonymous_function_66": 94.214,
"packages/app/src/hooks/use-checkout-diff-query.ts:function:anonymous_function_75": 99.184,
"packages/app/src/hooks/use-checkout-diff-query.ts:function:checkoutDiffQueryKey": 98.994,
"packages/app/src/hooks/use-checkout-diff-query.ts:function:useCheckoutDiffQuery": 73.54848151657205,
"packages/app/src/hooks/use-checkout-diff-query.ts:refactoring:2": 100.0,
"packages/app/src/hooks/use-checkout-pr-status-query.ts:function:anonymous_function_24": 99.22200000000001,
"packages/app/src/hooks/use-checkout-pr-status-query.ts:function:anonymous_function_27": 99.22200000000001,
"packages/app/src/hooks/use-checkout-pr-status-query.ts:function:anonymous_function_32": 97.818,
"packages/app/src/hooks/use-checkout-pr-status-query.ts:function:checkoutPrStatusQueryKey": 99.184,
"packages/app/src/hooks/use-checkout-pr-status-query.ts:function:useCheckoutPrStatusQuery": 87.11106100194341,
"packages/app/src/hooks/use-checkout-status-query.test.ts:function:anonymous_function_16": 98.918,
"packages/app/src/hooks/use-checkout-status-query.test.ts:function:anonymous_function_27": 98.918,
"packages/app/src/hooks/use-checkout-status-query.test.ts:function:anonymous_function_3": 87.49008917725084,
"packages/app/src/hooks/use-checkout-status-query.test.ts:function:anonymous_function_39": 93.5312729286639,
"packages/app/src/hooks/use-checkout-status-query.test.ts:function:anonymous_function_4": 93.7992583157349,
"packages/app/src/hooks/use-checkout-status-query.test.ts:function:anonymous_function_40": 96.40152079805094,
"packages/app/src/hooks/use-checkout-status-query.test.ts:function:anonymous_function_5": 98.918,
"packages/app/src/hooks/use-checkout-status-query.test.ts:function:anonymous_function_64": 98.994,
"packages/app/src/hooks/use-checkout-status-query.test.ts:refactoring:3": 100.0,
"packages/app/src/hooks/use-checkout-status-query.ts:function:anonymous_function_33": 99.22200000000001,
"packages/app/src/hooks/use-checkout-status-query.ts:function:anonymous_function_36": 99.22200000000001,
"packages/app/src/hooks/use-checkout-status-query.ts:function:anonymous_function_40": 99.22200000000001,
"packages/app/src/hooks/use-checkout-status-query.ts:function:anonymous_function_41": 99.22200000000001,
"packages/app/src/hooks/use-checkout-status-query.ts:function:anonymous_function_42": 99.22200000000001,
"packages/app/src/hooks/use-checkout-status-query.ts:function:anonymous_function_47": 97.818,
"packages/app/src/hooks/use-checkout-status-query.ts:function:anonymous_function_62": 99.22200000000001,
"packages/app/src/hooks/use-checkout-status-query.ts:function:anonymous_function_66": 97.818,
"packages/app/src/hooks/use-checkout-status-query.ts:function:anonymous_function_90": 99.22200000000001,
"packages/app/src/hooks/use-checkout-status-query.ts:function:anonymous_function_95": 97.818,
"packages/app/src/hooks/use-checkout-status-query.ts:function:checkoutStatusQueryKey": 99.184,
"packages/app/src/hooks/use-checkout-status-query.ts:function:fetchCheckoutStatus": 99.07,
"packages/app/src/hooks/use-checkout-status-query.ts:function:useCheckoutStatusCacheOnly": 96.6963668655787,
"packages/app/src/hooks/use-checkout-status-query.ts:function:useCheckoutStatusQuery": 81.13859582521054,
"packages/app/src/hooks/use-checkout-status-query.ts:refactoring:4": 100.0,
"packages/app/src/hooks/use-client-activity.ts:function:anonymous_function_106": 99.146,
"packages/app/src/hooks/use-client-activity.ts:function:anonymous_function_25": 99.184,
"packages/app/src/hooks/use-client-activity.ts:function:anonymous_function_29": 95.84203739975743,
"packages/app/src/hooks/use-client-activity.ts:function:anonymous_function_50": 97.59,
"packages/app/src/hooks/use-client-activity.ts:function:anonymous_function_52": 97.78,
"packages/app/src/hooks/use-client-activity.ts:function:anonymous_function_60": 99.22200000000001,
"packages/app/src/hooks/use-client-activity.ts:function:anonymous_function_64": 97.78,
"packages/app/src/hooks/use-client-activity.ts:function:anonymous_function_73": 86.89129546798713,
"packages/app/src/hooks/use-client-activity.ts:function:anonymous_function_76": 97.742,
"packages/app/src/hooks/use-client-activity.ts:function:anonymous_function_85": 97.78,
"packages/app/src/hooks/use-client-activity.ts:function:anonymous_function_93": 97.742,
"packages/app/src/hooks/use-client-activity.ts:function:useClientActivity": 73.36717912612511,
"packages/app/src/hooks/use-client-activity.ts:refactoring:2": 100.0,
"packages/app/src/hooks/use-color-scheme.web.ts:function:anonymous_function_9": 99.184,
"packages/app/src/hooks/use-color-scheme.web.ts:function:useColorScheme": 97.476,
"packages/app/src/hooks/use-daemon-client.ts:function:anonymous_function_13": 97.666,
"packages/app/src/hooks/use-daemon-client.ts:function:anonymous_function_26": 99.032,
"packages/app/src/hooks/use-daemon-client.ts:function:anonymous_function_29": 99.184,
"packages/app/src/hooks/use-daemon-client.ts:function:anonymous_function_34": 97.59,
"packages/app/src/hooks/use-daemon-client.ts:function:anonymous_function_35": 97.818,
"packages/app/src/hooks/use-daemon-client.ts:function:anonymous_function_42": 99.184,
"packages/app/src/hooks/use-daemon-client.ts:function:anonymous_function_6": 99.184,
"packages/app/src/hooks/use-daemon-client.ts:function:runDaemonRequest": 99.108,
"packages/app/src/hooks/use-daemon-client.ts:function:useDaemonClient": 90.05034014801612,
"packages/app/src/hooks/use-dictation-audio-source.native.ts:function:anonymous_function_10": 99.146,
"packages/app/src/hooks/use-dictation-audio-source.native.ts:function:anonymous_function_17": 99.184,
"packages/app/src/hooks/use-dictation-audio-source.native.ts:function:anonymous_function_20": 99.184,
"packages/app/src/hooks/use-dictation-audio-source.native.ts:function:anonymous_function_29": 99.184,
"packages/app/src/hooks/use-dictation-audio-source.native.ts:function:anonymous_function_33": 99.184,
"packages/app/src/hooks/use-dictation-audio-source.native.ts:function:useDictationAudioSource": 92.34807249249086,
"packages/app/src/hooks/use-dictation-audio-source.web.ts:function:anonymous_function_114": 95.94,
"packages/app/src/hooks/use-dictation-audio-source.web.ts:function:anonymous_function_119": 99.184,
"packages/app/src/hooks/use-dictation-audio-source.web.ts:function:anonymous_function_124": 96.30000000000001,
"packages/app/src/hooks/use-dictation-audio-source.web.ts:function:anonymous_function_138": 49.4853004572654,
"packages/app/src/hooks/use-dictation-audio-source.web.ts:function:anonymous_function_14": 97.894,
"packages/app/src/hooks/use-dictation-audio-source.web.ts:function:anonymous_function_188": 88.78162090517361,
"packages/app/src/hooks/use-dictation-audio-source.web.ts:function:anonymous_function_19": 88.46898671337424,
"packages/app/src/hooks/use-dictation-audio-source.web.ts:function:anonymous_function_248": 97.818,
"packages/app/src/hooks/use-dictation-audio-source.web.ts:function:anonymous_function_254": 99.184,
"packages/app/src/hooks/use-dictation-audio-source.web.ts:function:anonymous_function_257": 94.214,
"packages/app/src/hooks/use-dictation-audio-source.web.ts:function:anonymous_function_266": 99.146,
"packages/app/src/hooks/use-dictation-audio-source.web.ts:function:anonymous_function_291": 49.60450165895603,
"packages/app/src/hooks/use-dictation-audio-source.web.ts:function:anonymous_function_325": 94.992,
"packages/app/src/hooks/use-dictation-audio-source.web.ts:function:anonymous_function_390": 97.78,
"packages/app/src/hooks/use-dictation-audio-source.web.ts:function:anonymous_function_391": 97.856,
"packages/app/src/hooks/use-dictation-audio-source.web.ts:function:anonymous_function_392": 97.932,
"packages/app/src/hooks/use-dictation-audio-source.web.ts:function:anonymous_function_399": 94.024,
"packages/app/src/hooks/use-dictation-audio-source.web.ts:function:anonymous_function_4": 96.452,
"packages/app/src/hooks/use-dictation-audio-source.web.ts:function:anonymous_function_400": 94.176,
"packages/app/src/hooks/use-dictation-audio-source.web.ts:function:anonymous_function_45": 96.33800000000001,
"packages/app/src/hooks/use-dictation-audio-source.web.ts:function:anonymous_function_58": 97.742,
"packages/app/src/hooks/use-dictation-audio-source.web.ts:function:anonymous_function_81": 99.146,
"packages/app/src/hooks/use-dictation-audio-source.web.ts:function:useDictationAudioSource": 39.37188991844289,
"packages/app/src/hooks/use-dictation.shared.ts:function:anonymous_function_33": 94.688,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_101": 99.184,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_102": 99.22200000000001,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_106": 97.818,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_114": 96.30000000000001,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_130": 99.146,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_136": 99.184,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_143": 99.146,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_150": 95.01,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_154": 96.452,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_165": 91.44623340348949,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_169": 94.65345461291581,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_187": 99.184,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_190": 99.184,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_195": 99.184,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_200": 97.476,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_219": 96.39257659088719,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_239": 73.94342127303281,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_290": 81.35626257417397,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_323": 73.95519640184011,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_36": 99.184,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_378": 84.68024967304721,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_403": 98.994,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_41": 99.184,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_412": 98.88,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_425": 99.108,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_426": 99.184,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_434": 83.60774772350157,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_46": 99.184,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_463": 99.032,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_464": 99.108,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_467": 99.22200000000001,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_51": 99.184,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_56": 99.184,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_61": 99.184,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_83": 99.184,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_87": 97.818,
"packages/app/src/hooks/use-dictation.ts:function:anonymous_function_94": 96.376,
"packages/app/src/hooks/use-dictation.ts:function:useDictation": 37.74744259501608,
"packages/app/src/hooks/use-favicon-status.ts:function:anonymous_function_25": 99.22200000000001,
"packages/app/src/hooks/use-favicon-status.ts:function:anonymous_function_29": 99.22200000000001,
"packages/app/src/hooks/use-favicon-status.ts:function:anonymous_function_80": 94.61200000000001,
"packages/app/src/hooks/use-favicon-status.ts:function:anonymous_function_84": 97.932,
"packages/app/src/hooks/use-favicon-status.ts:function:anonymous_function_89": 99.22200000000001,
"packages/app/src/hooks/use-favicon-status.ts:function:anonymous_function_93": 97.818,
"packages/app/src/hooks/use-favicon-status.ts:function:deriveFaviconStatus": 96.30000000000001,
"packages/app/src/hooks/use-favicon-status.ts:function:getFaviconUri": 94.726,
"packages/app/src/hooks/use-favicon-status.ts:function:getOrCreateFaviconLink": 96.33800000000001,
"packages/app/src/hooks/use-favicon-status.ts:function:getSystemColorScheme": 93.038,
"packages/app/src/hooks/use-favicon-status.ts:function:updateFavicon": 96.452,
"packages/app/src/hooks/use-favicon-status.ts:function:useFaviconStatus": 89.16595170597515,
"packages/app/src/hooks/use-file-drop-zone.ts:function:anonymous_function_131": 99.07,
"packages/app/src/hooks/use-file-drop-zone.ts:function:anonymous_function_21": 95.34991923939003,
"packages/app/src/hooks/use-file-drop-zone.ts:function:anonymous_function_23": 95.902,
"packages/app/src/hooks/use-file-drop-zone.ts:function:anonymous_function_33": 99.22200000000001,
"packages/app/src/hooks/use-file-drop-zone.ts:function:anonymous_function_48": 99.184,
"packages/app/src/hooks/use-file-drop-zone.ts:function:anonymous_function_53": 97.818,
"packages/app/src/hooks/use-file-drop-zone.ts:function:anonymous_function_61": 69.60345018979142,
"packages/app/src/hooks/use-file-drop-zone.ts:function:fileToImageAttachment": 94.38101777656887,
"packages/app/src/hooks/use-file-drop-zone.ts:function:handleDragEnter": 96.376,
"packages/app/src/hooks/use-file-drop-zone.ts:function:handleDragLeave": 96.376,
"packages/app/src/hooks/use-file-drop-zone.ts:function:handleDragOver": 96.414,
"packages/app/src/hooks/use-file-drop-zone.ts:function:handleDrop": 89.6352089404034,
"packages/app/src/hooks/use-file-drop-zone.ts:function:isImageFile": 99.184,
"packages/app/src/hooks/use-file-drop-zone.ts:function:useFileDropZone": 65.51075341005586,
"packages/app/src/hooks/use-file-drop-zone.ts:refactoring:4": 100.0,
"packages/app/src/hooks/use-form-preferences.ts:function:anonymous_function_56": 99.184,
"packages/app/src/hooks/use-form-preferences.ts:function:anonymous_function_63": 98.994,
"packages/app/src/hooks/use-form-preferences.ts:function:anonymous_function_75": 97.97125997648581,
"packages/app/src/hooks/use-form-preferences.ts:function:loadFormPreferences": 96.566,
"packages/app/src/hooks/use-form-preferences.ts:function:useFormPreferences": 88.76637392330936,
"packages/app/src/hooks/use-git-diff-query.ts:function:anonymous_function_20": 99.22200000000001,
"packages/app/src/hooks/use-git-diff-query.ts:function:anonymous_function_23": 99.22200000000001,
"packages/app/src/hooks/use-git-diff-query.ts:function:anonymous_function_27": 99.22200000000001,
"packages/app/src/hooks/use-git-diff-query.ts:function:anonymous_function_28": 99.22200000000001,
"packages/app/src/hooks/use-git-diff-query.ts:function:anonymous_function_29": 99.22200000000001,
"packages/app/src/hooks/use-git-diff-query.ts:function:anonymous_function_34": 97.78,
"packages/app/src/hooks/use-git-diff-query.ts:function:anonymous_function_47": 94.176,
"packages/app/src/hooks/use-git-diff-query.ts:function:anonymous_function_57": 99.184,
"packages/app/src/hooks/use-git-diff-query.ts:function:gitDiffQueryKey": 99.184,
"packages/app/src/hooks/use-git-diff-query.ts:function:useGitDiffQuery": 77.39037253741134,
"packages/app/src/hooks/use-git-diff-query.ts:refactoring:2": 100.0,
"packages/app/src/hooks/use-image-attachment-picker.ts:function:anonymous_function_14": 92.09827521358639,
"packages/app/src/hooks/use-image-attachment-picker.ts:function:anonymous_function_31": 77.70853326675301,
"packages/app/src/hooks/use-image-attachment-picker.ts:function:useImageAttachmentPicker": 67.2690239853143,
"packages/app/src/hooks/use-image-attachment-picker.ts:refactoring:2": 100.0,
"packages/app/src/hooks/use-recent-paths.ts:function:anonymous_function_18": 99.184,
"packages/app/src/hooks/use-recent-paths.ts:function:anonymous_function_37": 95.78800000000001,
"packages/app/src/hooks/use-recent-paths.ts:function:anonymous_function_40": 99.22200000000001,
"packages/app/src/hooks/use-recent-paths.ts:function:anonymous_function_51": 95.94,
"packages/app/src/hooks/use-recent-paths.ts:function:loadRecentPaths": 93.986,
"packages/app/src/hooks/use-recent-paths.ts:function:useRecentPaths": 77.98075937827754,
"packages/app/src/hooks/use-recent-paths.ts:refactoring:2": 100.0,
"packages/app/src/hooks/use-session-directory.ts:function:anonymous_function_27": 97.97,
"packages/app/src/hooks/use-session-directory.ts:function:anonymous_function_34": 99.22200000000001,
"packages/app/src/hooks/use-session-directory.ts:function:anonymous_function_5": 99.22200000000001,
"packages/app/src/hooks/use-session-directory.ts:function:anonymous_function_7": 99.184,
"packages/app/src/hooks/use-session-directory.ts:function:useSessionDirectory": 99.032,
"packages/app/src/hooks/use-session-directory.ts:function:useSessionForServer": 93.79159830385545,
"packages/app/src/hooks/use-settings.ts:function:anonymous_function_38": 95.864,
"packages/app/src/hooks/use-settings.ts:function:anonymous_function_52": 95.902,
"packages/app/src/hooks/use-settings.ts:function:loadSettingsFromStorage": 87.77945486551525,
"packages/app/src/hooks/use-settings.ts:function:pickAppSettingsFromLegacy": 91.42253261093539,
"packages/app/src/hooks/use-settings.ts:function:useAppSettings": 84.72410933218396,
"packages/app/src/hooks/use-settings.ts:refactoring:3": 100.0,
"packages/app/src/hooks/use-speechmatics-audio.native.ts:function:anonymous_function_125": 94.498,
"packages/app/src/hooks/use-speechmatics-audio.native.ts:function:anonymous_function_132": 99.146,
"packages/app/src/hooks/use-speechmatics-audio.native.ts:function:anonymous_function_137": 99.22200000000001,
"packages/app/src/hooks/use-speechmatics-audio.native.ts:function:anonymous_function_144": 80.72482025045645,
"packages/app/src/hooks/use-speechmatics-audio.native.ts:function:anonymous_function_180": 49.05905592659103,
"packages/app/src/hooks/use-speechmatics-audio.native.ts:function:anonymous_function_306": 91.9585026260917,
"packages/app/src/hooks/use-speechmatics-audio.native.ts:function:anonymous_function_394": 95.63317861582948,
"packages/app/src/hooks/use-speechmatics-audio.native.ts:function:anonymous_function_52": 99.22200000000001,
"packages/app/src/hooks/use-speechmatics-audio.native.ts:function:anonymous_function_99": 96.82348464341543,
"packages/app/src/hooks/use-speechmatics-audio.native.ts:function:concatenateUint8Arrays": 98.918,
"packages/app/src/hooks/use-speechmatics-audio.native.ts:function:start": 85.16937645521486,
"packages/app/src/hooks/use-speechmatics-audio.native.ts:function:stop": 88.65957089237935,
"packages/app/src/hooks/use-speechmatics-audio.native.ts:function:toggleMute": 94.95956527446266,
"packages/app/src/hooks/use-speechmatics-audio.native.ts:function:uint8ArrayToBase64": 94.024,
"packages/app/src/hooks/use-speechmatics-audio.native.ts:function:useSpeechmaticsAudio": 40.19830702453247,
"packages/app/src/hooks/use-speechmatics-audio.web.ts:function:anonymous_function_36": 99.146,
"packages/app/src/hooks/use-speechmatics-audio.web.ts:function:anonymous_function_41": 99.184,
"packages/app/src/hooks/use-speechmatics-audio.web.ts:function:anonymous_function_45": 99.184,
"packages/app/src/hooks/use-speechmatics-audio.web.ts:function:anonymous_function_46": 99.22200000000001,
"packages/app/src/hooks/use-speechmatics-audio.web.ts:function:anonymous_function_50": 98.88,
"packages/app/src/hooks/use-speechmatics-audio.web.ts:function:useSpeechmaticsAudio": 93.49153232333828,
"packages/app/src/hooks/use-theme-color.ts:function:useThemeColor": 97.55199999999999,
"packages/app/src/polyfills/crypto.ts:function:anonymous_function_14": 99.22200000000001,
"packages/app/src/polyfills/crypto.ts:function:anonymous_function_19": 99.184,
"packages/app/src/polyfills/crypto.ts:function:polyfillCrypto": 93.91012417615971,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_106": 93.542910173824,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_133": 95.78800000000001,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_187": 99.184,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_191": 99.184,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_198": 99.22200000000001,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_199": 99.22200000000001,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_200": 99.22200000000001,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_201": 99.22200000000001,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_202": 99.22200000000001,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_203": 99.22200000000001,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_217": 97.742,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_228": 88.23912280851415,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_235": 99.184,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_238": 98.842,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_250": 96.376,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_261": 99.184,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_278": 96.30000000000001,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_281": 97.78,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_289": 99.22200000000001,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_295": 97.894,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_302": 97.894,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_309": 99.22200000000001,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_310": 99.22200000000001,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_317": 97.894,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_325": 99.22200000000001,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_327": 94.65,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_339": 99.22200000000001,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_342": 99.22200000000001,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_346": 99.22200000000001,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_349": 99.184,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_358": 99.184,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_362": 98.994,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_376": 96.224,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_420": 97.628,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_427": 99.184,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_434": 95.78800000000001,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_448": 93.796,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_457": 97.97,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_464": 89.84552647951477,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_509": 96.49000000000001,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_518": 90.268,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_523": 96.68,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_541": 93.78851075712477,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_553": 99.07,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_561": 96.528,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_573": 90.93199999999999,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_589": 99.146,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_594": 99.146,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_599": 96.054,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_638": 95.674,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_651": 99.22200000000001,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_888": 82.92197499259501,
"packages/app/src/screens/agent/agent-ready-screen.tsx:function:anonymous_function_90": 97.97,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_125": 99.184,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_129": 98.994,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_144": 93.53087876888834,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_200": 99.22200000000001,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_201": 99.22200000000001,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_202": 99.22200000000001,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_225": 90.79933974885715,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_255": 99.184,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_259": 99.184,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_262": 99.184,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_265": 99.184,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_268": 97.97,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_271": 94.57400000000001,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_276": 97.856,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_284": 97.97,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_287": 97.894,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_313": 93.19160383483043,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_382": 92.506,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_407": 99.07,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_408": 99.146,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_432": 93.322,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_448": 87.22939529701729,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_475": 93.20800000000001,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_496": 91.03665089289787,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_507": 99.22200000000001,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_514": 99.184,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_519": 99.146,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_526": 93.322,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_539": 96.054,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_546": 97.97,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_554": 97.55199999999999,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_568": 83.34662473454456,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_58": 99.22200000000001,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_617": 49.17175441996502,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_939": 82.48149009892659,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:anonymous_function_95": 97.97,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:assertNever": 99.184,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:getParamValue": 92.54627148467708,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:getValidMode": 94.61200000000001,
"packages/app/src/screens/agent/draft-agent-screen.tsx:function:getValidProvider": 96.49000000000001,
"packages/app/src/screens/agent/legacy-agent-id-screen.tsx:function:LegacyAgentIdScreen": 60.94415438940093,
"packages/app/src/screens/agent/legacy-agent-id-screen.tsx:function:anonymous_function_110": 98.842,
"packages/app/src/screens/agent/legacy-agent-id-screen.tsx:function:anonymous_function_135": 87.99689488310922,
"packages/app/src/screens/agent/legacy-agent-id-screen.tsx:function:anonymous_function_23": 92.98707679331798,
"packages/app/src/screens/agent/legacy-agent-id-screen.tsx:function:anonymous_function_29": 96.376,
"packages/app/src/screens/agent/legacy-agent-id-screen.tsx:function:anonymous_function_47": 97.78,
"packages/app/src/screens/agent/legacy-agent-id-screen.tsx:function:anonymous_function_55": 99.184,
"packages/app/src/screens/agent/legacy-agent-id-screen.tsx:function:anonymous_function_60": 99.184,
"packages/app/src/stores/create-flow-store.ts:function:anonymous_function_17": 97.70400000000001,
"packages/app/src/stores/create-flow-store.ts:function:anonymous_function_19": 99.22200000000001,
"packages/app/src/stores/create-flow-store.ts:function:anonymous_function_20": 97.894,
"packages/app/src/stores/create-flow-store.ts:function:anonymous_function_21": 97.97,
"packages/app/src/stores/create-flow-store.ts:function:anonymous_function_24": 99.22200000000001,
"packages/app/src/stores/download-store.ts:function:anonymous_function_118": 90.62999695735685,
"packages/app/src/stores/download-store.ts:function:anonymous_function_166": 95.864,
"packages/app/src/stores/download-store.ts:function:anonymous_function_167": 95.94,
"packages/app/src/stores/download-store.ts:function:anonymous_function_178": 97.628,
"packages/app/src/stores/download-store.ts:function:anonymous_function_179": 97.70400000000001,
"packages/app/src/stores/download-store.ts:function:anonymous_function_190": 97.628,
"packages/app/src/stores/download-store.ts:function:anonymous_function_191": 97.70400000000001,
"packages/app/src/stores/download-store.ts:function:anonymous_function_202": 97.628,
"packages/app/src/stores/download-store.ts:function:anonymous_function_203": 97.70400000000001,
"packages/app/src/stores/download-store.ts:function:anonymous_function_214": 94.28391977308738,
"packages/app/src/stores/download-store.ts:function:anonymous_function_215": 95.01,
"packages/app/src/stores/download-store.ts:function:anonymous_function_59": 47.22373838455474,
"packages/app/src/stores/download-store.ts:function:anonymous_function_63": 53.47078842773639,
"packages/app/src/stores/download-store.ts:function:anonymous_function_81": 99.146,
"packages/app/src/stores/download-store.ts:function:buildDownloadUrl": 97.55199999999999,
"packages/app/src/stores/download-store.ts:function:findMostRecentDownloadId": 95.94,
"packages/app/src/stores/download-store.ts:function:formatEta": 96.376,
"packages/app/src/stores/download-store.ts:function:formatSpeed": 96.452,
"packages/app/src/stores/download-store.ts:function:generateDownloadId": 99.184,
"packages/app/src/stores/download-store.ts:function:resolveDaemonDownloadTarget": 79.47031654045831,
"packages/app/src/stores/download-store.ts:function:resolveDownloadTargetFile": 94.67712713327958,
"packages/app/src/stores/download-store.ts:function:sanitizeDownloadFileName": 97.78,
"packages/app/src/stores/download-store.ts:function:splitFileName": 97.666,
"packages/app/src/stores/download-store.ts:function:triggerBrowserDownload": 94.69081292140709,
"packages/app/src/stores/draft-store.ts:function:anonymous_function_26": 94.20738848291185,
"packages/app/src/stores/draft-store.ts:function:anonymous_function_30": 99.184,
"packages/app/src/stores/draft-store.ts:function:anonymous_function_34": 98.994,
"packages/app/src/stores/draft-store.ts:function:anonymous_function_35": 99.07,
"packages/app/src/stores/draft-store.ts:function:anonymous_function_43": 99.07,
"packages/app/src/stores/draft-store.ts:function:anonymous_function_44": 99.146,
"packages/app/src/stores/draft-store.ts:function:anonymous_function_50": 99.184,
"packages/app/src/stores/draft-store.ts:function:anonymous_function_54": 99.184,
"packages/app/src/stores/draft-store.ts:function:anonymous_function_60": 99.22200000000001,
"packages/app/src/stores/panel-store.ts:function:anonymous_function_100": 96.33800000000001,
"packages/app/src/stores/panel-store.ts:function:anonymous_function_101": 96.376,
"packages/app/src/stores/panel-store.ts:function:anonymous_function_113": 97.59,
"packages/app/src/stores/panel-store.ts:function:anonymous_function_114": 97.628,
"packages/app/src/stores/panel-store.ts:function:anonymous_function_126": 97.59,
"packages/app/src/stores/panel-store.ts:function:anonymous_function_127": 97.628,
"packages/app/src/stores/panel-store.ts:function:anonymous_function_139": 99.22200000000001,
"packages/app/src/stores/panel-store.ts:function:anonymous_function_140": 99.22200000000001,
"packages/app/src/stores/panel-store.ts:function:anonymous_function_141": 99.22200000000001,
"packages/app/src/stores/panel-store.ts:function:anonymous_function_142": 99.22200000000001,
"packages/app/src/stores/panel-store.ts:function:anonymous_function_146": 99.22200000000001,
"packages/app/src/stores/panel-store.ts:function:anonymous_function_147": 98.994,
"packages/app/src/stores/panel-store.ts:function:anonymous_function_198": 99.146,
"packages/app/src/stores/panel-store.ts:function:anonymous_function_199": 99.184,
"packages/app/src/stores/panel-store.ts:function:anonymous_function_202": 99.146,
"packages/app/src/stores/panel-store.ts:function:anonymous_function_203": 99.184,
"packages/app/src/stores/panel-store.ts:function:anonymous_function_72": 81.9612662341308,
"packages/app/src/stores/panel-store.ts:function:anonymous_function_88": 99.108,
"packages/app/src/stores/panel-store.ts:function:anonymous_function_89": 99.146,
"packages/app/src/stores/panel-store.ts:function:anonymous_function_94": 99.108,
"packages/app/src/stores/panel-store.ts:function:anonymous_function_95": 99.146,
"packages/app/src/stores/panel-store.ts:function:clampWidth": 99.184,
"packages/app/src/stores/panel-store.ts:function:usePanelState": 88.1690318981687,
"packages/app/src/stores/panel-store.ts:refactoring:8": 100.0,
"packages/app/src/stores/session-store.ts:function:anonymous_function_367": 38.09698691737155,
"packages/app/src/stores/session-store.ts:function:anonymous_function_372": 97.476,
"packages/app/src/stores/session-store.ts:function:anonymous_function_373": 97.55199999999999,
"packages/app/src/stores/session-store.ts:function:anonymous_function_388": 97.628,
"packages/app/src/stores/session-store.ts:function:anonymous_function_389": 97.70400000000001,
"packages/app/src/stores/session-store.ts:function:anonymous_function_400": 91.9524468280855,
"packages/app/src/stores/session-store.ts:function:anonymous_function_401": 92.50639219409929,
"packages/app/src/stores/session-store.ts:function:anonymous_function_431": 88.91560640223251,
"packages/app/src/stores/session-store.ts:function:anonymous_function_432": 89.50353953270292,
"packages/app/src/stores/session-store.ts:function:anonymous_function_458": 99.184,
"packages/app/src/stores/session-store.ts:function:anonymous_function_463": 95.53897379858064,
"packages/app/src/stores/session-store.ts:function:anonymous_function_464": 95.75,
"packages/app/src/stores/session-store.ts:function:anonymous_function_481": 95.53897379858064,
"packages/app/src/stores/session-store.ts:function:anonymous_function_482": 95.75,
"packages/app/src/stores/session-store.ts:function:anonymous_function_499": 92.89435978647947,
"packages/app/src/stores/session-store.ts:function:anonymous_function_500": 93.62344309723134,
"packages/app/src/stores/session-store.ts:function:anonymous_function_520": 92.91398986984223,
"packages/app/src/stores/session-store.ts:function:anonymous_function_521": 93.64423246034661,
"packages/app/src/stores/session-store.ts:function:anonymous_function_542": 92.89435978647947,
"packages/app/src/stores/session-store.ts:function:anonymous_function_543": 93.62344309723134,
"packages/app/src/stores/session-store.ts:function:anonymous_function_563": 92.89435978647947,
"packages/app/src/stores/session-store.ts:function:anonymous_function_564": 93.62344309723134,
"packages/app/src/stores/session-store.ts:function:anonymous_function_584": 93.94009340313755,
"packages/app/src/stores/session-store.ts:function:anonymous_function_585": 94.64257253205332,
"packages/app/src/stores/session-store.ts:function:anonymous_function_607": 92.89435978647947,
"packages/app/src/stores/session-store.ts:function:anonymous_function_608": 93.62344309723134,
"packages/app/src/stores/session-store.ts:function:anonymous_function_629": 92.89435978647947,
"packages/app/src/stores/session-store.ts:function:anonymous_function_630": 93.62344309723134,
"packages/app/src/stores/session-store.ts:function:anonymous_function_651": 95.75,
"packages/app/src/stores/session-store.ts:function:anonymous_function_652": 95.82600000000001,
"packages/app/src/stores/session-store.ts:function:anonymous_function_667": 92.89435978647947,
"packages/app/src/stores/session-store.ts:function:anonymous_function_668": 93.62344309723134,
"packages/app/src/stores/session-store.ts:function:anonymous_function_689": 92.89435978647947,
"packages/app/src/stores/session-store.ts:function:anonymous_function_690": 93.62344309723134,
"packages/app/src/stores/session-store.ts:function:anonymous_function_711": 92.89435978647947,
"packages/app/src/stores/session-store.ts:function:anonymous_function_712": 93.62344309723134,
"packages/app/src/stores/session-store.ts:function:anonymous_function_733": 92.89435978647947,
"packages/app/src/stores/session-store.ts:function:anonymous_function_734": 93.62344309723134,
"packages/app/src/stores/session-store.ts:function:anonymous_function_755": 92.89435978647947,
"packages/app/src/stores/session-store.ts:function:anonymous_function_756": 93.62344309723134,
"packages/app/src/stores/session-store.ts:function:anonymous_function_777": 95.53897379858064,
"packages/app/src/stores/session-store.ts:function:anonymous_function_778": 95.75,
"packages/app/src/stores/session-store.ts:function:anonymous_function_795": 94.63565116228027,
"packages/app/src/stores/session-store.ts:function:anonymous_function_796": 95.40723378214126,
"packages/app/src/stores/session-store.ts:function:anonymous_function_817": 92.99494473889911,
"packages/app/src/stores/session-store.ts:function:createDefaultConnectionSnapshot": 96.376,
"packages/app/src/stores/session-store.ts:function:createInitialSessionState": 96.03016032882681,
"packages/app/src/stores/session-store.ts:function:logSessionStoreUpdate": 94.68604668336732,
"packages/app/src/stores/session-store.ts:refactoring:30": 100.0,
"packages/app/src/styles/markdown-styles.ts:function:createCompactMarkdownStyles": 88.81530466231536,
"packages/app/src/styles/markdown-styles.ts:function:createMarkdownStyles": 77.07067123825695,
"packages/app/src/types/agent-activity.ts:function:flushTextGroup": 97.59,
"packages/app/src/types/agent-activity.ts:function:groupActivities": 45.29078321156794,
"packages/app/src/types/stream-buffer.test.ts:function:anonymous_function_11": 98.994,
"packages/app/src/types/stream-buffer.test.ts:function:anonymous_function_110": 96.38691003427924,
"packages/app/src/types/stream-buffer.test.ts:function:anonymous_function_131": 98.842,
"packages/app/src/types/stream-buffer.test.ts:function:anonymous_function_144": 96.05912065711084,
"packages/app/src/types/stream-buffer.test.ts:function:anonymous_function_170": 83.54159853813087,
"packages/app/src/types/stream-buffer.test.ts:function:anonymous_function_171": 98.33168641597702,
"packages/app/src/types/stream-buffer.test.ts:function:anonymous_function_186": 97.22035815706931,
"packages/app/src/types/stream-buffer.test.ts:function:anonymous_function_20": 98.956,
"packages/app/src/types/stream-buffer.test.ts:function:anonymous_function_205": 96.08120061818741,
"packages/app/src/types/stream-buffer.test.ts:function:anonymous_function_226": 97.36898907051814,
"packages/app/src/types/stream-buffer.test.ts:function:anonymous_function_245": 96.06579306700215,
"packages/app/src/types/stream-buffer.test.ts:function:anonymous_function_30": 99.146,
"packages/app/src/types/stream-buffer.test.ts:function:anonymous_function_35": 98.918,
"packages/app/src/types/stream-buffer.test.ts:function:anonymous_function_46": 98.994,
"packages/app/src/types/stream-buffer.test.ts:function:anonymous_function_55": 82.72286030150215,
"packages/app/src/types/stream-buffer.test.ts:function:anonymous_function_56": 98.804,
"packages/app/src/types/stream-buffer.test.ts:function:anonymous_function_70": 97.62759301477436,
"packages/app/src/types/stream-buffer.test.ts:function:anonymous_function_89": 96.31600704108737,
"packages/app/src/types/stream.harness.test.ts:function:anonymous_function_139": 95.03554724701013,
"packages/app/src/types/stream.harness.test.ts:function:anonymous_function_140": 98.994,
"packages/app/src/types/stream.harness.test.ts:function:anonymous_function_149": 98.88,
"packages/app/src/types/stream.harness.test.ts:function:anonymous_function_212": 99.146,
"packages/app/src/types/stream.harness.test.ts:function:anonymous_function_226": 97.97,
"packages/app/src/types/stream.harness.test.ts:function:buildToolResultEvent": 98.52983474373536,
"packages/app/src/types/stream.harness.test.ts:function:buildToolStartEvent": 97.23908921174896,
"packages/app/src/types/stream.harness.test.ts:function:extractHarnessSnapshots": 98.29960576422167,
"packages/app/src/types/stream.harness.test.ts:function:findToolByCallId": 97.818,
"packages/app/src/types/stream.test.ts:function:anonymous_function_1018": 99.22200000000001,
"packages/app/src/types/stream.test.ts:function:anonymous_function_1026": 94.96251024592428,
"packages/app/src/types/stream.test.ts:function:anonymous_function_112": 99.22200000000001,
"packages/app/src/types/stream.test.ts:function:anonymous_function_153": 99.22200000000001,
"packages/app/src/types/stream.test.ts:function:anonymous_function_195": 97.97,
"packages/app/src/types/stream.test.ts:function:anonymous_function_342": 97.97,
"packages/app/src/types/stream.test.ts:function:anonymous_function_346": 97.97,
"packages/app/src/types/stream.test.ts:function:anonymous_function_520": 97.97,
"packages/app/src/types/stream.test.ts:function:anonymous_function_524": 97.97,
"packages/app/src/types/stream.test.ts:function:anonymous_function_528": 97.97,
"packages/app/src/types/stream.test.ts:function:anonymous_function_564": 99.22200000000001,
"packages/app/src/types/stream.test.ts:function:anonymous_function_580": 99.22200000000001,
"packages/app/src/types/stream.test.ts:function:anonymous_function_600": 93.90493525556144,
"packages/app/src/types/stream.test.ts:function:anonymous_function_609": 99.22200000000001,
"packages/app/src/types/stream.test.ts:function:anonymous_function_622": 99.22200000000001,
"packages/app/src/types/stream.test.ts:function:anonymous_function_654": 99.22200000000001,
"packages/app/src/types/stream.test.ts:function:anonymous_function_660": 97.97,
"packages/app/src/types/stream.test.ts:function:anonymous_function_689": 96.604,
"packages/app/src/types/stream.test.ts:function:anonymous_function_702": 99.22200000000001,
"packages/app/src/types/stream.test.ts:function:anonymous_function_703": 99.22200000000001,
"packages/app/src/types/stream.test.ts:function:anonymous_function_732": 96.604,
"packages/app/src/types/stream.test.ts:function:anonymous_function_745": 99.22200000000001,
"packages/app/src/types/stream.test.ts:function:anonymous_function_746": 99.22200000000001,
"packages/app/src/types/stream.test.ts:function:anonymous_function_817": 99.184,
"packages/app/src/types/stream.test.ts:function:anonymous_function_826": 96.20577934926881,
"packages/app/src/types/stream.test.ts:function:anonymous_function_829": 99.22200000000001,
"packages/app/src/types/stream.test.ts:function:anonymous_function_830": 99.22200000000001,
"packages/app/src/types/stream.test.ts:function:anonymous_function_838": 99.22200000000001,
"packages/app/src/types/stream.test.ts:function:anonymous_function_845": 96.20577934926881,
"packages/app/src/types/stream.test.ts:function:anonymous_function_848": 99.22200000000001,
"packages/app/src/types/stream.test.ts:function:anonymous_function_849": 99.22200000000001,
"packages/app/src/types/stream.test.ts:function:anonymous_function_857": 99.22200000000001,
"packages/app/src/types/stream.test.ts:function:anonymous_function_892": 98.956,
"packages/app/src/types/stream.test.ts:function:anonymous_function_894": 99.184,
"packages/app/src/types/stream.test.ts:function:anonymous_function_904": 99.032,
"packages/app/src/types/stream.test.ts:function:anonymous_function_958": 99.184,
"packages/app/src/types/stream.test.ts:function:anonymous_function_967": 98.956,
"packages/app/src/types/stream.test.ts:function:anonymous_function_979": 98.956,
"packages/app/src/types/stream.test.ts:function:assistantTimeline": 99.032,
"packages/app/src/types/stream.test.ts:function:buildClaudeToolResultBlock": 97.47047043774181,
"packages/app/src/types/stream.test.ts:function:buildClaudeToolUseBlock": 98.576,
"packages/app/src/types/stream.test.ts:function:buildConcurrentToolCallUpdates": 90.3480245518292,
"packages/app/src/types/stream.test.ts:function:buildMetadataReplaySequence": 92.71362530465161,
"packages/app/src/types/stream.test.ts:function:buildOutOfOrderToolCallSequence": 95.37101846232417,
"packages/app/src/types/stream.test.ts:function:expectAgentToolCallItem": 99.032,
"packages/app/src/types/stream.test.ts:function:reasoningTimeline": 99.032,
"packages/app/src/types/stream.test.ts:function:testAssistantWhitespacePreservation": 98.766,
"packages/app/src/types/stream.test.ts:function:testClaudeHydratedToolBodies": 69.76040260968965,
"packages/app/src/types/stream.test.ts:function:testFallbackToolCallIdsStayUnique": 93.22007809151509,
"packages/app/src/types/stream.test.ts:function:testHydratedUserMessagesPersist": 93.30776398197219,
"packages/app/src/types/stream.test.ts:function:testIdempotentReduction": 94.0742370331608,
"packages/app/src/types/stream.test.ts:function:testMetadataReplayDeduplicationHydrated": 98.88,
"packages/app/src/types/stream.test.ts:function:testMetadataReplayDeduplicationLive": 98.88,
"packages/app/src/types/stream.test.ts:function:testMultipleMessages": 96.44395028309876,
"packages/app/src/types/stream.test.ts:function:testOutOfOrderToolCallMergingHydrated": 98.956,
"packages/app/src/types/stream.test.ts:function:testOutOfOrderToolCallMergingLive": 98.88,
"packages/app/src/types/stream.test.ts:function:testTimelineIdStabilityAfterRemovals": 77.05176795953962,
"packages/app/src/types/stream.test.ts:function:testTodoListConsolidation": 91.99958720943185,
"packages/app/src/types/stream.test.ts:function:testToolCallDeduplicationHydrated": 95.32951106041784,
"packages/app/src/types/stream.test.ts:function:testToolCallDeduplicationLive": 95.32951106041784,
"packages/app/src/types/stream.test.ts:function:testToolCallFailureInferenceFromError": 96.8308087397944,
"packages/app/src/types/stream.test.ts:function:testToolCallLateCallIdReconciliation": 96.54550414164123,
"packages/app/src/types/stream.test.ts:function:testToolCallParsedPayloadHydration": 76.43281343323507,
"packages/app/src/types/stream.test.ts:function:testToolCallStatusInference": 89.68209420714419,
"packages/app/src/types/stream.test.ts:function:testToolCallStatusInferenceFromRawOnly": 96.58841508946041,
"packages/app/src/types/stream.test.ts:function:testUserMessageDeduplication": 97.77840538290586,
"packages/app/src/types/stream.test.ts:function:testUserMessageHydration": 94.14486959767109,
"packages/app/src/types/stream.test.ts:function:todoTimeline": 98.918,
"packages/app/src/types/stream.test.ts:function:toolTimeline": 91.12824397614443,
"packages/app/src/types/stream.test.ts:function:userTimeline": 98.88,
"packages/app/src/types/stream.test.ts:function:validateMetadataReplayDeduplication": 97.55199999999999,
"packages/app/src/types/stream.test.ts:function:validateToolCallDeduplication": 97.55199999999999,
"packages/app/src/types/stream.ts:function:anonymous_function_200": 97.97,
"packages/app/src/types/stream.ts:function:anonymous_function_291": 96.016,
"packages/app/src/types/stream.ts:function:anonymous_function_347": 95.58000000000001,
"packages/app/src/types/stream.ts:function:anonymous_function_51": 99.22200000000001,
"packages/app/src/types/stream.ts:function:anonymous_function_59": 99.22200000000001,
"packages/app/src/types/stream.ts:function:anonymous_function_675": 99.22200000000001,
"packages/app/src/types/stream.ts:function:anonymous_function_690": 99.146,
"packages/app/src/types/stream.ts:function:anonymous_function_814": 99.184,
"packages/app/src/types/stream.ts:function:anonymous_function_876": 96.054,
"packages/app/src/types/stream.ts:function:anonymous_function_896": 99.22200000000001,
"packages/app/src/types/stream.ts:function:anonymous_function_897": 99.22200000000001,
"packages/app/src/types/stream.ts:function:anonymous_function_968": 96.33800000000001,
"packages/app/src/types/stream.ts:function:appendActivityLog": 97.59,
"packages/app/src/types/stream.ts:function:appendAgentToolCall": 78.96391154652497,
"packages/app/src/types/stream.ts:function:appendAssistantMessage": 86.21918850706686,
"packages/app/src/types/stream.ts:function:appendThought": 85.78857494144762,
"packages/app/src/types/stream.ts:function:appendTodoList": 86.87037132682208,
"packages/app/src/types/stream.ts:function:appendUserMessage": 88.08734053222706,
"packages/app/src/types/stream.ts:function:applyStreamEvent": 74.62776884929525,
"packages/app/src/types/stream.ts:function:applyStreamEventWithBuffer": 87.10916989986504,
"packages/app/src/types/stream.ts:function:coerceString": 96.528,
"packages/app/src/types/stream.ts:function:computeParsedToolPayload": 96.224,
"packages/app/src/types/stream.ts:function:createTimelineId": 99.032,
"packages/app/src/types/stream.ts:function:createUniqueTimelineId": 92.02884499688699,
"packages/app/src/types/stream.ts:function:extractToolCallId": 71.14930194114973,
"packages/app/src/types/stream.ts:function:finalizeActiveThoughts": 94.57400000000001,
"packages/app/src/types/stream.ts:function:finalizeHeadItems": 95.97800000000001,
"packages/app/src/types/stream.ts:function:findExistingAgentToolCallIndex": 62.864948745259525,
"packages/app/src/types/stream.ts:function:flushHeadToTail": 94.86726172395579,
"packages/app/src/types/stream.ts:function:formatErrorMessage": 99.184,
"packages/app/src/types/stream.ts:function:generateMessageId": 99.184,
"packages/app/src/types/stream.ts:function:getEventItemKind": 95.13906409919622,
"packages/app/src/types/stream.ts:function:hasValue": 97.932,
"packages/app/src/types/stream.ts:function:hydrateStreamState": 98.842,
"packages/app/src/types/stream.ts:function:inferStatusFromRaw": 51.68470055608482,
"packages/app/src/types/stream.ts:function:isAgentToolCallItem": 97.856,
"packages/app/src/types/stream.ts:function:isStreamableKind": 99.184,
"packages/app/src/types/stream.ts:function:mergeToolCallRaw": 91.55799999999999,
"packages/app/src/types/stream.ts:function:mergeToolCallStatus": 92.80999999999999,
"packages/app/src/types/stream.ts:function:normalizeChunk": 96.414,
"packages/app/src/types/stream.ts:function:normalizeComparableString": 96.528,
"packages/app/src/types/stream.ts:function:normalizeStatusString": 92.38278237788964,
"packages/app/src/types/stream.ts:function:normalizeToolCallStatus": 91.77664070357453,
"packages/app/src/types/stream.ts:function:reduceStreamUpdate": 86.66376071645495,
"packages/app/src/types/stream.ts:function:shouldFlushHead": 90.07309276358517,
"packages/app/src/types/stream.ts:function:simpleHash": 97.70400000000001,
"packages/app/src/utils/agent-display-info.ts:function:deriveBranchLabel": 90.87270157676319,
"packages/app/src/utils/agent-display-info.ts:function:deriveProjectPath": 96.30000000000001,
"packages/app/src/utils/agent-display-info.ts:refactoring:1": 100.0,
"packages/app/src/utils/agent-grouping.test.ts:function:anonymous_function_22": 98.72800000000001,
"packages/app/src/utils/agent-grouping.test.ts:function:anonymous_function_23": 99.07,
"packages/app/src/utils/agent-grouping.test.ts:function:anonymous_function_30": 99.07,
"packages/app/src/utils/agent-grouping.test.ts:function:anonymous_function_38": 93.70932635004844,
"packages/app/src/utils/agent-grouping.test.ts:function:anonymous_function_39": 98.27259156651152,
"packages/app/src/utils/agent-grouping.test.ts:function:anonymous_function_46": 99.22200000000001,
"packages/app/src/utils/agent-grouping.test.ts:function:anonymous_function_50": 99.22200000000001,
"packages/app/src/utils/agent-grouping.test.ts:function:anonymous_function_56": 98.842,
"packages/app/src/utils/agent-grouping.test.ts:function:anonymous_function_63": 99.22200000000001,
"packages/app/src/utils/agent-grouping.test.ts:function:makeAgent": 96.93882280438028,
"packages/app/src/utils/agent-grouping.ts:function:anonymous_function_258": 99.22200000000001,
"packages/app/src/utils/agent-grouping.ts:function:anonymous_function_268": 99.108,
"packages/app/src/utils/agent-grouping.ts:function:anonymous_function_290": 99.22200000000001,
"packages/app/src/utils/agent-grouping.ts:function:deriveDateGroup": 88.53175504785652,
"packages/app/src/utils/agent-grouping.ts:function:deriveProjectKey": 97.70400000000001,
"packages/app/src/utils/agent-grouping.ts:function:deriveProjectName": 94.726,
"packages/app/src/utils/agent-grouping.ts:function:deriveRemoteProjectKey": 65.08685946845699,
"packages/app/src/utils/agent-grouping.ts:function:groupAgents": 75.91010300471592,
"packages/app/src/utils/agent-grouping.ts:function:parseRepoNameFromRemoteUrl": 77.63413790182445,
"packages/app/src/utils/agent-grouping.ts:function:parseRepoShortNameFromRemoteUrl": 96.414,
"packages/app/src/utils/agent-grouping.ts:refactoring:6": 100.0,
"packages/app/src/utils/agent-status.ts:function:getAgentStatusColor": 99.184,
"packages/app/src/utils/agent-status.ts:function:getAgentStatusLabel": 99.184,
"packages/app/src/utils/analytics.ts:function:trackAnalyticsEvent": 95.864,
"packages/app/src/utils/attempt-guard.ts:function:assertCurrent": 97.344,
"packages/app/src/utils/attempt-guard.ts:function:cancel": 99.184,
"packages/app/src/utils/attempt-guard.ts:function:constructor": 99.146,
"packages/app/src/utils/attempt-guard.ts:function:isCurrent": 99.184,
"packages/app/src/utils/attempt-guard.ts:function:next": 99.146,
"packages/app/src/utils/daemon-endpoints.ts:function:buildDaemonWebSocketUrl": 96.566,
"packages/app/src/utils/daemon-endpoints.ts:function:buildRelayWebSocketUrl": 96.452,
"packages/app/src/utils/daemon-endpoints.ts:function:decodeBase64UrlToUtf8": 99.108,
"packages/app/src/utils/daemon-endpoints.ts:function:decodeOfferFragmentPayload": 99.146,
"packages/app/src/utils/daemon-endpoints.ts:function:deriveLabelFromEndpoint": 94.214,
"packages/app/src/utils/daemon-endpoints.ts:function:extractHostPortFromWebSocketUrl": 77.7297871117881,
"packages/app/src/utils/daemon-endpoints.ts:function:normalizeHostPort": 97.78,
"packages/app/src/utils/daemon-endpoints.ts:function:parseHostPort": 72.13682603162809,
"packages/app/src/utils/daemon-endpoints.ts:function:shouldUseSecureWebSocket": 99.184,
"packages/app/src/utils/daemon-endpoints.ts:refactoring:2": 100.0,
"packages/app/src/utils/daemons.ts:function:formatConnectionStatus": 98.69,
"packages/app/src/utils/daemons.ts:function:getConnectionStatusTone": 98.69,
"packages/app/src/utils/diff-highlighter.test.ts:function:anonymous_function_102": 98.918,
"packages/app/src/utils/diff-highlighter.test.ts:function:anonymous_function_113": 98.918,
"packages/app/src/utils/diff-highlighter.test.ts:function:anonymous_function_124": 99.146,
"packages/app/src/utils/diff-highlighter.test.ts:function:anonymous_function_130": 94.02392059676468,
"packages/app/src/utils/diff-highlighter.test.ts:function:anonymous_function_131": 97.96212119664341,
"packages/app/src/utils/diff-highlighter.test.ts:function:anonymous_function_147": 98.994,
"packages/app/src/utils/diff-highlighter.test.ts:function:anonymous_function_157": 95.55301429012941,
"packages/app/src/utils/diff-highlighter.test.ts:function:anonymous_function_158": 98.88,
"packages/app/src/utils/diff-highlighter.test.ts:function:anonymous_function_170": 99.032,
"packages/app/src/utils/diff-highlighter.test.ts:function:anonymous_function_179": 83.0781726760295,
"packages/app/src/utils/diff-highlighter.test.ts:function:anonymous_function_180": 95.29425104106787,
"packages/app/src/utils/diff-highlighter.test.ts:function:anonymous_function_193": 99.22200000000001,
"packages/app/src/utils/diff-highlighter.test.ts:function:anonymous_function_198": 99.22200000000001,
"packages/app/src/utils/diff-highlighter.test.ts:function:anonymous_function_203": 92.64944045250535,
"packages/app/src/utils/diff-highlighter.test.ts:function:anonymous_function_210": 97.97,
"packages/app/src/utils/diff-highlighter.test.ts:function:anonymous_function_213": 99.22200000000001,
"packages/app/src/utils/diff-highlighter.test.ts:function:anonymous_function_218": 97.97,
"packages/app/src/utils/diff-highlighter.test.ts:function:anonymous_function_221": 99.22200000000001,
"packages/app/src/utils/diff-highlighter.test.ts:function:anonymous_function_225": 94.49234777557469,
"packages/app/src/utils/diff-highlighter.test.ts:function:anonymous_function_255": 97.2226636450397,
"packages/app/src/utils/diff-highlighter.test.ts:function:anonymous_function_256": 99.07,
"packages/app/src/utils/diff-highlighter.test.ts:function:anonymous_function_263": 98.994,
"packages/app/src/utils/diff-highlighter.test.ts:function:anonymous_function_61": 85.86057282367236,
"packages/app/src/utils/diff-highlighter.test.ts:function:anonymous_function_62": 93.19313058815362,
"packages/app/src/utils/diff-highlighter.test.ts:function:anonymous_function_89": 98.842,
"packages/app/src/utils/diff-highlighter.ts:function:anonymous_function_202": 85.7320137253235,
"packages/app/src/utils/diff-highlighter.ts:function:anonymous_function_206": 87.71757420761699,
"packages/app/src/utils/diff-highlighter.ts:function:anonymous_function_238": 99.22200000000001,
"packages/app/src/utils/diff-highlighter.ts:function:anonymous_function_258": 99.22200000000001,
"packages/app/src/utils/diff-highlighter.ts:function:buildFileContent": 95.81437438109222,
"packages/app/src/utils/diff-highlighter.ts:function:buildTokenLookup": 91.66263734612122,
"packages/app/src/utils/diff-highlighter.ts:function:highlightDiffFile": 79.62323325889605,
"packages/app/src/utils/diff-highlighter.ts:function:parseAndHighlightDiff": 99.146,
"packages/app/src/utils/diff-highlighter.ts:function:parseDiff": 50.72643505767239,
"packages/app/src/utils/diff-highlighter.ts:function:reconstructNewFile": 92.7255788723826,
"packages/app/src/utils/diff-highlighter.ts:function:reconstructOldFile": 92.7255788723826,
"packages/app/src/utils/diff-highlighter.ts:refactoring:6": 100.0,
"packages/app/src/utils/exhaustive.ts:function:assertUnreachable": 99.184,
"packages/app/src/utils/extract-agent-model.test.ts:function:anonymous_function_13": 98.994,
"packages/app/src/utils/extract-agent-model.test.ts:function:anonymous_function_4": 97.95370440563391,
"packages/app/src/utils/extract-agent-model.test.ts:function:anonymous_function_5": 99.032,
"packages/app/src/utils/extract-agent-model.ts:function:extractAgentModel": 91.55799999999999,
"packages/app/src/utils/extract-agent-model.ts:refactoring:1": 100.0,
"packages/app/src/utils/navigation-timing.ts:function:anonymous_function_18": 99.22200000000001,
"packages/app/src/utils/navigation-timing.ts:function:anonymous_function_21": 96.1365846075094,
"packages/app/src/utils/navigation-timing.ts:function:anonymous_function_41": 92.99041497892263,
"packages/app/src/utils/navigation-timing.ts:function:anonymous_function_65": 96.224,
"packages/app/src/utils/os-notifications.ts:function:anonymous_function_29": 99.032,
"packages/app/src/utils/os-notifications.ts:function:anonymous_function_58": 99.22200000000001,
"packages/app/src/utils/os-notifications.ts:function:anonymous_function_74": 95.01,
"packages/app/src/utils/os-notifications.ts:function:configureNativeNotifications": 95.674,
"packages/app/src/utils/os-notifications.ts:function:ensureNotificationPermission": 70.90025217255891,
"packages/app/src/utils/os-notifications.ts:function:getWebNotificationConstructor": 98.994,
"packages/app/src/utils/os-notifications.ts:function:sendOsNotification": 86.55176766762813,
"packages/app/src/utils/os-notifications.ts:refactoring:3": 100.0,
"packages/app/src/utils/perf-monitor.ts:function:anonymous_function_104": 95.97800000000001,
"packages/app/src/utils/perf-monitor.ts:function:anonymous_function_32": 99.22200000000001,
"packages/app/src/utils/perf-monitor.ts:function:anonymous_function_37": 99.22200000000001,
"packages/app/src/utils/perf-monitor.ts:function:anonymous_function_47": 97.04,
"packages/app/src/utils/perf-monitor.ts:function:anonymous_function_64": 97.55199999999999,
"packages/app/src/utils/perf-monitor.ts:function:anonymous_function_82": 96.566,
"packages/app/src/utils/perf-monitor.ts:function:startPerfMonitor": 64.759888226688,
"packages/app/src/utils/perf-monitor.ts:refactoring:2": 100.0,
"packages/app/src/utils/perf.ts:function:anonymous_function_0": 94.65,
"packages/app/src/utils/perf.ts:function:anonymous_function_19": 99.22200000000001,
"packages/app/src/utils/perf.ts:function:anonymous_function_21": 97.818,
"packages/app/src/utils/perf.ts:function:anonymous_function_28": 96.054,
"packages/app/src/utils/perf.ts:function:anonymous_function_42": 95.60609348802281,
"packages/app/src/utils/perf.ts:function:anonymous_function_59": 67.72884527563016,
"packages/app/src/utils/perf.ts:function:anonymous_function_95": 99.22200000000001,
"packages/app/src/utils/shorten-path.ts:function:shortenPath": 97.818,
"packages/app/src/utils/syntax-highlighter.ts:function:anonymous_function_116": 99.22200000000001,
"packages/app/src/utils/syntax-highlighter.ts:function:anonymous_function_132": 96.092,
"packages/app/src/utils/syntax-highlighter.ts:function:getParserForFile": 97.856,
"packages/app/src/utils/syntax-highlighter.ts:function:getSupportedExtensions": 99.184,
"packages/app/src/utils/syntax-highlighter.ts:function:highlightCode": 70.03060055997614,
"packages/app/src/utils/syntax-highlighter.ts:function:highlightLine": 99.146,
"packages/app/src/utils/syntax-highlighter.ts:function:isLanguageSupported": 99.184,
"packages/app/src/utils/tauri-daemon-transport.ts:function:anonymous_function_100": 54.88227398583605,
"packages/app/src/utils/tauri-daemon-transport.ts:function:anonymous_function_106": 99.22200000000001,
"packages/app/src/utils/tauri-daemon-transport.ts:function:anonymous_function_128": 95.39,
"packages/app/src/utils/tauri-daemon-transport.ts:function:anonymous_function_168": 96.49000000000001,
"packages/app/src/utils/tauri-daemon-transport.ts:function:anonymous_function_174": 99.22200000000001,
"packages/app/src/utils/tauri-daemon-transport.ts:function:anonymous_function_176": 96.452,
"packages/app/src/utils/tauri-daemon-transport.ts:function:anonymous_function_182": 99.22200000000001,
"packages/app/src/utils/tauri-daemon-transport.ts:function:anonymous_function_183": 99.22200000000001,
"packages/app/src/utils/tauri-daemon-transport.ts:function:anonymous_function_185": 99.146,
"packages/app/src/utils/tauri-daemon-transport.ts:function:anonymous_function_187": 99.22200000000001,
"packages/app/src/utils/tauri-daemon-transport.ts:function:anonymous_function_189": 93.58800000000001,
"packages/app/src/utils/tauri-daemon-transport.ts:function:anonymous_function_198": 99.22200000000001,
"packages/app/src/utils/tauri-daemon-transport.ts:function:anonymous_function_200": 93.58800000000001,
"packages/app/src/utils/tauri-daemon-transport.ts:function:anonymous_function_209": 99.22200000000001,
"packages/app/src/utils/tauri-daemon-transport.ts:function:anonymous_function_211": 99.146,
"packages/app/src/utils/tauri-daemon-transport.ts:function:anonymous_function_213": 99.22200000000001,
"packages/app/src/utils/tauri-daemon-transport.ts:function:anonymous_function_219": 95.902,
"packages/app/src/utils/tauri-daemon-transport.ts:function:anonymous_function_39": 44.52264928710267,
"packages/app/src/utils/tauri-daemon-transport.ts:function:anonymous_function_54": 92.84799999999998,
"packages/app/src/utils/tauri-daemon-transport.ts:function:anonymous_function_66": 92.84799999999998,
"packages/app/src/utils/tauri-daemon-transport.ts:function:anonymous_function_78": 94.65,
"packages/app/src/utils/tauri-daemon-transport.ts:function:anonymous_function_89": 94.65,
"packages/app/src/utils/tauri-daemon-transport.ts:function:createTauriWebSocketTransportFactory": 44.269532791834344,
"packages/app/src/utils/tauri-daemon-transport.ts:function:getTauriWebSocketModule": 94.65,
"packages/app/src/utils/tauri-daemon-transport.ts:function:isTauriEnvironment": 97.932,
"packages/app/src/utils/tauri-daemon-transport.ts:refactoring:5": 100.0,
"packages/app/src/utils/tauri-window.ts:function:anonymous_function_107": 99.184,
"packages/app/src/utils/tauri-window.ts:function:anonymous_function_57": 96.33800000000001,
"packages/app/src/utils/tauri-window.ts:function:anonymous_function_69": 97.742,
"packages/app/src/utils/tauri-window.ts:function:anonymous_function_85": 90.90951425437629,
"packages/app/src/utils/tauri-window.ts:function:anonymous_function_99": 99.146,
"packages/app/src/utils/tauri-window.ts:function:getTauriWindow": 88.93551456076761,
"packages/app/src/utils/tauri-window.ts:function:isTauriEnvironment": 97.894,
"packages/app/src/utils/tauri-window.ts:function:setup": 97.514,
"packages/app/src/utils/tauri-window.ts:function:startDragging": 97.818,
"packages/app/src/utils/tauri-window.ts:function:toggleMaximize": 97.818,
"packages/app/src/utils/tauri-window.ts:function:useTauriDragHandlers": 87.38416372071913,
"packages/app/src/utils/tauri-window.ts:function:useTrafficLightPadding": 84.65455637536337,
"packages/app/src/utils/tauri-window.ts:refactoring:5": 100.0,
"packages/app/src/utils/test-daemon-connection.ts:function:anonymous_function_53": 85.30657462255803,
"packages/app/src/utils/test-daemon-connection.ts:function:anonymous_function_57": 97.30600000000001,
"packages/app/src/utils/test-daemon-connection.ts:function:anonymous_function_64": 99.146,
"packages/app/src/utils/test-daemon-connection.ts:function:anonymous_function_69": 99.146,
"packages/app/src/utils/test-daemon-connection.ts:function:anonymous_function_74": 98.994,
"packages/app/src/utils/test-daemon-connection.ts:function:anonymous_function_83": 95.31400000000001,
"packages/app/src/utils/test-daemon-connection.ts:function:anonymous_function_96": 99.22200000000001,
"packages/app/src/utils/test-daemon-connection.ts:function:anonymous_function_99": 99.22200000000001,
"packages/app/src/utils/test-daemon-connection.ts:function:constructor": 99.07,
"packages/app/src/utils/test-daemon-connection.ts:function:normalizeNonEmptyString": 96.604,
"packages/app/src/utils/test-daemon-connection.ts:function:pickBestReason": 83.41132462702544,
"packages/app/src/utils/test-daemon-connection.ts:function:testDaemonEndpointConnection": 81.3682050662971,
"packages/app/src/utils/test-daemon-connection.ts:refactoring:3": 100.0,
"packages/app/src/utils/time.ts:function:formatTimeAgo": 86.4979368597478,
"packages/app/src/utils/time.ts:refactoring:1": 100.0,
"packages/app/src/utils/tool-call-parsers.test.ts:function:anonymous_function_104": 97.59,
"packages/app/src/utils/tool-call-parsers.test.ts:function:anonymous_function_11": 98.88,
"packages/app/src/utils/tool-call-parsers.test.ts:function:anonymous_function_117": 99.032,
"packages/app/src/utils/tool-call-parsers.test.ts:function:anonymous_function_125": 97.742,
"packages/app/src/utils/tool-call-parsers.test.ts:function:anonymous_function_134": 95.61094917640705,
"packages/app/src/utils/tool-call-parsers.test.ts:function:anonymous_function_154": 96.66062296271627,
"packages/app/src/utils/tool-call-parsers.test.ts:function:anonymous_function_171": 97.07789978457497,
"packages/app/src/utils/tool-call-parsers.test.ts:function:anonymous_function_188": 82.408327638418,
"packages/app/src/utils/tool-call-parsers.test.ts:function:anonymous_function_189": 92.26734512056609,
"packages/app/src/utils/tool-call-parsers.test.ts:function:anonymous_function_221": 96.15789113969907,
"packages/app/src/utils/tool-call-parsers.test.ts:function:anonymous_function_23": 98.766,
"packages/app/src/utils/tool-call-parsers.test.ts:function:anonymous_function_240": 94.68500018246445,
"packages/app/src/utils/tool-call-parsers.test.ts:function:anonymous_function_264": 92.23071823330693,
"packages/app/src/utils/tool-call-parsers.test.ts:function:anonymous_function_265": 96.05258907051811,
"packages/app/src/utils/tool-call-parsers.test.ts:function:anonymous_function_284": 98.918,
"packages/app/src/utils/tool-call-parsers.test.ts:function:anonymous_function_39": 69.99727215475647,
"packages/app/src/utils/tool-call-parsers.test.ts:function:anonymous_function_40": 97.59,
"packages/app/src/utils/tool-call-parsers.test.ts:function:anonymous_function_53": 97.55199999999999,
"packages/app/src/utils/tool-call-parsers.test.ts:function:anonymous_function_67": 97.59,
"packages/app/src/utils/tool-call-parsers.test.ts:function:anonymous_function_7": 93.73525051434181,
"packages/app/src/utils/tool-call-parsers.test.ts:function:anonymous_function_80": 99.108,
"packages/app/src/utils/tool-call-parsers.test.ts:function:anonymous_function_86": 99.108,
"packages/app/src/utils/tool-call-parsers.test.ts:function:anonymous_function_92": 99.108,
"packages/app/src/utils/tool-call-parsers.test.ts:function:anonymous_function_98": 99.108,
"packages/app/src/utils/tool-call-parsers.ts:function:anonymous_function_1025": 95.20281292140709,
"packages/app/src/utils/tool-call-parsers.ts:function:anonymous_function_1067": 93.077103520857,
"packages/app/src/utils/tool-call-parsers.ts:function:anonymous_function_1075": 99.22200000000001,
"packages/app/src/utils/tool-call-parsers.ts:function:anonymous_function_1108": 99.032,
"packages/app/src/utils/tool-call-parsers.ts:function:anonymous_function_1134": 99.108,
"packages/app/src/utils/tool-call-parsers.ts:function:anonymous_function_1146": 96.414,
"packages/app/src/utils/tool-call-parsers.ts:function:anonymous_function_1179": 80.58632610843836,
"packages/app/src/utils/tool-call-parsers.ts:function:anonymous_function_125": 85.73441710954427,
"packages/app/src/utils/tool-call-parsers.ts:function:anonymous_function_194": 99.22200000000001,
"packages/app/src/utils/tool-call-parsers.ts:function:anonymous_function_462": 96.376,
"packages/app/src/utils/tool-call-parsers.ts:function:anonymous_function_467": 99.22200000000001,
"packages/app/src/utils/tool-call-parsers.ts:function:anonymous_function_490": 99.22200000000001,
"packages/app/src/utils/tool-call-parsers.ts:function:anonymous_function_575": 99.146,
"packages/app/src/utils/tool-call-parsers.ts:function:anonymous_function_638": 99.22200000000001,
"packages/app/src/utils/tool-call-parsers.ts:function:anonymous_function_696": 97.818,
"packages/app/src/utils/tool-call-parsers.ts:function:anonymous_function_755": 99.22200000000001,
"packages/app/src/utils/tool-call-parsers.ts:function:anonymous_function_866": 99.22200000000001,
"packages/app/src/utils/tool-call-parsers.ts:function:anonymous_function_871": 99.22200000000001,
"packages/app/src/utils/tool-call-parsers.ts:function:anonymous_function_876": 99.22200000000001,
"packages/app/src/utils/tool-call-parsers.ts:function:anonymous_function_892": 99.22200000000001,
"packages/app/src/utils/tool-call-parsers.ts:function:anonymous_function_925": 99.146,
"packages/app/src/utils/tool-call-parsers.ts:function:anonymous_function_93": 99.22200000000001,
"packages/app/src/utils/tool-call-parsers.ts:function:anonymous_function_933": 99.108,
"packages/app/src/utils/tool-call-parsers.ts:function:anonymous_function_934": 99.146,
"packages/app/src/utils/tool-call-parsers.ts:function:anonymous_function_964": 89.8588637382489,
"packages/app/src/utils/tool-call-parsers.ts:function:buildEditEntryFromBlock": 80.60728723504054,
"packages/app/src/utils/tool-call-parsers.ts:function:buildLineDiff": 53.57036568415277,
"packages/app/src/utils/tool-call-parsers.ts:function:coerceCommandValue": 92.80999999999999,
"packages/app/src/utils/tool-call-parsers.ts:function:collectCommandDetails": 48.76722904954916,
"packages/app/src/utils/tool-call-parsers.ts:function:computeWordLevelDiff": 55.78308514261592,
"packages/app/src/utils/tool-call-parsers.ts:function:deriveDiffLines": 90.573544891033,
"packages/app/src/utils/tool-call-parsers.ts:function:extractCommandDetails": 94.214,
"packages/app/src/utils/tool-call-parsers.ts:function:extractEditEntries": 99.146,
"packages/app/src/utils/tool-call-parsers.ts:function:extractKeyValuePairs": 97.59,
"packages/app/src/utils/tool-call-parsers.ts:function:extractReadEntries": 99.184,
"packages/app/src/utils/tool-call-parsers.ts:function:getFilePathFromRecord": 98.918,
"packages/app/src/utils/tool-call-parsers.ts:function:getString": 97.932,
"packages/app/src/utils/tool-call-parsers.ts:function:isRecord": 97.932,
"packages/app/src/utils/tool-call-parsers.ts:function:looksLikePatch": 97.818,
"packages/app/src/utils/tool-call-parsers.ts:function:mergeEditEntries": 92.92936410497514,
"packages/app/src/utils/tool-call-parsers.ts:function:mergeReadEntries": 96.30000000000001,
"packages/app/src/utils/tool-call-parsers.ts:function:parseEditArguments": 48.894220827713625,
"packages/app/src/utils/tool-call-parsers.ts:function:parsePatchText": 97.818,
"packages/app/src/utils/tool-call-parsers.ts:function:parseReadEntriesInternal": 74.13626710764888,
"packages/app/src/utils/tool-call-parsers.ts:function:parseToolCallDisplay": 99.184,
"packages/app/src/utils/tool-call-parsers.ts:function:parseUnifiedDiff": 71.24364535749153,
"packages/app/src/utils/tool-call-parsers.ts:function:splitIntoLines": 97.78,
"packages/app/src/utils/tool-call-parsers.ts:function:splitIntoWords": 83.58753279589055,
"packages/app/src/utils/tool-call-parsers.ts:function:stringifyValue": 87.1343910969958,
"packages/desktop/src-tauri/build.rs:function:main": 99.184,
"packages/desktop/src-tauri/src/lib.rs:function:get_zoom_factor": 99.184,
"packages/desktop/src-tauri/src/lib.rs:function:run": 71.60616269547326,
"packages/desktop/src-tauri/src/lib.rs:function:set_zoom_factor": 99.108,
"packages/desktop/src-tauri/src/lib.rs:refactoring:2": 100.0,
"packages/desktop/src-tauri/src/main.rs:function:main": 99.184,
"packages/relay/src/cloudflare-adapter.ts:function:constructor": 99.146,
"packages/relay/src/cloudflare-adapter.ts:function:fetch": 88.83834117812053,
"packages/relay/src/cloudflare-adapter.ts:function:webSocketClose": 96.926,
"packages/relay/src/cloudflare-adapter.ts:function:webSocketError": 99.032,
"packages/relay/src/cloudflare-adapter.ts:function:webSocketMessage": 89.00906434810486,
"packages/relay/src/crypto.test.ts:function:anonymous_function_10": 79.74594580226469,
"packages/relay/src/crypto.test.ts:function:anonymous_function_103": 97.72225659001613,
"packages/relay/src/crypto.test.ts:function:anonymous_function_11": 99.032,
"packages/relay/src/crypto.test.ts:function:anonymous_function_12": 99.108,
"packages/relay/src/crypto.test.ts:function:anonymous_function_122": 96.22448597099537,
"packages/relay/src/crypto.test.ts:function:anonymous_function_145": 90.66060644795846,
"packages/relay/src/crypto.test.ts:function:anonymous_function_146": 91.0201940147601,
"packages/relay/src/crypto.test.ts:function:anonymous_function_19": 98.10823873025684,
"packages/relay/src/crypto.test.ts:function:anonymous_function_20": 98.766,
"packages/relay/src/crypto.test.ts:function:anonymous_function_36": 93.76818120274729,
"packages/relay/src/crypto.test.ts:function:anonymous_function_37": 94.26034981737202,
"packages/relay/src/crypto.test.ts:function:anonymous_function_69": 86.11671574710952,
"packages/relay/src/crypto.test.ts:function:anonymous_function_70": 97.71260138763014,
"packages/relay/src/crypto.test.ts:function:anonymous_function_88": 98.766,
"packages/relay/src/crypto.ts:function:arrayBufferToBase64": 97.742,
"packages/relay/src/crypto.ts:function:base64ToArrayBuffer": 97.742,
"packages/relay/src/crypto.ts:function:decrypt": 93.51407868540844,
"packages/relay/src/crypto.ts:function:deriveSharedKey": 93.5729178568193,
"packages/relay/src/crypto.ts:function:encrypt": 94.86518900552319,
"packages/relay/src/crypto.ts:function:exportPublicKey": 99.146,
"packages/relay/src/crypto.ts:function:generateKeyPair": 99.184,
"packages/relay/src/crypto.ts:function:importPublicKey": 99.146,
"packages/relay/src/e2e.test.ts:function:anonymous_function_115": 99.184,
"packages/relay/src/e2e.test.ts:function:anonymous_function_116": 99.22200000000001,
"packages/relay/src/e2e.test.ts:function:anonymous_function_133": 99.184,
"packages/relay/src/e2e.test.ts:function:anonymous_function_134": 99.22200000000001,
"packages/relay/src/e2e.test.ts:function:anonymous_function_14": 78.29941530618876,
"packages/relay/src/e2e.test.ts:function:anonymous_function_150": 87.95783469495137,
"packages/relay/src/e2e.test.ts:function:anonymous_function_17": 99.146,
"packages/relay/src/e2e.test.ts:function:anonymous_function_181": 99.22200000000001,
"packages/relay/src/e2e.test.ts:function:anonymous_function_182": 99.22200000000001,
"packages/relay/src/e2e.test.ts:function:anonymous_function_191": 99.184,
"packages/relay/src/e2e.test.ts:function:anonymous_function_192": 99.22200000000001,
"packages/relay/src/e2e.test.ts:function:anonymous_function_213": 93.69951378537013,
"packages/relay/src/e2e.test.ts:function:anonymous_function_22": 99.184,
"packages/relay/src/e2e.test.ts:function:anonymous_function_26": 82.15588417346211,
"packages/relay/src/e2e.test.ts:function:anonymous_function_41": 99.146,
"packages/relay/src/e2e.test.ts:function:anonymous_function_64": 99.146,
"packages/relay/src/e2e.test.ts:function:anonymous_function_74": 99.184,
"packages/relay/src/e2e.test.ts:function:anonymous_function_75": 99.22200000000001,
"packages/relay/src/e2e.test.ts:function:anonymous_function_97": 99.184,
"packages/relay/src/e2e.test.ts:function:anonymous_function_98": 99.22200000000001,
"packages/relay/src/e2e.test.ts:refactoring:5": 100.0,
"packages/relay/src/encrypted-channel.test.ts:function:anonymous_function_107": 92.99757573282707,
"packages/relay/src/encrypted-channel.test.ts:function:anonymous_function_140": 98.766,
"packages/relay/src/encrypted-channel.test.ts:function:anonymous_function_148": 99.184,
"packages/relay/src/encrypted-channel.test.ts:function:anonymous_function_31": 99.184,
"packages/relay/src/encrypted-channel.test.ts:function:anonymous_function_32": 99.22200000000001,
"packages/relay/src/encrypted-channel.test.ts:function:anonymous_function_37": 99.184,
"packages/relay/src/encrypted-channel.test.ts:function:anonymous_function_38": 99.22200000000001,
"packages/relay/src/encrypted-channel.test.ts:function:anonymous_function_45": 83.02720437728524,
"packages/relay/src/encrypted-channel.test.ts:function:anonymous_function_46": 96.5882363463073,
"packages/relay/src/encrypted-channel.test.ts:function:anonymous_function_69": 92.46913030882128,
"packages/relay/src/encrypted-channel.test.ts:function:anonymous_function_81": 99.22200000000001,
"packages/relay/src/encrypted-channel.test.ts:function:anonymous_function_87": 99.22200000000001,
"packages/relay/src/encrypted-channel.test.ts:function:anonymous_function_98": 99.22200000000001,
"packages/relay/src/encrypted-channel.test.ts:function:createMockTransportPair": 93.55214067475967,
"packages/relay/src/encrypted-channel.ts:function:anonymous_function_117": 99.146,
"packages/relay/src/encrypted-channel.ts:function:anonymous_function_122": 99.146,
"packages/relay/src/encrypted-channel.ts:function:anonymous_function_147": 99.22200000000001,
"packages/relay/src/encrypted-channel.ts:function:anonymous_function_148": 99.146,
"packages/relay/src/encrypted-channel.ts:function:anonymous_function_152": 99.184,
"packages/relay/src/encrypted-channel.ts:function:anonymous_function_82": 81.42020467592002,
"packages/relay/src/encrypted-channel.ts:function:anonymous_function_83": 99.184,
"packages/relay/src/encrypted-channel.ts:function:anonymous_function_87": 84.80672921265442,
"packages/relay/src/encrypted-channel.ts:function:arrayBufferToBase64": 97.742,
"packages/relay/src/encrypted-channel.ts:function:base64ToArrayBuffer": 97.742,
"packages/relay/src/encrypted-channel.ts:function:close": 99.146,
"packages/relay/src/encrypted-channel.ts:function:constructor": 97.28306592069814,
"packages/relay/src/encrypted-channel.ts:function:createClientChannel": 96.20183445519345,
"packages/relay/src/encrypted-channel.ts:function:createDaemonChannel": 80.43656371146064,
"packages/relay/src/encrypted-channel.ts:function:handleMessage": 88.13108684547475,
"packages/relay/src/encrypted-channel.ts:function:isOpen": 99.184,
"packages/relay/src/encrypted-channel.ts:function:send": 97.19200000000001,
"packages/relay/src/encrypted-channel.ts:function:setState": 99.184,
"packages/relay/src/live-relay.e2e.test.ts:function:anonymous_function_112": 98.918,
"packages/relay/src/live-relay.e2e.test.ts:function:anonymous_function_114": 99.22200000000001,
"packages/relay/src/live-relay.e2e.test.ts:function:anonymous_function_117": 99.146,
"packages/relay/src/live-relay.e2e.test.ts:function:anonymous_function_142": 98.918,
"packages/relay/src/live-relay.e2e.test.ts:function:anonymous_function_144": 99.22200000000001,
"packages/relay/src/live-relay.e2e.test.ts:function:anonymous_function_147": 99.146,
"packages/relay/src/live-relay.e2e.test.ts:function:anonymous_function_24": 99.22200000000001,
"packages/relay/src/live-relay.e2e.test.ts:function:anonymous_function_31": 80.02551386108267,
"packages/relay/src/live-relay.e2e.test.ts:function:anonymous_function_32": 80.12475309842534,
"packages/relay/src/live-relay.e2e.test.ts:function:anonymous_function_34": 80.33445729889611,
"packages/relay/src/live-relay.e2e.test.ts:function:anonymous_function_56": 98.72800000000001,
"packages/relay/src/live-relay.e2e.test.ts:function:anonymous_function_57": 98.766,
"packages/relay/src/live-relay.e2e.test.ts:function:anonymous_function_59": 99.22200000000001,
"packages/relay/src/live-relay.e2e.test.ts:function:anonymous_function_62": 99.146,
"packages/relay/src/live-relay.e2e.test.ts:function:anonymous_function_66": 99.146,
"packages/relay/src/live-relay.e2e.test.ts:function:anonymous_function_79": 98.918,
"packages/relay/src/live-relay.e2e.test.ts:function:anonymous_function_81": 99.22200000000001,
"packages/relay/src/live-relay.e2e.test.ts:function:anonymous_function_84": 99.146,
"packages/relay/src/live-relay.e2e.test.ts:function:withRetry": 88.42036360917996,
"packages/relay/src/live-relay.e2e.test.ts:refactoring:6": 100.0,
"packages/relay/src/node-adapter.ts:function:anonymous_function_106": 98.994,
"packages/relay/src/node-adapter.ts:function:anonymous_function_110": 99.184,
"packages/relay/src/node-adapter.ts:function:anonymous_function_111": 99.22200000000001,
"packages/relay/src/node-adapter.ts:function:anonymous_function_125": 97.856,
"packages/relay/src/node-adapter.ts:function:anonymous_function_130": 99.184,
"packages/relay/src/node-adapter.ts:function:anonymous_function_36": 99.22200000000001,
"packages/relay/src/node-adapter.ts:function:anonymous_function_37": 99.22200000000001,
"packages/relay/src/node-adapter.ts:function:anonymous_function_38": 99.22200000000001,
"packages/relay/src/node-adapter.ts:function:anonymous_function_39": 99.22200000000001,
"packages/relay/src/node-adapter.ts:function:anonymous_function_42": 97.70400000000001,
"packages/relay/src/node-adapter.ts:function:anonymous_function_55": 92.298,
"packages/relay/src/node-adapter.ts:function:anonymous_function_69": 93.27402214183545,
"packages/relay/src/node-adapter.ts:function:anonymous_function_77": 97.78,
"packages/relay/src/node-adapter.ts:function:anonymous_function_85": 99.184,
"packages/relay/src/node-adapter.ts:function:anonymous_function_89": 99.184,
"packages/relay/src/node-adapter.ts:function:anonymous_function_96": 99.032,
"packages/relay/src/node-adapter.ts:function:anonymous_function_98": 99.146,
"packages/relay/src/node-adapter.ts:function:createRelayServer": 74.69716217920478,
"packages/relay/src/node-adapter.ts:function:getRelay": 99.184,
"packages/relay/src/node-adapter.ts:function:start": 98.956,
"packages/relay/src/node-adapter.ts:function:stop": 98.918,
"packages/relay/src/node-adapter.ts:function:wrapWebSocket": 97.55199999999999,
"packages/relay/src/node-adapter.ts:refactoring:3": 100.0,
"packages/relay/src/relay.ts:function:addConnection": 86.29872500310269,
"packages/relay/src/relay.ts:function:closeSession": 97.154,
"packages/relay/src/relay.ts:function:constructor": 99.184,
"packages/relay/src/relay.ts:function:forward": 83.22527766986332,
"packages/relay/src/relay.ts:function:getSession": 99.184,
"packages/relay/src/relay.ts:function:listSessions": 99.184,
"packages/relay/src/relay.ts:function:removeConnection": 93.076,
"packages/relay/src/relay.ts:function:restoreSessions": 99.108,
"packages/server/scripts/dev-runner.ts:function:anonymous_function_18": 97.856,
"packages/server/scripts/dev-runner.ts:function:anonymous_function_24": 92.23138834947189,
"packages/server/scripts/dev-runner.ts:function:anonymous_function_58": 99.22200000000001,
"packages/server/scripts/dev-runner.ts:function:anonymous_function_59": 99.22200000000001,
"packages/server/scripts/dev-runner.ts:function:forwardSignal": 97.818,
"packages/server/scripts/dev-runner.ts:function:restartServer": 95.94,
"packages/server/scripts/dev-runner.ts:function:spawnServer": 86.10864340347865,
"packages/server/scripts/process-conversation.ts:function:processConversation": 91.54819966833969,
"packages/server/scripts/test-codex-mcp-agents.ts:function:anonymous_function_29": 96.054,
"packages/server/scripts/test-codex-mcp-agents.ts:function:anonymous_function_74": 99.146,
"packages/server/scripts/test-codex-mcp-agents.ts:function:main": 78.78517719574504,
"packages/server/scripts/test-codex-mcp-agents.ts:refactoring:2": 100.0,
"packages/server/scripts/test-codex-mcp-basic-auth.ts:function:anonymous_function_26": 96.054,
"packages/server/scripts/test-codex-mcp-basic-auth.ts:function:anonymous_function_77": 99.146,
"packages/server/scripts/test-codex-mcp-basic-auth.ts:function:main": 78.46815808609577,
"packages/server/scripts/test-codex-mcp-basic-auth.ts:refactoring:2": 100.0,
"packages/server/scripts/test-codex-mcp-bearer.ts:function:anonymous_function_29": 96.054,
"packages/server/scripts/test-codex-mcp-bearer.ts:function:anonymous_function_74": 99.146,
"packages/server/scripts/test-codex-mcp-bearer.ts:function:main": 78.78517719574504,
"packages/server/scripts/test-codex-mcp-bearer.ts:refactoring:2": 100.0,
"packages/server/scripts/test-codex-mcp-http-headers.ts:function:anonymous_function_27": 96.054,
"packages/server/scripts/test-codex-mcp-http-headers.ts:function:anonymous_function_74": 99.146,
"packages/server/scripts/test-codex-mcp-http-headers.ts:function:main": 78.7960729278828,
"packages/server/scripts/test-codex-mcp-http-headers.ts:refactoring:2": 100.0,
"packages/server/scripts/test-codex-mcp-http.ts:function:anonymous_function_22": 96.054,
"packages/server/scripts/test-codex-mcp-http.ts:function:anonymous_function_67": 99.146,
"packages/server/scripts/test-codex-mcp-http.ts:function:main": 79.66398806387683,
"packages/server/scripts/test-codex-mcp-http.ts:refactoring:2": 100.0,
"packages/server/scripts/test-codex-mcp-servers.ts:function:anonymous_function_22": 77.47138029301814,
"packages/server/scripts/test-codex-mcp-servers.ts:function:anonymous_function_83": 99.146,
"packages/server/scripts/test-codex-mcp-servers.ts:function:main": 63.07953911243847,
"packages/server/scripts/test-codex-mcp-servers.ts:refactoring:2": 100.0,
"packages/server/src/client/daemon-client-v2.test.ts:function:anonymous_function_15": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.test.ts:function:anonymous_function_16": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.test.ts:function:anonymous_function_17": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.test.ts:function:anonymous_function_18": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.test.ts:function:anonymous_function_21": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.test.ts:function:anonymous_function_22": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.test.ts:function:anonymous_function_23": 99.146,
"packages/server/src/client/daemon-client-v2.test.ts:function:anonymous_function_25": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.test.ts:function:anonymous_function_27": 99.146,
"packages/server/src/client/daemon-client-v2.test.ts:function:anonymous_function_29": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.test.ts:function:anonymous_function_31": 99.146,
"packages/server/src/client/daemon-client-v2.test.ts:function:anonymous_function_33": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.test.ts:function:anonymous_function_35": 99.146,
"packages/server/src/client/daemon-client-v2.test.ts:function:anonymous_function_37": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.test.ts:function:anonymous_function_44": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.test.ts:function:anonymous_function_45": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.test.ts:function:anonymous_function_46": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.test.ts:function:anonymous_function_47": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.test.ts:function:anonymous_function_51": 84.55007550987531,
"packages/server/src/client/daemon-client-v2.test.ts:function:anonymous_function_54": 99.07,
"packages/server/src/client/daemon-client-v2.test.ts:function:anonymous_function_61": 85.74109763633557,
"packages/server/src/client/daemon-client-v2.test.ts:function:anonymous_function_69": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.test.ts:function:createMockLogger": 98.994,
"packages/server/src/client/daemon-client-v2.test.ts:function:createMockTransport": 92.83090061788104,
"packages/server/src/client/daemon-client-v2.ts:function:abortRequest": 99.184,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1006": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1017": 99.184,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1059": 94.74552004422296,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1061": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1079": 96.832,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1102": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1132": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1163": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1193": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1217": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1248": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1275": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1303": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1332": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1359": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1386": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1412": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1432": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1467": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1496": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1528": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1555": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1586": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1632": 93.55000000000001,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1665": 92.67800000000001,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1696": 77.29545622869055,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1755": 73.75747158465371,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1841": 88.33854010140833,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1875": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1904": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1931": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1976": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_1997": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_2105": 97.268,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_2117": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_2238": 96.64759357919617,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_2241": 99.146,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_2276": 94.44966501054603,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_2279": 96.054,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_2285": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_2286": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_2287": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_2288": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_2289": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_2301": 97.344,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_2309": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_2322": 97.856,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_262": 99.108,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_302": 96.642,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_312": 91.89999999999999,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_327": 78.56993442218254,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_336": 91.76799999999999,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_359": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_435": 99.184,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_458": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_479": 95.39,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_579": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_602": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_629": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_64": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_65": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_66": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_666": 88.64073248983054,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_67": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_692": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_711": 93.11399999999999,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_737": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_778": 93.11399999999999,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_797": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_813": 93.11399999999999,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_841": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_858": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_909": 93.436,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_950": 93.55000000000001,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_964": 99.22200000000001,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_967": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_978": 99.184,
"packages/server/src/client/daemon-client-v2.ts:function:anonymous_function_992": 95.428,
"packages/server/src/client/daemon-client-v2.ts:function:archivePaseoWorktree": 90.83976291476648,
"packages/server/src/client/daemon-client-v2.ts:function:attemptConnect": 51.277353566157785,
"packages/server/src/client/daemon-client-v2.ts:function:audioPlayed": 99.184,
"packages/server/src/client/daemon-client-v2.ts:function:bindWsHandler": 82.91022552215964,
"packages/server/src/client/daemon-client-v2.ts:function:cancelAgent": 99.184,
"packages/server/src/client/daemon-client-v2.ts:function:cancelDictationStream": 99.184,
"packages/server/src/client/daemon-client-v2.ts:function:checkoutCommit": 90.68552068606473,
"packages/server/src/client/daemon-client-v2.ts:function:checkoutMerge": 90.25666470250798,
"packages/server/src/client/daemon-client-v2.ts:function:checkoutMergeFromBase": 90.68552068606473,
"packages/server/src/client/daemon-client-v2.ts:function:checkoutPrCreate": 90.37597309093019,
"packages/server/src/client/daemon-client-v2.ts:function:checkoutPrStatus": 91.601142642789,
"packages/server/src/client/daemon-client-v2.ts:function:checkoutPush": 92.29499481595782,
"packages/server/src/client/daemon-client-v2.ts:function:cleanupTransport": 92.96199999999999,
"packages/server/src/client/daemon-client-v2.ts:function:clearAgentAttention": 99.184,
"packages/server/src/client/daemon-client-v2.ts:function:clearMessageQueue": 99.184,
"packages/server/src/client/daemon-client-v2.ts:function:clearWaiters": 97.19200000000001,
"packages/server/src/client/daemon-client-v2.ts:function:close": 86.60118539792951,
"packages/server/src/client/daemon-client-v2.ts:function:connect": 94.40032848170637,
"packages/server/src/client/daemon-client-v2.ts:function:constructor": 97.268,
"packages/server/src/client/daemon-client-v2.ts:function:createAgent": 68.72939378167435,
"packages/server/src/client/daemon-client-v2.ts:function:createAgentExpectFail": 85.76976202935927,
"packages/server/src/client/daemon-client-v2.ts:function:createRequestId": 99.184,
"packages/server/src/client/daemon-client-v2.ts:function:createTerminal": 91.10123951484219,
"packages/server/src/client/daemon-client-v2.ts:function:createWebSocketTransportFactory": 93.09565154238892,
"packages/server/src/client/daemon-client-v2.ts:function:decodeMessageData": 75.19810481570863,
"packages/server/src/client/daemon-client-v2.ts:function:defaultWebSocketFactory": 97.666,
"packages/server/src/client/daemon-client-v2.ts:function:deleteAgent": 92.37097727257418,
"packages/server/src/client/daemon-client-v2.ts:function:deleteVoiceConversation": 91.601142642789,
"packages/server/src/client/daemon-client-v2.ts:function:describeTransportClose": 79.62248179046622,
"packages/server/src/client/daemon-client-v2.ts:function:describeTransportError": 88.00533625326389,
"packages/server/src/client/daemon-client-v2.ts:function:ensureConnected": 93.038,
"packages/server/src/client/daemon-client-v2.ts:function:executeCommand": 90.62983162261298,
"packages/server/src/client/daemon-client-v2.ts:function:exploreFileSystem": 90.47497755696355,
"packages/server/src/client/daemon-client-v2.ts:function:finishDictationStream": 85.61430544888525,
"packages/server/src/client/daemon-client-v2.ts:function:getCheckoutDiff": 90.89668618248972,
"packages/server/src/client/daemon-client-v2.ts:function:getCheckoutStatus": 78.64641234518167,
"packages/server/src/client/daemon-client-v2.ts:function:getConnectionState": 99.184,
"packages/server/src/client/daemon-client-v2.ts:function:getGitDiff": 91.601142642789,
"packages/server/src/client/daemon-client-v2.ts:function:getGitRepoInfo": 76.93655165065357,
"packages/server/src/client/daemon-client-v2.ts:function:getHighlightedDiff": 91.601142642789,
"packages/server/src/client/daemon-client-v2.ts:function:getMessageQueue": 99.184,
"packages/server/src/client/daemon-client-v2.ts:function:getPaseoWorktreeList": 91.1651292842941,
"packages/server/src/client/daemon-client-v2.ts:function:handleSessionMessage": 67.6931448000337,
"packages/server/src/client/daemon-client-v2.ts:function:handleTransportMessage": 78.4310529849013,
"packages/server/src/client/daemon-client-v2.ts:function:initializeAgent": 88.46788656538891,
"packages/server/src/client/daemon-client-v2.ts:function:isConnected": 99.184,
"packages/server/src/client/daemon-client-v2.ts:function:isConnecting": 99.184,
"packages/server/src/client/daemon-client-v2.ts:function:killTerminal": 91.601142642789,
"packages/server/src/client/daemon-client-v2.ts:function:lastError": 99.184,
"packages/server/src/client/daemon-client-v2.ts:function:listAgents": 99.184,
"packages/server/src/client/daemon-client-v2.ts:function:listCommands": 91.601142642789,
"packages/server/src/client/daemon-client-v2.ts:function:listProviderModels": 91.15225877007231,
"packages/server/src/client/daemon-client-v2.ts:function:listTerminals": 91.601142642789,
"packages/server/src/client/daemon-client-v2.ts:function:listVoiceConversations": 92.62277660719096,
"packages/server/src/client/daemon-client-v2.ts:function:loadVoiceConversation": 91.601142642789,
"packages/server/src/client/daemon-client-v2.ts:function:on": 87.0240247858236,
"packages/server/src/client/daemon-client-v2.ts:function:refreshAgent": 88.71321068968066,
"packages/server/src/client/daemon-client-v2.ts:function:registerPushToken": 99.07,
"packages/server/src/client/daemon-client-v2.ts:function:rejectConnect": 97.23,
"packages/server/src/client/daemon-client-v2.ts:function:requestDownloadToken": 91.10123951484219,
"packages/server/src/client/daemon-client-v2.ts:function:requestSessionState": 98.994,
"packages/server/src/client/daemon-client-v2.ts:function:resolveAgentConfig": 84.49935577532499,
"packages/server/src/client/daemon-client-v2.ts:function:resolveConnect": 97.23,
"packages/server/src/client/daemon-client-v2.ts:function:resolveWaiters": 94.802,
"packages/server/src/client/daemon-client-v2.ts:function:respondToPermission": 98.842,
"packages/server/src/client/daemon-client-v2.ts:function:respondToPermissionAndWait": 88.47719927514457,
"packages/server/src/client/daemon-client-v2.ts:function:restartServer": 83.87317306245568,
"packages/server/src/client/daemon-client-v2.ts:function:resumeAgent": 84.705423393743,
"packages/server/src/client/daemon-client-v2.ts:function:scheduleReconnect": 77.99427018871476,
"packages/server/src/client/daemon-client-v2.ts:function:sendAgentMessage": 98.72800000000001,
"packages/server/src/client/daemon-client-v2.ts:function:sendDictationStreamChunk": 99.184,
"packages/server/src/client/daemon-client-v2.ts:function:sendHeartbeat": 98.766,
"packages/server/src/client/daemon-client-v2.ts:function:sendMessage": 99.032,
"packages/server/src/client/daemon-client-v2.ts:function:sendRealtimeAudioChunk": 99.032,
"packages/server/src/client/daemon-client-v2.ts:function:sendSessionMessage": 82.02979477114481,
"packages/server/src/client/daemon-client-v2.ts:function:sendSessionMessageStrict": 88.524,
"packages/server/src/client/daemon-client-v2.ts:function:sendTerminalInput": 98.918,
"packages/server/src/client/daemon-client-v2.ts:function:sendUserMessage": 99.184,
"packages/server/src/client/daemon-client-v2.ts:function:setAgentMode": 99.184,
"packages/server/src/client/daemon-client-v2.ts:function:setVoiceConversation": 99.184,
"packages/server/src/client/daemon-client-v2.ts:function:startDictationStream": 83.06940968898883,
"packages/server/src/client/daemon-client-v2.ts:function:subscribe": 99.146,
"packages/server/src/client/daemon-client-v2.ts:function:subscribeConnectionStatus": 98.956,
"packages/server/src/client/daemon-client-v2.ts:function:subscribeTerminal": 91.601142642789,
"packages/server/src/client/daemon-client-v2.ts:function:toEvent": 92.11169922767132,
"packages/server/src/client/daemon-client-v2.ts:function:unsubscribeTerminal": 99.07,
"packages/server/src/client/daemon-client-v2.ts:function:updateConnectionState": 94.878,
"packages/server/src/client/daemon-client-v2.ts:function:waitFor": 84.51946696504544,
"packages/server/src/client/daemon-client-v2.ts:function:waitForAgentIdle": 48.86211944664099,
"packages/server/src/client/daemon-client-v2.ts:function:waitForAgentState": 85.55082665086474,
"packages/server/src/client/daemon-client-v2.ts:function:waitForPermission": 51.66411941963832,
"packages/server/src/client/daemon-client-v2.ts:function:waitForTerminalOutput": 94.47034706786675,
"packages/server/src/client/daemon-client-v2.ts:refactoring:78": 100.0,
"packages/server/src/poc-commands/commands-poc.test.ts:function:anonymous_function_108": 98.69,
"packages/server/src/poc-commands/commands-poc.test.ts:function:anonymous_function_109": 98.766,
"packages/server/src/poc-commands/commands-poc.test.ts:function:anonymous_function_31": 72.74058408658834,
"packages/server/src/poc-commands/commands-poc.test.ts:function:anonymous_function_32": 74.6343157471095,
"packages/server/src/poc-commands/commands-poc.test.ts:function:anonymous_function_33": 81.421108278446,
"packages/server/src/poc-commands/commands-poc.test.ts:function:anonymous_function_74": 91.48484076173348,
"packages/server/src/poc-commands/commands-poc.test.ts:function:createEmptyPrompt": 99.184,
"packages/server/src/poc-commands/investigate-command-output.ts:function:[Symbol.asyncIterator]": 91.2284950062313,
"packages/server/src/poc-commands/investigate-command-output.ts:function:anonymous_function_144": 99.22200000000001,
"packages/server/src/poc-commands/investigate-command-output.ts:function:anonymous_function_185": 99.146,
"packages/server/src/poc-commands/investigate-command-output.ts:function:anonymous_function_40": 92.8716730010793,
"packages/server/src/poc-commands/investigate-command-output.ts:function:anonymous_function_50": 99.184,
"packages/server/src/poc-commands/investigate-command-output.ts:function:end": 97.268,
"packages/server/src/poc-commands/investigate-command-output.ts:function:investigateCommand": 60.106762337622044,
"packages/server/src/poc-commands/investigate-command-output.ts:function:main": 98.766,
"packages/server/src/poc-commands/investigate-command-output.ts:function:push": 95.428,
"packages/server/src/poc-commands/run-poc.ts:function:[Symbol.asyncIterator]": 91.2284950062313,
"packages/server/src/poc-commands/run-poc.ts:function:anonymous_function_178": 97.23,
"packages/server/src/poc-commands/run-poc.ts:function:anonymous_function_210": 99.146,
"packages/server/src/poc-commands/run-poc.ts:function:anonymous_function_56": 92.8716730010793,
"packages/server/src/poc-commands/run-poc.ts:function:anonymous_function_66": 99.184,
"packages/server/src/poc-commands/run-poc.ts:function:createEmptyPrompt": 99.184,
"packages/server/src/poc-commands/run-poc.ts:function:end": 97.268,
"packages/server/src/poc-commands/run-poc.ts:function:executeCommand": 68.24397431861904,
"packages/server/src/poc-commands/run-poc.ts:function:listAvailableCommands": 86.2974500359213,
"packages/server/src/poc-commands/run-poc.ts:function:main": 85.89116075046185,
"packages/server/src/poc-commands/run-poc.ts:function:push": 95.428,
"packages/server/src/server/agent/activity-curator.test.ts:function:anonymous_function_100": 93.44827251355125,
"packages/server/src/server/agent/activity-curator.test.ts:function:anonymous_function_132": 97.8425274086055,
"packages/server/src/server/agent/activity-curator.test.ts:function:anonymous_function_150": 94.86973941184621,
"packages/server/src/server/agent/activity-curator.test.ts:function:anonymous_function_151": 99.108,
"packages/server/src/server/agent/activity-curator.test.ts:function:anonymous_function_157": 98.918,
"packages/server/src/server/agent/activity-curator.test.ts:function:anonymous_function_16": 98.956,
"packages/server/src/server/agent/activity-curator.test.ts:function:anonymous_function_168": 98.956,
"packages/server/src/server/agent/activity-curator.test.ts:function:anonymous_function_179": 90.51950146817806,
"packages/server/src/server/agent/activity-curator.test.ts:function:anonymous_function_180": 98.88,
"packages/server/src/server/agent/activity-curator.test.ts:function:anonymous_function_192": 98.918,
"packages/server/src/server/agent/activity-curator.test.ts:function:anonymous_function_203": 96.26693720763711,
"packages/server/src/server/agent/activity-curator.test.ts:function:anonymous_function_229": 90.74895656308905,
"packages/server/src/server/agent/activity-curator.test.ts:function:anonymous_function_230": 97.22016884197537,
"packages/server/src/server/agent/activity-curator.test.ts:function:anonymous_function_249": 97.10237094884363,
"packages/server/src/server/agent/activity-curator.test.ts:function:anonymous_function_26": 98.956,
"packages/server/src/server/agent/activity-curator.test.ts:function:anonymous_function_266": 88.45458751749726,
"packages/server/src/server/agent/activity-curator.test.ts:function:anonymous_function_267": 98.72800000000001,
"packages/server/src/server/agent/activity-curator.test.ts:function:anonymous_function_283": 98.72800000000001,
"packages/server/src/server/agent/activity-curator.test.ts:function:anonymous_function_299": 98.72800000000001,
"packages/server/src/server/agent/activity-curator.test.ts:function:anonymous_function_315": 98.72800000000001,
"packages/server/src/server/agent/activity-curator.test.ts:function:anonymous_function_36": 98.72800000000001,
"packages/server/src/server/agent/activity-curator.test.ts:function:anonymous_function_4": 75.04874147640483,
"packages/server/src/server/agent/activity-curator.test.ts:function:anonymous_function_5": 84.77948073470836,
"packages/server/src/server/agent/activity-curator.test.ts:function:anonymous_function_52": 98.72800000000001,
"packages/server/src/server/agent/activity-curator.test.ts:function:anonymous_function_6": 98.956,
"packages/server/src/server/agent/activity-curator.test.ts:function:anonymous_function_68": 97.30258827771902,
"packages/server/src/server/agent/activity-curator.test.ts:function:anonymous_function_88": 98.956,
"packages/server/src/server/agent/activity-curator.test.ts:function:anonymous_function_99": 89.52431786773779,
"packages/server/src/server/agent/activity-curator.test.ts:refactoring:12": 100.0,
"packages/server/src/server/agent/activity-curator.ts:function:appendText": 96.414,
"packages/server/src/server/agent/activity-curator.ts:function:collapseTimeline": 74.63779090996567,
"packages/server/src/server/agent/activity-curator.ts:function:curateAgentActivity": 79.99490956847484,
"packages/server/src/server/agent/activity-curator.ts:function:flushAssistant": 97.818,
"packages/server/src/server/agent/activity-curator.ts:function:flushBuffers": 96.414,
"packages/server/src/server/agent/activity-curator.ts:function:flushReasoning": 97.818,
"packages/server/src/server/agent/activity-curator.ts:function:flushToolCalls": 99.07,
"packages/server/src/server/agent/activity-curator.ts:refactoring:6": 100.0,
"packages/server/src/server/agent/agent-manager.test.ts:function:anonymous_function_103": 74.84071034979785,
"packages/server/src/server/agent/agent-manager.test.ts:function:anonymous_function_106": 96.98779283594791,
"packages/server/src/server/agent/agent-manager.test.ts:function:anonymous_function_116": 99.22200000000001,
"packages/server/src/server/agent/agent-manager.test.ts:function:anonymous_function_127": 94.5755195076158,
"packages/server/src/server/agent/agent-manager.test.ts:function:anonymous_function_137": 99.22200000000001,
"packages/server/src/server/agent/agent-manager.test.ts:function:anonymous_function_154": 95.15651492786091,
"packages/server/src/server/agent/agent-manager.test.ts:function:anonymous_function_164": 99.22200000000001,
"packages/server/src/server/agent/agent-manager.test.ts:function:anonymous_function_179": 94.86079194956721,
"packages/server/src/server/agent/agent-manager.test.ts:function:anonymous_function_189": 99.22200000000001,
"packages/server/src/server/agent/agent-manager.test.ts:function:anonymous_function_205": 93.19103081570958,
"packages/server/src/server/agent/agent-manager.test.ts:function:anonymous_function_216": 99.22200000000001,
"packages/server/src/server/agent/agent-manager.test.ts:function:anonymous_function_239": 95.40033396939972,
"packages/server/src/server/agent/agent-manager.test.ts:function:anonymous_function_249": 99.22200000000001,
"packages/server/src/server/agent/agent-manager.test.ts:function:anonymous_function_264": 90.17748706062288,
"packages/server/src/server/agent/agent-manager.test.ts:function:anonymous_function_275": 99.22200000000001,
"packages/server/src/server/agent/agent-manager.test.ts:function:anonymous_function_279": 97.856,
"packages/server/src/server/agent/agent-manager.test.ts:function:anonymous_function_301": 99.22200000000001,
"packages/server/src/server/agent/agent-manager.test.ts:function:anonymous_function_302": 99.22200000000001,
"packages/server/src/server/agent/agent-manager.test.ts:function:anonymous_function_305": 91.57535607963766,
"packages/server/src/server/agent/agent-manager.test.ts:function:anonymous_function_315": 99.22200000000001,
"packages/server/src/server/agent/agent-manager.test.ts:function:anonymous_function_321": 97.856,
"packages/server/src/server/agent/agent-manager.test.ts:function:anonymous_function_337": 99.22200000000001,
"packages/server/src/server/agent/agent-manager.test.ts:function:anonymous_function_340": 94.02175035257629,
"packages/server/src/server/agent/agent-manager.test.ts:function:anonymous_function_351": 99.22200000000001,
"packages/server/src/server/agent/agent-manager.test.ts:function:anonymous_function_352": 99.184,
"packages/server/src/server/agent/agent-manager.test.ts:function:close": 99.22200000000001,
"packages/server/src/server/agent/agent-manager.test.ts:function:constructor": 99.22200000000001,
"packages/server/src/server/agent/agent-manager.test.ts:function:createSession": 99.184,
"packages/server/src/server/agent/agent-manager.test.ts:function:describePersistence": 99.07,
"packages/server/src/server/agent/agent-manager.test.ts:function:getAvailableModes": 99.184,
"packages/server/src/server/agent/agent-manager.test.ts:function:getCurrentMode": 99.184,
"packages/server/src/server/agent/agent-manager.test.ts:function:getPendingPermissions": 99.184,
"packages/server/src/server/agent/agent-manager.test.ts:function:getRuntimeInfo": 98.994,
"packages/server/src/server/agent/agent-manager.test.ts:function:interrupt": 99.22200000000001,
"packages/server/src/server/agent/agent-manager.test.ts:function:respondToPermission": 99.22200000000001,
"packages/server/src/server/agent/agent-manager.test.ts:function:resumeSession": 99.07,
"packages/server/src/server/agent/agent-manager.test.ts:function:run": 99.032,
"packages/server/src/server/agent/agent-manager.test.ts:function:setMode": 99.22200000000001,
"packages/server/src/server/agent/agent-manager.test.ts:function:stream": 99.108,
"packages/server/src/server/agent/agent-manager.test.ts:function:streamHistory": 99.22200000000001,
"packages/server/src/server/agent/agent-manager.ts:function:anonymous_function_198": 99.22200000000001,
"packages/server/src/server/agent/agent-manager.ts:function:anonymous_function_250": 99.184,
"packages/server/src/server/agent/agent-manager.ts:function:anonymous_function_257": 99.22200000000001,
"packages/server/src/server/agent/agent-manager.ts:function:anonymous_function_258": 99.184,
"packages/server/src/server/agent/agent-manager.ts:function:anonymous_function_295": 99.22200000000001,
"packages/server/src/server/agent/agent-manager.ts:function:anonymous_function_517": 88.7798363949902,
"packages/server/src/server/agent/agent-manager.ts:function:anonymous_function_686": 49.77805446836414,
"packages/server/src/server/agent/agent-manager.ts:function:anonymous_function_701": 81.1913328935274,
"packages/server/src/server/agent/agent-manager.ts:function:anonymous_function_723": 98.994,
"packages/server/src/server/agent/agent-manager.ts:function:anonymous_function_735": 99.146,
"packages/server/src/server/agent/agent-manager.ts:function:anonymous_function_745": 68.34137686667079,
"packages/server/src/server/agent/agent-manager.ts:function:anonymous_function_870": 99.22200000000001,
"packages/server/src/server/agent/agent-manager.ts:function:appendTimelineItem": 98.88,
"packages/server/src/server/agent/agent-manager.ts:function:broadcastAgentAttention": 98.918,
"packages/server/src/server/agent/agent-manager.ts:function:cancelAgentRun": 81.79490388920122,
"packages/server/src/server/agent/agent-manager.ts:function:checkAndSetAttention": 78.11718562879335,
"packages/server/src/server/agent/agent-manager.ts:function:clearAgentAttention": 97.23,
"packages/server/src/server/agent/agent-manager.ts:function:closeAgent": 98.72800000000001,
"packages/server/src/server/agent/agent-manager.ts:function:constructor": 93.25847342818047,
"packages/server/src/server/agent/agent-manager.ts:function:createAbortError": 96.30000000000001,
"packages/server/src/server/agent/agent-manager.ts:function:createAgent": 98.804,
"packages/server/src/server/agent/agent-manager.ts:function:dispatch": 68.37883583162107,
"packages/server/src/server/agent/agent-manager.ts:function:dispatchStream": 99.184,
"packages/server/src/server/agent/agent-manager.ts:function:emitState": 98.956,
"packages/server/src/server/agent/agent-manager.ts:function:getAgent": 97.382,
"packages/server/src/server/agent/agent-manager.ts:function:getLastAssistantMessage": 84.37677654796607,
"packages/server/src/server/agent/agent-manager.ts:function:getPendingPermissions": 99.146,
"packages/server/src/server/agent/agent-manager.ts:function:getTimeline": 99.146,
"packages/server/src/server/agent/agent-manager.ts:function:handleStreamEvent": 81.0352492942186,
"packages/server/src/server/agent/agent-manager.ts:function:isAgentBusy": 99.184,
"packages/server/src/server/agent/agent-manager.ts:function:listAgents": 99.032,
"packages/server/src/server/agent/agent-manager.ts:function:listPersistedAgents": 81.98039721672357,
"packages/server/src/server/agent/agent-manager.ts:function:normalizeConfig": 79.57590433546588,
"packages/server/src/server/agent/agent-manager.ts:function:peekPendingPermission": 97.382,
"packages/server/src/server/agent/agent-manager.ts:function:persistSnapshot": 97.19200000000001,
"packages/server/src/server/agent/agent-manager.ts:function:primeAgentHistory": 99.146,
"packages/server/src/server/agent/agent-manager.ts:function:primeHistory": 93.0,
"packages/server/src/server/agent/agent-manager.ts:function:recordTimeline": 97.30600000000001,
"packages/server/src/server/agent/agent-manager.ts:function:recordUserMessage": 96.58688853580652,
"packages/server/src/server/agent/agent-manager.ts:function:refreshAgentFromPersistence": 87.91626470250797,
"packages/server/src/server/agent/agent-manager.ts:function:refreshRuntimeInfo": 86.92233886211271,
"packages/server/src/server/agent/agent-manager.ts:function:refreshSessionState": 82.52158183858704,
"packages/server/src/server/agent/agent-manager.ts:function:registerClient": 99.184,
"packages/server/src/server/agent/agent-manager.ts:function:registerSession": 87.69946008939706,
"packages/server/src/server/agent/agent-manager.ts:function:requireAgent": 97.268,
"packages/server/src/server/agent/agent-manager.ts:function:requireClient": 97.268,
"packages/server/src/server/agent/agent-manager.ts:function:respondToPermission": 98.918,
"packages/server/src/server/agent/agent-manager.ts:function:resumeAgent": 93.55393736355798,
"packages/server/src/server/agent/agent-manager.ts:function:runAgent": 76.68882653928085,
"packages/server/src/server/agent/agent-manager.ts:function:setAgentAttentionCallback": 99.184,
"packages/server/src/server/agent/agent-manager.ts:function:setAgentMode": 97.154,
"packages/server/src/server/agent/agent-manager.ts:function:setTitle": 99.108,
"packages/server/src/server/agent/agent-manager.ts:function:streamAgent": 72.07472080875084,
"packages/server/src/server/agent/agent-manager.ts:function:subscribe": 83.33331161725914,
"packages/server/src/server/agent/agent-manager.ts:function:waitForAgentEvent": 46.931938539865584,
"packages/server/src/server/agent/agent-manager.ts:refactoring:21": 100.0,
"packages/server/src/server/agent/agent-mcp.e2e.test.ts:function:anonymous_function_221": 63.69784714666284,
"packages/server/src/server/agent/agent-mcp.e2e.test.ts:function:anonymous_function_25": 95.82600000000001,
"packages/server/src/server/agent/agent-mcp.e2e.test.ts:function:anonymous_function_28": 95.97800000000001,
"packages/server/src/server/agent/agent-mcp.e2e.test.ts:function:anonymous_function_296": 99.22200000000001,
"packages/server/src/server/agent/agent-mcp.e2e.test.ts:function:anonymous_function_31": 99.22200000000001,
"packages/server/src/server/agent/agent-mcp.e2e.test.ts:function:anonymous_function_34": 99.22200000000001,
"packages/server/src/server/agent/agent-mcp.e2e.test.ts:function:anonymous_function_85": 49.05168649386368,
"packages/server/src/server/agent/agent-mcp.e2e.test.ts:function:anonymous_function_88": 71.23753961491997,
"packages/server/src/server/agent/agent-mcp.e2e.test.ts:function:getAvailablePort": 95.55468996995626,
"packages/server/src/server/agent/agent-mcp.e2e.test.ts:function:getStructuredContent": 89.756,
"packages/server/src/server/agent/agent-mcp.e2e.test.ts:function:isStructuredContent": 97.932,
"packages/server/src/server/agent/agent-mcp.e2e.test.ts:function:waitForAgentCompletion": 88.900646863081,
"packages/server/src/server/agent/agent-mcp.e2e.test.ts:refactoring:7": 100.0,
"packages/server/src/server/agent/agent-projections.test.ts:function:anonymous_function_125": 84.74101337428404,
"packages/server/src/server/agent/agent-projections.test.ts:function:anonymous_function_126": 89.27175896169179,
"packages/server/src/server/agent/agent-projections.test.ts:function:anonymous_function_176": 98.842,
"packages/server/src/server/agent/agent-projections.test.ts:function:anonymous_function_189": 98.842,
"packages/server/src/server/agent/agent-projections.test.ts:function:anonymous_function_202": 99.032,
"packages/server/src/server/agent/agent-projections.test.ts:function:anonymous_function_211": 82.80285111420895,
"packages/server/src/server/agent/agent-projections.test.ts:function:anonymous_function_212": 88.05505658262419,
"packages/server/src/server/agent/agent-projections.test.ts:function:anonymous_function_236": 99.22200000000001,
"packages/server/src/server/agent/agent-projections.test.ts:function:anonymous_function_265": 98.994,
"packages/server/src/server/agent/agent-projections.test.ts:function:anonymous_function_274": 99.032,
"packages/server/src/server/agent/agent-projections.test.ts:function:anonymous_function_282": 96.8869933295866,
"packages/server/src/server/agent/agent-projections.test.ts:function:anonymous_function_302": 99.108,
"packages/server/src/server/agent/agent-projections.test.ts:function:createManagedAgent": 81.49542857358038,
"packages/server/src/server/agent/agent-projections.test.ts:function:createPermission": 98.69,
"packages/server/src/server/agent/agent-projections.ts:function:anonymous_function_132": 98.994,
"packages/server/src/server/agent/agent-projections.ts:function:anonymous_function_169": 99.22200000000001,
"packages/server/src/server/agent/agent-projections.ts:function:anonymous_function_181": 99.22200000000001,
"packages/server/src/server/agent/agent-projections.ts:function:anonymous_function_182": 99.22200000000001,
"packages/server/src/server/agent/agent-projections.ts:function:anonymous_function_227": 99.22200000000001,
"packages/server/src/server/agent/agent-projections.ts:function:anonymous_function_228": 99.22200000000001,
"packages/server/src/server/agent/agent-projections.ts:function:buildSerializableConfig": 92.7536814558692,
"packages/server/src/server/agent/agent-projections.ts:function:cloneAvailableModes": 99.184,
"packages/server/src/server/agent/agent-projections.ts:function:cloneCapabilities": 99.108,
"packages/server/src/server/agent/agent-projections.ts:function:isJsonObject": 96.604,
"packages/server/src/server/agent/agent-projections.ts:function:sanitizeMetadata": 96.016,
"packages/server/src/server/agent/agent-projections.ts:function:sanitizeMetadataArray": 96.452,
"packages/server/src/server/agent/agent-projections.ts:function:sanitizeOptionalJson": 77.3401277348656,
"packages/server/src/server/agent/agent-projections.ts:function:sanitizePendingPermissions": 98.842,
"packages/server/src/server/agent/agent-projections.ts:function:sanitizePersistenceHandle": 93.31608988953998,
"packages/server/src/server/agent/agent-projections.ts:function:sanitizeRuntimeInfo": 90.92534201372067,
"packages/server/src/server/agent/agent-projections.ts:function:sanitizeUsage": 66.44443769122279,
"packages/server/src/server/agent/agent-projections.ts:function:toAgentPayload": 84.38583236235712,
"packages/server/src/server/agent/agent-projections.ts:function:toStoredAgentRecord": 87.9050627304651,
"packages/server/src/server/agent/agent-response-loop.e2e.test.ts:function:anonymous_function_15": 90.56854984095492,
"packages/server/src/server/agent/agent-response-loop.e2e.test.ts:function:anonymous_function_19": 98.994,
"packages/server/src/server/agent/agent-response-loop.e2e.test.ts:function:anonymous_function_28": 99.146,
"packages/server/src/server/agent/agent-response-loop.e2e.test.ts:function:anonymous_function_35": 95.9261160772688,
"packages/server/src/server/agent/agent-response-loop.test.ts:function:anonymous_function_10": 99.108,
"packages/server/src/server/agent/agent-response-loop.test.ts:function:anonymous_function_18": 81.08552317629595,
"packages/server/src/server/agent/agent-response-loop.test.ts:function:anonymous_function_19": 96.90512794405288,
"packages/server/src/server/agent/agent-response-loop.test.ts:function:anonymous_function_39": 96.91852744727481,
"packages/server/src/server/agent/agent-response-loop.test.ts:function:anonymous_function_59": 91.87790605394841,
"packages/server/src/server/agent/agent-response-loop.test.ts:function:anonymous_function_86": 95.54798554086241,
"packages/server/src/server/agent/agent-response-loop.test.ts:function:createScriptedCaller": 98.956,
"packages/server/src/server/agent/agent-response-loop.ts:function:anonymous_function_117": 99.22200000000001,
"packages/server/src/server/agent/agent-response-loop.ts:function:anonymous_function_185": 99.146,
"packages/server/src/server/agent/agent-response-loop.ts:function:anonymous_function_58": 96.376,
"packages/server/src/server/agent/agent-response-loop.ts:function:anonymous_function_63": 97.894,
"packages/server/src/server/agent/agent-response-loop.ts:function:anonymous_function_84": 95.08600000000001,
"packages/server/src/server/agent/agent-response-loop.ts:function:anonymous_function_89": 96.604,
"packages/server/src/server/agent/agent-response-loop.ts:function:buildBasePrompt": 98.956,
"packages/server/src/server/agent/agent-response-loop.ts:function:buildJsonSchemaValidator": 90.47168123864692,
"packages/server/src/server/agent/agent-response-loop.ts:function:buildRetryPrompt": 97.628,
"packages/server/src/server/agent/agent-response-loop.ts:function:buildValidator": 97.818,
"packages/server/src/server/agent/agent-response-loop.ts:function:buildZodValidator": 93.1463960125389,
"packages/server/src/server/agent/agent-response-loop.ts:function:constructor": 99.07,
"packages/server/src/server/agent/agent-response-loop.ts:function:generateStructuredAgentResponse": 89.02978896805931,
"packages/server/src/server/agent/agent-response-loop.ts:function:getStructuredAgentResponse": 76.24652398211776,
"packages/server/src/server/agent/agent-response-loop.ts:function:isZodSchema": 99.184,
"packages/server/src/server/agent/agent-self-identification.e2e.test.ts:function:anonymous_function_119": 74.78977582962509,
"packages/server/src/server/agent/agent-self-identification.e2e.test.ts:function:anonymous_function_122": 88.33354508895036,
"packages/server/src/server/agent/agent-self-identification.e2e.test.ts:function:anonymous_function_142": 99.22200000000001,
"packages/server/src/server/agent/agent-self-identification.e2e.test.ts:function:anonymous_function_174": 87.9509383304948,
"packages/server/src/server/agent/agent-self-identification.e2e.test.ts:function:anonymous_function_196": 99.22200000000001,
"packages/server/src/server/agent/agent-self-identification.e2e.test.ts:function:anonymous_function_228": 91.43167640074769,
"packages/server/src/server/agent/agent-self-identification.e2e.test.ts:function:anonymous_function_239": 99.22200000000001,
"packages/server/src/server/agent/agent-self-identification.e2e.test.ts:function:anonymous_function_263": 91.67761147937965,
"packages/server/src/server/agent/agent-self-identification.e2e.test.ts:function:anonymous_function_273": 99.22200000000001,
"packages/server/src/server/agent/agent-self-identification.e2e.test.ts:function:close": 99.22200000000001,
"packages/server/src/server/agent/agent-self-identification.e2e.test.ts:function:constructor": 99.22200000000001,
"packages/server/src/server/agent/agent-self-identification.e2e.test.ts:function:createSession": 99.184,
"packages/server/src/server/agent/agent-self-identification.e2e.test.ts:function:describePersistence": 99.07,
"packages/server/src/server/agent/agent-self-identification.e2e.test.ts:function:getAvailableModes": 99.184,
"packages/server/src/server/agent/agent-self-identification.e2e.test.ts:function:getCurrentMode": 99.184,
"packages/server/src/server/agent/agent-self-identification.e2e.test.ts:function:getPendingPermissions": 99.184,
"packages/server/src/server/agent/agent-self-identification.e2e.test.ts:function:getRuntimeInfo": 98.994,
"packages/server/src/server/agent/agent-self-identification.e2e.test.ts:function:initGitRepo": 98.766,
"packages/server/src/server/agent/agent-self-identification.e2e.test.ts:function:interrupt": 99.22200000000001,
"packages/server/src/server/agent/agent-self-identification.e2e.test.ts:function:respondToPermission": 99.22200000000001,
"packages/server/src/server/agent/agent-self-identification.e2e.test.ts:function:resumeSession": 99.07,
"packages/server/src/server/agent/agent-self-identification.e2e.test.ts:function:run": 99.032,
"packages/server/src/server/agent/agent-self-identification.e2e.test.ts:function:setMode": 99.22200000000001,
"packages/server/src/server/agent/agent-self-identification.e2e.test.ts:function:stream": 99.146,
"packages/server/src/server/agent/agent-self-identification.e2e.test.ts:function:streamHistory": 99.22200000000001,
"packages/server/src/server/agent/agent-storage.test.ts:function:anonymous_function_100": 99.108,
"packages/server/src/server/agent/agent-storage.test.ts:function:anonymous_function_106": 99.184,
"packages/server/src/server/agent/agent-storage.test.ts:function:anonymous_function_110": 93.3545266212931,
"packages/server/src/server/agent/agent-storage.test.ts:function:anonymous_function_140": 95.44624180430094,
"packages/server/src/server/agent/agent-storage.test.ts:function:anonymous_function_164": 97.65231798429855,
"packages/server/src/server/agent/agent-storage.test.ts:function:anonymous_function_182": 99.146,
"packages/server/src/server/agent/agent-storage.test.ts:function:anonymous_function_187": 98.918,
"packages/server/src/server/agent/agent-storage.test.ts:function:anonymous_function_198": 95.08464478302125,
"packages/server/src/server/agent/agent-storage.test.ts:function:anonymous_function_224": 96.61117450301859,
"packages/server/src/server/agent/agent-storage.test.ts:function:anonymous_function_248": 98.766,
"packages/server/src/server/agent/agent-storage.test.ts:function:anonymous_function_263": 96.61832995620449,
"packages/server/src/server/agent/agent-storage.test.ts:function:anonymous_function_284": 78.63904684731679,
"packages/server/src/server/agent/agent-storage.test.ts:function:anonymous_function_290": 98.842,
"packages/server/src/server/agent/agent-storage.test.ts:function:anonymous_function_315": 99.22200000000001,
"packages/server/src/server/agent/agent-storage.test.ts:function:anonymous_function_319": 88.04296826371787,
"packages/server/src/server/agent/agent-storage.test.ts:function:anonymous_function_344": 99.22200000000001,
"packages/server/src/server/agent/agent-storage.test.ts:function:anonymous_function_94": 68.35935200060484,
"packages/server/src/server/agent/agent-storage.test.ts:function:createManagedAgent": 84.52235294299787,
"packages/server/src/server/agent/agent-storage.ts:function:anonymous_function_112": 84.57806605610068,
"packages/server/src/server/agent/agent-storage.ts:function:anonymous_function_137": 97.344,
"packages/server/src/server/agent/agent-storage.ts:function:applySnapshot": 89.00889490269383,
"packages/server/src/server/agent/agent-storage.ts:function:beginDelete": 99.184,
"packages/server/src/server/agent/agent-storage.ts:function:buildRecordPath": 99.146,
"packages/server/src/server/agent/agent-storage.ts:function:constructor": 99.146,
"packages/server/src/server/agent/agent-storage.ts:function:doLoad": 90.69319850923088,
"packages/server/src/server/agent/agent-storage.ts:function:findAgentPathById": 85.67493318358436,
"packages/server/src/server/agent/agent-storage.ts:function:get": 90.85972885077065,
"packages/server/src/server/agent/agent-storage.ts:function:list": 99.146,
"packages/server/src/server/agent/agent-storage.ts:function:load": 95.352,
"packages/server/src/server/agent/agent-storage.ts:function:projectDirNameFromCwd": 97.78,
"packages/server/src/server/agent/agent-storage.ts:function:readRecordFile": 94.878,
"packages/server/src/server/agent/agent-storage.ts:function:remove": 62.61099583451939,
"packages/server/src/server/agent/agent-storage.ts:function:scanDisk": 72.47568574446751,
"packages/server/src/server/agent/agent-storage.ts:function:setTitle": 97.23,
"packages/server/src/server/agent/agent-storage.ts:function:upsert": 78.59914490958914,
"packages/server/src/server/agent/agent-storage.ts:function:writeFileAtomically": 98.956,
"packages/server/src/server/agent/agent-storage.ts:refactoring:7": 100.0,
"packages/server/src/server/agent/audio-utils.ts:function:anonymous_function_1": 99.22200000000001,
"packages/server/src/server/agent/audio-utils.ts:function:anonymous_function_12": 99.22200000000001,
"packages/server/src/server/agent/audio-utils.ts:function:anonymous_function_2": 99.22200000000001,
"packages/server/src/server/agent/audio-utils.ts:function:anonymous_function_3": 99.22200000000001,
"packages/server/src/server/agent/audio-utils.ts:function:anonymous_function_4": 99.22200000000001,
"packages/server/src/server/agent/audio-utils.ts:function:anonymous_function_5": 97.97,
"packages/server/src/server/agent/audio-utils.ts:function:anonymous_function_6": 99.22200000000001,
"packages/server/src/server/agent/audio-utils.ts:function:anonymous_function_7": 99.22200000000001,
"packages/server/src/server/agent/audio-utils.ts:function:inferAudioExtension": 97.856,
"packages/server/src/server/agent/audio-utils.ts:function:sanitizeForFilename": 96.642,
"packages/server/src/server/agent/dictation-debug.ts:function:maybePersistDictationDebugAudio": 92.24276771050951,
"packages/server/src/server/agent/llm-openai.ts:function:getAllTools": 99.184,
"packages/server/src/server/agent/mcp-server.test.ts:function:anonymous_function_105": 96.49745576209205,
"packages/server/src/server/agent/mcp-server.test.ts:function:anonymous_function_24": 99.22200000000001,
"packages/server/src/server/agent/mcp-server.test.ts:function:anonymous_function_48": 85.51976522892619,
"packages/server/src/server/agent/mcp-server.test.ts:function:anonymous_function_51": 93.51899051488569,
"packages/server/src/server/agent/mcp-server.test.ts:function:anonymous_function_80": 95.37994644264239,
"packages/server/src/server/agent/mcp-server.test.ts:function:createTestDeps": 93.33437349536179,
"packages/server/src/server/agent/mcp-server.ts:function:anonymous_function_1061": 99.032,
"packages/server/src/server/agent/mcp-server.ts:function:anonymous_function_1087": 98.72800000000001,
"packages/server/src/server/agent/mcp-server.ts:function:anonymous_function_1088": 98.994,
"packages/server/src/server/agent/mcp-server.ts:function:anonymous_function_1090": 99.108,
"packages/server/src/server/agent/mcp-server.ts:function:anonymous_function_1119": 99.032,
"packages/server/src/server/agent/mcp-server.ts:function:anonymous_function_142": 99.184,
"packages/server/src/server/agent/mcp-server.ts:function:anonymous_function_146": 97.856,
"packages/server/src/server/agent/mcp-server.ts:function:anonymous_function_159": 99.22200000000001,
"packages/server/src/server/agent/mcp-server.ts:function:anonymous_function_168": 99.22200000000001,
"packages/server/src/server/agent/mcp-server.ts:function:anonymous_function_203": 95.82600000000001,
"packages/server/src/server/agent/mcp-server.ts:function:anonymous_function_388": 60.224503644207196,
"packages/server/src/server/agent/mcp-server.ts:function:anonymous_function_560": 75.55393164031868,
"packages/server/src/server/agent/mcp-server.ts:function:anonymous_function_564": 93.626,
"packages/server/src/server/agent/mcp-server.ts:function:anonymous_function_575": 97.818,
"packages/server/src/server/agent/mcp-server.ts:function:anonymous_function_587": 99.22200000000001,
"packages/server/src/server/agent/mcp-server.ts:function:anonymous_function_593": 97.856,
"packages/server/src/server/agent/mcp-server.ts:function:anonymous_function_653": 55.44847445054963,
"packages/server/src/server/agent/mcp-server.ts:function:anonymous_function_691": 99.22200000000001,
"packages/server/src/server/agent/mcp-server.ts:function:anonymous_function_773": 96.63780503622935,
"packages/server/src/server/agent/mcp-server.ts:function:anonymous_function_804": 98.842,
"packages/server/src/server/agent/mcp-server.ts:function:anonymous_function_807": 99.22200000000001,
"packages/server/src/server/agent/mcp-server.ts:function:anonymous_function_831": 97.666,
"packages/server/src/server/agent/mcp-server.ts:function:anonymous_function_855": 98.994,
"packages/server/src/server/agent/mcp-server.ts:function:anonymous_function_885": 85.4466009354188,
"packages/server/src/server/agent/mcp-server.ts:function:anonymous_function_90": 99.22200000000001,
"packages/server/src/server/agent/mcp-server.ts:function:anonymous_function_935": 88.32805254326453,
"packages/server/src/server/agent/mcp-server.ts:function:anonymous_function_987": 77.59751678790172,
"packages/server/src/server/agent/mcp-server.ts:function:constructor": 99.108,
"packages/server/src/server/agent/mcp-server.ts:function:createAgentMcpServer": 35.0,
"packages/server/src/server/agent/mcp-server.ts:function:expandPath": 96.054,
"packages/server/src/server/agent/mcp-server.ts:function:mapModeAcrossProviders": 84.16145899339709,
"packages/server/src/server/agent/mcp-server.ts:function:resolveAgentTitle": 95.62372705294983,
"packages/server/src/server/agent/mcp-server.ts:function:sanitizePermissionRequest": 87.68833168676545,
"packages/server/src/server/agent/mcp-server.ts:function:serializeSnapshotWithMetadata": 98.994,
"packages/server/src/server/agent/mcp-server.ts:function:startAgentRun": 94.50127338096506,
"packages/server/src/server/agent/mcp-server.ts:function:waitForAgentWithTimeout": 76.01551100605852,
"packages/server/src/server/agent/model-catalog.e2e.test.ts:function:anonymous_function_10": 99.184,
"packages/server/src/server/agent/model-catalog.e2e.test.ts:function:anonymous_function_14": 99.184,
"packages/server/src/server/agent/model-catalog.e2e.test.ts:function:anonymous_function_20": 98.842,
"packages/server/src/server/agent/model-catalog.e2e.test.ts:function:anonymous_function_27": 99.22200000000001,
"packages/server/src/server/agent/model-catalog.e2e.test.ts:function:anonymous_function_29": 99.22200000000001,
"packages/server/src/server/agent/model-catalog.e2e.test.ts:function:anonymous_function_30": 99.22200000000001,
"packages/server/src/server/agent/model-catalog.e2e.test.ts:function:anonymous_function_37": 99.032,
"packages/server/src/server/agent/model-catalog.e2e.test.ts:function:anonymous_function_41": 99.22200000000001,
"packages/server/src/server/agent/model-catalog.e2e.test.ts:function:anonymous_function_42": 99.22200000000001,
"packages/server/src/server/agent/model-catalog.e2e.test.ts:function:anonymous_function_49": 96.22704596292806,
"packages/server/src/server/agent/model-catalog.e2e.test.ts:function:anonymous_function_64": 99.22200000000001,
"packages/server/src/server/agent/model-catalog.e2e.test.ts:function:anonymous_function_7": 87.16009239576826,
"packages/server/src/server/agent/model-resolver.test.ts:function:anonymous_function_13": 87.05893976811329,
"packages/server/src/server/agent/model-resolver.test.ts:function:anonymous_function_14": 99.146,
"packages/server/src/server/agent/model-resolver.test.ts:function:anonymous_function_19": 98.88,
"packages/server/src/server/agent/model-resolver.test.ts:function:anonymous_function_31": 97.10941638361386,
"packages/server/src/server/agent/model-resolver.test.ts:function:anonymous_function_4": 99.184,
"packages/server/src/server/agent/model-resolver.test.ts:function:anonymous_function_50": 98.51843812928215,
"packages/server/src/server/agent/model-resolver.test.ts:function:anonymous_function_66": 98.804,
"packages/server/src/server/agent/model-resolver.ts:function:anonymous_function_25": 99.22200000000001,
"packages/server/src/server/agent/model-resolver.ts:function:resolveAgentModel": 89.17185818345457,
"packages/server/src/server/agent/model-resolver.ts:refactoring:1": 100.0,
"packages/server/src/server/agent/openai-realtime-transcription.ts:function:anonymous_function_109": 97.23,
"packages/server/src/server/agent/openai-realtime-transcription.ts:function:anonymous_function_118": 92.98720545562243,
"packages/server/src/server/agent/openai-realtime-transcription.ts:function:anonymous_function_140": 62.20777974801152,
"packages/server/src/server/agent/openai-realtime-transcription.ts:function:anonymous_function_200": 97.42,
"packages/server/src/server/agent/openai-realtime-transcription.ts:function:anonymous_function_204": 95.352,
"packages/server/src/server/agent/openai-realtime-transcription.ts:function:anonymous_function_98": 49.805539149766496,
"packages/server/src/server/agent/openai-realtime-transcription.ts:function:appendPcm16Base64": 94.992,
"packages/server/src/server/agent/openai-realtime-transcription.ts:function:clear": 94.992,
"packages/server/src/server/agent/openai-realtime-transcription.ts:function:close": 94.84,
"packages/server/src/server/agent/openai-realtime-transcription.ts:function:commit": 94.992,
"packages/server/src/server/agent/openai-realtime-transcription.ts:function:connect": 49.00257141674411,
"packages/server/src/server/agent/openai-realtime-transcription.ts:function:constructor": 97.94643602050023,
"packages/server/src/server/agent/opencode-reasoning.e2e.test.ts:function:anonymous_function_11": 70.22512042498911,
"packages/server/src/server/agent/opencode-reasoning.e2e.test.ts:function:anonymous_function_15": 99.146,
"packages/server/src/server/agent/opencode-reasoning.e2e.test.ts:function:anonymous_function_20": 99.146,
"packages/server/src/server/agent/opencode-reasoning.e2e.test.ts:function:anonymous_function_27": 71.31501242322136,
"packages/server/src/server/agent/opencode-reasoning.e2e.test.ts:function:anonymous_function_34": 97.742,
"packages/server/src/server/agent/opencode-reasoning.e2e.test.ts:function:anonymous_function_83": 99.22200000000001,
"packages/server/src/server/agent/opencode-reasoning.e2e.test.ts:function:anonymous_function_98": 97.97,
"packages/server/src/server/agent/orchestrator-instructions.ts:function:getOrchestratorModeInstructions": 97.588,
"packages/server/src/server/agent/orchestrator-instructions.ts:refactoring:1": 100.0,
"packages/server/src/server/agent/paseo-instructions-tag.test.ts:function:anonymous_function_10": 99.108,
"packages/server/src/server/agent/paseo-instructions-tag.test.ts:function:anonymous_function_16": 99.07,
"packages/server/src/server/agent/paseo-instructions-tag.test.ts:function:anonymous_function_23": 98.918,
"packages/server/src/server/agent/paseo-instructions-tag.test.ts:function:anonymous_function_34": 99.108,
"packages/server/src/server/agent/paseo-instructions-tag.test.ts:function:anonymous_function_40": 99.146,
"packages/server/src/server/agent/paseo-instructions-tag.test.ts:function:anonymous_function_9": 92.66016238959486,
"packages/server/src/server/agent/paseo-instructions-tag.ts:function:formatPaseoInstructionTag": 99.184,
"packages/server/src/server/agent/paseo-instructions-tag.ts:function:hasLeadingPaseoInstructionTag": 99.184,
"packages/server/src/server/agent/paseo-instructions-tag.ts:function:injectLeadingPaseoInstructionTag": 96.30000000000001,
"packages/server/src/server/agent/paseo-instructions-tag.ts:function:stripLeadingPaseoInstructionTag": 94.07941843283464,
"packages/server/src/server/agent/pcm16-resampler.ts:function:constructor": 99.032,
"packages/server/src/server/agent/pcm16-resampler.ts:function:processChunk": 70.48006062607041,
"packages/server/src/server/agent/pcm16-resampler.ts:function:reset": 99.146,
"packages/server/src/server/agent/pcm16-resampler.ts:refactoring:2": 100.0,
"packages/server/src/server/agent/provider-manifest.ts:function:anonymous_function_90": 99.22200000000001,
"packages/server/src/server/agent/provider-manifest.ts:function:anonymous_function_97": 99.22200000000001,
"packages/server/src/server/agent/provider-manifest.ts:function:getAgentProviderDefinition": 97.78,
"packages/server/src/server/agent/provider-manifest.ts:function:isValidAgentProvider": 99.184,
"packages/server/src/server/agent/provider-registry.ts:function:anonymous_function_39": 99.22200000000001,
"packages/server/src/server/agent/provider-registry.ts:function:anonymous_function_40": 99.22200000000001,
"packages/server/src/server/agent/provider-registry.ts:function:anonymous_function_41": 99.22200000000001,
"packages/server/src/server/agent/provider-registry.ts:function:anonymous_function_44": 99.22200000000001,
"packages/server/src/server/agent/provider-registry.ts:function:anonymous_function_45": 99.22200000000001,
"packages/server/src/server/agent/provider-registry.ts:function:anonymous_function_46": 99.22200000000001,
"packages/server/src/server/agent/provider-registry.ts:function:anonymous_function_49": 99.22200000000001,
"packages/server/src/server/agent/provider-registry.ts:function:anonymous_function_50": 99.22200000000001,
"packages/server/src/server/agent/provider-registry.ts:function:anonymous_function_51": 99.22200000000001,
"packages/server/src/server/agent/provider-registry.ts:function:buildProviderRegistry": 95.24738211385574,
"packages/server/src/server/agent/provider-registry.ts:function:createAllClients": 98.994,
"packages/server/src/server/agent/provider-registry.ts:function:shutdownProviders": 99.184,
"packages/server/src/server/agent/providers/claude-agent-commands.e2e.test.ts:function:anonymous_function_10": 99.184,
"packages/server/src/server/agent/providers/claude-agent-commands.e2e.test.ts:function:anonymous_function_14": 99.108,
"packages/server/src/server/agent/providers/claude-agent-commands.e2e.test.ts:function:anonymous_function_16": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent-commands.e2e.test.ts:function:anonymous_function_20": 92.43827690545024,
"packages/server/src/server/agent/providers/claude-agent-commands.e2e.test.ts:function:anonymous_function_49": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent-commands.e2e.test.ts:function:anonymous_function_55": 99.032,
"packages/server/src/server/agent/providers/claude-agent-commands.e2e.test.ts:function:anonymous_function_7": 88.41039899625024,
"packages/server/src/server/agent/providers/claude-agent-commands.test.ts:function:anonymous_function_119": 97.95372646571586,
"packages/server/src/server/agent/providers/claude-agent-commands.test.ts:function:anonymous_function_136": 97.34662264708805,
"packages/server/src/server/agent/providers/claude-agent-commands.test.ts:function:anonymous_function_155": 98.804,
"packages/server/src/server/agent/providers/claude-agent-commands.test.ts:function:anonymous_function_19": 78.12714606748017,
"packages/server/src/server/agent/providers/claude-agent-commands.test.ts:function:anonymous_function_33": 99.184,
"packages/server/src/server/agent/providers/claude-agent-commands.test.ts:function:anonymous_function_37": 97.856,
"packages/server/src/server/agent/providers/claude-agent-commands.test.ts:function:anonymous_function_43": 88.99388902550388,
"packages/server/src/server/agent/providers/claude-agent-commands.test.ts:function:anonymous_function_44": 98.18966676776982,
"packages/server/src/server/agent/providers/claude-agent-commands.test.ts:function:anonymous_function_61": 95.83710012330411,
"packages/server/src/server/agent/providers/claude-agent-commands.test.ts:function:anonymous_function_82": 98.842,
"packages/server/src/server/agent/providers/claude-agent-commands.test.ts:function:anonymous_function_86": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent-commands.test.ts:function:anonymous_function_96": 86.4597662787043,
"packages/server/src/server/agent/providers/claude-agent-commands.test.ts:function:anonymous_function_97": 96.1545616518474,
"packages/server/src/server/agent/providers/claude-agent.history.test.ts:function:anonymous_function_18": 98.994,
"packages/server/src/server/agent/providers/claude-agent.history.test.ts:function:anonymous_function_4": 96.02834968785447,
"packages/server/src/server/agent/providers/claude-agent.history.test.ts:function:anonymous_function_5": 99.184,
"packages/server/src/server/agent/providers/claude-agent.history.test.ts:function:anonymous_function_9": 98.994,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_1008": 97.42,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_1011": 98.994,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_1030": 78.70091576504998,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_1087": 89.68311219555267,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_1088": 93.28745730318235,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_1122": 98.614,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_1131": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_1184": 97.97,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_1189": 99.146,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_1231": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_1262": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_1265": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_1267": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_1281": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_1284": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_129": 91.08977062660149,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_1295": 87.64182806825879,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_1300": 89.1837623890432,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_1320": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_1322": 95.352,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_138": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_139": 99.184,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_142": 99.184,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_149": 97.856,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_154": 99.184,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_162": 72.75995676634071,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_210": 96.566,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_211": 96.642,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_222": 99.146,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_223": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_231": 35.0,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_235": 97.10007058941552,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_253": 99.184,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_256": 99.184,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_259": 99.184,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_262": 99.184,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_267": 98.15500519966567,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_288": 87.9822259843285,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_320": 87.91636893756551,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_343": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_354": 78.31113147198612,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_391": 60.77923135233302,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_419": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_423": 97.932,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_427": 77.70552850773711,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_431": 94.67,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_449": 97.97,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_469": 68.25045981461207,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_480": 99.146,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_518": 95.61800000000001,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_534": 68.2860479300074,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_545": 99.146,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_584": 95.61800000000001,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_600": 65.75857713620806,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_612": 99.146,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_655": 95.61800000000001,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_671": 68.45556818172338,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_729": 97.29447668293295,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_751": 72.65042746641763,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_79": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_796": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_801": 97.97,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_805": 96.642,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_832": 95.9794960893835,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_839": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_857": 83.3961376590403,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_874": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_899": 66.30835531091734,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_939": 97.42,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_943": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_946": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_977": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_983": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_985": 99.07,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_995": 97.42,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:anonymous_function_998": 99.07,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:assertHydratedReplica": 94.14607457318691,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:autoApprove": 97.856,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:buildToolSnapshotKey": 95.27600000000001,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:buildUserMessageUpdate": 98.614,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:cleanupClaudeHistory": 97.666,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:extractAgentToolSnapshots": 99.07,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:extractCommandText": 85.01218973798521,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:getClaudeHistoryPaths": 99.108,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:isFileWriteResult": 96.68,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:isKeyValueObject": 97.932,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:isPermissionCommandToolCall": 97.78,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:isSleepCommandToolCall": 99.146,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:normalizeCwdCandidates": 95.902,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:rawContainsText": 86.10688790602582,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:recordTimelineUpdate": 97.55199999999999,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:resolveClaudeHistoryPath": 99.108,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:sanitizeClaudeProjectName": 99.184,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:startAgentMcpServer": 59.06875866847707,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:stateIncludesUserMessage": 97.856,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:tmpCwd": 95.97800000000001,
"packages/server/src/server/agent/providers/claude-agent.test.ts:function:waitForHistoryFile": 94.61200000000001,
"packages/server/src/server/agent/providers/claude-agent.ts:function:[Symbol.asyncIterator]": 91.2284950062313,
"packages/server/src/server/agent/providers/claude-agent.ts:function:anonymous_function_1147": 68.63649433499334,
"packages/server/src/server/agent/providers/claude-agent.ts:function:anonymous_function_1171": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.ts:function:anonymous_function_1177": 81.53121664157904,
"packages/server/src/server/agent/providers/claude-agent.ts:function:anonymous_function_1179": 93.626,
"packages/server/src/server/agent/providers/claude-agent.ts:function:anonymous_function_1189": 98.842,
"packages/server/src/server/agent/providers/claude-agent.ts:function:anonymous_function_1201": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.ts:function:anonymous_function_1203": 99.108,
"packages/server/src/server/agent/providers/claude-agent.ts:function:anonymous_function_1215": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.ts:function:anonymous_function_1231": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.ts:function:anonymous_function_1233": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.ts:function:anonymous_function_1323": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.ts:function:anonymous_function_1715": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.ts:function:anonymous_function_1736": 99.146,
"packages/server/src/server/agent/providers/claude-agent.ts:function:anonymous_function_1812": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.ts:function:anonymous_function_1836": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.ts:function:anonymous_function_1852": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.ts:function:anonymous_function_1892": 92.8716730010793,
"packages/server/src/server/agent/providers/claude-agent.ts:function:anonymous_function_1902": 99.184,
"packages/server/src/server/agent/providers/claude-agent.ts:function:anonymous_function_1963": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.ts:function:anonymous_function_349": 98.956,
"packages/server/src/server/agent/providers/claude-agent.ts:function:anonymous_function_552": 95.81309797563435,
"packages/server/src/server/agent/providers/claude-agent.ts:function:anonymous_function_559": 99.184,
"packages/server/src/server/agent/providers/claude-agent.ts:function:anonymous_function_582": 99.184,
"packages/server/src/server/agent/providers/claude-agent.ts:function:anonymous_function_655": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.ts:function:anonymous_function_731": 99.108,
"packages/server/src/server/agent/providers/claude-agent.ts:function:anonymous_function_806": 99.184,
"packages/server/src/server/agent/providers/claude-agent.ts:function:anonymous_function_96": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-agent.ts:function:appendCallerAgentId": 94.138,
"packages/server/src/server/agent/providers/claude-agent.ts:function:applyToolInput": 94.76400000000001,
"packages/server/src/server/agent/providers/claude-agent.ts:function:assertConfig": 97.30600000000001,
"packages/server/src/server/agent/providers/claude-agent.ts:function:buildOptions": 74.91256309849956,
"packages/server/src/server/agent/providers/claude-agent.ts:function:buildStructuredToolResult": 50.65099422685399,
"packages/server/src/server/agent/providers/claude-agent.ts:function:buildToolOutput": 75.41629765824464,
"packages/server/src/server/agent/providers/claude-agent.ts:function:close": 98.994,
"packages/server/src/server/agent/providers/claude-agent.ts:function:coerceSessionMetadata": 52.76718779615275,
"packages/server/src/server/agent/providers/claude-agent.ts:function:collectRecentClaudeSessions": 75.85811664512859,
"packages/server/src/server/agent/providers/claude-agent.ts:function:constructor": 82.98634863532023,
"packages/server/src/server/agent/providers/claude-agent.ts:function:convertClaudeHistoryEntry": 72.96864434410872,
"packages/server/src/server/agent/providers/claude-agent.ts:function:convertHistoryEntry": 99.108,
"packages/server/src/server/agent/providers/claude-agent.ts:function:convertUsage": 97.116,
"packages/server/src/server/agent/providers/claude-agent.ts:function:createSession": 99.032,
"packages/server/src/server/agent/providers/claude-agent.ts:function:describePersistence": 95.01732476339369,
"packages/server/src/server/agent/providers/claude-agent.ts:function:detectFileKind": 92.71600000000001,
"packages/server/src/server/agent/providers/claude-agent.ts:function:emitPlanTodoItems": 95.31400000000001,
"packages/server/src/server/agent/providers/claude-agent.ts:function:end": 97.268,
"packages/server/src/server/agent/providers/claude-agent.ts:function:enqueueTimeline": 99.184,
"packages/server/src/server/agent/providers/claude-agent.ts:function:ensureQuery": 97.04,
"packages/server/src/server/agent/providers/claude-agent.ts:function:executeCommand": 72.49394353387197,
"packages/server/src/server/agent/providers/claude-agent.ts:function:extractClaudeUserText": 87.49356090339988,
"packages/server/src/server/agent/providers/claude-agent.ts:function:extractCommandText": 85.23159502640026,
"packages/server/src/server/agent/providers/claude-agent.ts:function:extractFileChanges": 70.87789375313707,
"packages/server/src/server/agent/providers/claude-agent.ts:function:extractUserMessageText": 73.51225023088887,
"packages/server/src/server/agent/providers/claude-agent.ts:function:forwardPromptEvents": 65.0867046802189,
"packages/server/src/server/agent/providers/claude-agent.ts:function:getAvailableModes": 99.184,
"packages/server/src/server/agent/providers/claude-agent.ts:function:getCurrentMode": 99.184,
"packages/server/src/server/agent/providers/claude-agent.ts:function:getPendingPermissions": 99.184,
"packages/server/src/server/agent/providers/claude-agent.ts:function:getRuntimeInfo": 97.04,
"packages/server/src/server/agent/providers/claude-agent.ts:function:handleSystemMessage": 83.8290750134281,
"packages/server/src/server/agent/providers/claude-agent.ts:function:handleToolInputDelta": 79.12033840220366,
"packages/server/src/server/agent/providers/claude-agent.ts:function:handleToolResult": 86.12830965913585,
"packages/server/src/server/agent/providers/claude-agent.ts:function:handleToolUseStart": 93.02228656687214,
"packages/server/src/server/agent/providers/claude-agent.ts:function:hasToolLikeBlock": 94.76400000000001,
"packages/server/src/server/agent/providers/claude-agent.ts:function:id": 99.184,
"packages/server/src/server/agent/providers/claude-agent.ts:function:interrupt": 99.184,
"packages/server/src/server/agent/providers/claude-agent.ts:function:interruptActiveTurn": 86.07531531083879,
"packages/server/src/server/agent/providers/claude-agent.ts:function:isClaudeContentChunk": 97.932,
"packages/server/src/server/agent/providers/claude-agent.ts:function:isClaudeExtra": 99.184,
"packages/server/src/server/agent/providers/claude-agent.ts:function:isClaudeMcpServerConfig": 95.31400000000001,
"packages/server/src/server/agent/providers/claude-agent.ts:function:isCommandTool": 86.286,
"packages/server/src/server/agent/providers/claude-agent.ts:function:isMetadata": 97.932,
"packages/server/src/server/agent/providers/claude-agent.ts:function:isPermissionMode": 97.932,
"packages/server/src/server/agent/providers/claude-agent.ts:function:isPermissionUpdate": 90.19414181228866,
"packages/server/src/server/agent/providers/claude-agent.ts:function:listCommands": 98.956,
"packages/server/src/server/agent/providers/claude-agent.ts:function:listModels": 83.40126975566027,
"packages/server/src/server/agent/providers/claude-agent.ts:function:listPersistedAgents": 90.06062204201399,
"packages/server/src/server/agent/providers/claude-agent.ts:function:loadPersistedHistory": 68.27634843778316,
"packages/server/src/server/agent/providers/claude-agent.ts:function:mapBlocksToTimeline": 55.33178638750303,
"packages/server/src/server/agent/providers/claude-agent.ts:function:mapPartialEvent": 60.52660763783657,
"packages/server/src/server/agent/providers/claude-agent.ts:function:normalizeHistoryBlocks": 94.65,
"packages/server/src/server/agent/providers/claude-agent.ts:function:normalizeMcpServers": 93.474,
"packages/server/src/server/agent/providers/claude-agent.ts:function:normalizePermissionUpdates": 93.15199999999999,
"packages/server/src/server/agent/providers/claude-agent.ts:function:normalizeToolInput": 97.30600000000001,
"packages/server/src/server/agent/providers/claude-agent.ts:function:parseClaudeSessionDescriptor": 53.76805405258671,
"packages/server/src/server/agent/providers/claude-agent.ts:function:parsePatchFileList": 80.92727535347268,
"packages/server/src/server/agent/providers/claude-agent.ts:function:pathExists": 95.97800000000001,
"packages/server/src/server/agent/providers/claude-agent.ts:function:processPrompt": 71.65831532312903,
"packages/server/src/server/agent/providers/claude-agent.ts:function:push": 95.352,
"packages/server/src/server/agent/providers/claude-agent.ts:function:pushEvent": 97.344,
"packages/server/src/server/agent/providers/claude-agent.ts:function:pushToolCall": 97.116,
"packages/server/src/server/agent/providers/claude-agent.ts:function:rejectAllPendingPermissions": 99.032,
"packages/server/src/server/agent/providers/claude-agent.ts:function:relativizePath": 90.8,
"packages/server/src/server/agent/providers/claude-agent.ts:function:resolveHistoryPath": 97.23,
"packages/server/src/server/agent/providers/claude-agent.ts:function:respondToPermission": 85.52168105174664,
"packages/server/src/server/agent/providers/claude-agent.ts:function:resumeSession": 95.91143518361872,
"packages/server/src/server/agent/providers/claude-agent.ts:function:run": 73.26531045634687,
"packages/server/src/server/agent/providers/claude-agent.ts:function:setManagedAgentId": 99.184,
"packages/server/src/server/agent/providers/claude-agent.ts:function:setMode": 95.238,
"packages/server/src/server/agent/providers/claude-agent.ts:function:stream": 56.11292529416228,
"packages/server/src/server/agent/providers/claude-agent.ts:function:streamHistory": 94.84,
"packages/server/src/server/agent/providers/claude-agent.ts:function:toSdkUserMessage": 86.39159676887017,
"packages/server/src/server/agent/providers/claude-agent.ts:function:translateMessageToEvents": 70.38265591799644,
"packages/server/src/server/agent/providers/claude-agent.ts:function:upsertToolUseEntry": 59.64394518400982,
"packages/server/src/server/agent/providers/claude-agent.ts:refactoring:40": 100.0,
"packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts:function:[Symbol.asyncIterator]": 95.27600000000001,
"packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts:function:anonymous_function_133": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts:function:anonymous_function_36": 95.428,
"packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts:function:anonymous_function_43": 99.22200000000001,
"packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts:function:anonymous_function_58": 61.741798219590514,
"packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts:function:anonymous_function_59": 61.97783485691184,
"packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts:function:end": 97.30600000000001,
"packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts:function:push": 95.46600000000001,
"packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts:function:tmpCwd": 95.97800000000001,
"packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts:refactoring:4": 100.0,
"packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts:function:anonymous_function_21": 95.36334652423854,
"packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts:function:anonymous_function_30": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts:function:anonymous_function_31": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts:function:anonymous_function_33": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts:function:anonymous_function_34": 98.994,
"packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts:function:anonymous_function_45": 86.42198410553661,
"packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts:function:anonymous_function_46": 86.79902148520362,
"packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts:function:isCodexAvailable": 95.97800000000001,
"packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts:function:run": 93.70728589943765,
"packages/server/src/server/agent/providers/codex-mcp-agent-commands.e2e.test.ts:function:anonymous_function_113": 99.032,
"packages/server/src/server/agent/providers/codex-mcp-agent-commands.e2e.test.ts:function:anonymous_function_14": 77.85652319631409,
"packages/server/src/server/agent/providers/codex-mcp-agent-commands.e2e.test.ts:function:anonymous_function_17": 99.184,
"packages/server/src/server/agent/providers/codex-mcp-agent-commands.e2e.test.ts:function:anonymous_function_21": 99.184,
"packages/server/src/server/agent/providers/codex-mcp-agent-commands.e2e.test.ts:function:anonymous_function_25": 86.96302404234214,
"packages/server/src/server/agent/providers/codex-mcp-agent-commands.e2e.test.ts:function:anonymous_function_67": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent-commands.e2e.test.ts:function:anonymous_function_79": 89.30990455275212,
"packages/server/src/server/agent/providers/codex-mcp-agent-commands.e2e.test.ts:function:tmpDir": 99.184,
"packages/server/src/server/agent/providers/codex-mcp-agent.commands.test.ts:function:anonymous_function_22": 98.918,
"packages/server/src/server/agent/providers/codex-mcp-agent.commands.test.ts:function:anonymous_function_33": 99.146,
"packages/server/src/server/agent/providers/codex-mcp-agent.commands.test.ts:function:anonymous_function_4": 92.30961208116393,
"packages/server/src/server/agent/providers/codex-mcp-agent.commands.test.ts:function:anonymous_function_5": 98.25170294785099,
"packages/server/src/server/agent/providers/codex-mcp-agent.paseo-instructions.test.ts:function:anonymous_function_8": 91.73091308693284,
"packages/server/src/server/agent/providers/codex-mcp-agent.paseo-instructions.test.ts:function:anonymous_function_9": 92.1208951894643,
"packages/server/src/server/agent/providers/codex-mcp-agent.resume-errors.test.ts:function:anonymous_function_12": 99.07,
"packages/server/src/server/agent/providers/codex-mcp-agent.resume-errors.test.ts:function:anonymous_function_4": 98.72800000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.resume-errors.test.ts:function:anonymous_function_5": 99.07,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_1008": 71.85409528809618,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_1055": 93.816,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_1087": 87.19962285581988,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_1125": 59.960161803265514,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_1185": 97.458,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_1201": 76.29269923819304,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_1252": 64.93035365785967,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_1319": 59.79446689321253,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_1397": 57.09919642306035,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_1474": 61.02447413466432,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_1557": 93.25687080649645,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_1578": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_163": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_168": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_30": 96.33800000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_317": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_403": 35.0,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_408": 70.96318093966687,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_478": 93.5731386168454,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_508": 52.89927276173039,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_51": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_52": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_569": 97.458,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_570": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_583": 97.458,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_59": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_610": 46.871788788504645,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_68": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_682": 96.946,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_689": 96.908,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_698": 96.908,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_707": 96.946,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_722": 97.458,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_727": 97.42,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_734": 97.42,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_741": 95.61800000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_758": 45.74174663172208,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_842": 97.458,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_846": 97.344,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_847": 97.382,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_852": 97.344,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_853": 97.382,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_864": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_868": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_871": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_874": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_877": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_881": 97.458,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_883": 93.19,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_901": 97.458,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_921": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_922": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_923": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_925": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_926": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_927": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_929": 97.382,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_933": 97.382,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:anonymous_function_950": 73.45953988429956,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:commandOutputText": 91.62677955343074,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:commandTextFromInput": 96.49000000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:extractExitCode": 92.12970827196429,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:getConversationIdFromMetadata": 97.78,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:getProviderItemType": 96.528,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:isProcessRunning": 99.184,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:isSleepCommandToolCall": 97.78,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:listProcesses": 95.78800000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:loadCodexMcpAgentClient": 94.138,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:normalizeToolName": 96.33800000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:parseProviderEvent": 93.98444149057165,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:providerFromEvent": 99.184,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:resolveExclusiveValue": 96.06668996995626,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:resolveNodeModulesPath": 97.55199999999999,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:resolveRawResponseItemType": 70.29023584048892,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:runStep": 88.48599999999999,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:stringifyUnknown": 94.214,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:tmpCwd": 99.184,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:useTempCodexSessionDir": 95.76267892621225,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:waitForProcessExit": 95.902,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:function:writeTestMcpServerScript": 87.1869505090553,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:[Symbol.asyncIterator]": 94.27197765474783,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_1017": 99.146,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_1028": 97.628,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_1054": 90.25742355671846,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_1089": 99.108,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_1109": 69.30020901507245,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_1216": 43.44949065279989,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_1418": 62.31872159894066,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_1505": 99.146,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_1516": 99.146,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_1583": 92.92382374393283,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_1592": 97.70400000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_1620": 99.108,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_1650": 88.11514514858068,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_168": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_1716": 99.146,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_1721": 99.146,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_1736": 97.628,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_1754": 99.146,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_179": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_1810": 83.35547062196775,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_1899": 97.818,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_2066": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_2073": 94.024,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_2131": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_2169": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_2281": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_2405": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_246": 97.628,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_260": 97.97,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_2896": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_2897": 94.992,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_2904": 99.108,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_2923": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_2957": 97.458,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_2993": 95.31400000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_3001": 99.184,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_3098": 99.108,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_3105": 99.146,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_3232": 97.00200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_3437": 95.238,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_3596": 99.07,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_3634": 99.07,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_3657": 99.07,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_3706": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_3837": 99.146,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_399": 97.78,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_409": 97.78,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_4095": 97.30600000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_4155": 97.30600000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_430": 91.67810796493545,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_4382": 96.794,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_4630": 98.842,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_471": 97.438,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_4731": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_4743": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_4746": 99.184,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_4750": 93.626,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_4772": 97.154,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_4773": 97.268,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_4792": 94.04400000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_4907": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_4908": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_5007": 95.694,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_501": 97.438,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_5088": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_5318": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_5358": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_5374": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_546": 82.04977326674279,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_611": 99.07,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_624": 94.14188628436298,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_650": 91.98131496499414,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_692": 99.032,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_717": 89.38422586847958,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_755": 99.108,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_772": 98.956,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_797": 99.032,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_813": 98.994,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_829": 97.476,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_852": 97.476,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_875": 97.476,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_909": 99.146,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_924": 96.262,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_945": 99.146,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_956": 99.146,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_967": 97.628,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_985": 99.146,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:anonymous_function_997": 96.30000000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:applySessionIdentifiers": 77.55911230341783,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:assertCodexChildHasPipes": 94.25200000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:buildCodexMcpConfig": 49.90219608621757,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:buildPermissionRequest": 96.09469814814074,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:buildResumePrompt": 85.07483002510956,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:close": 69.74359078554001,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:collectCodexRolloutFiles": 67.72254830940143,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:collectFilesRecursive": 89.44870449654428,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:connect": 87.20299488563276,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:constructor": 90.59270240394656,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:createSession": 98.956,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:createToolCallTimelineItem": 99.108,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:deriveCodexSessionIdFromPath": 92.39340282985997,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:describePersistence": 86.96018945141418,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:dispose": 87.11467813078066,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:emitEvent": 68.88007486933319,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:emitPermissionRequested": 99.032,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:end": 97.268,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:escapeRegExp": 99.184,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:executeCommand": 93.52588174533385,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:expandCodexCustomPrompt": 83.92924351504537,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:extractContentText": 93.94760411154638,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:extractContentTextByType": 97.628,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:extractFileReadFromParsedCmd": 91.42300138763014,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:extractMcpToolResultPayload": 66.45139764974638,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:extractMessageText": 81.85939836750738,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:extractPatchPaths": 89.38910628734781,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:extractReasoningText": 86.6856236943737,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:extractSummaryText": 91.10242049668811,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:extractTextContent": 93.33763649148351,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:extractTodoItems": 92.696,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:extractWebSearchQuery": 86.65121666609811,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:findCodexResumeFile": 69.91589621597905,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:findRolloutFile": 70.19824532499683,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:flushPendingHistory": 94.992,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:forwardPrompt": 46.66964017593004,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:getAvailableModes": 99.184,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:getCodexMcpCommand": 76.20097654553928,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:getCurrentMode": 97.42,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:getImageExtension": 98.614,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:getPendingPermissions": 99.184,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:getRuntimeInfo": 86.23239115877779,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:handleLine": 82.08342206991841,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:handleMcpEvent": 38.01921528670954,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:handlePermissionRequest": 92.98410405180087,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:handleThreadEvent": 51.99144822814002,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:id": 95.428,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:interrupt": 80.99206873905312,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:isCodexModelInfo": 87.05301811021545,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:isCodexModelListResponse": 91.52,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:isKeyedObject": 97.932,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:isMissingConversationIdError": 97.894,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:isMissingConversationIdResponse": 97.894,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:isMissingSessionForConversationOrThread": 97.818,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:isSyntheticRolloutUserMessage": 92.4726078888371,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:isThreadItemType": 99.07,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:isUnsupportedChatGptModelError": 97.894,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:listCodexCustomPrompts": 80.314051828769,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:listCodexSkills": 66.95399161179257,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:listCommands": 99.032,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:listModels": 87.77783574475326,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:listPersistedAgents": 73.18235576109677,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:loadCodexPersistedTimeline": 66.34466580781367,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:loadPersistedHistoryFromDisk": 89.59152794405288,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:mapRawResponseItemToThreadItem": 47.25065887346601,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:normalizeCommand": 97.932,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:normalizeEvent": 64.2406674064543,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:normalizeImageData": 95.94,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:normalizePatchChangeDetails": 49.63568949726617,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:normalizeStructuredPayload": 88.63557544693863,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:normalizeThreadEventType": 96.452,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:normalizeToolName": 96.33800000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:parseCodexSessionMetaFromJson": 92.80999999999999,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:parseCodexSessionMetaFromJsonLine": 80.91260193873605,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:parseCodexSessionMetaPayload": 89.49026511975663,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:parseFrontMatter": 77.82697572938667,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:parseJsonRolloutTimeline": 67.74065082229708,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:parsePatchChanges": 96.33800000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:parsePatchFiles": 97.818,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:parseRolloutEntryFromLine": 83.33755113213303,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:parseRolloutFile": 45.8254559449093,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:parseRolloutHistory": 58.35809953567039,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:push": 95.352,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:readCodexMetadataString": 95.01,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:readCodexSessionMeta": 83.25715334331822,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:recordHistory": 97.154,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:rejectAll": 99.032,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:replaceInlineImageData": 86.50254833210336,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:request": 92.20159023505556,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:resolveCodexBinary": 94.024,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:resolveCodexHomeDir": 99.184,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:resolveCodexRolloutPath": 97.818,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:resolveCodexSessionRoot": 97.78,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:resolveCodexSessionRootFromMetadata": 97.70400000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:resolveCodexSessionTimestamp": 95.82600000000001,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:resolveExclusiveString": 94.32411415762607,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:resolveExclusiveValue": 90.07676359208203,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:resolvePreferredString": 90.67693865978583,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:respondToPermission": 59.61301174001507,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:resumeSession": 87.88967696690133,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:run": 70.95566170880187,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:setManagedAgentId": 99.184,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:setMode": 96.22594893621543,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:shouldReportCommandError": 90.22896156032384,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:stream": 69.36217407253918,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:streamHistory": 94.688,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:threadItemToTimeline": 46.15865241066369,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:toPromptText": 84.71686015156425,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:tokenizeCommandArgs": 58.58350172759569,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:updateIdentifiersFromEvent": 94.878,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:updateIdentifiersFromResponse": 88.53927140287875,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:updatePersistenceConversationId": 93.19,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:updatePersistenceCuratedHistory": 95.352,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:validateCodexMode": 97.742,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts:function:writeImageAttachment": 97.628,
"packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:function:anonymous_function_114": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:function:anonymous_function_120": 93.9840439823242,
"packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:function:anonymous_function_121": 94.48555113606147,
"packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:function:anonymous_function_13": 99.184,
"packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:function:anonymous_function_139": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:function:anonymous_function_150": 87.47295129110077,
"packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:function:anonymous_function_151": 96.39956650073589,
"packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:function:anonymous_function_17": 83.53879520687843,
"packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:function:anonymous_function_174": 96.39956650073589,
"packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:function:anonymous_function_18": 94.48555113606147,
"packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:function:anonymous_function_197": 96.75908108378154,
"packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:function:anonymous_function_220": 86.04987114320586,
"packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:function:anonymous_function_221": 86.28487284804731,
"packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:function:anonymous_function_36": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:function:anonymous_function_46": 92.07292382032078,
"packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:function:anonymous_function_6": 77.05716676056659,
"packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:function:anonymous_function_74": 99.22200000000001,
"packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:function:anonymous_function_85": 93.13223352893753,
"packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:function:anonymous_function_9": 99.184,
"packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:refactoring:9": 100.0,
"packages/server/src/server/agent/providers/opencode-agent.test.ts:function:anonymous_function_117": 98.804,
"packages/server/src/server/agent/providers/opencode-agent.test.ts:function:anonymous_function_135": 93.96606020142829,
"packages/server/src/server/agent/providers/opencode-agent.test.ts:function:anonymous_function_156": 99.22200000000001,
"packages/server/src/server/agent/providers/opencode-agent.test.ts:function:anonymous_function_167": 95.46189668796286,
"packages/server/src/server/agent/providers/opencode-agent.test.ts:function:anonymous_function_76": 72.36692968767711,
"packages/server/src/server/agent/providers/opencode-agent.test.ts:function:anonymous_function_78": 99.108,
"packages/server/src/server/agent/providers/opencode-agent.test.ts:function:anonymous_function_84": 83.34858673991675,
"packages/server/src/server/agent/providers/opencode-agent.test.ts:function:anonymous_function_94": 92.77199999999999,
"packages/server/src/server/agent/providers/opencode-agent.test.ts:function:collectTurnEvents": 83.9600855478925,
"packages/server/src/server/agent/providers/opencode-agent.test.ts:function:tmpCwd": 95.97800000000001,
"packages/server/src/server/agent/providers/opencode-agent.test.ts:refactoring:5": 100.0,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:anonymous_function_123": 83.2656241011295,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:anonymous_function_130": 97.344,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:anonymous_function_136": 94.95400000000001,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:anonymous_function_145": 99.184,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:anonymous_function_149": 99.146,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:anonymous_function_154": 97.23,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:anonymous_function_168": 98.918,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:anonymous_function_169": 99.146,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:anonymous_function_173": 99.146,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:anonymous_function_205": 99.184,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:anonymous_function_206": 99.22200000000001,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:anonymous_function_258": 99.184,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:anonymous_function_259": 99.22200000000001,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:anonymous_function_475": 99.22200000000001,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:anonymous_function_478": 99.22200000000001,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:anonymous_function_48": 95.78800000000001,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:anonymous_function_50": 95.94,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:anonymous_function_54": 99.22200000000001,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:anonymous_function_56": 99.22200000000001,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:anonymous_function_600": 99.22200000000001,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:anonymous_function_601": 99.22200000000001,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:anonymous_function_89": 95.03,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:assertConfig": 97.30600000000001,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:buildPromptParts": 97.23,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:close": 99.184,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:constructor": 98.956,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:createSession": 90.1678587816435,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:describePersistence": 98.918,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:ensureRunning": 87.82364839545693,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:extractAndResetUsage": 92.602,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:findAvailablePort": 95.1266310950005,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:getAvailableModes": 99.184,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:getCurrentMode": 99.184,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:getInstance": 97.268,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:getPendingPermissions": 99.184,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:getRuntimeInfo": 98.994,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:id": 99.184,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:interrupt": 99.032,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:listModels": 80.20417273586112,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:listPersistedAgents": 99.146,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:mapToolState": 98.766,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:parseModel": 95.39,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:registerExitHandler": 91.73987255189881,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:respondToPermission": 92.31227861329258,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:resumeSession": 93.92363454673122,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:run": 85.15639084243492,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:setMode": 99.184,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:shutdown": 93.44307394961713,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:startServer": 82.32626758004403,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:stream": 68.49874937739477,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:streamHistory": 55.20650204987871,
"packages/server/src/server/agent/providers/opencode-agent.ts:function:translateEvent": 44.69997071880558,
"packages/server/src/server/agent/recordings-debug.ts:function:isPaseoDictationDebugEnabled": 99.184,
"packages/server/src/server/agent/recordings-debug.ts:function:isTruthyEnv": 95.39,
"packages/server/src/server/agent/recordings-debug.ts:function:resolveRecordingsDebugDir": 94.57400000000001,
"packages/server/src/server/agent/self-identification-instructions.ts:function:getSelfIdentificationInstructions": 97.35700193798763,
"packages/server/src/server/agent/self-identification-instructions.ts:function:looksLikePaseoWorktree": 96.604,
"packages/server/src/server/agent/stt-debug.ts:function:maybePersistDebugAudio": 85.69343271468114,
"packages/server/src/server/agent/stt-manager.ts:function:cleanup": 99.184,
"packages/server/src/server/agent/stt-manager.ts:function:constructor": 99.108,
"packages/server/src/server/agent/stt-manager.ts:function:transcribe": 80.5488114829987,
"packages/server/src/server/agent/stt-manager.ts:refactoring:2": 100.0,
"packages/server/src/server/agent/stt-openai.ts:function:anonymous_function_107": 99.22200000000001,
"packages/server/src/server/agent/stt-openai.ts:function:anonymous_function_117": 99.22200000000001,
"packages/server/src/server/agent/stt-openai.ts:function:anonymous_function_46": 97.97,
"packages/server/src/server/agent/stt-openai.ts:function:anonymous_function_50": 97.97,
"packages/server/src/server/agent/stt-openai.ts:function:anonymous_function_87": 99.22200000000001,
"packages/server/src/server/agent/stt-openai.ts:function:constructor": 97.23,
"packages/server/src/server/agent/stt-openai.ts:function:isLogprobToken": 91.852719231053,
"packages/server/src/server/agent/stt-openai.ts:function:isLogprobTokenArray": 97.932,
"packages/server/src/server/agent/stt-openai.ts:function:isObject": 97.932,
"packages/server/src/server/agent/stt-openai.ts:function:transcribeAudio": 53.17379094562845,
"packages/server/src/server/agent/stt-openai.ts:refactoring:3": 100.0,
"packages/server/src/server/agent/system-prompt.ts:function:getSystemPrompt": 97.818,
"packages/server/src/server/agent/system-prompt.ts:function:loadSystemPrompt": 99.146,
"packages/server/src/server/agent/tts-debug.ts:function:maybePersistTtsDebugAudio": 92.24276771050951,
"packages/server/src/server/agent/tts-manager.ts:function:anonymous_function_57": 99.146,
"packages/server/src/server/agent/tts-manager.ts:function:anonymous_function_72": 95.06800000000001,
"packages/server/src/server/agent/tts-manager.ts:function:anonymous_function_78": 98.994,
"packages/server/src/server/agent/tts-manager.ts:function:cancelPendingPlaybacks": 96.40471977308736,
"packages/server/src/server/agent/tts-manager.ts:function:cleanup": 99.032,
"packages/server/src/server/agent/tts-manager.ts:function:confirmAudioPlayed": 89.17569322776681,
"packages/server/src/server/agent/tts-manager.ts:function:constructor": 99.146,
"packages/server/src/server/agent/tts-manager.ts:function:generateAndWaitForPlayback": 49.28567464927678,
"packages/server/src/server/agent/tts-manager.ts:refactoring:4": 100.0,
"packages/server/src/server/agent/tts-openai.ts:function:constructor": 97.47959167182285,
"packages/server/src/server/agent/tts-openai.ts:function:getConfig": 99.184,
"packages/server/src/server/agent/tts-openai.ts:function:synthesizeSpeech": 81.48010822531384,
"packages/server/src/server/agent/wait-for-agent-tracker.test.ts:function:anonymous_function_30": 98.842,
"packages/server/src/server/agent/wait-for-agent-tracker.test.ts:function:anonymous_function_4": 91.332434553271,
"packages/server/src/server/agent/wait-for-agent-tracker.test.ts:function:anonymous_function_7": 95.45572629219876,
"packages/server/src/server/agent/wait-for-agent-tracker.ts:function:anonymous_function_23": 95.39,
"packages/server/src/server/agent/wait-for-agent-tracker.ts:function:cancel": 88.91714861560789,
"packages/server/src/server/agent/wait-for-agent-tracker.ts:function:cancelAll": 97.19200000000001,
"packages/server/src/server/agent/wait-for-agent-tracker.ts:function:constructor": 99.184,
"packages/server/src/server/agent/wait-for-agent-tracker.ts:function:register": 91.69233154020893,
"packages/server/src/server/bootstrap.smoke.test.ts:function:anonymous_function_4": 93.11591236713701,
"packages/server/src/server/bootstrap.smoke.test.ts:function:anonymous_function_5": 93.78800989953737,
"packages/server/src/server/bootstrap.ts:function:anonymous_function_128": 94.09951834816117,
"packages/server/src/server/bootstrap.ts:function:anonymous_function_150": 99.184,
"packages/server/src/server/bootstrap.ts:function:anonymous_function_154": 75.40204186260112,
"packages/server/src/server/bootstrap.ts:function:anonymous_function_187": 97.23,
"packages/server/src/server/bootstrap.ts:function:anonymous_function_228": 91.40082993667704,
"packages/server/src/server/bootstrap.ts:function:anonymous_function_238": 99.22200000000001,
"packages/server/src/server/bootstrap.ts:function:anonymous_function_239": 99.146,
"packages/server/src/server/bootstrap.ts:function:anonymous_function_243": 99.146,
"packages/server/src/server/bootstrap.ts:function:anonymous_function_250": 97.856,
"packages/server/src/server/bootstrap.ts:function:anonymous_function_255": 99.184,
"packages/server/src/server/bootstrap.ts:function:anonymous_function_264": 65.83575310648745,
"packages/server/src/server/bootstrap.ts:function:anonymous_function_389": 81.01343716259335,
"packages/server/src/server/bootstrap.ts:function:anonymous_function_390": 81.27028756564455,
"packages/server/src/server/bootstrap.ts:function:anonymous_function_391": 99.146,
"packages/server/src/server/bootstrap.ts:function:anonymous_function_395": 87.29067730457781,
"packages/server/src/server/bootstrap.ts:function:anonymous_function_397": 88.25278750817627,
"packages/server/src/server/bootstrap.ts:function:anonymous_function_422": 99.22200000000001,
"packages/server/src/server/bootstrap.ts:function:anonymous_function_425": 99.22200000000001,
"packages/server/src/server/bootstrap.ts:function:anonymous_function_428": 99.22200000000001,
"packages/server/src/server/bootstrap.ts:function:anonymous_function_455": 95.50694798792598,
"packages/server/src/server/bootstrap.ts:function:anonymous_function_459": 99.22200000000001,
"packages/server/src/server/bootstrap.ts:function:anonymous_function_461": 99.184,
"packages/server/src/server/bootstrap.ts:function:anonymous_function_462": 99.22200000000001,
"packages/server/src/server/bootstrap.ts:function:closeAllAgents": 95.78800000000001,
"packages/server/src/server/bootstrap.ts:function:createPaseoDaemon": 40.20217627194744,
"packages/server/src/server/bootstrap.ts:function:parseListenString": 82.00342317825947,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_102": 99.22200000000001,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_113": 92.58273438256629,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_138": 99.22200000000001,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_149": 94.1516928466135,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_167": 99.22200000000001,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_178": 93.76269198304975,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_197": 99.22200000000001,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_208": 96.73487213857716,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_234": 84.86113408124582,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_235": 91.16616975388996,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_262": 99.22200000000001,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_278": 90.96419779709281,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_306": 99.22200000000001,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_327": 78.5489865589494,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_328": 91.06600058771345,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_33": 65.5427231298248,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_355": 99.22200000000001,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_371": 91.06600058771345,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_38": 99.184,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_398": 99.22200000000001,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_414": 90.99295356566851,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_42": 96.604,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_43": 97.97,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_44": 97.97,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_441": 99.22200000000001,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_457": 89.79002389636716,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_491": 99.22200000000001,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_508": 90.66983133789637,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_537": 99.22200000000001,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_559": 82.81730047144924,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_560": 91.90296652648084,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_582": 99.22200000000001,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_599": 94.21216689015469,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_617": 99.22200000000001,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_62": 93.89726460858168,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_628": 91.02941464523659,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_63": 99.146,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_655": 99.22200000000001,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_68": 95.2,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_84": 81.21734374040295,
"packages/server/src/server/client-activity.e2e.test.ts:function:anonymous_function_85": 94.32741023580854,
"packages/server/src/server/client-activity.e2e.test.ts:function:createClient": 98.994,
"packages/server/src/server/client-activity.e2e.test.ts:function:waitForAttentionRequired": 91.73367241511313,
"packages/server/src/server/config.ts:function:anonymous_function_72": 99.22200000000001,
"packages/server/src/server/config.ts:function:getListenForMcp": 88.87558970157022,
"packages/server/src/server/config.ts:function:loadConfig": 91.6033511419005,
"packages/server/src/server/config.ts:function:parseOpenAIConfig": 86.68191758191593,
"packages/server/src/server/config.ts:refactoring:2": 100.0,
"packages/server/src/server/connection-offer.ts:function:buildOfferEndpoints": 83.75057323781405,
"packages/server/src/server/connection-offer.ts:function:createConnectionOfferV1": 98.804,
"packages/server/src/server/connection-offer.ts:function:dedupePreserveOrder": 97.666,
"packages/server/src/server/connection-offer.ts:function:encodeOfferToFragmentUrl": 98.994,
"packages/server/src/server/connection-offer.ts:function:generateDaemonPublicKeyB64": 98.918,
"packages/server/src/server/connection-offer.ts:function:getPrimaryLanIp": 93.13862977604285,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_1003": 91.40290594311664,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_1006": 93.65873151128855,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_1039": 91.28871022837392,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_1042": 93.51609552605066,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_105": 98.40832260214569,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_122": 44.90918093574874,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_125": 97.70400000000001,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_126": 97.818,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_136": 93.21441571628705,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_137": 94.57843721863931,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_167": 99.22200000000001,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_178": 93.54910775887636,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_179": 94.934,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_208": 96.092,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_214": 94.78039455959932,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_215": 95.08600000000001,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_245": 99.22200000000001,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_252": 99.22200000000001,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_262": 92.84799999999998,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_273": 93.24600000000001,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_303": 93.98801460427775,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_306": 95.08600000000001,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_334": 93.89977064314024,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_337": 95.08600000000001,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_364": 96.33800000000001,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_365": 96.452,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_39": 95.32050424476887,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_395": 79.92757590002,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_405": 96.33800000000001,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_406": 96.452,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_41": 97.818,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_418": 96.33800000000001,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_419": 96.452,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_459": 99.22200000000001,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_460": 99.22200000000001,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_470": 90.31391947700916,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_481": 96.33800000000001,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_482": 96.452,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_49": 99.108,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_506": 74.32914001360375,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_513": 76.57632247603527,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_514": 91.59599999999999,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_526": 90.22999999999999,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_54": 99.108,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_541": 99.146,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_555": 73.93729618594381,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_566": 87.57410688791026,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_577": 91.03162112641986,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_602": 97.70400000000001,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_603": 97.818,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_616": 99.22200000000001,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_625": 99.22200000000001,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_63": 35.0,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_637": 59.110942278992184,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_654": 99.22200000000001,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_656": 68.43705058882834,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_66": 99.184,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_70": 99.184,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_728": 58.63799384803852,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_74": 91.50632846124437,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_744": 99.22200000000001,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_746": 68.43705058882834,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_77": 97.70400000000001,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_78": 97.818,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_824": 94.89444330355153,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_847": 50.79712816026972,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_878": 93.98801460427775,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_881": 95.08600000000001,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_909": 94.89446232464444,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_910": 95.08600000000001,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_936": 93.89977064314024,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_939": 95.08600000000001,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_967": 91.40290594311664,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:anonymous_function_970": 93.65873151128855,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:tmpCwd": 99.184,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:function:waitForSignal": 93.04725515033243,
"packages/server/src/server/daemon-client-v2.e2e.test.ts:refactoring:41": 100.0,
"packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts:function:anonymous_function_19": 76.32578424427513,
"packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts:function:anonymous_function_22": 99.184,
"packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts:function:anonymous_function_26": 99.184,
"packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts:function:anonymous_function_30": 79.69298411867233,
"packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts:function:anonymous_function_58": 97.97,
"packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts:function:anonymous_function_64": 97.97,
"packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts:function:anonymous_function_71": 97.97,
"packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts:function:anonymous_function_77": 94.76400000000001,
"packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts:function:anonymous_function_88": 98.842,
"packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts:function:tmpCwd": 99.184,
"packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts:refactoring:4": 100.0,
"packages/server/src/server/daemon-e2e/agent-configs.ts:function:getAskModeConfig": 96.414,
"packages/server/src/server/daemon-e2e/agent-configs.ts:function:getFullAccessConfig": 96.414,
"packages/server/src/server/daemon-e2e/agent-configs.ts:refactoring:2": 100.0,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_101": 99.22200000000001,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_122": 58.18680290444196,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_125": 58.422421664617765,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_149": 84.96539228357905,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_150": 99.184,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_154": 90.8545530989456,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_171": 99.146,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_178": 99.146,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_19": 41.28645923390315,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_194": 82.92657420727105,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_195": 99.032,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_204": 86.69738638621436,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_22": 99.184,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_26": 99.184,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_260": 67.04788262395928,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_263": 67.33528393383678,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_288": 87.367316823872,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_289": 99.184,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_293": 90.09487942993567,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_30": 84.6588028587068,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_33": 90.49118030042479,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_337": 87.367316823872,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_338": 99.184,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_342": 90.09487942993567,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_373": 85.25913179187071,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_376": 85.8912085111535,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_416": 99.22200000000001,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_420": 99.22200000000001,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_421": 99.22200000000001,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_441": 99.22200000000001,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_51": 99.22200000000001,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:anonymous_function_84": 92.73783971083654,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:function:tmpCwd": 99.184,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:refactoring:19": 100.0,
"packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:function:anonymous_function_139": 45.06497506714444,
"packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:function:anonymous_function_142": 99.184,
"packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:function:anonymous_function_146": 99.184,
"packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:function:anonymous_function_152": 68.95742356582943,
"packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:function:anonymous_function_286": 97.42,
"packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:function:anonymous_function_303": 99.22200000000001,
"packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:function:anonymous_function_309": 99.22200000000001,
"packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:function:anonymous_function_312": 99.22200000000001,
"packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:function:anonymous_function_315": 99.22200000000001,
"packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:function:anonymous_function_326": 80.15508910388822,
"packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:function:anonymous_function_401": 99.22200000000001,
"packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:function:anonymous_function_411": 89.19952153864543,
"packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:function:anonymous_function_440": 99.22200000000001,
"packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:function:anonymous_function_450": 79.88797283589702,
"packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:function:anonymous_function_481": 99.22200000000001,
"packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:function:anonymous_function_484": 99.22200000000001,
"packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:function:createMcpClient": 99.07,
"packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:function:createPrivateRepo": 99.108,
"packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:function:createTempRepoName": 99.146,
"packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:function:deleteRepoBestEffort": 94.65,
"packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:function:getGhLogin": 99.108,
"packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:function:getGhToken": 99.184,
"packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:function:getStructuredContent": 87.99199999999999,
"packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:function:getToolResultText": 80.8537336708728,
"packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:function:hasGitHubCliAuth": 95.97800000000001,
"packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:function:initGitRepo": 98.03212284519475,
"packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:function:tmpCwd": 99.184,
"packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:function:anonymous_function_102": 99.22200000000001,
"packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:function:anonymous_function_110": 73.29074191248128,
"packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:function:anonymous_function_133": 82.98198838797386,
"packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:function:anonymous_function_134": 99.146,
"packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:function:anonymous_function_139": 93.27372009925888,
"packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:function:anonymous_function_155": 99.146,
"packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:function:anonymous_function_159": 95.03,
"packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:function:anonymous_function_50": 95.82600000000001,
"packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:function:anonymous_function_53": 95.97800000000001,
"packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:function:anonymous_function_56": 99.22200000000001,
"packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:function:anonymous_function_59": 99.22200000000001,
"packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:function:anonymous_function_64": 67.64640525244457,
"packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:function:anonymous_function_67": 99.184,
"packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:function:anonymous_function_71": 90.25632561020727,
"packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:function:createCapturingLogger": 98.88,
"packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:function:decodeOfferFromFragmentUrl": 97.666,
"packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:function:getAvailablePort": 95.55468996995626,
"packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:function:parseOfferUrlFromLogs": 91.74799999999999,
"packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:function:write": 99.146,
"packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:function:anonymous_function_101": 99.22200000000001,
"packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:function:anonymous_function_105": 99.22200000000001,
"packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:function:anonymous_function_116": 63.33232947872458,
"packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:function:anonymous_function_180": 99.22200000000001,
"packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:function:anonymous_function_20": 95.82600000000001,
"packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:function:anonymous_function_202": 99.22200000000001,
"packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:function:anonymous_function_23": 95.97800000000001,
"packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:function:anonymous_function_26": 99.22200000000001,
"packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:function:anonymous_function_29": 99.22200000000001,
"packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:function:anonymous_function_86": 99.22200000000001,
"packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:function:anonymous_function_89": 56.79559974684725,
"packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:function:anonymous_function_95": 92.06293719615354,
"packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:function:anonymous_function_97": 99.22200000000001,
"packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:function:getAvailablePort": 95.1029557766112,
"packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:function:startDaemon": 90.32836386554818,
"packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:function:stopDaemon": 99.108,
"packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:function:tmpCwd": 99.184,
"packages/server/src/server/daemon-e2e/file-download.e2e.test.ts:function:anonymous_function_111": 99.22200000000001,
"packages/server/src/server/daemon-e2e/file-download.e2e.test.ts:function:anonymous_function_126": 97.32279764750137,
"packages/server/src/server/daemon-e2e/file-download.e2e.test.ts:function:anonymous_function_19": 81.76415847381651,
"packages/server/src/server/daemon-e2e/file-download.e2e.test.ts:function:anonymous_function_22": 99.184,
"packages/server/src/server/daemon-e2e/file-download.e2e.test.ts:function:anonymous_function_26": 99.184,
"packages/server/src/server/daemon-e2e/file-download.e2e.test.ts:function:anonymous_function_30": 82.39468956016124,
"packages/server/src/server/daemon-e2e/file-download.e2e.test.ts:function:anonymous_function_33": 91.15004482935386,
"packages/server/src/server/daemon-e2e/file-download.e2e.test.ts:function:anonymous_function_77": 99.032,
"packages/server/src/server/daemon-e2e/file-download.e2e.test.ts:function:anonymous_function_89": 92.84505248442613,
"packages/server/src/server/daemon-e2e/file-download.e2e.test.ts:function:tmpCwd": 99.184,
"packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts:function:anonymous_function_123": 95.51354040640541,
"packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts:function:anonymous_function_19": 81.26681263468738,
"packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts:function:anonymous_function_22": 99.184,
"packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts:function:anonymous_function_26": 99.184,
"packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts:function:anonymous_function_30": 81.87573722805553,
"packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts:function:anonymous_function_33": 89.14275033228489,
"packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts:function:anonymous_function_63": 99.22200000000001,
"packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts:function:anonymous_function_64": 99.22200000000001,
"packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts:function:anonymous_function_65": 99.22200000000001,
"packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts:function:anonymous_function_86": 92.43943379001578,
"packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts:function:tmpCwd": 99.184,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:function:anonymous_function_112": 65.64812403078278,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:function:anonymous_function_115": 99.184,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:function:anonymous_function_119": 99.184,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:function:anonymous_function_123": 82.16069941452027,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:function:anonymous_function_126": 90.18056902117962,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:function:anonymous_function_176": 91.85716487656,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:function:anonymous_function_218": 95.07948550372282,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:function:anonymous_function_22": 99.108,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:function:anonymous_function_23": 99.184,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:function:anonymous_function_247": 82.02792825898041,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:function:anonymous_function_250": 89.70269144706391,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:function:anonymous_function_290": 99.22200000000001,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:function:anonymous_function_302": 91.58933695652786,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:function:anonymous_function_345": 95.75905570120193,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:function:anonymous_function_372": 72.06287846455386,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:function:anonymous_function_375": 81.40203532134828,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:function:anonymous_function_431": 97.97,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:function:anonymous_function_442": 96.642,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:function:anonymous_function_460": 81.36624165197425,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:function:anonymous_function_516": 97.97,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:function:anonymous_function_523": 96.642,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:function:anonymous_function_544": 88.97764470878015,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:function:anonymous_function_547": 89.8111860706902,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:function:anonymous_function_76": 87.14182043411621,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:function:anonymous_function_77": 99.22200000000001,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:function:anonymous_function_78": 99.146,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:function:anonymous_function_83": 89.51535297641851,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:function:findTimelineToolCall": 84.24168968398564,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:function:tmpCwd": 99.184,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:function:waitForTimelineToolCall": 80.77408195509771,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:function:withTimeout": 94.13878124095113,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:refactoring:11": 100.0,
"packages/server/src/server/daemon-e2e/images.e2e.test.ts:function:anonymous_function_106": 87.18476090577371,
"packages/server/src/server/daemon-e2e/images.e2e.test.ts:function:anonymous_function_145": 96.642,
"packages/server/src/server/daemon-e2e/images.e2e.test.ts:function:anonymous_function_19": 71.64163604456824,
"packages/server/src/server/daemon-e2e/images.e2e.test.ts:function:anonymous_function_22": 99.184,
"packages/server/src/server/daemon-e2e/images.e2e.test.ts:function:anonymous_function_26": 99.184,
"packages/server/src/server/daemon-e2e/images.e2e.test.ts:function:anonymous_function_30": 72.244632555319,
"packages/server/src/server/daemon-e2e/images.e2e.test.ts:function:anonymous_function_38": 80.41134216059824,
"packages/server/src/server/daemon-e2e/images.e2e.test.ts:function:anonymous_function_74": 97.97,
"packages/server/src/server/daemon-e2e/images.e2e.test.ts:function:anonymous_function_82": 97.97,
"packages/server/src/server/daemon-e2e/images.e2e.test.ts:function:anonymous_function_88": 94.76400000000001,
"packages/server/src/server/daemon-e2e/images.e2e.test.ts:function:tmpCwd": 99.184,
"packages/server/src/server/daemon-e2e/images.e2e.test.ts:refactoring:6": 100.0,
"packages/server/src/server/daemon-e2e/models.e2e.test.ts:function:anonymous_function_19": 87.74933849269023,
"packages/server/src/server/daemon-e2e/models.e2e.test.ts:function:anonymous_function_22": 99.184,
"packages/server/src/server/daemon-e2e/models.e2e.test.ts:function:anonymous_function_26": 99.184,
"packages/server/src/server/daemon-e2e/models.e2e.test.ts:function:anonymous_function_30": 89.72044376559712,
"packages/server/src/server/daemon-e2e/models.e2e.test.ts:function:anonymous_function_33": 96.47997905230477,
"packages/server/src/server/daemon-e2e/models.e2e.test.ts:function:anonymous_function_57": 96.47997905230477,
"packages/server/src/server/daemon-e2e/models.e2e.test.ts:function:tmpCwd": 99.184,
"packages/server/src/server/daemon-e2e/models.e2e.test.ts:refactoring:3": 100.0,
"packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:function:anonymous_function_111": 97.932,
"packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:function:anonymous_function_123": 68.36060779413174,
"packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:function:anonymous_function_19": 47.93263995490619,
"packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:function:anonymous_function_22": 99.184,
"packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:function:anonymous_function_26": 99.184,
"packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:function:anonymous_function_30": 48.49383474766284,
"packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:function:anonymous_function_33": 48.729124209808504,
"packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:function:anonymous_function_84": 97.932,
"packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:function:anonymous_function_94": 99.22200000000001,
"packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:function:tmpCwd": 99.184,
"packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:refactoring:6": 100.0,
"packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts:function:anonymous_function_102": 92.37400000000001,
"packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts:function:anonymous_function_121": 80.23102113612546,
"packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts:function:anonymous_function_173": 92.37400000000001,
"packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts:function:anonymous_function_23": 65.13527849935554,
"packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts:function:anonymous_function_26": 99.184,
"packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts:function:anonymous_function_30": 99.184,
"packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts:function:anonymous_function_34": 65.64435243304683,
"packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts:function:anonymous_function_39": 99.184,
"packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts:function:anonymous_function_43": 99.184,
"packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts:function:anonymous_function_49": 80.01718372628228,
"packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts:function:tmpCwd": 99.184,
"packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts:refactoring:10": 100.0,
"packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:function:anonymous_function_143": 92.37400000000001,
"packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:function:anonymous_function_163": 82.64094626869446,
"packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:function:anonymous_function_184": 99.22200000000001,
"packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:function:anonymous_function_19": 47.39935771083538,
"packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:function:anonymous_function_196": 97.97,
"packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:function:anonymous_function_214": 95.352,
"packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:function:anonymous_function_22": 99.184,
"packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:function:anonymous_function_229": 92.17445338211756,
"packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:function:anonymous_function_251": 99.22200000000001,
"packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:function:anonymous_function_258": 99.22200000000001,
"packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:function:anonymous_function_26": 99.184,
"packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:function:anonymous_function_272": 74.07568342798348,
"packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:function:anonymous_function_30": 47.62671519386877,
"packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:function:anonymous_function_320": 87.42368515360708,
"packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:function:anonymous_function_321": 99.184,
"packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:function:anonymous_function_325": 90.16830675281645,
"packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:function:anonymous_function_33": 80.87230598117104,
"packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:function:anonymous_function_364": 97.932,
"packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:function:anonymous_function_79": 92.37400000000001,
"packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:function:anonymous_function_98": 81.09895105998902,
"packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:function:tmpCwd": 99.184,
"packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:refactoring:14": 100.0,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_128": 96.054,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_145": 64.80314361065686,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_148": 65.064983900388,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_186": 99.22200000000001,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_19": 35.0,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_215": 99.22200000000001,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_22": 99.184,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_255": 99.22200000000001,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_26": 99.184,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_268": 45.69450419603802,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_271": 47.98729906380178,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_297": 81.42505520581084,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_298": 99.146,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_30": 72.99181788163477,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_314": 97.59,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_327": 95.902,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_33": 73.27161139178192,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_338": 95.94,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_348": 99.146,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_465": 85.93352420499524,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_500": 95.352,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_517": 80.61127458238307,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_518": 80.88221639681997,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_549": 99.22200000000001,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_555": 95.03,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_561": 99.22200000000001,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_577": 77.53944249422007,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_578": 77.7833920070743,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_618": 97.458,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_625": 95.03,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_631": 99.22200000000001,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_647": 64.24404330466677,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_650": 64.53151261844522,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_72": 99.22200000000001,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:anonymous_function_92": 97.97,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:findTranscriptFile": 85.18659847056193,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:function:tmpCwd": 99.184,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:refactoring:27": 100.0,
"packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts:function:anonymous_function_47": 83.09335887061556,
"packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts:function:anonymous_function_50": 83.88397801438487,
"packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts:function:anonymous_function_71": 90.58873748765365,
"packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts:function:anonymous_function_72": 99.146,
"packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts:function:anonymous_function_77": 99.184,
"packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts:function:anonymous_function_81": 94.878,
"packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts:function:anonymous_function_92": 99.146,
"packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts:function:createCapturingLogger": 98.88,
"packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts:function:decodeOfferFromFragmentUrl": 96.33800000000001,
"packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts:function:parseOfferUrlFromLogs": 90.38034341882782,
"packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts:function:write": 99.146,
"packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts:refactoring:3": 100.0,
"packages/server/src/server/daemon-e2e/setup.ts:function:anonymous_function_39": 99.184,
"packages/server/src/server/daemon-e2e/setup.ts:function:anonymous_function_43": 97.818,
"packages/server/src/server/daemon-e2e/setup.ts:function:getTestContext": 97.818,
"packages/server/src/server/daemon-e2e/setup.ts:function:setupDaemonE2E": 97.59,
"packages/server/src/server/daemon-e2e/setup.ts:function:tmpCwd": 99.184,
"packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:function:anonymous_function_157": 62.75911810500121,
"packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:function:anonymous_function_160": 62.98887171255434,
"packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:function:anonymous_function_24": 35.0,
"packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:function:anonymous_function_27": 99.184,
"packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:function:anonymous_function_281": 99.22200000000001,
"packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:function:anonymous_function_286": 99.22200000000001,
"packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:function:anonymous_function_297": 35.83808614501224,
"packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:function:anonymous_function_300": 45.256381358413506,
"packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:function:anonymous_function_31": 99.184,
"packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:function:anonymous_function_327": 99.22200000000001,
"packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:function:anonymous_function_35": 64.27232290604292,
"packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:function:anonymous_function_38": 64.54433781936925,
"packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:function:anonymous_function_385": 99.22200000000001,
"packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:function:anonymous_function_450": 99.22200000000001,
"packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:function:anonymous_function_483": 48.47730035703023,
"packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:function:anonymous_function_486": 99.22200000000001,
"packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:function:anonymous_function_503": 78.93967945506212,
"packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:function:anonymous_function_553": 99.22200000000001,
"packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:function:anonymous_function_560": 99.22200000000001,
"packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:function:anonymous_function_597": 45.719103762928654,
"packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:function:anonymous_function_618": 87.61787932233878,
"packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:function:anonymous_function_638": 99.22200000000001,
"packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:function:anonymous_function_642": 99.22200000000001,
"packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:function:anonymous_function_653": 99.22200000000001,
"packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:function:anonymous_function_685": 99.22200000000001,
"packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:function:anonymous_function_728": 95.352,
"packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:function:anonymous_function_734": 95.352,
"packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:function:tmpCwd": 99.184,
"packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:refactoring:20": 100.0,
"packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:function:anonymous_function_122": 99.22200000000001,
"packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:function:anonymous_function_123": 99.22200000000001,
"packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:function:anonymous_function_13": 46.97241747337401,
"packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:function:anonymous_function_145": 96.49640096510475,
"packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:function:anonymous_function_16": 99.184,
"packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:function:anonymous_function_169": 99.032,
"packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:function:anonymous_function_181": 63.32248616219987,
"packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:function:anonymous_function_20": 99.184,
"packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:function:anonymous_function_236": 99.22200000000001,
"packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:function:anonymous_function_26": 98.842,
"packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:function:anonymous_function_43": 96.09677295914139,
"packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:function:anonymous_function_68": 94.83158067920215,
"packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:function:anonymous_function_96": 80.66619549713916,
"packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:function:tmpCwd": 99.184,
"packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:function:anonymous_function_105": 90.21046548929743,
"packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:function:anonymous_function_131": 97.97,
"packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:function:anonymous_function_147": 90.70449357689066,
"packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:function:anonymous_function_175": 97.97,
"packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:function:anonymous_function_187": 88.16135936043806,
"packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:function:anonymous_function_19": 54.68710502607364,
"packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:function:anonymous_function_214": 97.97,
"packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:function:anonymous_function_218": 97.856,
"packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:function:anonymous_function_22": 99.184,
"packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:function:anonymous_function_233": 89.16936519408532,
"packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:function:anonymous_function_26": 99.184,
"packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:function:anonymous_function_261": 97.97,
"packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:function:anonymous_function_275": 88.68873692926955,
"packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:function:anonymous_function_30": 54.93015507521667,
"packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:function:anonymous_function_305": 97.97,
"packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:function:anonymous_function_66": 90.92747958933329,
"packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:function:anonymous_function_92": 97.97,
"packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:function:extractToolCalls": 86.28907656169257,
"packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:function:logToolCall": 97.894,
"packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:function:tmpCwd": 99.184,
"packages/server/src/server/daemon-e2e/two-cycle-resume.e2e.test.ts:function:anonymous_function_117": 99.22200000000001,
"packages/server/src/server/daemon-e2e/two-cycle-resume.e2e.test.ts:function:anonymous_function_18": 62.231595235929596,
"packages/server/src/server/daemon-e2e/two-cycle-resume.e2e.test.ts:function:anonymous_function_21": 99.184,
"packages/server/src/server/daemon-e2e/two-cycle-resume.e2e.test.ts:function:anonymous_function_25": 99.184,
"packages/server/src/server/daemon-e2e/two-cycle-resume.e2e.test.ts:function:anonymous_function_31": 62.84519751936856,
"packages/server/src/server/daemon-e2e/two-cycle-resume.e2e.test.ts:function:anonymous_function_87": 99.22200000000001,
"packages/server/src/server/daemon-e2e/two-cycle-resume.e2e.test.ts:function:tmpCwd": 99.184,
"packages/server/src/server/daemon-e2e/two-cycle-resume.e2e.test.ts:refactoring:4": 100.0,
"packages/server/src/server/daemon-e2e/wait-for-idle.e2e.test.ts:function:anonymous_function_17": 78.68818115668071,
"packages/server/src/server/daemon-e2e/wait-for-idle.e2e.test.ts:function:anonymous_function_20": 99.184,
"packages/server/src/server/daemon-e2e/wait-for-idle.e2e.test.ts:function:anonymous_function_24": 99.184,
"packages/server/src/server/daemon-e2e/wait-for-idle.e2e.test.ts:function:anonymous_function_28": 96.3821252608323,
"packages/server/src/server/daemon-e2e/wait-for-idle.e2e.test.ts:function:anonymous_function_49": 88.11611674138052,
"packages/server/src/server/daemon-e2e/wait-for-idle.e2e.test.ts:function:anonymous_function_72": 95.352,
"packages/server/src/server/daemon-e2e/wait-for-idle.e2e.test.ts:function:anonymous_function_84": 91.37155905052401,
"packages/server/src/server/daemon-e2e/wait-for-idle.e2e.test.ts:function:tmpCwd": 99.184,
"packages/server/src/server/file-download/token-store.ts:function:anonymous_function_25": 99.22200000000001,
"packages/server/src/server/file-download/token-store.ts:function:constructor": 99.146,
"packages/server/src/server/file-download/token-store.ts:function:consumeToken": 95.238,
"packages/server/src/server/file-download/token-store.ts:function:issueToken": 98.842,
"packages/server/src/server/file-download/token-store.ts:function:pruneExpired": 97.23,
"packages/server/src/server/file-explorer/service.ts:function:anonymous_function_108": 97.742,
"packages/server/src/server/file-explorer/service.ts:function:anonymous_function_99": 97.78,
"packages/server/src/server/file-explorer/service.ts:function:buildEntryPayload": 98.72800000000001,
"packages/server/src/server/file-explorer/service.ts:function:getDownloadableFileInfo": 89.4415089799992,
"packages/server/src/server/file-explorer/service.ts:function:listDirectoryEntries": 87.81315001851064,
"packages/server/src/server/file-explorer/service.ts:function:normalizeRelativePath": 97.59,
"packages/server/src/server/file-explorer/service.ts:function:readExplorerFile": 86.44298150156916,
"packages/server/src/server/file-explorer/service.ts:function:resolveScopedPath": 92.82122001816012,
"packages/server/src/server/index.ts:function:anonymous_function_26": 90.72318737692548,
"packages/server/src/server/index.ts:function:anonymous_function_34": 99.146,
"packages/server/src/server/index.ts:function:anonymous_function_51": 99.22200000000001,
"packages/server/src/server/index.ts:function:anonymous_function_52": 99.22200000000001,
"packages/server/src/server/index.ts:function:anonymous_function_55": 98.994,
"packages/server/src/server/index.ts:function:main": 85.09223800869965,
"packages/server/src/server/json-utils.ts:function:anonymous_function_17": 76.61638244723281,
"packages/server/src/server/json-utils.ts:function:anonymous_function_39": 99.22200000000001,
"packages/server/src/server/json-utils.ts:function:ensureValidJson": 75.55686103763966,
"packages/server/src/server/logger.test.ts:function:anonymous_function_13": 99.184,
"packages/server/src/server/logger.test.ts:function:anonymous_function_17": 99.146,
"packages/server/src/server/logger.test.ts:function:anonymous_function_22": 98.918,
"packages/server/src/server/logger.test.ts:function:anonymous_function_33": 98.88,
"packages/server/src/server/logger.test.ts:function:anonymous_function_4": 83.34591123963273,
"packages/server/src/server/logger.test.ts:function:anonymous_function_45": 98.88,
"packages/server/src/server/logger.test.ts:function:anonymous_function_57": 98.842,
"packages/server/src/server/logger.test.ts:function:anonymous_function_7": 99.108,
"packages/server/src/server/logger.test.ts:function:anonymous_function_70": 98.956,
"packages/server/src/server/logger.test.ts:function:anonymous_function_80": 98.956,
"packages/server/src/server/logger.test.ts:function:anonymous_function_90": 99.032,
"packages/server/src/server/logger.test.ts:function:anonymous_function_98": 98.918,
"packages/server/src/server/logger.test.ts:refactoring:5": 100.0,
"packages/server/src/server/logger.ts:function:createChildLogger": 99.184,
"packages/server/src/server/logger.ts:function:createRootLogger": 95.70450350328039,
"packages/server/src/server/logger.ts:function:resolveLogConfig": 98.804,
"packages/server/src/server/messages.test.ts:function:anonymous_function_21": 98.804,
"packages/server/src/server/messages.test.ts:function:anonymous_function_4": 93.87441496706889,
"packages/server/src/server/messages.test.ts:function:anonymous_function_5": 98.72800000000001,
"packages/server/src/server/messages.ts:function:serializeAgentSnapshot": 99.07,
"packages/server/src/server/messages.ts:function:serializeAgentStreamEvent": 92.76184432747422,
"packages/server/src/server/pairing-qr.ts:function:parseBooleanEnv": 95.27600000000001,
"packages/server/src/server/pairing-qr.ts:function:printPairingQrIfEnabled": 94.33169990420264,
"packages/server/src/server/pairing-qr.ts:function:renderQr": 95.674,
"packages/server/src/server/pairing-qr.ts:function:shouldPrintPairingQr": 97.856,
"packages/server/src/server/paseo-home.ts:function:expandHomeDir": 96.452,
"packages/server/src/server/paseo-home.ts:function:resolvePaseoHome": 99.07,
"packages/server/src/server/persisted-config.ts:function:anonymous_function_69": 99.22200000000001,
"packages/server/src/server/persisted-config.ts:function:anonymous_function_89": 99.22200000000001,
"packages/server/src/server/persisted-config.ts:function:getConfigPath": 99.184,
"packages/server/src/server/persisted-config.ts:function:getLogger": 99.184,
"packages/server/src/server/persisted-config.ts:function:loadPersistedConfig": 78.87977730799695,
"packages/server/src/server/persisted-config.ts:function:savePersistedConfig": 88.57786789805591,
"packages/server/src/server/persisted-config.ts:refactoring:2": 100.0,
"packages/server/src/server/persistence-hooks.test.ts:function:anonymous_function_109": 92.75081482847995,
"packages/server/src/server/persistence-hooks.test.ts:function:anonymous_function_110": 93.18663312068813,
"packages/server/src/server/persistence-hooks.test.ts:function:anonymous_function_112": 99.184,
"packages/server/src/server/persistence-hooks.test.ts:function:anonymous_function_116": 98.994,
"packages/server/src/server/persistence-hooks.test.ts:function:anonymous_function_118": 99.108,
"packages/server/src/server/persistence-hooks.test.ts:function:anonymous_function_119": 99.184,
"packages/server/src/server/persistence-hooks.test.ts:function:anonymous_function_14": 99.22200000000001,
"packages/server/src/server/persistence-hooks.test.ts:function:createManagedAgent": 85.67338553473294,
"packages/server/src/server/persistence-hooks.test.ts:function:createRecord": 97.04947104989029,
"packages/server/src/server/persistence-hooks.ts:function:anonymous_function_36": 97.742,
"packages/server/src/server/persistence-hooks.ts:function:anonymous_function_40": 99.184,
"packages/server/src/server/persistence-hooks.ts:function:attachAgentStoragePersistence": 96.43683468684064,
"packages/server/src/server/persistence-hooks.ts:function:buildConfigOverrides": 98.88,
"packages/server/src/server/persistence-hooks.ts:function:buildSessionConfig": 97.12291834049373,
"packages/server/src/server/persistence-hooks.ts:function:getLogger": 99.184,
"packages/server/src/server/persistence-hooks.ts:function:isKnownProvider": 97.932,
"packages/server/src/server/push/push-service.ts:function:anonymous_function_45": 99.032,
"packages/server/src/server/push/push-service.ts:function:constructor": 99.146,
"packages/server/src/server/push/push-service.ts:function:handleTickets": 84.96379394273245,
"packages/server/src/server/push/push-service.ts:function:sendBatch": 88.52812263186516,
"packages/server/src/server/push/push-service.ts:function:sendPush": 91.954495231337,
"packages/server/src/server/push/token-store.ts:function:addToken": 99.146,
"packages/server/src/server/push/token-store.ts:function:constructor": 99.184,
"packages/server/src/server/push/token-store.ts:function:getAllTokens": 99.184,
"packages/server/src/server/push/token-store.ts:function:removeToken": 97.30600000000001,
"packages/server/src/server/relay-transport.ts:function:anonymous_function_27": 92.18400000000001,
"packages/server/src/server/relay-transport.ts:function:anonymous_function_43": 90.87705265660472,
"packages/server/src/server/relay-transport.ts:function:anonymous_function_52": 97.742,
"packages/server/src/server/relay-transport.ts:function:anonymous_function_61": 99.032,
"packages/server/src/server/relay-transport.ts:function:anonymous_function_69": 99.146,
"packages/server/src/server/relay-transport.ts:function:anonymous_function_75": 96.376,
"packages/server/src/server/relay-transport.ts:function:anonymous_function_81": 99.146,
"packages/server/src/server/relay-transport.ts:function:buildRelayWebSocketUrl": 97.628,
"packages/server/src/server/relay-transport.ts:function:parseHostPort": 81.65793579657958,
"packages/server/src/server/relay-transport.ts:function:startRelayTransport": 74.16877079471267,
"packages/server/src/server/relay-transport.ts:refactoring:3": 100.0,
"packages/server/src/server/session.ts:function:anonymous_function_1052": 99.108,
"packages/server/src/server/session.ts:function:anonymous_function_1148": 99.184,
"packages/server/src/server/session.ts:function:anonymous_function_1414": 99.22200000000001,
"packages/server/src/server/session.ts:function:anonymous_function_1422": 99.22200000000001,
"packages/server/src/server/session.ts:function:anonymous_function_1426": 92.35432091316783,
"packages/server/src/server/session.ts:function:anonymous_function_1479": 92.18096985554433,
"packages/server/src/server/session.ts:function:anonymous_function_1498": 90.32559098994598,
"packages/server/src/server/session.ts:function:anonymous_function_1512": 99.22200000000001,
"packages/server/src/server/session.ts:function:anonymous_function_1521": 97.382,
"packages/server/src/server/session.ts:function:anonymous_function_1679": 99.032,
"packages/server/src/server/session.ts:function:anonymous_function_2115": 96.794,
"packages/server/src/server/session.ts:function:anonymous_function_2135": 96.794,
"packages/server/src/server/session.ts:function:anonymous_function_2182": 99.22200000000001,
"packages/server/src/server/session.ts:function:anonymous_function_2183": 99.22200000000001,
"packages/server/src/server/session.ts:function:anonymous_function_2184": 99.146,
"packages/server/src/server/session.ts:function:anonymous_function_2569": 99.22200000000001,
"packages/server/src/server/session.ts:function:anonymous_function_2617": 99.22200000000001,
"packages/server/src/server/session.ts:function:anonymous_function_2690": 99.22200000000001,
"packages/server/src/server/session.ts:function:anonymous_function_2795": 99.22200000000001,
"packages/server/src/server/session.ts:function:anonymous_function_3379": 99.108,
"packages/server/src/server/session.ts:function:anonymous_function_3413": 99.22200000000001,
"packages/server/src/server/session.ts:function:anonymous_function_3534": 99.22200000000001,
"packages/server/src/server/session.ts:function:anonymous_function_3763": 99.22200000000001,
"packages/server/src/server/session.ts:function:anonymous_function_3853": 99.22200000000001,
"packages/server/src/server/session.ts:function:anonymous_function_3928": 99.22200000000001,
"packages/server/src/server/session.ts:function:anonymous_function_3933": 99.22200000000001,
"packages/server/src/server/session.ts:function:anonymous_function_3935": 99.22200000000001,
"packages/server/src/server/session.ts:function:anonymous_function_3936": 99.22200000000001,
"packages/server/src/server/session.ts:function:anonymous_function_3962": 98.994,
"packages/server/src/server/session.ts:function:anonymous_function_4173": 99.22200000000001,
"packages/server/src/server/session.ts:function:anonymous_function_4307": 81.25213057669981,
"packages/server/src/server/session.ts:function:anonymous_function_4314": 99.22200000000001,
"packages/server/src/server/session.ts:function:anonymous_function_4354": 99.22200000000001,
"packages/server/src/server/session.ts:function:anonymous_function_4374": 81.36102009798385,
"packages/server/src/server/session.ts:function:anonymous_function_4400": 58.31213605476485,
"packages/server/src/server/session.ts:function:anonymous_function_4481": 96.452,
"packages/server/src/server/session.ts:function:anonymous_function_4787": 97.078,
"packages/server/src/server/session.ts:function:anonymous_function_4795": 99.22200000000001,
"packages/server/src/server/session.ts:function:anonymous_function_4841": 93.97861806497264,
"packages/server/src/server/session.ts:function:anonymous_function_4972": 99.22200000000001,
"packages/server/src/server/session.ts:function:anonymous_function_5063": 97.116,
"packages/server/src/server/session.ts:function:anonymous_function_508": 99.22200000000001,
"packages/server/src/server/session.ts:function:anonymous_function_538": 94.91600000000001,
"packages/server/src/server/session.ts:function:anonymous_function_614": 86.20507029236825,
"packages/server/src/server/session.ts:function:anonymous_function_711": 92.16195687852561,
"packages/server/src/server/session.ts:function:assertSafeGitRef": 92.792,
"packages/server/src/server/session.ts:function:buildAgentPayload": 99.07,
"packages/server/src/server/session.ts:function:buildAgentPrompt": 91.5372168172202,
"packages/server/src/server/session.ts:function:buildAgentSessionConfig": 73.33795025630783,
"packages/server/src/server/session.ts:function:buildEphemeralAgentConfig": 98.956,
"packages/server/src/server/session.ts:function:buildStoredAgentPayload": 88.44002852582334,
"packages/server/src/server/session.ts:function:checkoutExistingBranch": 90.43130130622916,
"packages/server/src/server/session.ts:function:cleanup": 81.68470517316531,
"packages/server/src/server/session.ts:function:cleanupDictationStream": 91.11625682948272,
"packages/server/src/server/session.ts:function:clearBufferTimeout": 97.30600000000001,
"packages/server/src/server/session.ts:function:clearSpeechInProgress": 97.116,
"packages/server/src/server/session.ts:function:coerceAgentProvider": 97.514,
"packages/server/src/server/session.ts:function:constructor": 90.4008561199307,
"packages/server/src/server/session.ts:function:convertPCMToWavBuffer": 93.44096562439108,
"packages/server/src/server/session.ts:function:createAbortController": 99.07,
"packages/server/src/server/session.ts:function:createBranchFromBase": 89.7909440775529,
"packages/server/src/server/session.ts:function:doesLocalBranchExist": 94.76400000000001,
"packages/server/src/server/session.ts:function:dumpConversation": 90.11646047250983,
"packages/server/src/server/session.ts:function:emit": 60.92972853357746,
"packages/server/src/server/session.ts:function:emitAgentTimelineSnapshot": 97.52346405283227,
"packages/server/src/server/session.ts:function:emitDictationAck": 99.07,
"packages/server/src/server/session.ts:function:emitDictationPartial": 99.07,
"packages/server/src/server/session.ts:function:ensureAgentLoaded": 79.15157427729466,
"packages/server/src/server/session.ts:function:ensureCleanWorkingTree": 97.23,
"packages/server/src/server/session.ts:function:failAndCleanupDictationStream": 91.07574745532187,
"packages/server/src/server/session.ts:function:failDictationStream": 99.07,
"packages/server/src/server/session.ts:function:finalizeBufferedAudio": 91.03286988184097,
"packages/server/src/server/session.ts:function:forwardAgentState": 94.726,
"packages/server/src/server/session.ts:function:generateCommitMessage": 84.81004509239533,
"packages/server/src/server/session.ts:function:generatePullRequestText": 83.18558635595811,
"packages/server/src/server/session.ts:function:getClientActivity": 98.994,
"packages/server/src/server/session.ts:function:getStoredAgentTitle": 94.76400000000001,
"packages/server/src/server/session.ts:function:handleAbort": 87.63749327747327,
"packages/server/src/server/session.ts:function:handleAgentPermissionResponse": 89.42485254326454,
"packages/server/src/server/session.ts:function:handleAgentRunError": 93.07372595582791,
"packages/server/src/server/session.ts:function:handleAudioChunk": 52.96550527050738,
"packages/server/src/server/session.ts:function:handleAudioPlayed": 99.184,
"packages/server/src/server/session.ts:function:handleCancelAgentRequest": 94.65,
"packages/server/src/server/session.ts:function:handleCheckoutCommitRequest": 79.06162024986025,
"packages/server/src/server/session.ts:function:handleCheckoutDiffRequest": 84.5829996410265,
"packages/server/src/server/session.ts:function:handleCheckoutMergeFromBaseRequest": 77.84205713794864,
"packages/server/src/server/session.ts:function:handleCheckoutMergeRequest": 53.84652341334205,
"packages/server/src/server/session.ts:function:handleCheckoutPrCreateRequest": 68.68364683844736,
"packages/server/src/server/session.ts:function:handleCheckoutPrStatusRequest": 86.05715568394893,
"packages/server/src/server/session.ts:function:handleCheckoutPushRequest": 86.03836832650785,
"packages/server/src/server/session.ts:function:handleCheckoutStatusRequest": 72.5753558108742,
"packages/server/src/server/session.ts:function:handleClearAgentAttention": 91.0956040908874,
"packages/server/src/server/session.ts:function:handleClientHeartbeat": 98.766,
"packages/server/src/server/session.ts:function:handleCreateAgentRequest": 52.99513737143104,
"packages/server/src/server/session.ts:function:handleCreateTerminalRequest": 86.23419126309317,
"packages/server/src/server/session.ts:function:handleDeleteAgentRequest": 84.49691133414434,
"packages/server/src/server/session.ts:function:handleDeleteVoiceConversation": 89.53705341327412,
"packages/server/src/server/session.ts:function:handleDictationStreamCancel": 99.108,
"packages/server/src/server/session.ts:function:handleDictationStreamChunk": 78.17779422552665,
"packages/server/src/server/session.ts:function:handleDictationStreamFinish": 65.12083375776628,
"packages/server/src/server/session.ts:function:handleDictationStreamStart": 68.03699924554329,
"packages/server/src/server/session.ts:function:handleExecuteCommandRequest": 76.11994920078146,
"packages/server/src/server/session.ts:function:handleFileDownloadTokenRequest": 79.92653277575168,
"packages/server/src/server/session.ts:function:handleFileExplorerRequest": 76.84480429561899,
"packages/server/src/server/session.ts:function:handleGitDiffRequest": 82.85239547379678,
"packages/server/src/server/session.ts:function:handleGitRepoInfoRequest": 80.62969375467452,
"packages/server/src/server/session.ts:function:handleHighlightedDiffRequest": 44.831280892453236,
"packages/server/src/server/session.ts:function:handleInitializeAgentRequest": 87.19450130394067,
"packages/server/src/server/session.ts:function:handleKillTerminalRequest": 90.46477819557691,
"packages/server/src/server/session.ts:function:handleListCommandsRequest": 76.81178961181448,
"packages/server/src/server/session.ts:function:handleListProviderModelsRequest": 86.29928573354633,
"packages/server/src/server/session.ts:function:handleListTerminalsRequest": 86.75890389667092,
"packages/server/src/server/session.ts:function:handleListVoiceConversations": 89.87003197241724,
"packages/server/src/server/session.ts:function:handleLoadVoiceConversation": 96.23346446910196,
"packages/server/src/server/session.ts:function:handleMessage": 74.35648786936542,
"packages/server/src/server/session.ts:function:handlePaseoWorktreeArchiveRequest": 49.994375759057384,
"packages/server/src/server/session.ts:function:handlePaseoWorktreeListRequest": 85.55685495924051,
"packages/server/src/server/session.ts:function:handlePresentArtifact": 73.12353538842927,
"packages/server/src/server/session.ts:function:handleRealtimeSpeechStart": 82.84536871710361,
"packages/server/src/server/session.ts:function:handleRefreshAgentRequest": 69.9530566531516,
"packages/server/src/server/session.ts:function:handleRegisterPushToken": 99.146,
"packages/server/src/server/session.ts:function:handleRestartServerRequest": 82.17860566254016,
"packages/server/src/server/session.ts:function:handleResumeAgentRequest": 80.69566433680617,
"packages/server/src/server/session.ts:function:handleSendAgentMessage": 72.53248385085436,
"packages/server/src/server/session.ts:function:handleSetAgentMode": 89.65241870699313,
"packages/server/src/server/session.ts:function:handleSetVoiceConversation": 77.32611002561421,
"packages/server/src/server/session.ts:function:handleSubscribeTerminalRequest": 81.58433676327395,
"packages/server/src/server/session.ts:function:handleTerminalInput": 95.27600000000001,
"packages/server/src/server/session.ts:function:handleUnsubscribeTerminalRequest": 97.268,
"packages/server/src/server/session.ts:function:handleUserText": 92.54724915642583,
"packages/server/src/server/session.ts:function:initializeAgentMcp": 87.5192718293879,
"packages/server/src/server/session.ts:function:interruptAgentIfRunning": 61.20218881260596,
"packages/server/src/server/session.ts:function:isPathWithinRoot": 97.23,
"packages/server/src/server/session.ts:function:isWorkingTreeDirty": 94.76400000000001,
"packages/server/src/server/session.ts:function:maybeFinalizeDictationStream": 71.87076550484284,
"packages/server/src/server/session.ts:function:maybePersistDictationStreamAudio": 88.90584473421505,
"packages/server/src/server/session.ts:function:normalizeGitOptions": 55.33442690087567,
"packages/server/src/server/session.ts:function:parseDictationTurnDetection": 88.3334281968584,
"packages/server/src/server/session.ts:function:pcm16lePeakAbs": 84.98168798306918,
"packages/server/src/server/session.ts:function:processAudio": 69.69245454840741,
"packages/server/src/server/session.ts:function:processCompletedAudio": 85.01344624803323,
"packages/server/src/server/session.ts:function:processWithLLM": 42.187525421149026,
"packages/server/src/server/session.ts:function:runAsyncWorktreeSetup": 71.41569486406615,
"packages/server/src/server/session.ts:function:safeAppendTimelineItem": 90.03014096174088,
"packages/server/src/server/session.ts:function:sendInitialState": 99.184,
"packages/server/src/server/session.ts:function:sendSessionState": 88.27929177547502,
"packages/server/src/server/session.ts:function:setBufferTimeout": 96.04510761454596,
"packages/server/src/server/session.ts:function:setPhase": 99.146,
"packages/server/src/server/session.ts:function:startAgentStream": 84.87330858395241,
"packages/server/src/server/session.ts:function:subscribeToAgentEvents": 82.70870517316531,
"packages/server/src/server/session.ts:function:toAgentPersistenceHandle": 91.1521598352361,
"packages/server/src/server/session.ts:function:toCheckoutError": 91.24122707303854,
"packages/server/src/server/terminal-mcp/server.ts:function:anonymous_function_130": 99.032,
"packages/server/src/server/terminal-mcp/server.ts:function:anonymous_function_183": 97.55199999999999,
"packages/server/src/server/terminal-mcp/server.ts:function:anonymous_function_231": 97.55199999999999,
"packages/server/src/server/terminal-mcp/server.ts:function:anonymous_function_266": 98.842,
"packages/server/src/server/terminal-mcp/server.ts:function:anonymous_function_96": 98.994,
"packages/server/src/server/terminal-mcp/server.ts:function:createTerminalMcpServer": 75.51114642239884,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_100": 98.88,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_112": 96.30000000000001,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_127": 80.55312833276665,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_128": 90.15388779359445,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_147": 99.22200000000001,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_152": 99.22200000000001,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_161": 87.67619398814166,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_18": 41.58327411553955,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_187": 99.22200000000001,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_188": 99.22200000000001,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_21": 99.146,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_214": 90.2546060710523,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_215": 97.55199999999999,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_229": 96.58694606417149,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_247": 84.88639557069442,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_248": 92.76021522475025,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_26": 97.78,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_279": 91.63883815056354,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_317": 80.3446455811495,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_318": 93.91935402344863,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_337": 99.22200000000001,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_34": 74.84932691294803,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_344": 93.70116632365705,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_35": 97.59,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_372": 92.04615673611478,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_388": 99.22200000000001,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_401": 89.3991899161703,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_402": 96.34321593164739,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_416": 99.22200000000001,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_420": 96.34321593164739,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_434": 99.22200000000001,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_439": 82.96301939763114,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_440": 90.45619633295617,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_474": 99.22200000000001,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_479": 97.55199999999999,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_48": 97.628,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_493": 97.59,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_507": 81.39913741403078,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_508": 97.666,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_519": 97.666,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_530": 97.59,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_543": 97.628,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_555": 97.628,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_60": 97.628,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_72": 97.628,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:anonymous_function_84": 96.99394106285406,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:expectMissingPathMessage": 99.108,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:function:stripAnsi": 99.184,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts:refactoring:17": 100.0,
"packages/server/src/server/terminal-mcp/terminal-manager.ts:function:anonymous_function_174": 99.22200000000001,
"packages/server/src/server/terminal-mcp/terminal-manager.ts:function:anonymous_function_213": 99.22200000000001,
"packages/server/src/server/terminal-mcp/terminal-manager.ts:function:anonymous_function_253": 99.22200000000001,
"packages/server/src/server/terminal-mcp/terminal-manager.ts:function:anonymous_function_306": 99.22200000000001,
"packages/server/src/server/terminal-mcp/terminal-manager.ts:function:captureCommand": 87.96894010749037,
"packages/server/src/server/terminal-mcp/terminal-manager.ts:function:captureTerminal": 85.58834553795882,
"packages/server/src/server/terminal-mcp/terminal-manager.ts:function:constructor": 99.22200000000001,
"packages/server/src/server/terminal-mcp/terminal-manager.ts:function:createTerminal": 84.08724338646131,
"packages/server/src/server/terminal-mcp/terminal-manager.ts:function:executeCommand": 92.52806630447884,
"packages/server/src/server/terminal-mcp/terminal-manager.ts:function:initialize": 97.268,
"packages/server/src/server/terminal-mcp/terminal-manager.ts:function:killCommand": 97.23,
"packages/server/src/server/terminal-mcp/terminal-manager.ts:function:killTerminal": 93.32883197955452,
"packages/server/src/server/terminal-mcp/terminal-manager.ts:function:listCommands": 83.96185474919619,
"packages/server/src/server/terminal-mcp/terminal-manager.ts:function:listTerminals": 90.28320011856266,
"packages/server/src/server/terminal-mcp/terminal-manager.ts:function:renameTerminal": 97.04,
"packages/server/src/server/terminal-mcp/terminal-manager.ts:function:sendKeys": 87.2150264062916,
"packages/server/src/server/terminal-mcp/terminal-manager.ts:function:sendKeysToCommand": 95.6216791188268,
"packages/server/src/server/terminal-mcp/terminal-manager.ts:function:sendText": 87.2150264062916,
"packages/server/src/server/terminal-mcp/terminal-manager.ts:function:sendTextToCommand": 95.6216791188268,
"packages/server/src/server/terminal-mcp/tmux.ts:function:anonymous_function_104": 98.956,
"packages/server/src/server/terminal-mcp/tmux.ts:function:anonymous_function_1067": 99.22200000000001,
"packages/server/src/server/terminal-mcp/tmux.ts:function:anonymous_function_1160": 99.22200000000001,
"packages/server/src/server/terminal-mcp/tmux.ts:function:anonymous_function_1186": 99.22200000000001,
"packages/server/src/server/terminal-mcp/tmux.ts:function:anonymous_function_123": 97.458,
"packages/server/src/server/terminal-mcp/tmux.ts:function:anonymous_function_138": 97.458,
"packages/server/src/server/terminal-mcp/tmux.ts:function:anonymous_function_170": 98.956,
"packages/server/src/server/terminal-mcp/tmux.ts:function:anonymous_function_196": 98.956,
"packages/server/src/server/terminal-mcp/tmux.ts:function:anonymous_function_438": 99.22200000000001,
"packages/server/src/server/terminal-mcp/tmux.ts:function:anonymous_function_513": 99.22200000000001,
"packages/server/src/server/terminal-mcp/tmux.ts:function:anonymous_function_601": 99.22200000000001,
"packages/server/src/server/terminal-mcp/tmux.ts:function:anonymous_function_615": 99.22200000000001,
"packages/server/src/server/terminal-mcp/tmux.ts:function:anonymous_function_997": 99.22200000000001,
"packages/server/src/server/terminal-mcp/tmux.ts:function:capturePaneContent": 93.1440308582032,
"packages/server/src/server/terminal-mcp/tmux.ts:function:checkCommandStatus": 77.38483746333446,
"packages/server/src/server/terminal-mcp/tmux.ts:function:cleanupOldCommands": 95.82600000000001,
"packages/server/src/server/terminal-mcp/tmux.ts:function:createSession": 92.19942426258523,
"packages/server/src/server/terminal-mcp/tmux.ts:function:createWindow": 79.61997475247581,
"packages/server/src/server/terminal-mcp/tmux.ts:function:executeCommand": 62.24460699037881,
"packages/server/src/server/terminal-mcp/tmux.ts:function:executeCommandLegacy": 68.06440802758436,
"packages/server/src/server/terminal-mcp/tmux.ts:function:executeShellCommand": 81.87305439296188,
"packages/server/src/server/terminal-mcp/tmux.ts:function:executeTmux": 95.97800000000001,
"packages/server/src/server/terminal-mcp/tmux.ts:function:expandTilde": 92.886,
"packages/server/src/server/terminal-mcp/tmux.ts:function:findSessionByName": 94.138,
"packages/server/src/server/terminal-mcp/tmux.ts:function:findWindowByName": 94.10000000000001,
"packages/server/src/server/terminal-mcp/tmux.ts:function:getActiveCommandIds": 99.184,
"packages/server/src/server/terminal-mcp/tmux.ts:function:getCommand": 97.932,
"packages/server/src/server/terminal-mcp/tmux.ts:function:getCurrentCommand": 84.96224666130738,
"packages/server/src/server/terminal-mcp/tmux.ts:function:getCurrentWorkingDirectory": 84.84131635455597,
"packages/server/src/server/terminal-mcp/tmux.ts:function:getEndMarkerText": 97.856,
"packages/server/src/server/terminal-mcp/tmux.ts:function:getStoredCommand": 91.30987150720834,
"packages/server/src/server/terminal-mcp/tmux.ts:function:getStoredWorkingDirectory": 91.30987150720834,
"packages/server/src/server/terminal-mcp/tmux.ts:function:isTmuxRunning": 95.97800000000001,
"packages/server/src/server/terminal-mcp/tmux.ts:function:isWindowNameUnique": 99.032,
"packages/server/src/server/terminal-mcp/tmux.ts:function:kill": 93.28389255626539,
"packages/server/src/server/terminal-mcp/tmux.ts:function:killPane": 99.184,
"packages/server/src/server/terminal-mcp/tmux.ts:function:killSession": 99.184,
"packages/server/src/server/terminal-mcp/tmux.ts:function:killWindow": 99.184,
"packages/server/src/server/terminal-mcp/tmux.ts:function:list": 72.49972015767443,
"packages/server/src/server/terminal-mcp/tmux.ts:function:listPanes": 95.20208971389266,
"packages/server/src/server/terminal-mcp/tmux.ts:function:listSessions": 96.58205676931264,
"packages/server/src/server/terminal-mcp/tmux.ts:function:listWindows": 95.23340274869437,
"packages/server/src/server/terminal-mcp/tmux.ts:function:renameWindow": 88.66254002510829,
"packages/server/src/server/terminal-mcp/tmux.ts:function:sendKeys": 86.04733806544147,
"packages/server/src/server/terminal-mcp/tmux.ts:function:sendText": 85.49453403640644,
"packages/server/src/server/terminal-mcp/tmux.ts:function:setShellConfig": 97.666,
"packages/server/src/server/terminal-mcp/tmux.ts:function:splitPane": 84.12724541139073,
"packages/server/src/server/terminal-mcp/tmux.ts:function:stripAnsiSequences": 97.818,
"packages/server/src/server/terminal-mcp/tmux.ts:function:waitForPaneActivityToSettle": 86.0110796890063,
"packages/server/src/server/terminal-mcp/tmux.ts:refactoring:22": 100.0,
"packages/server/src/server/test-utils/claude-auth.ts:function:seedClaudeAuth": 88.18220564851508,
"packages/server/src/server/test-utils/claude-auth.ts:refactoring:1": 100.0,
"packages/server/src/server/test-utils/claude-config.ts:function:anonymous_function_35": 97.742,
"packages/server/src/server/test-utils/claude-config.ts:function:useTempClaudeConfigDir": 92.38685515902824,
"packages/server/src/server/test-utils/daemon-client.ts:function:anonymous_function_23": 99.22200000000001,
"packages/server/src/server/test-utils/daemon-client.ts:function:constructor": 98.994,
"packages/server/src/server/test-utils/daemon-test-context.ts:function:anonymous_function_45": 99.146,
"packages/server/src/server/test-utils/daemon-test-context.ts:function:createDaemonTestContext": 97.9189268214456,
"packages/server/src/server/test-utils/paseo-daemon.ts:function:anonymous_function_27": 95.82600000000001,
"packages/server/src/server/test-utils/paseo-daemon.ts:function:anonymous_function_30": 95.97800000000001,
"packages/server/src/server/test-utils/paseo-daemon.ts:function:anonymous_function_33": 99.22200000000001,
"packages/server/src/server/test-utils/paseo-daemon.ts:function:anonymous_function_36": 99.22200000000001,
"packages/server/src/server/test-utils/paseo-daemon.ts:function:anonymous_function_81": 99.07,
"packages/server/src/server/test-utils/paseo-daemon.ts:function:anonymous_function_82": 99.22200000000001,
"packages/server/src/server/test-utils/paseo-daemon.ts:function:anonymous_function_83": 99.22200000000001,
"packages/server/src/server/test-utils/paseo-daemon.ts:function:anonymous_function_98": 99.22200000000001,
"packages/server/src/server/test-utils/paseo-daemon.ts:function:createTestPaseoDaemon": 73.96039917285533,
"packages/server/src/server/test-utils/paseo-daemon.ts:function:getAvailablePort": 95.55468996995626,
"packages/server/src/server/test-utils/paseo-daemon.ts:function:isAddressInUseError": 96.016,
"packages/server/src/server/test-utils/paseo-daemon.ts:refactoring:2": 100.0,
"packages/server/src/server/utils/diff-highlighter.test.ts:function:anonymous_function_100": 98.918,
"packages/server/src/server/utils/diff-highlighter.test.ts:function:anonymous_function_111": 98.918,
"packages/server/src/server/utils/diff-highlighter.test.ts:function:anonymous_function_122": 99.146,
"packages/server/src/server/utils/diff-highlighter.test.ts:function:anonymous_function_128": 94.02392059676468,
"packages/server/src/server/utils/diff-highlighter.test.ts:function:anonymous_function_129": 97.96212119664341,
"packages/server/src/server/utils/diff-highlighter.test.ts:function:anonymous_function_145": 98.994,
"packages/server/src/server/utils/diff-highlighter.test.ts:function:anonymous_function_155": 95.55301429012941,
"packages/server/src/server/utils/diff-highlighter.test.ts:function:anonymous_function_156": 98.88,
"packages/server/src/server/utils/diff-highlighter.test.ts:function:anonymous_function_168": 99.032,
"packages/server/src/server/utils/diff-highlighter.test.ts:function:anonymous_function_177": 83.0781726760295,
"packages/server/src/server/utils/diff-highlighter.test.ts:function:anonymous_function_178": 95.29425104106787,
"packages/server/src/server/utils/diff-highlighter.test.ts:function:anonymous_function_191": 99.22200000000001,
"packages/server/src/server/utils/diff-highlighter.test.ts:function:anonymous_function_196": 99.22200000000001,
"packages/server/src/server/utils/diff-highlighter.test.ts:function:anonymous_function_201": 92.64944045250535,
"packages/server/src/server/utils/diff-highlighter.test.ts:function:anonymous_function_208": 97.97,
"packages/server/src/server/utils/diff-highlighter.test.ts:function:anonymous_function_211": 99.22200000000001,
"packages/server/src/server/utils/diff-highlighter.test.ts:function:anonymous_function_216": 97.97,
"packages/server/src/server/utils/diff-highlighter.test.ts:function:anonymous_function_219": 99.22200000000001,
"packages/server/src/server/utils/diff-highlighter.test.ts:function:anonymous_function_223": 94.49234777557469,
"packages/server/src/server/utils/diff-highlighter.test.ts:function:anonymous_function_59": 85.86057282367236,
"packages/server/src/server/utils/diff-highlighter.test.ts:function:anonymous_function_60": 93.19313058815362,
"packages/server/src/server/utils/diff-highlighter.test.ts:function:anonymous_function_87": 98.842,
"packages/server/src/server/utils/diff-highlighter.ts:function:anonymous_function_175": 99.22200000000001,
"packages/server/src/server/utils/diff-highlighter.ts:function:anonymous_function_195": 99.22200000000001,
"packages/server/src/server/utils/diff-highlighter.ts:function:anonymous_function_281": 85.7320137253235,
"packages/server/src/server/utils/diff-highlighter.ts:function:anonymous_function_285": 87.71757420761699,
"packages/server/src/server/utils/diff-highlighter.ts:function:anonymous_function_324": 99.22200000000001,
"packages/server/src/server/utils/diff-highlighter.ts:function:applyTokensToHunks": 83.94000477819102,
"packages/server/src/server/utils/diff-highlighter.ts:function:buildFileContent": 95.81437438109222,
"packages/server/src/server/utils/diff-highlighter.ts:function:buildTokenLookup": 91.93330372946315,
"packages/server/src/server/utils/diff-highlighter.ts:function:highlightDiffFromHunks": 94.59351043680951,
"packages/server/src/server/utils/diff-highlighter.ts:function:highlightDiffWithFileContent": 86.37149077066636,
"packages/server/src/server/utils/diff-highlighter.ts:function:parseAndHighlightDiff": 98.842,
"packages/server/src/server/utils/diff-highlighter.ts:function:parseDiff": 50.72643505767239,
"packages/server/src/server/utils/diff-highlighter.ts:function:reconstructNewFile": 93.0228494375606,
"packages/server/src/server/utils/diff-highlighter.ts:function:reconstructOldFile": 93.0228494375606,
"packages/server/src/server/utils/syntax-highlighter.ts:function:anonymous_function_116": 99.22200000000001,
"packages/server/src/server/utils/syntax-highlighter.ts:function:anonymous_function_132": 96.092,
"packages/server/src/server/utils/syntax-highlighter.ts:function:getParserForFile": 97.856,
"packages/server/src/server/utils/syntax-highlighter.ts:function:getSupportedExtensions": 99.184,
"packages/server/src/server/utils/syntax-highlighter.ts:function:highlightCode": 70.03060055997614,
"packages/server/src/server/utils/syntax-highlighter.ts:function:highlightLine": 99.146,
"packages/server/src/server/utils/syntax-highlighter.ts:function:isLanguageSupported": 99.184,
"packages/server/src/server/voice-conversation-store.ts:function:anonymous_function_103": 99.22200000000001,
"packages/server/src/server/voice-conversation-store.ts:function:anonymous_function_123": 99.22200000000001,
"packages/server/src/server/voice-conversation-store.ts:function:constructor": 99.184,
"packages/server/src/server/voice-conversation-store.ts:function:delete": 99.07,
"packages/server/src/server/voice-conversation-store.ts:function:ensureBaseDir": 99.184,
"packages/server/src/server/voice-conversation-store.ts:function:getLogger": 99.184,
"packages/server/src/server/voice-conversation-store.ts:function:list": 83.08802042190537,
"packages/server/src/server/voice-conversation-store.ts:function:load": 85.2313150624127,
"packages/server/src/server/voice-conversation-store.ts:function:save": 96.93899769264533,
"packages/server/src/server/voice-conversations.e2e.test.ts:function:anonymous_function_101": 99.22200000000001,
"packages/server/src/server/voice-conversations.e2e.test.ts:function:anonymous_function_102": 99.22200000000001,
"packages/server/src/server/voice-conversations.e2e.test.ts:function:anonymous_function_111": 91.91468695017375,
"packages/server/src/server/voice-conversations.e2e.test.ts:function:anonymous_function_140": 99.22200000000001,
"packages/server/src/server/voice-conversations.e2e.test.ts:function:anonymous_function_18": 99.22200000000001,
"packages/server/src/server/voice-conversations.e2e.test.ts:function:anonymous_function_42": 99.22200000000001,
"packages/server/src/server/voice-conversations.e2e.test.ts:function:anonymous_function_46": 80.9148096860382,
"packages/server/src/server/voice-conversations.e2e.test.ts:function:anonymous_function_49": 87.21394822716013,
"packages/server/src/server/voice-conversations.e2e.test.ts:function:waitForFile": 94.024,
"packages/server/src/server/voice-conversations.e2e.test.ts:function:waitForJsonFile": 82.6428230163782,
"packages/server/src/server/voice-conversations.e2e.test.ts:refactoring:3": 100.0,
"packages/server/src/server/websocket-server.ts:function:anonymous_function_57": 84.20723757194946,
"packages/server/src/server/websocket-server.ts:function:anonymous_function_74": 99.184,
"packages/server/src/server/websocket-server.ts:function:attachExternalSocket": 98.994,
"packages/server/src/server/websocket-server.ts:function:broadcast": 99.184,
"packages/server/src/server/websocket-server.ts:function:close": 99.146,
"packages/server/src/server/websocket-server.ts:function:constructor": 75.50146307588203,
"packages/server/src/server/websocket-server.ts:refactoring:3": 100.0,
"packages/server/src/server/websocket-session-bridge.ts:function:anonymous_function_107": 99.184,
"packages/server/src/server/websocket-session-bridge.ts:function:anonymous_function_111": 99.184,
"packages/server/src/server/websocket-session-bridge.ts:function:anonymous_function_115": 97.344,
"packages/server/src/server/websocket-session-bridge.ts:function:anonymous_function_186": 96.434,
"packages/server/src/server/websocket-session-bridge.ts:function:anonymous_function_249": 97.19200000000001,
"packages/server/src/server/websocket-session-bridge.ts:function:anonymous_function_255": 99.22200000000001,
"packages/server/src/server/websocket-session-bridge.ts:function:anonymous_function_315": 95.694,
"packages/server/src/server/websocket-session-bridge.ts:function:anonymous_function_334": 97.458,
"packages/server/src/server/websocket-session-bridge.ts:function:anonymous_function_343": 94.67,
"packages/server/src/server/websocket-session-bridge.ts:function:anonymous_function_373": 99.22200000000001,
"packages/server/src/server/websocket-session-bridge.ts:function:anonymous_function_385": 99.22200000000001,
"packages/server/src/server/websocket-session-bridge.ts:function:anonymous_function_69": 99.184,
"packages/server/src/server/websocket-session-bridge.ts:function:anonymous_function_84": 99.184,
"packages/server/src/server/websocket-session-bridge.ts:function:attach": 88.95971429743199,
"packages/server/src/server/websocket-session-bridge.ts:function:broadcast": 97.23,
"packages/server/src/server/websocket-session-bridge.ts:function:broadcastAgentAttention": 82.83854125421401,
"packages/server/src/server/websocket-session-bridge.ts:function:closeAll": 95.14991360287934,
"packages/server/src/server/websocket-session-bridge.ts:function:computeShouldNotifyForClient": 64.02633085659285,
"packages/server/src/server/websocket-session-bridge.ts:function:constructor": 92.85318927886921,
"packages/server/src/server/websocket-session-bridge.ts:function:detach": 97.078,
"packages/server/src/server/websocket-session-bridge.ts:function:getClientActivityState": 91.33882584472512,
"packages/server/src/server/websocket-session-bridge.ts:function:getSessionCount": 99.184,
"packages/server/src/server/websocket-session-bridge.ts:function:handleRawMessage": 50.752870042592264,
"packages/server/src/server/websocket-session-bridge.ts:function:sendToClient": 97.30600000000001,
"packages/server/src/shared/messages.ts:function:extractSessionMessage": 97.70400000000001,
"packages/server/src/shared/messages.ts:function:wrapSessionMessage": 98.994,
"packages/server/src/tasks/cli.ts:function:anonymous_function_1071": 42.62339160786489,
"packages/server/src/tasks/cli.ts:function:anonymous_function_1091": 93.10433956593789,
"packages/server/src/tasks/cli.ts:function:anonymous_function_1099": 99.22200000000001,
"packages/server/src/tasks/cli.ts:function:anonymous_function_1114": 45.50375236889291,
"packages/server/src/tasks/cli.ts:function:anonymous_function_1121": 99.22200000000001,
"packages/server/src/tasks/cli.ts:function:anonymous_function_1169": 99.22200000000001,
"packages/server/src/tasks/cli.ts:function:anonymous_function_1179": 99.22200000000001,
"packages/server/src/tasks/cli.ts:function:anonymous_function_1182": 99.22200000000001,
"packages/server/src/tasks/cli.ts:function:anonymous_function_1184": 99.22200000000001,
"packages/server/src/tasks/cli.ts:function:anonymous_function_1269": 99.22200000000001,
"packages/server/src/tasks/cli.ts:function:anonymous_function_174": 99.22200000000001,
"packages/server/src/tasks/cli.ts:function:anonymous_function_175": 90.70034699468712,
"packages/server/src/tasks/cli.ts:function:anonymous_function_184": 99.22200000000001,
"packages/server/src/tasks/cli.ts:function:anonymous_function_202": 88.45946970653573,
"packages/server/src/tasks/cli.ts:function:anonymous_function_205": 99.22200000000001,
"packages/server/src/tasks/cli.ts:function:anonymous_function_209": 99.22200000000001,
"packages/server/src/tasks/cli.ts:function:anonymous_function_224": 74.41093704551847,
"packages/server/src/tasks/cli.ts:function:anonymous_function_285": 96.49000000000001,
"packages/server/src/tasks/cli.ts:function:anonymous_function_298": 99.07,
"packages/server/src/tasks/cli.ts:function:anonymous_function_309": 99.07,
"packages/server/src/tasks/cli.ts:function:anonymous_function_322": 51.12685948143556,
"packages/server/src/tasks/cli.ts:function:anonymous_function_328": 99.22200000000001,
"packages/server/src/tasks/cli.ts:function:anonymous_function_331": 97.894,
"packages/server/src/tasks/cli.ts:function:anonymous_function_338": 93.626,
"packages/server/src/tasks/cli.ts:function:anonymous_function_367": 92.88058549286089,
"packages/server/src/tasks/cli.ts:function:anonymous_function_394": 90.51064810309938,
"packages/server/src/tasks/cli.ts:function:anonymous_function_422": 99.146,
"packages/server/src/tasks/cli.ts:function:anonymous_function_430": 99.146,
"packages/server/src/tasks/cli.ts:function:anonymous_function_447": 99.22200000000001,
"packages/server/src/tasks/cli.ts:function:anonymous_function_448": 69.62594076562928,
"packages/server/src/tasks/cli.ts:function:anonymous_function_506": 87.86826773090169,
"packages/server/src/tasks/cli.ts:function:anonymous_function_528": 91.09930882091072,
"packages/server/src/tasks/cli.ts:function:anonymous_function_552": 99.146,
"packages/server/src/tasks/cli.ts:function:anonymous_function_560": 99.146,
"packages/server/src/tasks/cli.ts:function:anonymous_function_568": 99.146,
"packages/server/src/tasks/cli.ts:function:anonymous_function_576": 99.146,
"packages/server/src/tasks/cli.ts:function:anonymous_function_584": 99.146,
"packages/server/src/tasks/cli.ts:function:anonymous_function_593": 99.146,
"packages/server/src/tasks/cli.ts:function:anonymous_function_601": 99.146,
"packages/server/src/tasks/cli.ts:function:anonymous_function_699": 97.458,
"packages/server/src/tasks/cli.ts:function:buildTaskContext": 83.52349102151808,
"packages/server/src/tasks/cli.ts:function:getAgentConfig": 97.742,
"packages/server/src/tasks/cli.ts:function:getLogFile": 97.78,
"packages/server/src/tasks/cli.ts:function:log": 99.108,
"packages/server/src/tasks/cli.ts:function:makeJudgePrompt": 89.48590402363985,
"packages/server/src/tasks/cli.ts:function:makePlannerPrompt": 84.83170968496931,
"packages/server/src/tasks/cli.ts:function:makeWorkerPrompt": 97.65763701158379,
"packages/server/src/tasks/cli.ts:function:parseJudgeVerdict": 97.818,
"packages/server/src/tasks/cli.ts:function:parseModelString": 97.55199999999999,
"packages/server/src/tasks/cli.ts:function:readStdin": 99.032,
"packages/server/src/tasks/cli.ts:function:runAgentWithModel": 85.72428289601564,
"packages/server/src/tasks/execution-order.test.ts:function:addAcceptanceCriteria": 99.184,
"packages/server/src/tasks/execution-order.test.ts:function:addDep": 99.184,
"packages/server/src/tasks/execution-order.test.ts:function:addNote": 99.184,
"packages/server/src/tasks/execution-order.test.ts:function:addTask": 99.184,
"packages/server/src/tasks/execution-order.test.ts:function:anonymous_function_118": 78.18052972817935,
"packages/server/src/tasks/execution-order.test.ts:function:anonymous_function_121": 99.184,
"packages/server/src/tasks/execution-order.test.ts:function:anonymous_function_125": 99.07,
"packages/server/src/tasks/execution-order.test.ts:function:anonymous_function_132": 98.918,
"packages/server/src/tasks/execution-order.test.ts:function:anonymous_function_138": 99.22200000000001,
"packages/server/src/tasks/execution-order.test.ts:function:anonymous_function_143": 98.88,
"packages/server/src/tasks/execution-order.test.ts:function:anonymous_function_149": 99.22200000000001,
"packages/server/src/tasks/execution-order.test.ts:function:anonymous_function_155": 98.842,
"packages/server/src/tasks/execution-order.test.ts:function:anonymous_function_162": 99.22200000000001,
"packages/server/src/tasks/execution-order.test.ts:function:anonymous_function_168": 98.842,
"packages/server/src/tasks/execution-order.test.ts:function:anonymous_function_175": 99.22200000000001,
"packages/server/src/tasks/execution-order.test.ts:function:anonymous_function_181": 86.43637524754841,
"packages/server/src/tasks/execution-order.test.ts:function:anonymous_function_24": 97.23,
"packages/server/src/tasks/execution-order.test.ts:function:anonymous_function_242": 99.22200000000001,
"packages/server/src/tasks/execution-order.test.ts:function:anonymous_function_265": 93.14327363935257,
"packages/server/src/tasks/execution-order.test.ts:function:anonymous_function_295": 99.22200000000001,
"packages/server/src/tasks/execution-order.test.ts:function:anonymous_function_301": 98.37571660981135,
"packages/server/src/tasks/execution-order.test.ts:function:anonymous_function_311": 99.22200000000001,
"packages/server/src/tasks/execution-order.test.ts:function:anonymous_function_317": 98.842,
"packages/server/src/tasks/execution-order.test.ts:function:anonymous_function_326": 99.22200000000001,
"packages/server/src/tasks/execution-order.test.ts:function:anonymous_function_330": 98.88,
"packages/server/src/tasks/execution-order.test.ts:function:anonymous_function_342": 98.956,
"packages/server/src/tasks/execution-order.test.ts:function:anonymous_function_347": 99.22200000000001,
"packages/server/src/tasks/execution-order.test.ts:function:anonymous_function_353": 91.72451495762294,
"packages/server/src/tasks/execution-order.test.ts:function:anonymous_function_354": 96.4794586625609,
"packages/server/src/tasks/execution-order.test.ts:function:anonymous_function_373": 99.22200000000001,
"packages/server/src/tasks/execution-order.test.ts:function:anonymous_function_376": 98.36824513022366,
"packages/server/src/tasks/execution-order.test.ts:function:anonymous_function_390": 99.22200000000001,
"packages/server/src/tasks/execution-order.test.ts:function:anonymous_function_44": 99.22200000000001,
"packages/server/src/tasks/execution-order.test.ts:function:close": 99.184,
"packages/server/src/tasks/execution-order.test.ts:function:create": 99.184,
"packages/server/src/tasks/execution-order.test.ts:function:delete": 99.184,
"packages/server/src/tasks/execution-order.test.ts:function:fail": 99.184,
"packages/server/src/tasks/execution-order.test.ts:function:get": 99.184,
"packages/server/src/tasks/execution-order.test.ts:function:getAncestors": 99.184,
"packages/server/src/tasks/execution-order.test.ts:function:getBlocked": 99.184,
"packages/server/src/tasks/execution-order.test.ts:function:getChildren": 99.184,
"packages/server/src/tasks/execution-order.test.ts:function:getClosed": 99.184,
"packages/server/src/tasks/execution-order.test.ts:function:getDepTree": 99.184,
"packages/server/src/tasks/execution-order.test.ts:function:getDescendants": 97.04,
"packages/server/src/tasks/execution-order.test.ts:function:getReady": 99.184,
"packages/server/src/tasks/execution-order.test.ts:function:list": 99.184,
"packages/server/src/tasks/execution-order.test.ts:function:makeTask": 95.93528380428936,
"packages/server/src/tasks/execution-order.test.ts:function:open": 99.184,
"packages/server/src/tasks/execution-order.test.ts:function:removeDep": 99.184,
"packages/server/src/tasks/execution-order.test.ts:function:setParent": 99.184,
"packages/server/src/tasks/execution-order.test.ts:function:start": 99.184,
"packages/server/src/tasks/execution-order.test.ts:function:update": 99.184,
"packages/server/src/tasks/execution-order.ts:function:anonymous_function_135": 99.108,
"packages/server/src/tasks/execution-order.ts:function:anonymous_function_33": 99.22200000000001,
"packages/server/src/tasks/execution-order.ts:function:anonymous_function_55": 99.22200000000001,
"packages/server/src/tasks/execution-order.ts:function:anonymous_function_60": 99.22200000000001,
"packages/server/src/tasks/execution-order.ts:function:anonymous_function_64": 97.97,
"packages/server/src/tasks/execution-order.ts:function:anonymous_function_65": 99.22200000000001,
"packages/server/src/tasks/execution-order.ts:function:anonymous_function_68": 96.33800000000001,
"packages/server/src/tasks/execution-order.ts:function:anonymous_function_72": 99.22200000000001,
"packages/server/src/tasks/execution-order.ts:function:anonymous_function_74": 99.22200000000001,
"packages/server/src/tasks/execution-order.ts:function:anonymous_function_77": 99.22200000000001,
"packages/server/src/tasks/execution-order.ts:function:anonymous_function_87": 99.22200000000001,
"packages/server/src/tasks/execution-order.ts:function:anonymous_function_88": 99.22200000000001,
"packages/server/src/tasks/execution-order.ts:function:anonymous_function_98": 99.22200000000001,
"packages/server/src/tasks/execution-order.ts:function:buildSortedChildrenMap": 93.37607494035464,
"packages/server/src/tasks/execution-order.ts:function:computeExecutionOrder": 72.85180296662588,
"packages/server/src/tasks/execution-order.ts:function:sortByPriorityThenCreated": 88.182,
"packages/server/src/tasks/execution-order.ts:refactoring:3": 100.0,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_10": 99.146,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_1004": 98.956,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_1014": 98.804,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_1028": 99.184,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_1033": 85.84683086567037,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_1034": 99.032,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_1042": 98.842,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_1050": 99.22200000000001,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_1055": 98.842,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_106": 98.804,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_1068": 96.40086951345552,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_1086": 99.22200000000001,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_1089": 97.44002754954882,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_1102": 99.22200000000001,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_1109": 88.74139593603914,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_1110": 98.956,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_1120": 98.956,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_1130": 99.032,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_1138": 99.032,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_1146": 99.032,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_1154": 98.994,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_121": 91.13269214449195,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_122": 99.07,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_129": 99.108,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_135": 99.07,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_142": 96.95435159770466,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_15": 99.184,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_161": 95.98534743981286,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_162": 99.108,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_168": 98.766,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_176": 99.22200000000001,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_184": 86.06001094009673,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_185": 99.032,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_19": 82.7218713091134,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_193": 98.994,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_20": 98.00610826329736,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_202": 99.07,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_209": 99.032,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_217": 98.918,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_221": 99.22200000000001,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_228": 99.108,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_234": 98.88,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_246": 98.88,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_259": 95.04468731453699,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_260": 99.032,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_268": 98.956,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_278": 99.184,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_283": 83.42285185763448,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_284": 90.23128368203548,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_285": 99.032,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_293": 98.994,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_302": 98.994,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_311": 98.994,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_320": 99.032,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_329": 95.46965941287827,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_330": 99.032,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_338": 99.108,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_344": 99.07,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_35": 99.108,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_352": 94.28347215491408,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_353": 99.032,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_361": 98.994,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_370": 99.032,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_380": 88.19936336162104,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_381": 92.2303319514574,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_382": 98.956,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_392": 98.918,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_403": 99.108,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_409": 99.108,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_41": 99.108,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_416": 96.27514159407986,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_417": 98.956,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_427": 98.994,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_438": 93.1396881751588,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_439": 98.88,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_451": 98.08903285722423,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_460": 99.22200000000001,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_468": 76.46055410796583,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_469": 98.994,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_47": 98.956,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_478": 99.032,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_486": 98.994,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_495": 98.994,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_504": 98.956,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_514": 98.918,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_525": 97.72960458375593,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_533": 99.22200000000001,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_538": 99.22200000000001,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_541": 98.88,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_543": 99.22200000000001,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_545": 99.22200000000001,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_550": 99.22200000000001,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_553": 98.918,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_561": 99.22200000000001,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_564": 98.956,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_57": 98.956,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_571": 99.22200000000001,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_574": 98.88,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_576": 99.22200000000001,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_578": 99.22200000000001,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_583": 99.22200000000001,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_586": 82.81896052119527,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_587": 98.88,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_596": 99.22200000000001,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_599": 98.804,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_6": 67.59888180393,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_613": 98.804,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_624": 99.22200000000001,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_627": 94.61974767344421,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_652": 94.41639678167047,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_660": 99.22200000000001,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_661": 99.22200000000001,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_662": 99.22200000000001,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_667": 99.22200000000001,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_67": 99.07,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_676": 98.994,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_686": 88.56018770078713,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_687": 97.0479061868111,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_705": 98.994,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_714": 94.52577958666788,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_74": 99.108,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_741": 86.30348392385957,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_742": 98.956,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_752": 99.032,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_760": 98.956,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_770": 98.994,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_779": 98.88,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_791": 96.29530750448146,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_792": 96.9813889943155,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_80": 99.032,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_813": 88.18929070866054,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_814": 98.956,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_824": 98.918,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_835": 97.70663753823635,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_837": 99.22200000000001,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_839": 99.22200000000001,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_848": 99.22200000000001,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_851": 97.64276257568189,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_852": 98.48273053651712,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_869": 87.27167213392491,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_870": 99.032,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_878": 98.918,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_88": 98.994,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_886": 99.22200000000001,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_889": 98.918,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_897": 99.22200000000001,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_900": 98.57685522177319,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_909": 99.22200000000001,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_914": 98.918,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_922": 99.22200000000001,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_925": 99.184,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_930": 86.97981737666089,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_931": 96.09405907493155,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_951": 98.956,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_961": 98.994,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_97": 98.994,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_970": 95.0231687783793,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_994": 79.7078544992039,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_995": 91.55594281503086,
"packages/server/src/tasks/task-store.test.ts:function:anonymous_function_996": 99.032,
"packages/server/src/tasks/task-store.test.ts:refactoring:39": 100.0,
"packages/server/src/tasks/task-store.ts:function:addAcceptanceCriteria": 97.23,
"packages/server/src/tasks/task-store.ts:function:addDep": 92.72110047115736,
"packages/server/src/tasks/task-store.ts:function:addNote": 97.078,
"packages/server/src/tasks/task-store.ts:function:anonymous_function_204": 99.22200000000001,
"packages/server/src/tasks/task-store.ts:function:anonymous_function_226": 89.92742083410816,
"packages/server/src/tasks/task-store.ts:function:anonymous_function_270": 99.22200000000001,
"packages/server/src/tasks/task-store.ts:function:anonymous_function_276": 99.032,
"packages/server/src/tasks/task-store.ts:function:anonymous_function_289": 99.22200000000001,
"packages/server/src/tasks/task-store.ts:function:anonymous_function_311": 95.31400000000001,
"packages/server/src/tasks/task-store.ts:function:anonymous_function_314": 99.146,
"packages/server/src/tasks/task-store.ts:function:anonymous_function_321": 99.22200000000001,
"packages/server/src/tasks/task-store.ts:function:anonymous_function_330": 99.22200000000001,
"packages/server/src/tasks/task-store.ts:function:anonymous_function_341": 93.19,
"packages/server/src/tasks/task-store.ts:function:anonymous_function_344": 99.146,
"packages/server/src/tasks/task-store.ts:function:anonymous_function_365": 99.22200000000001,
"packages/server/src/tasks/task-store.ts:function:anonymous_function_366": 99.22200000000001,
"packages/server/src/tasks/task-store.ts:function:anonymous_function_444": 99.22200000000001,
"packages/server/src/tasks/task-store.ts:function:anonymous_function_465": 99.22200000000001,
"packages/server/src/tasks/task-store.ts:function:anonymous_function_88": 97.894,
"packages/server/src/tasks/task-store.ts:function:anonymous_function_99": 99.22200000000001,
"packages/server/src/tasks/task-store.ts:function:close": 97.268,
"packages/server/src/tasks/task-store.ts:function:constructor": 99.22200000000001,
"packages/server/src/tasks/task-store.ts:function:create": 89.65356916970359,
"packages/server/src/tasks/task-store.ts:function:delete": 97.268,
"packages/server/src/tasks/task-store.ts:function:ensureDir": 99.184,
"packages/server/src/tasks/task-store.ts:function:fail": 97.268,
"packages/server/src/tasks/task-store.ts:function:generateId": 99.184,
"packages/server/src/tasks/task-store.ts:function:get": 99.184,
"packages/server/src/tasks/task-store.ts:function:getAncestors": 91.592179756648,
"packages/server/src/tasks/task-store.ts:function:getAncestorsFrom": 94.76400000000001,
"packages/server/src/tasks/task-store.ts:function:getBlocked": 84.57912449754691,
"packages/server/src/tasks/task-store.ts:function:getChildren": 99.07,
"packages/server/src/tasks/task-store.ts:function:getClosed": 94.0789557766112,
"packages/server/src/tasks/task-store.ts:function:getDepTree": 84.16176216206448,
"packages/server/src/tasks/task-store.ts:function:getDescendants": 98.842,
"packages/server/src/tasks/task-store.ts:function:getReady": 81.45139937679245,
"packages/server/src/tasks/task-store.ts:function:list": 83.62033804076907,
"packages/server/src/tasks/task-store.ts:function:open": 97.268,
"packages/server/src/tasks/task-store.ts:function:parseTask": 70.92956884405933,
"packages/server/src/tasks/task-store.ts:function:readTask": 92.56400000000001,
"packages/server/src/tasks/task-store.ts:function:removeDep": 97.19200000000001,
"packages/server/src/tasks/task-store.ts:function:serializeTask": 82.36244496634683,
"packages/server/src/tasks/task-store.ts:function:setParent": 84.67503057299793,
"packages/server/src/tasks/task-store.ts:function:sortByPriorityThenCreated": 87.1400747999372,
"packages/server/src/tasks/task-store.ts:function:start": 95.39,
"packages/server/src/tasks/task-store.ts:function:taskPath": 99.184,
"packages/server/src/tasks/task-store.ts:function:update": 97.04,
"packages/server/src/tasks/task-store.ts:function:writeTask": 99.146,
"packages/server/src/tasks/task-store.ts:refactoring:13": 100.0,
"packages/server/src/terminal/terminal-manager.test.ts:function:anonymous_function_100": 91.16598701000171,
"packages/server/src/terminal/terminal-manager.test.ts:function:anonymous_function_101": 98.956,
"packages/server/src/terminal/terminal-manager.test.ts:function:anonymous_function_111": 98.994,
"packages/server/src/terminal/terminal-manager.test.ts:function:anonymous_function_12": 92.05270667347021,
"packages/server/src/terminal/terminal-manager.test.ts:function:anonymous_function_120": 98.76897687767482,
"packages/server/src/terminal/terminal-manager.test.ts:function:anonymous_function_13": 98.994,
"packages/server/src/terminal/terminal-manager.test.ts:function:anonymous_function_134": 99.146,
"packages/server/src/terminal/terminal-manager.test.ts:function:anonymous_function_136": 99.22200000000001,
"packages/server/src/terminal/terminal-manager.test.ts:function:anonymous_function_140": 97.48955685467566,
"packages/server/src/terminal/terminal-manager.test.ts:function:anonymous_function_141": 99.146,
"packages/server/src/terminal/terminal-manager.test.ts:function:anonymous_function_146": 98.918,
"packages/server/src/terminal/terminal-manager.test.ts:function:anonymous_function_158": 98.804,
"packages/server/src/terminal/terminal-manager.test.ts:function:anonymous_function_159": 98.88,
"packages/server/src/terminal/terminal-manager.test.ts:function:anonymous_function_22": 98.994,
"packages/server/src/terminal/terminal-manager.test.ts:function:anonymous_function_3": 78.39932854687603,
"packages/server/src/terminal/terminal-manager.test.ts:function:anonymous_function_31": 99.146,
"packages/server/src/terminal/terminal-manager.test.ts:function:anonymous_function_36": 98.956,
"packages/server/src/terminal/terminal-manager.test.ts:function:anonymous_function_47": 91.99101803702416,
"packages/server/src/terminal/terminal-manager.test.ts:function:anonymous_function_48": 98.918,
"packages/server/src/terminal/terminal-manager.test.ts:function:anonymous_function_59": 99.07,
"packages/server/src/terminal/terminal-manager.test.ts:function:anonymous_function_6": 97.856,
"packages/server/src/terminal/terminal-manager.test.ts:function:anonymous_function_66": 98.918,
"packages/server/src/terminal/terminal-manager.test.ts:function:anonymous_function_77": 99.146,
"packages/server/src/terminal/terminal-manager.test.ts:function:anonymous_function_83": 98.13312822522798,
"packages/server/src/terminal/terminal-manager.test.ts:function:anonymous_function_84": 99.032,
"packages/server/src/terminal/terminal-manager.test.ts:function:anonymous_function_92": 99.07,
"packages/server/src/terminal/terminal-manager.ts:function:assertAbsolutePath": 97.856,
"packages/server/src/terminal/terminal-manager.ts:function:createTerminal": 97.86409817350868,
"packages/server/src/terminal/terminal-manager.ts:function:createTerminalManager": 72.06078511973149,
"packages/server/src/terminal/terminal-manager.ts:function:getTerminal": 99.184,
"packages/server/src/terminal/terminal-manager.ts:function:getTerminals": 94.802,
"packages/server/src/terminal/terminal-manager.ts:function:killAll": 99.032,
"packages/server/src/terminal/terminal-manager.ts:function:killTerminal": 88.85851471497256,
"packages/server/src/terminal/terminal-manager.ts:function:listDirectories": 99.184,
"packages/server/src/terminal/terminal-manager.ts:refactoring:3": 100.0,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_10": 99.22200000000001,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_109": 98.72800000000001,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_126": 85.69159512812044,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_127": 95.15128695255433,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_153": 93.39892342340274,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_184": 96.4149335031674,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_206": 82.78121440161665,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_207": 93.72940182310096,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_236": 95.09353625422014,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_261": 94.16669000125304,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_289": 95.35355697599874,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_314": 91.36741028435767,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_315": 96.9284244410533,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_32": 99.22200000000001,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_328": 99.22200000000001,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_335": 97.04253953974286,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_347": 99.22200000000001,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_355": 86.41627861055224,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_356": 96.36163862780761,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_366": 99.184,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_370": 99.22200000000001,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_378": 94.97037960261731,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_390": 99.184,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_40": 73.07998338247904,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_405": 95.36944483744082,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_417": 99.184,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_425": 99.22200000000001,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_43": 99.07,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_431": 90.60467118957756,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_432": 95.25417026537686,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_455": 97.47737839550636,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_474": 91.53030071812991,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_475": 91.91198660652046,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_5": 99.22200000000001,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_503": 99.22200000000001,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_504": 99.22200000000001,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_514": 93.4535928308874,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_515": 98.51886222659562,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_533": 98.766,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_549": 98.71363381938988,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_55": 87.04906160894308,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_550": 98.804,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_56": 98.2591744274387,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_72": 98.842,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_85": 98.956,
"packages/server/src/terminal/terminal.test.ts:function:anonymous_function_95": 98.804,
"packages/server/src/terminal/terminal.test.ts:function:getLines": 99.184,
"packages/server/src/terminal/terminal.test.ts:function:getRowText": 99.184,
"packages/server/src/terminal/terminal.test.ts:function:trackSession": 99.146,
"packages/server/src/terminal/terminal.test.ts:function:waitForLines": 87.25551593172739,
"packages/server/src/terminal/terminal.ts:function:anonymous_function_195": 97.666,
"packages/server/src/terminal/terminal.ts:function:anonymous_function_197": 99.032,
"packages/server/src/terminal/terminal.ts:function:anonymous_function_206": 99.184,
"packages/server/src/terminal/terminal.ts:function:anonymous_function_245": 97.856,
"packages/server/src/terminal/terminal.ts:function:anonymous_function_251": 99.184,
"packages/server/src/terminal/terminal.ts:function:anonymous_function_264": 99.22200000000001,
"packages/server/src/terminal/terminal.ts:function:createTerminal": 76.28201309302395,
"packages/server/src/terminal/terminal.ts:function:extractCell": 83.25953750907941,
"packages/server/src/terminal/terminal.ts:function:extractGrid": 94.92932560398634,
"packages/server/src/terminal/terminal.ts:function:extractScrollback": 65.51130616176683,
"packages/server/src/terminal/terminal.ts:function:getState": 98.842,
"packages/server/src/terminal/terminal.ts:function:kill": 97.818,
"packages/server/src/terminal/terminal.ts:function:send": 96.74072848170638,
"packages/server/src/terminal/terminal.ts:function:subscribe": 97.514,
"packages/server/src/test-utils/test-logger.ts:function:createTestLogger": 99.184,
"packages/server/src/utils/checkout-git.test.ts:function:anonymous_function_104": 92.85184076850926,
"packages/server/src/utils/checkout-git.test.ts:function:anonymous_function_136": 89.90872688647177,
"packages/server/src/utils/checkout-git.test.ts:function:anonymous_function_177": 93.4290727794459,
"packages/server/src/utils/checkout-git.test.ts:function:anonymous_function_207": 95.2876217169532,
"packages/server/src/utils/checkout-git.test.ts:function:anonymous_function_231": 94.30322987088798,
"packages/server/src/utils/checkout-git.test.ts:function:anonymous_function_254": 99.22200000000001,
"packages/server/src/utils/checkout-git.test.ts:function:anonymous_function_257": 98.63290432979667,
"packages/server/src/utils/checkout-git.test.ts:function:anonymous_function_273": 94.27809535947154,
"packages/server/src/utils/checkout-git.test.ts:function:anonymous_function_302": 92.61517734298391,
"packages/server/src/utils/checkout-git.test.ts:function:anonymous_function_32": 72.40628031725693,
"packages/server/src/utils/checkout-git.test.ts:function:anonymous_function_335": 91.66597423584149,
"packages/server/src/utils/checkout-git.test.ts:function:anonymous_function_368": 99.108,
"packages/server/src/utils/checkout-git.test.ts:function:anonymous_function_37": 99.07,
"packages/server/src/utils/checkout-git.test.ts:function:anonymous_function_376": 96.48466485921082,
"packages/server/src/utils/checkout-git.test.ts:function:anonymous_function_44": 99.184,
"packages/server/src/utils/checkout-git.test.ts:function:anonymous_function_48": 98.994,
"packages/server/src/utils/checkout-git.test.ts:function:anonymous_function_57": 95.0818836899653,
"packages/server/src/utils/checkout-git.test.ts:function:anonymous_function_80": 97.628,
"packages/server/src/utils/checkout-git.test.ts:function:anonymous_function_92": 98.88,
"packages/server/src/utils/checkout-git.test.ts:function:initRepo": 98.842,
"packages/server/src/utils/checkout-git.ts:function:anonymous_function_205": 99.22200000000001,
"packages/server/src/utils/checkout-git.ts:function:anonymous_function_313": 99.22200000000001,
"packages/server/src/utils/checkout-git.ts:function:anonymous_function_314": 99.22200000000001,
"packages/server/src/utils/checkout-git.ts:function:anonymous_function_588": 99.22200000000001,
"packages/server/src/utils/checkout-git.ts:function:anonymous_function_590": 99.22200000000001,
"packages/server/src/utils/checkout-git.ts:function:anonymous_function_591": 99.22200000000001,
"packages/server/src/utils/checkout-git.ts:function:anonymous_function_595": 99.22200000000001,
"packages/server/src/utils/checkout-git.ts:function:anonymous_function_599": 99.22200000000001,
"packages/server/src/utils/checkout-git.ts:function:anonymous_function_601": 99.22200000000001,
"packages/server/src/utils/checkout-git.ts:function:anonymous_function_689": 99.22200000000001,
"packages/server/src/utils/checkout-git.ts:function:anonymous_function_691": 99.22200000000001,
"packages/server/src/utils/checkout-git.ts:function:anonymous_function_692": 99.22200000000001,
"packages/server/src/utils/checkout-git.ts:function:anonymous_function_696": 99.22200000000001,
"packages/server/src/utils/checkout-git.ts:function:anonymous_function_700": 99.22200000000001,
"packages/server/src/utils/checkout-git.ts:function:anonymous_function_702": 99.22200000000001,
"packages/server/src/utils/checkout-git.ts:function:commitAll": 99.184,
"packages/server/src/utils/checkout-git.ts:function:commitChanges": 97.59,
"packages/server/src/utils/checkout-git.ts:function:constructor": 98.956,
"packages/server/src/utils/checkout-git.ts:function:createPullRequest": 77.20590259533583,
"packages/server/src/utils/checkout-git.ts:function:doesGitRefExist": 95.864,
"packages/server/src/utils/checkout-git.ts:function:ensureGhAvailable": 96.016,
"packages/server/src/utils/checkout-git.ts:function:getAheadBehind": 89.00812998459595,
"packages/server/src/utils/checkout-git.ts:function:getCheckoutDiff": 78.73683194663626,
"packages/server/src/utils/checkout-git.ts:function:getCheckoutStatus": 81.23354427159818,
"packages/server/src/utils/checkout-git.ts:function:getConfiguredBaseRefForCwd": 97.476,
"packages/server/src/utils/checkout-git.ts:function:getCurrentBranch": 97.742,
"packages/server/src/utils/checkout-git.ts:function:getOriginRemoteUrl": 94.06200000000001,
"packages/server/src/utils/checkout-git.ts:function:getPullRequestStatus": 84.9632465338834,
"packages/server/src/utils/checkout-git.ts:function:getUntrackedDiff": 85.57192115199787,
"packages/server/src/utils/checkout-git.ts:function:getWorktreePathForBranch": 92.71446988644455,
"packages/server/src/utils/checkout-git.ts:function:getWorktreeRoot": 94.06200000000001,
"packages/server/src/utils/checkout-git.ts:function:hasOriginRemote": 99.146,
"packages/server/src/utils/checkout-git.ts:function:isGitError": 96.566,
"packages/server/src/utils/checkout-git.ts:function:isWorkingTreeDirty": 97.666,
"packages/server/src/utils/checkout-git.ts:function:mergeFromBase": 51.021931094308805,
"packages/server/src/utils/checkout-git.ts:function:mergeToBase": 48.816069295216614,
"packages/server/src/utils/checkout-git.ts:function:normalizeLocalBranchRefName": 97.932,
"packages/server/src/utils/checkout-git.ts:function:parseWorktreeList": 86.1271912772321,
"packages/server/src/utils/checkout-git.ts:function:pushCurrentBranch": 94.57400000000001,
"packages/server/src/utils/checkout-git.ts:function:renameCurrentBranch": 94.55745542874439,
"packages/server/src/utils/checkout-git.ts:function:requireRepoInfo": 92.26,
"packages/server/src/utils/checkout-git.ts:function:resolveBaseRef": 75.61791072816325,
"packages/server/src/utils/checkout-git.ts:function:resolveBestBaseRefForMerge": 73.6452375787301,
"packages/server/src/utils/checkout-git.ts:function:resolveGitHubRepo": 72.56749432243024,
"packages/server/src/utils/checkout-git.ts:refactoring:17": 100.0,
"packages/server/src/utils/path.ts:function:expandTilde": 92.886,
"packages/server/src/utils/path.ts:refactoring:1": 100.0,
"packages/server/src/utils/tool-call-parsers.test.ts:function:anonymous_function_103": 99.184,
"packages/server/src/utils/tool-call-parsers.test.ts:function:anonymous_function_13": 99.146,
"packages/server/src/utils/tool-call-parsers.test.ts:function:anonymous_function_18": 99.146,
"packages/server/src/utils/tool-call-parsers.test.ts:function:anonymous_function_23": 99.146,
"packages/server/src/utils/tool-call-parsers.test.ts:function:anonymous_function_28": 99.146,
"packages/server/src/utils/tool-call-parsers.test.ts:function:anonymous_function_33": 99.146,
"packages/server/src/utils/tool-call-parsers.test.ts:function:anonymous_function_38": 99.032,
"packages/server/src/utils/tool-call-parsers.test.ts:function:anonymous_function_47": 91.16107202575844,
"packages/server/src/utils/tool-call-parsers.test.ts:function:anonymous_function_48": 99.146,
"packages/server/src/utils/tool-call-parsers.test.ts:function:anonymous_function_53": 99.07,
"packages/server/src/utils/tool-call-parsers.test.ts:function:anonymous_function_60": 99.146,
"packages/server/src/utils/tool-call-parsers.test.ts:function:anonymous_function_65": 99.146,
"packages/server/src/utils/tool-call-parsers.test.ts:function:anonymous_function_7": 92.00798759748999,
"packages/server/src/utils/tool-call-parsers.test.ts:function:anonymous_function_70": 99.146,
"packages/server/src/utils/tool-call-parsers.test.ts:function:anonymous_function_75": 99.146,
"packages/server/src/utils/tool-call-parsers.test.ts:function:anonymous_function_8": 99.146,
"packages/server/src/utils/tool-call-parsers.test.ts:function:anonymous_function_80": 99.146,
"packages/server/src/utils/tool-call-parsers.test.ts:function:anonymous_function_85": 99.184,
"packages/server/src/utils/tool-call-parsers.test.ts:function:anonymous_function_90": 97.90430504515464,
"packages/server/src/utils/tool-call-parsers.test.ts:function:anonymous_function_91": 99.184,
"packages/server/src/utils/tool-call-parsers.test.ts:function:anonymous_function_95": 99.184,
"packages/server/src/utils/tool-call-parsers.test.ts:function:anonymous_function_99": 99.184,
"packages/server/src/utils/tool-call-parsers.ts:function:anonymous_function_16": 99.22200000000001,
"packages/server/src/utils/tool-call-parsers.ts:function:anonymous_function_17": 99.22200000000001,
"packages/server/src/utils/tool-call-parsers.ts:function:anonymous_function_18": 99.22200000000001,
"packages/server/src/utils/tool-call-parsers.ts:function:anonymous_function_20": 99.22200000000001,
"packages/server/src/utils/tool-call-parsers.ts:function:anonymous_function_22": 99.22200000000001,
"packages/server/src/utils/tool-call-parsers.ts:function:anonymous_function_24": 99.22200000000001,
"packages/server/src/utils/tool-call-parsers.ts:function:anonymous_function_25": 99.22200000000001,
"packages/server/src/utils/tool-call-parsers.ts:function:anonymous_function_26": 99.22200000000001,
"packages/server/src/utils/tool-call-parsers.ts:function:anonymous_function_27": 99.22200000000001,
"packages/server/src/utils/tool-call-parsers.ts:function:anonymous_function_28": 99.22200000000001,
"packages/server/src/utils/tool-call-parsers.ts:function:anonymous_function_29": 99.22200000000001,
"packages/server/src/utils/tool-call-parsers.ts:function:anonymous_function_31": 99.22200000000001,
"packages/server/src/utils/tool-call-parsers.ts:function:anonymous_function_33": 97.78,
"packages/server/src/utils/tool-call-parsers.ts:function:anonymous_function_34": 99.22200000000001,
"packages/server/src/utils/tool-call-parsers.ts:function:anonymous_function_99": 95.352,
"packages/server/src/utils/tool-call-parsers.ts:function:extractPrincipalParam": 94.93015809872054,
"packages/server/src/utils/tool-call-parsers.ts:function:extractTodos": 89.49191143163503,
"packages/server/src/utils/tool-call-parsers.ts:function:stripCwdPrefix": 92.85612562096934,
"packages/server/src/utils/tool-call-parsers.ts:function:stripShellWrapperPrefix": 99.184,
"packages/server/src/utils/worktree-metadata.ts:function:getGitDirForWorktreeRoot": 88.01482641169872,
"packages/server/src/utils/worktree-metadata.ts:function:getPaseoWorktreeMetadataPath": 99.146,
"packages/server/src/utils/worktree-metadata.ts:function:normalizeBaseRefName": 96.414,
"packages/server/src/utils/worktree-metadata.ts:function:readPaseoWorktreeMetadata": 97.742,
"packages/server/src/utils/worktree-metadata.ts:function:requirePaseoWorktreeBaseRefName": 97.742,
"packages/server/src/utils/worktree-metadata.ts:function:writePaseoWorktreeMetadata": 90.41420229933775,
"packages/server/src/utils/worktree-metadata.ts:refactoring:2": 100.0,
"packages/server/src/utils/worktree.test.ts:function:anonymous_function_117": 98.918,
"packages/server/src/utils/worktree.test.ts:function:anonymous_function_128": 96.37858173390468,
"packages/server/src/utils/worktree.test.ts:function:anonymous_function_15": 77.96308215478513,
"packages/server/src/utils/worktree.test.ts:function:anonymous_function_150": 97.50002755788584,
"packages/server/src/utils/worktree.test.ts:function:anonymous_function_169": 93.8172406892794,
"packages/server/src/utils/worktree.test.ts:function:anonymous_function_20": 98.31802689354208,
"packages/server/src/utils/worktree.test.ts:function:anonymous_function_200": 95.56745235244787,
"packages/server/src/utils/worktree.test.ts:function:anonymous_function_225": 94.35767010164369,
"packages/server/src/utils/worktree.test.ts:function:anonymous_function_257": 85.33366818734163,
"packages/server/src/utils/worktree.test.ts:function:anonymous_function_262": 98.804,
"packages/server/src/utils/worktree.test.ts:function:anonymous_function_276": 99.184,
"packages/server/src/utils/worktree.test.ts:function:anonymous_function_280": 94.37765409442285,
"packages/server/src/utils/worktree.test.ts:function:anonymous_function_297": 99.22200000000001,
"packages/server/src/utils/worktree.test.ts:function:anonymous_function_304": 99.22200000000001,
"packages/server/src/utils/worktree.test.ts:function:anonymous_function_307": 97.0213763047915,
"packages/server/src/utils/worktree.test.ts:function:anonymous_function_323": 99.22200000000001,
"packages/server/src/utils/worktree.test.ts:function:anonymous_function_326": 98.956,
"packages/server/src/utils/worktree.test.ts:function:anonymous_function_337": 96.20846644694318,
"packages/server/src/utils/worktree.test.ts:function:anonymous_function_338": 99.146,
"packages/server/src/utils/worktree.test.ts:function:anonymous_function_343": 99.07,
"packages/server/src/utils/worktree.test.ts:function:anonymous_function_350": 99.07,
"packages/server/src/utils/worktree.test.ts:function:anonymous_function_36": 99.184,
"packages/server/src/utils/worktree.test.ts:function:anonymous_function_40": 95.77863663472827,
"packages/server/src/utils/worktree.test.ts:function:anonymous_function_62": 93.27868084336522,
"packages/server/src/utils/worktree.test.ts:function:anonymous_function_93": 95.35060678340545,
"packages/server/src/utils/worktree.ts:function:anonymous_function_348": 99.22200000000001,
"packages/server/src/utils/worktree.ts:function:anonymous_function_411": 97.894,
"packages/server/src/utils/worktree.ts:function:anonymous_function_512": 99.22200000000001,
"packages/server/src/utils/worktree.ts:function:anonymous_function_513": 99.22200000000001,
"packages/server/src/utils/worktree.ts:function:anonymous_function_555": 99.22200000000001,
"packages/server/src/utils/worktree.ts:function:anonymous_function_91": 97.97,
"packages/server/src/utils/worktree.ts:function:constructor": 99.108,
"packages/server/src/utils/worktree.ts:function:createWorktree": 59.96500245263171,
"packages/server/src/utils/worktree.ts:function:deletePaseoWorktree": 86.66799429691893,
"packages/server/src/utils/worktree.ts:function:detectRepoInfo": 67.34678982482467,
"packages/server/src/utils/worktree.ts:function:detectWorktreeProject": 86.5561124550431,
"packages/server/src/utils/worktree.ts:function:ensurePaseoIgnored": 98.994,
"packages/server/src/utils/worktree.ts:function:ensurePaseoIgnoredForRepo": 88.60667875446057,
"packages/server/src/utils/worktree.ts:function:execSetupCommand": 87.192427389186,
"packages/server/src/utils/worktree.ts:function:generateWorktreeSlug": 99.184,
"packages/server/src/utils/worktree.ts:function:getPaseoWorktreesRoot": 97.856,
"packages/server/src/utils/worktree.ts:function:getWorktreeSetupCommands": 94.726,
"packages/server/src/utils/worktree.ts:function:inferProjectNameFromRemote": 96.376,
"packages/server/src/utils/worktree.ts:function:isBareRepo": 96.528,
"packages/server/src/utils/worktree.ts:function:isPaseoOwnedWorktreeCwd": 91.00724995195213,
"packages/server/src/utils/worktree.ts:function:listPaseoWorktrees": 96.85694935345467,
"packages/server/src/utils/worktree.ts:function:normalizePathForOwnership": 96.016,
"packages/server/src/utils/worktree.ts:function:parseWorktreeList": 75.60998186099914,
"packages/server/src/utils/worktree.ts:function:readPaseoConfig": 94.61200000000001,
"packages/server/src/utils/worktree.ts:function:resolvePaseoWorktreeRootForCwd": 77.83852372985893,
"packages/server/src/utils/worktree.ts:function:runWorktreeSetupCommands": 81.27899536183554,
"packages/server/src/utils/worktree.ts:function:slugify": 94.90398987046126,
"packages/server/src/utils/worktree.ts:function:tryParseGitRemote": 87.46007822571937,
"packages/server/src/utils/worktree.ts:function:validateBranchSlug": 82.58445598150021,
"packages/server/src/utils/worktree.ts:refactoring:13": 100.0,
"packages/website/src/components/butterfly.tsx:function:CursorFieldProvider": 95.62016801771279,
"packages/website/src/components/butterfly.tsx:function:add": 99.184,
"packages/website/src/components/butterfly.tsx:function:anonymous_function_214": 97.55199999999999,
"packages/website/src/components/butterfly.tsx:function:anonymous_function_229": 99.184,
"packages/website/src/components/butterfly.tsx:function:anonymous_function_233": 64.79042348629855,
"packages/website/src/components/butterfly.tsx:function:anonymous_function_331": 97.856,
"packages/website/src/components/butterfly.tsx:function:anonymous_function_50": 98.14866502756742,
"packages/website/src/components/butterfly.tsx:function:anonymous_function_62": 99.146,
"packages/website/src/components/butterfly.tsx:function:darken": 99.032,
"packages/website/src/components/butterfly.tsx:function:handleMouseLeave": 99.184,
"packages/website/src/components/butterfly.tsx:function:handleMouseMove": 99.184,
"packages/website/src/components/butterfly.tsx:function:length": 99.184,
"packages/website/src/components/butterfly.tsx:function:lerpAngle": 96.528,
"packages/website/src/components/butterfly.tsx:function:normalize": 97.856,
"packages/website/src/components/butterfly.tsx:function:scale": 99.184,
"packages/website/src/components/butterfly.tsx:function:simulate": 68.41735315963098,
"packages/website/src/components/butterfly.tsx:function:sub": 99.184,
"packages/website/src/components/butterfly.tsx:function:vec2": 99.184,
"packages/website/src/routeTree.gen.ts:function:anonymous_function_19": 99.22200000000001,
"packages/website/src/routeTree.gen.ts:function:anonymous_function_24": 99.22200000000001,
"packages/website/src/routeTree.gen.ts:function:anonymous_function_29": 99.22200000000001,
"packages/website/src/routeTree.gen.ts:function:anonymous_function_34": 99.22200000000001,
"packages/website/src/router.tsx:function:getRouter": 99.07,
"packages/website/src/routes/__root.tsx:function:RootDocument": 98.804,
"packages/website/src/routes/__root.tsx:function:anonymous_function_9": 97.81570284090836,
"packages/website/src/routes/docs/best-practices.tsx:function:BestPractices": 80.32615788079059,
"packages/website/src/routes/docs/best-practices.tsx:function:anonymous_function_3": 98.956,
"packages/website/src/routes/docs/index.tsx:function:GettingStarted": 84.3532713739399,
"packages/website/src/routes/docs/index.tsx:function:anonymous_function_3": 98.956,
"packages/website/src/routes/docs/index.tsx:refactoring:2": 100.0,
"packages/website/src/routes/index.tsx:function:CodeBlock": 98.918,
"packages/website/src/routes/index.tsx:function:FAQ": 86.63838203063273,
"packages/website/src/routes/index.tsx:function:FAQItem": 96.72211245504312,
"packages/website/src/routes/index.tsx:function:Feature": 98.766,
"packages/website/src/routes/index.tsx:function:Features": 95.59861221605317,
"packages/website/src/routes/index.tsx:function:Footer": 97.18496826371786,
"packages/website/src/routes/index.tsx:function:GetStarted": 93.08667574077317,
"packages/website/src/routes/index.tsx:function:Hero": 98.66174478440294,
"packages/website/src/routes/index.tsx:function:HowItWorks": 98.918,
"packages/website/src/routes/index.tsx:function:Step": 98.69,
"packages/website/src/routes/index.tsx:function:anonymous_function_5": 98.918,
"scripts/codex-claude-test.ts:function:anonymous_function_18": 99.108,
"scripts/codex-claude-test.ts:function:main": 86.96010058726473,
"scripts/codex-cli-approval-test.mjs:function:anonymous_function_21": 99.184,
"scripts/codex-cli-approval-test.mjs:function:anonymous_function_28": 94.536,
"scripts/codex-cli-approval-test.mjs:function:anonymous_function_42": 94.31314131891105,
"scripts/codex-cli-approval-test.mjs:function:anonymous_function_46": 97.932,
"scripts/codex-file-read-debug.ts:function:anonymous_function_101": 94.06200000000001,
"scripts/codex-file-read-debug.ts:function:anonymous_function_115": 97.932,
"scripts/codex-file-read-debug.ts:function:anonymous_function_27": 99.108,
"scripts/codex-file-read-debug.ts:function:anonymous_function_46": 99.146,
"scripts/codex-file-read-debug.ts:function:anonymous_function_53": 82.64671932019161,
"scripts/codex-file-read-debug.ts:function:main": 57.45516401071298,
"scripts/codex-file-read-debug.ts:refactoring:4": 100.0,
"scripts/codex-full-access-ipc-repro.smoke.mjs:function:anonymous_function_12": 99.22200000000001,
"scripts/codex-full-access-ipc-repro.smoke.mjs:function:anonymous_function_13": 99.22200000000001,
"scripts/codex-full-access-ipc-repro.smoke.mjs:function:anonymous_function_15": 99.184,
"scripts/codex-full-access-ipc-repro.smoke.mjs:function:anonymous_function_19": 97.742,
"scripts/codex-full-access-ipc-repro.smoke.mjs:function:anonymous_function_7": 94.37135586469257,
"scripts/codex-full-access-ipc-repro.smoke.mjs:function:anonymous_function_81": 96.604,
"scripts/codex-full-access-ipc-repro.smoke.mjs:function:main": 90.51223786257864,
"scripts/codex-full-access-ipc-repro.smoke.mjs:function:requireMatch": 97.78,
"scripts/codex-full-access-ipc-repro.smoke.mjs:function:run": 93.68831609961174,
"scripts/codex-mcp-elicitation-test.ts:function:anonymous_function_21": 99.07,
"scripts/codex-mcp-elicitation-test.ts:function:anonymous_function_33": 99.22200000000001,
"scripts/codex-mcp-elicitation-test.ts:function:main": 86.34416903594563,
"scripts/codex-sdk-permission-test.mjs:function:anonymous_function_44": 99.22200000000001,
"scripts/codex-sdk-permission-test.mjs:function:runCase": 89.61291946211284,
"scripts/codex-websearch-debug.ts:function:anonymous_function_18": 99.108,
"scripts/codex-websearch-debug.ts:function:anonymous_function_25": 94.10000000000001,
"scripts/codex-websearch-debug.ts:function:main": 83.92105828783546,
"scripts/mcp-create-codex-check.ts:function:anonymous_function_78": 99.146,
"scripts/mcp-create-codex-check.ts:function:main": 81.9166002221637,
"scripts/mcp-create-codex-check.ts:function:resolveAuthHeader": 95.97800000000001,
"scripts/mcp-create-codex-check.ts:refactoring:2": 100.0,
"scripts/repro-ipc-listen.js:function:anonymous_function_23": 94.024,
"scripts/repro-ipc-listen.js:function:anonymous_function_31": 99.07,
"scripts/repro-ipc-listen.js:function:anonymous_function_33": 99.184,
"scripts/repro-ipc-listen.js:function:safeUnlink": 91.976,
"scripts/repro-ipc-listen.js:refactoring:1": 100.0
},
"file_health": {
"packages/app/babel.config.js": 97.6734504930885,
"packages/app/e2e/agent-details-sheet.spec.ts": 91.25571893866605,
"packages/app/e2e/checkout-ship.spec.ts": 96.70557009374342,
"packages/app/e2e/create-agent.spec.ts": 93.23235472565942,
"packages/app/e2e/daemon-connectivity.spec.ts": 97.59,
"packages/app/e2e/delete-agent-persists.spec.ts": 91.8573979507453,
"packages/app/e2e/dictation-web.spec.ts": 95.95552334396187,
"packages/app/e2e/fixtures.ts": 94.97715351955475,
"packages/app/e2e/global-setup.ts": 93.86902178683702,
"packages/app/e2e/helpers/app.ts": 92.2136575981974,
"packages/app/e2e/helpers/workspace.ts": 84.30022674663992,
"packages/app/e2e/host-onboarding-direct.spec.ts": 95.644605464839,
"packages/app/e2e/host-removal.spec.ts": 91.2488623222454,
"packages/app/e2e/host-selection.spec.ts": 92.95462208293829,
"packages/app/e2e/manual-host-port.spec.ts": 91.07031246396303,
"packages/app/e2e/migration-wsurl-to-hostport.spec.ts": 87.39679846558658,
"packages/app/e2e/pairing-offer-parsing.spec.ts": 89.83213231139902,
"packages/app/e2e/permission-prompt.spec.ts": 92.4780556737487,
"packages/app/e2e/preserve-prompt-on-error.spec.ts": 95.9307715051037,
"packages/app/e2e/relay-fallback-connect.spec.ts": 94.07064185349628,
"packages/app/e2e/sidebar-new-agent-clones-selected.spec.ts": 95.33085570071235,
"packages/app/metro.config.js": 91.27252560398634,
"packages/app/plugins/with-android-product-flavors.js": 92.91058391956642,
"packages/app/scripts/reset-project.js": 90.67681531999793,
"packages/app/src/app/+html.tsx": 98.47992315558552,
"packages/app/src/app/_layout.tsx": 96.40794135828372,
"packages/app/src/app/agent/[id].tsx": 99.146,
"packages/app/src/app/agent/[serverId]/[agentId].tsx": 98.804,
"packages/app/src/app/agent/index.tsx": 99.184,
"packages/app/src/app/agents.tsx": 94.75363145792691,
"packages/app/src/app/audio-test.tsx": 92.75060869763897,
"packages/app/src/app/index.tsx": 99.184,
"packages/app/src/app/pair-scan.tsx": 94.35469201222038,
"packages/app/src/app/settings.tsx": 94.65649915601321,
"packages/app/src/components/active-processes.tsx": 94.52948705453426,
"packages/app/src/components/adaptive-modal-sheet.tsx": 96.05436137823696,
"packages/app/src/components/add-host-method-modal.tsx": 95.93896080318049,
"packages/app/src/components/add-host-modal.tsx": 90.6675287795124,
"packages/app/src/components/agent-activity.tsx": 94.20591895961864,
"packages/app/src/components/agent-details-sheet.tsx": 93.96337989474394,
"packages/app/src/components/agent-form/agent-form-dropdowns.tsx": 97.07087510083406,
"packages/app/src/components/agent-input-area.tsx": 96.65152876030925,
"packages/app/src/components/agent-list.tsx": 93.60941615727987,
"packages/app/src/components/agent-status-bar.tsx": 97.84654699183974,
"packages/app/src/components/agent-stream-view.tsx": 95.93587063389208,
"packages/app/src/components/artifact-drawer.tsx": 89.75643377945084,
"packages/app/src/components/audio-debug-notice.tsx": 92.69614646513746,
"packages/app/src/components/command-autocomplete.tsx": 93.28207071996789,
"packages/app/src/components/connection-status.tsx": 94.19973078171911,
"packages/app/src/components/dictation-controls.tsx": 91.62292488840077,
"packages/app/src/components/dictation-status-notice.tsx": 95.18358298281254,
"packages/app/src/components/diff-viewer.tsx": 88.63234196691101,
"packages/app/src/components/download-toast.tsx": 96.53197232822085,
"packages/app/src/components/empty-state.tsx": 89.5050808658315,
"packages/app/src/components/explorer-sidebar.tsx": 97.93905143331901,
"packages/app/src/components/file-drop-zone.tsx": 94.32620947627224,
"packages/app/src/components/file-explorer-pane.tsx": 96.28608998508928,
"packages/app/src/components/git-diff-pane.tsx": 96.80834403536906,
"packages/app/src/components/grouped-agent-list.tsx": 94.93127502166006,
"packages/app/src/components/headers/back-header.tsx": 96.70110253472185,
"packages/app/src/components/headers/menu-header.tsx": 94.83475988100973,
"packages/app/src/components/headers/screen-header.tsx": 94.21889847984859,
"packages/app/src/components/home-footer.tsx": 94.96530608278799,
"packages/app/src/components/icons/claude-icon.tsx": 99.184,
"packages/app/src/components/icons/codex-icon.tsx": 99.184,
"packages/app/src/components/message-input.tsx": 94.0704044444507,
"packages/app/src/components/message.tsx": 94.6541447162328,
"packages/app/src/components/mode-selector-modal.tsx": 91.3722999028355,
"packages/app/src/components/multi-daemon-session-host.tsx": 90.41687899394003,
"packages/app/src/components/pair-link-modal.tsx": 92.00183290593085,
"packages/app/src/components/realtime-controls.tsx": 92.81197393670867,
"packages/app/src/components/sliding-sidebar.tsx": 97.4825758881465,
"packages/app/src/components/tool-call-details.tsx": 92.03283596780673,
"packages/app/src/components/tool-call-preview.test.ts": 93.35767433097159,
"packages/app/src/components/tool-call-preview.ts": 98.43778032106981,
"packages/app/src/components/tool-call-sheet.tsx": 97.0180260753605,
"packages/app/src/components/ui/dropdown-menu-floating.ts": 87.65162493059113,
"packages/app/src/components/ui/dropdown-menu.tsx": 94.3722011105316,
"packages/app/src/components/voice-button.tsx": 92.23720381433635,
"packages/app/src/components/volume-meter.tsx": 87.6891578192974,
"packages/app/src/components/welcome-screen.tsx": 94.96538836183434,
"packages/app/src/constants/layout.ts": 96.03466666666668,
"packages/app/src/contexts/daemon-connections-context.tsx": 93.44233397994184,
"packages/app/src/contexts/daemon-registry-context.tsx": 93.51132289458243,
"packages/app/src/contexts/explorer-sidebar-animation-context.tsx": 94.18568302291715,
"packages/app/src/contexts/horizontal-scroll-context.tsx": 97.1873903659173,
"packages/app/src/contexts/realtime-context.tsx": 92.06943168421799,
"packages/app/src/contexts/session-context.tsx": 93.94254574736365,
"packages/app/src/contexts/sidebar-animation-context.tsx": 94.21045021295565,
"packages/app/src/contexts/toast-context.tsx": 95.24177346643364,
"packages/app/src/dictation/dictation-stream-sender.test.ts": 97.74871992544395,
"packages/app/src/dictation/dictation-stream-sender.ts": 95.24287343960128,
"packages/app/src/hooks/checkout-status-revalidation.ts": 95.902,
"packages/app/src/hooks/use-agent-commands-query.ts": 96.63660081906943,
"packages/app/src/hooks/use-agent-form-state.test.ts": 97.19988263859344,
"packages/app/src/hooks/use-agent-form-state.ts": 94.56944975737345,
"packages/app/src/hooks/use-aggregated-agents.ts": 84.93384302562119,
"packages/app/src/hooks/use-audio-player.native.ts": 82.83961106963497,
"packages/app/src/hooks/use-audio-player.web.ts": 99.05733333333333,
"packages/app/src/hooks/use-audio-recorder.native.ts": 88.64209142066238,
"packages/app/src/hooks/use-audio-recorder.web.ts": 88.27613824238672,
"packages/app/src/hooks/use-checkout-diff-query.ts": 96.35168013787019,
"packages/app/src/hooks/use-checkout-pr-status-query.ts": 96.51141220038869,
"packages/app/src/hooks/use-checkout-status-query.test.ts": 96.33001569107783,
"packages/app/src/hooks/use-checkout-status-query.ts": 97.60646417938594,
"packages/app/src/hooks/use-client-activity.ts": 95.38973169183612,
"packages/app/src/hooks/use-color-scheme.web.ts": 98.33,
"packages/app/src/hooks/use-daemon-client.ts": 97.64626001644625,
"packages/app/src/hooks/use-dictation-audio-source.native.ts": 98.03834541541515,
"packages/app/src/hooks/use-dictation-audio-source.web.ts": 87.04653476753097,
"packages/app/src/hooks/use-dictation.shared.ts": 94.688,
"packages/app/src/hooks/use-dictation.ts": 93.24112065389222,
"packages/app/src/hooks/use-favicon-status.ts": 96.17066264216459,
"packages/app/src/hooks/use-file-drop-zone.ts": 92.93508997041397,
"packages/app/src/hooks/use-form-preferences.ts": 96.29632677995905,
"packages/app/src/hooks/use-git-diff-query.ts": 96.71130659431012,
"packages/app/src/hooks/use-image-attachment-picker.ts": 84.26895811641343,
"packages/app/src/hooks/use-recent-paths.ts": 94.58582276832536,
"packages/app/src/hooks/use-session-directory.ts": 98.0702663839759,
"packages/app/src/hooks/use-settings.ts": 92.61534946810576,
"packages/app/src/hooks/use-speechmatics-audio.native.ts": 83.87839078059822,
"packages/app/src/hooks/use-speechmatics-audio.web.ts": 98.18458872055638,
"packages/app/src/hooks/use-theme-color.ts": 97.55199999999999,
"packages/app/src/polyfills/crypto.ts": 97.43870805871991,
"packages/app/src/screens/agent/agent-ready-screen.tsx": 97.00475557002969,
"packages/app/src/screens/agent/draft-agent-screen.tsx": 94.56295023201511,
"packages/app/src/screens/agent/legacy-agent-id-screen.tsx": 91.66176575822851,
"packages/app/src/stores/create-flow-store.ts": 98.4024,
"packages/app/src/stores/download-store.ts": 91.71802917241168,
"packages/app/src/stores/draft-store.ts": 98.58459872032354,
"packages/app/src/stores/panel-store.ts": 97.53067908884583,
"packages/app/src/stores/session-store.ts": 92.71450708302524,
"packages/app/src/styles/markdown-styles.ts": 82.94298795028615,
"packages/app/src/types/agent-activity.ts": 62.98039160578397,
"packages/app/src/types/stream-buffer.test.ts": 96.13200649531328,
"packages/app/src/types/stream.harness.test.ts": 97.99023077407958,
"packages/app/src/types/stream.test.ts": 96.44739037241403,
"packages/app/src/types/stream.ts": 91.88036357015838,
"packages/app/src/utils/agent-display-info.ts": 95.72423385892107,
"packages/app/src/utils/agent-grouping.test.ts": 98.22967407209401,
"packages/app/src/utils/agent-grouping.ts": 90.32353231116853,
"packages/app/src/utils/agent-status.ts": 99.184,
"packages/app/src/utils/analytics.ts": 95.864,
"packages/app/src/utils/attempt-guard.ts": 98.80080000000001,
"packages/app/src/utils/daemon-endpoints.ts": 93.23166131434162,
"packages/app/src/utils/daemons.ts": 98.69,
"packages/app/src/utils/diff-highlighter.test.ts": 96.51806540342324,
"packages/app/src/utils/diff-highlighter.ts": 88.9564521434573,
"packages/app/src/utils/exhaustive.ts": 99.184,
"packages/app/src/utils/extract-agent-model.test.ts": 98.65990146854463,
"packages/app/src/utils/extract-agent-model.ts": 95.779,
"packages/app/src/utils/navigation-timing.ts": 96.14324989660801,
"packages/app/src/utils/os-notifications.ts": 93.17300248002337,
"packages/app/src/utils/perf-monitor.ts": 93.79248602833599,
"packages/app/src/utils/perf.ts": 92.90013410909327,
"packages/app/src/utils/shorten-path.ts": 97.818,
"packages/app/src/utils/syntax-highlighter.ts": 94.3878000799966,
"packages/app/src/utils/tauri-daemon-transport.ts": 88.80194061787589,
"packages/app/src/utils/tauri-window.ts": 95.02598068547894,
"packages/app/src/utils/test-daemon-connection.ts": 94.93154648583698,
"packages/app/src/utils/time.ts": 93.2489684298739,
"packages/app/src/utils/tool-call-parsers.test.ts": 95.29066108240706,
"packages/app/src/utils/tool-call-parsers.ts": 90.84996850391025,
"packages/desktop/src-tauri/build.rs": 99.184,
"packages/desktop/src-tauri/src/lib.rs": 92.47454067386832,
"packages/desktop/src-tauri/src/main.rs": 99.184,
"packages/relay/src/cloudflare-adapter.ts": 91.74548866025552,
"packages/relay/src/crypto.test.ts": 94.35796969365074,
"packages/relay/src/crypto.ts": 96.86402319346887,
"packages/relay/src/e2e.test.ts": 96.62898323618916,
"packages/relay/src/encrypted-channel.test.ts": 96.5044491028572,
"packages/relay/src/encrypted-channel.ts": 95.1943047123001,
"packages/relay/src/live-relay.e2e.test.ts": 95.7496543933792,
"packages/relay/src/node-adapter.ts": 97.31466018787133,
"packages/relay/src/relay.ts": 94.55175033412075,
"packages/server/scripts/dev-runner.ts": 95.48543310756436,
"packages/server/scripts/process-conversation.ts": 91.54819966833969,
"packages/server/scripts/test-codex-mcp-agents.ts": 93.49629429893626,
"packages/server/scripts/test-codex-mcp-basic-auth.ts": 93.41703952152395,
"packages/server/scripts/test-codex-mcp-bearer.ts": 93.49629429893626,
"packages/server/scripts/test-codex-mcp-http-headers.ts": 93.4990182319707,
"packages/server/scripts/test-codex-mcp-http.ts": 93.71599701596921,
"packages/server/scripts/test-codex-mcp-servers.ts": 84.92422985136416,
"packages/server/src/client/daemon-client-v2.test.ts": 97.7541697401705,
"packages/server/src/client/daemon-client-v2.ts": 92.55622306891057,
"packages/server/src/poc-commands/commands-poc.test.ts": 88.13154983912533,
"packages/server/src/poc-commands/investigate-command-output.ts": 92.58010337165918,
"packages/server/src/poc-commands/run-poc.ts": 91.99752301021026,
"packages/server/src/server/agent/activity-curator.test.ts": 95.72759276682046,
"packages/server/src/server/agent/activity-curator.ts": 92.77083755980507,
"packages/server/src/server/agent/agent-manager.test.ts": 97.34223219621839,
"packages/server/src/server/agent/agent-manager.ts": 90.48202849451515,
"packages/server/src/server/agent/agent-mcp.e2e.test.ts": 88.12310846834491,
"packages/server/src/server/agent/agent-projections.test.ts": 93.92965013828399,
"packages/server/src/server/agent/agent-projections.ts": 93.38845125673899,
"packages/server/src/server/agent/agent-response-loop.e2e.test.ts": 96.15866647955593,
"packages/server/src/server/agent/agent-response-loop.test.ts": 94.3427243089192,
"packages/server/src/server/agent/agent-response-loop.ts": 95.05855934675753,
"packages/server/src/server/agent/agent-self-identification.e2e.test.ts": 96.6887018851679,
"packages/server/src/server/agent/agent-storage.test.ts": 93.70771976148745,
"packages/server/src/server/agent/agent-storage.ts": 91.19277094689245,
"packages/server/src/server/agent/audio-utils.ts": 98.7022,
"packages/server/src/server/agent/dictation-debug.ts": 92.24276771050951,
"packages/server/src/server/agent/llm-openai.ts": 99.184,
"packages/server/src/server/agent/mcp-server.test.ts": 93.91208857398469,
"packages/server/src/server/agent/mcp-server.ts": 89.97214408772294,
"packages/server/src/server/agent/model-catalog.e2e.test.ts": 97.91342819655803,
"packages/server/src/server/agent/model-resolver.test.ts": 96.95725632585847,
"packages/server/src/server/agent/model-resolver.ts": 96.13128606115153,
"packages/server/src/server/agent/openai-realtime-transcription.ts": 84.33729431588706,
"packages/server/src/server/agent/opencode-reasoning.e2e.test.ts": 90.68087612117293,
"packages/server/src/server/agent/orchestrator-instructions.ts": 98.794,
"packages/server/src/server/agent/paseo-instructions-tag.test.ts": 98.00169373159915,
"packages/server/src/server/agent/paseo-instructions-tag.ts": 97.18685460820868,
"packages/server/src/server/agent/pcm16-resampler.ts": 92.1645151565176,
"packages/server/src/server/agent/provider-manifest.ts": 98.852,
"packages/server/src/server/agent/provider-registry.ts": 98.86861517615466,
"packages/server/src/server/agent/providers/claude-agent-commands.e2e.test.ts": 96.65952512881435,
"packages/server/src/server/agent/providers/claude-agent-commands.test.ts": 94.84388300210873,
"packages/server/src/server/agent/providers/claude-agent.history.test.ts": 98.30008742196362,
"packages/server/src/server/agent/providers/claude-agent.test.ts": 92.10532471748958,
"packages/server/src/server/agent/providers/claude-agent.ts": 89.1165114082537,
"packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts": 90.16176330765023,
"packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts": 94.99218200160183,
"packages/server/src/server/agent/providers/codex-mcp-agent-commands.e2e.test.ts": 93.74193147392606,
"packages/server/src/server/agent/providers/codex-mcp-agent.commands.test.ts": 97.15632875725373,
"packages/server/src/server/agent/providers/codex-mcp-agent.paseo-instructions.test.ts": 91.92590413819858,
"packages/server/src/server/agent/providers/codex-mcp-agent.resume-errors.test.ts": 98.956,
"packages/server/src/server/agent/providers/codex-mcp-agent.test.ts": 87.94910116606395,
"packages/server/src/server/agent/providers/codex-mcp-agent.ts": 88.527737820807,
"packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts": 93.66890874693789,
"packages/server/src/server/agent/providers/opencode-agent.test.ts": 92.27159626044342,
"packages/server/src/server/agent/providers/opencode-agent.ts": 93.41308658035535,
"packages/server/src/server/agent/recordings-debug.ts": 96.38266666666667,
"packages/server/src/server/agent/self-identification-instructions.ts": 96.98050096899382,
"packages/server/src/server/agent/stt-debug.ts": 85.69343271468114,
"packages/server/src/server/agent/stt-manager.ts": 94.71020287074967,
"packages/server/src/server/agent/stt-openai.ts": 93.30241001606194,
"packages/server/src/server/agent/system-prompt.ts": 98.482,
"packages/server/src/server/agent/tts-debug.ts": 92.24276771050951,
"packages/server/src/server/agent/tts-manager.ts": 91.1657875166812,
"packages/server/src/server/agent/tts-openai.ts": 92.7145666323789,
"packages/server/src/server/agent/wait-for-agent-tracker.test.ts": 95.21005361515658,
"packages/server/src/server/agent/wait-for-agent-tracker.ts": 94.47509603116336,
"packages/server/src/server/bootstrap.smoke.test.ts": 93.45196113333719,
"packages/server/src/server/bootstrap.ts": 90.27976462434815,
"packages/server/src/server/client-activity.e2e.test.ts": 93.88868726000922,
"packages/server/src/server/config.ts": 93.27657168507733,
"packages/server/src/server/connection-offer.ts": 95.21186716897616,
"packages/server/src/server/daemon-client-v2.e2e.test.ts": 89.98798248007543,
"packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts": 94.64425166935885,
"packages/server/src/server/daemon-e2e/agent-configs.ts": 97.60933333333332,
"packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts": 88.63780329462872,
"packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts": 92.78277180101747,
"packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts": 93.28525638064853,
"packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts": 93.02906976846381,
"packages/server/src/server/daemon-e2e/file-download.e2e.test.ts": 94.12827429952591,
"packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts": 94.13238858104081,
"packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts": 91.12796149120173,
"packages/server/src/server/daemon-e2e/images.e2e.test.ts": 91.36503097218826,
"packages/server/src/server/daemon-e2e/models.e2e.test.ts": 95.99771754536211,
"packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts": 80.7085642460463,
"packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts": 89.30798631623418,
"packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts": 88.81292749686743,
"packages/server/src/server/daemon-e2e/persistence.e2e.test.ts": 84.57774787708628,
"packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts": 94.55536814929016,
"packages/server/src/server/daemon-e2e/setup.ts": 98.3188,
"packages/server/src/server/daemon-e2e/streaming.e2e.test.ts": 73.95355451530185,
"packages/server/src/server/daemon-e2e/terminal.e2e.test.ts": 91.6901158585101,
"packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts": 90.74451184011485,
"packages/server/src/server/daemon-e2e/two-cycle-resume.e2e.test.ts": 90.13409909441226,
"packages/server/src/server/daemon-e2e/wait-for-idle.e2e.test.ts": 93.4327477761772,
"packages/server/src/server/file-download/token-store.ts": 97.93560000000001,
"packages/server/src/server/file-explorer/service.ts": 93.5448575647799,
"packages/server/src/server/index.ts": 95.39990423093752,
"packages/server/src/server/json-utils.ts": 83.7984144949575,
"packages/server/src/server/logger.test.ts": 97.85891624920252,
"packages/server/src/server/logger.ts": 97.89750116776014,
"packages/server/src/server/messages.test.ts": 97.13547165568964,
"packages/server/src/server/messages.ts": 95.91592216373712,
"packages/server/src/server/pairing-qr.ts": 95.78442497605066,
"packages/server/src/server/paseo-home.ts": 97.761,
"packages/server/src/server/persisted-config.ts": 94.8956636008647,
"packages/server/src/server/persistence-hooks.test.ts": 96.03914494819904,
"packages/server/src/server/persistence-hooks.ts": 98.06882186104777,
"packages/server/src/server/push/push-service.ts": 92.72488236118693,
"packages/server/src/server/push/token-store.ts": 98.70500000000001,
"packages/server/src/server/relay-transport.ts": 93.45070538617246,
"packages/server/src/server/session.ts": 87.31286828231691,
"packages/server/src/server/terminal-mcp/server.ts": 94.58052440373314,
"packages/server/src/server/terminal-mcp/terminal-manager.test.ts": 93.39498063011285,
"packages/server/src/server/terminal-mcp/terminal-manager.ts": 93.21409964389156,
"packages/server/src/server/terminal-mcp/tmux.ts": 92.63207083901993,
"packages/server/src/server/test-utils/claude-auth.ts": 94.09110282425755,
"packages/server/src/server/test-utils/claude-config.ts": 95.06442757951413,
"packages/server/src/server/test-utils/daemon-client.ts": 99.108,
"packages/server/src/server/test-utils/daemon-test-context.ts": 98.53246341072281,
"packages/server/src/server/test-utils/paseo-daemon.ts": 96.04292409523431,
"packages/server/src/server/utils/diff-highlighter.test.ts": 96.25749870184276,
"packages/server/src/server/utils/diff-highlighter.ts": 89.4673147115683,
"packages/server/src/server/utils/syntax-highlighter.ts": 94.3878000799966,
"packages/server/src/server/voice-conversation-store.ts": 95.59159257521814,
"packages/server/src/server/voice-conversations.e2e.test.ts": 93.89275162543184,
"packages/server/src/server/websocket-server.ts": 93.74524294969021,
"packages/server/src/server/websocket-session-bridge.ts": 92.4929743823877,
"packages/server/src/shared/messages.ts": 98.349,
"packages/server/src/tasks/cli.ts": 90.34150730043139,
"packages/server/src/tasks/execution-order.test.ts": 98.01644995729978,
"packages/server/src/tasks/execution-order.ts": 96.62599321705447,
"packages/server/src/tasks/task-store.test.ts": 97.04911806551961,
"packages/server/src/tasks/task-store.ts": 94.82001978099476,
"packages/server/src/terminal/terminal-manager.test.ts": 97.23718085480579,
"packages/server/src/terminal/terminal-manager.ts": 94.31571088980141,
"packages/server/src/terminal/terminal.test.ts": 95.61199203479958,
"packages/server/src/terminal/terminal.ts": 93.07435077496879,
"packages/server/src/test-utils/test-logger.ts": 99.184,
"packages/server/src/utils/checkout-git.test.ts": 94.89367360783974,
"packages/server/src/utils/checkout-git.ts": 91.71134757649611,
"packages/server/src/utils/path.ts": 96.443,
"packages/server/src/utils/tool-call-parsers.test.ts": 98.40215293947287,
"packages/server/src/utils/tool-call-parsers.ts": 97.86737869217498,
"packages/server/src/utils/worktree-metadata.ts": 95.63900410157665,
"packages/server/src/utils/worktree.test.ts": 96.04996683113947,
"packages/server/src/utils/worktree.ts": 91.00090765029488,
"packages/website/src/components/butterfly.tsx": 94.91214498284498,
"packages/website/src/routeTree.gen.ts": 99.22200000000001,
"packages/website/src/router.tsx": 99.07,
"packages/website/src/routes/__root.tsx": 98.30985142045418,
"packages/website/src/routes/docs/best-practices.tsx": 89.64107894039529,
"packages/website/src/routes/docs/index.tsx": 94.4364237913133,
"packages/website/src/routes/index.tsx": 96.55477231732937,
"scripts/codex-claude-test.ts": 93.03405029363236,
"scripts/codex-cli-approval-test.mjs": 96.49128532972777,
"scripts/codex-file-read-debug.ts": 90.04998333298637,
"scripts/codex-full-access-ipc-repro.smoke.mjs": 96.48065664743145,
"scripts/codex-mcp-elicitation-test.ts": 94.87872301198188,
"scripts/codex-sdk-permission-test.mjs": 94.41745973105643,
"scripts/codex-websearch-debug.ts": 92.37635276261182,
"scripts/mcp-create-codex-check.ts": 94.26015005554092,
"scripts/repro-ipc-listen.js": 96.8508
},
"health_metrics": {
"complexity_score": 14.224288425047439,
"doc_health_score": 78.08219178082192,
"maintainability_score": 92.59578585180947,
"overall_health_score": 65.92299785036496,
"structure_quality_score": 0.0,
"technical_debt_ratio": 11.85089184060708
},
"passes": {
"cohesion": {
"average_cohesion": 1.0,
"average_doc_alignment": 1.0,
"enabled": false,
"file_scores": {},
"files_analyzed": 0,
"folder_scores": {},
"issues": [],
"issues_count": 0
},
"complexity": {
"average_cognitive_complexity": 3.9569259962049337,
"average_cyclomatic_complexity": 3.1552182163187856,
"average_maintainability_index": 92.59578585180947,
"average_technical_debt_score": 11.85089184060708,
"detailed_results": [
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/babel.config.js:anonymous_function_0:0",
"entity_name": "anonymous_function_0",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/babel.config.js",
"issues": [],
"line_number": 1,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.025333333333333333,
"calculated_length": 49.66338827944708,
"difficulty": 3.1818181818181817,
"effort": 241.8181818181818,
"length": 19.0,
"n1": 5.0,
"n2": 11.0,
"n_1": 5.0,
"n_2": 14.0,
"time": 13.434343434343434,
"vocabulary": 16.0,
"volume": 76.0
},
"lines_of_code": 23.0,
"maintainability_index": 97.45518033245887,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 1
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/agent-details-sheet.spec.ts:anonymous_function_4:4",
"entity_name": "anonymous_function_4",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/agent-details-sheet.spec.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 9,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.26963553058626794,
"calculated_length": 150.11571282193984,
"difficulty": 7.392857142857143,
"effort": 5980.1308747883,
"length": 159.0,
"n1": 6.0,
"n2": 28.0,
"n_1": 90.0,
"n_2": 69.0,
"time": 332.2294930437945,
"vocabulary": 34.0,
"volume": 808.9065917588039
},
"lines_of_code": 31.0,
"maintainability_index": 80.09185335237873,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 18.0,
"technical_debt_score": 11.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts:getChangesScope:15",
"entity_name": "getChangesScope",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts",
"issues": [],
"line_number": 16,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 66.56842503028855,
"length": 12.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 3.6982458350160305,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 16
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts:getChangesHeader:19",
"entity_name": "getChangesHeader",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts",
"issues": [],
"line_number": 20,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 61.021056277764515,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 4.0,
"n_2": 7.0,
"time": 3.3900586820980285,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts:getChangesActionLabel:23",
"entity_name": "getChangesActionLabel",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts",
"issues": [],
"line_number": 24,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01614401422030739,
"calculated_length": 28.75488750216347,
"difficulty": 1.875,
"effort": 90.81007998922905,
"length": 14.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 4.0,
"n_2": 10.0,
"time": 5.045004443846058,
"vocabulary": 11.0,
"volume": 48.432042660922164
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 24
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts:getChangesActionButton:27",
"entity_name": "getChangesActionButton",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts",
"issues": [],
"line_number": 28,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014395021744511903,
"calculated_length": 24.406371956566694,
"difficulty": 1.9285714285714288,
"effort": 83.2854829503903,
"length": 13.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 4.0,
"n_2": 9.0,
"time": 4.626971275021684,
"vocabulary": 10.0,
"volume": 43.18506523353571
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 28
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts:selectChangesView:31",
"entity_name": "selectChangesView",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts",
"issues": [],
"line_number": 32,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 35,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07237699129691222,
"calculated_length": 82.60335893412778,
"difficulty": 6.666666666666667,
"effort": 1447.5398259382443,
"length": 48.0,
"n1": 8.0,
"n2": 15.0,
"n_1": 23.0,
"n_2": 25.0,
"time": 80.41887921879135,
"vocabulary": 23.0,
"volume": 217.13097389073664
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 32
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts:openChangesOverflowMenu:41",
"entity_name": "openChangesOverflowMenu",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts",
"issues": [],
"line_number": 42,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03646431222567951,
"calculated_length": 46.05374780501027,
"difficulty": 2.5454545454545454,
"effort": 278.454747905189,
"length": 28.0,
"n1": 4.0,
"n2": 11.0,
"n_1": 14.0,
"n_2": 14.0,
"time": 15.469708216954944,
"vocabulary": 15.0,
"volume": 109.39293667703852
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 42
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts:openChangesShipMenu:47",
"entity_name": "openChangesShipMenu",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts",
"issues": [],
"line_number": 48,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 50,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08400301253822128,
"calculated_length": 106.09004635215048,
"difficulty": 4.7250000000000005,
"effort": 1190.7427027292867,
"length": 53.0,
"n1": 7.0,
"n2": 20.0,
"n_1": 26.0,
"n_2": 27.0,
"time": 66.15237237384926,
"vocabulary": 27.0,
"volume": 252.0090376146638
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 48
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts:anonymous_function_49:49",
"entity_name": "anonymous_function_49",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts",
"issues": [],
"line_number": 50,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 50
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts:openChangesPanel:58",
"entity_name": "openChangesPanel",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts",
"issues": [],
"line_number": 59,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 61,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 63,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 73,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.24347215393728225,
"calculated_length": 212.74418654194744,
"difficulty": 9.428571428571429,
"effort": 6886.783782797412,
"length": 133.0,
"n1": 10.0,
"n2": 35.0,
"n_1": 67.0,
"n_2": 66.0,
"time": 382.59909904430066,
"vocabulary": 45.0,
"volume": 730.4164618118467
},
"lines_of_code": 24.0,
"maintainability_index": 84.30873063942076,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 15.0,
"technical_debt_score": 16.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 59
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts:sendPrompt:84",
"entity_name": "sendPrompt",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts",
"issues": [],
"line_number": 85,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0472591500163462,
"calculated_length": 61.302968908806456,
"difficulty": 2.7142857142857144,
"effort": 384.82450727596193,
"length": 34.0,
"n1": 4.0,
"n2": 14.0,
"n_1": 15.0,
"n_2": 19.0,
"time": 21.379139293108995,
"vocabulary": 18.0,
"volume": 141.7774500490386
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 85
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts:waitForAssistantText:91",
"entity_name": "waitForAssistantText",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts",
"issues": [],
"line_number": 92,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.042479275134435855,
"calculated_length": 64.91260938324326,
"difficulty": 3.2142857142857144,
"effort": 409.6215816534886,
"length": 30.0,
"n1": 5.0,
"n2": 14.0,
"n_1": 12.0,
"n_2": 18.0,
"time": 22.75675453630492,
"vocabulary": 19.0,
"volume": 127.43782540330756
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 92
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts:waitForAssistantTextWithPermissions:97",
"entity_name": "waitForAssistantTextWithPermissions",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts",
"issues": [],
"line_number": 98,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 3,
"kind": "While",
"line": 108,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 109,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 113,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 114,
"nesting_level": 2
},
{
"column": 9,
"kind": "Catch",
"line": 116,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.1555529229681268,
"calculated_length": 194.18441776750603,
"difficulty": 10.620689655172413,
"effort": 4956.237959398247,
"length": 86.0,
"n1": 14.0,
"n2": 29.0,
"n_1": 42.0,
"n_2": 44.0,
"time": 275.3465532999026,
"vocabulary": 43.0,
"volume": 466.6587689043804
},
"lines_of_code": 26.0,
"maintainability_index": 84.88172490837033,
"max_nesting_depth": 3.0,
"parameter_count": 3.0,
"statement_count": 12.0,
"technical_debt_score": 26.8
},
"recommendations": [],
"severity": "Low",
"start_line": 98
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts:createAgentAndWait:125",
"entity_name": "createAgentAndWait",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts",
"issues": [],
"line_number": 126,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.089781219668978,
"calculated_length": 100.23866587835397,
"difficulty": 2.9523809523809526,
"effort": 795.2050884966623,
"length": 58.0,
"n1": 4.0,
"n2": 21.0,
"n_1": 27.0,
"n_2": 31.0,
"time": 44.17806047203679,
"vocabulary": 25.0,
"volume": 269.343659006934
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 6.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 126
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts:requestCwd:134",
"entity_name": "requestCwd",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts",
"issues": [],
"line_number": 135,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 142,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.10853254061334057,
"calculated_length": 141.1270456186744,
"difficulty": 8.727272727272727,
"effort": 2841.5792451492803,
"length": 64.0,
"n1": 12.0,
"n2": 22.0,
"n_1": 32.0,
"n_2": 32.0,
"time": 157.86551361940445,
"vocabulary": 34.0,
"volume": 325.5976218400217
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 135
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts:anonymous_function_138:138",
"entity_name": "anonymous_function_138",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts",
"issues": [],
"line_number": 139,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008,
"calculated_length": 16.36452797660028,
"difficulty": 2.5,
"effort": 60.0,
"length": 8.0,
"n1": 5.0,
"n2": 3.0,
"n_1": 5.0,
"n_2": 3.0,
"time": 3.3333333333333335,
"vocabulary": 8.0,
"volume": 24.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 139
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts:selectAttachWorktree:147",
"entity_name": "selectAttachWorktree",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts",
"issues": [],
"line_number": 148,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 12,
"kind": "LogicalOr",
"line": 169,
"nesting_level": 0
},
{
"column": 12,
"kind": "LogicalOr",
"line": 169,
"nesting_level": 0
},
{
"column": 17,
"kind": "ConditionalExpression",
"line": 172,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.3166842188139354,
"calculated_length": 225.78217099003092,
"difficulty": 7.987179487179487,
"effort": 7588.241089272376,
"length": 172.0,
"n1": 7.0,
"n2": 39.0,
"n_1": 83.0,
"n_2": 89.0,
"time": 421.5689494040209,
"vocabulary": 46.0,
"volume": 950.0526564418062
},
"lines_of_code": 29.0,
"maintainability_index": 79.87591701758072,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 19.0,
"technical_debt_score": 16.2
},
"recommendations": [],
"severity": "Low",
"start_line": 148
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts:anonymous_function_163:163",
"entity_name": "anonymous_function_163",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts",
"issues": [],
"line_number": 164,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 12,
"kind": "LogicalOr",
"line": 169,
"nesting_level": 0
},
{
"column": 12,
"kind": "LogicalOr",
"line": 169,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06371891270165378,
"calculated_length": 64.91260938324326,
"difficulty": 4.107142857142857,
"effort": 785.1080315025197,
"length": 45.0,
"n1": 5.0,
"n2": 14.0,
"n_1": 22.0,
"n_2": 23.0,
"time": 43.617112861251094,
"vocabulary": 19.0,
"volume": 191.15673810496133
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 8.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 164
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts:anonymous_function_164:164",
"entity_name": "anonymous_function_164",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts",
"issues": [],
"line_number": 165,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 165
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts:anonymous_function_165:165",
"entity_name": "anonymous_function_165",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts",
"issues": [],
"line_number": 166,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 166
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts:anonymous_function_167:167",
"entity_name": "anonymous_function_167",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts",
"issues": [],
"line_number": 168,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 168
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts:anonymous_function_170:170",
"entity_name": "anonymous_function_170",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts",
"issues": [],
"line_number": 171,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 171
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts:enableCreateWorktree:178",
"entity_name": "enableCreateWorktree",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts",
"issues": [],
"line_number": 179,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 182,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08405764584655454,
"calculated_length": 89.138352755659,
"difficulty": 5.970588235294118,
"effort": 1505.6207741338737,
"length": 55.0,
"n1": 7.0,
"n2": 17.0,
"n_1": 26.0,
"n_2": 29.0,
"time": 83.64559856299299,
"vocabulary": 24.0,
"volume": 252.1729375396636
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 179
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts:refreshUncommittedMode:192",
"entity_name": "refreshUncommittedMode",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts",
"issues": [],
"line_number": 193,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01584962500721156,
"calculated_length": 20.264662506490403,
"difficulty": 2.25,
"effort": 106.98496879867804,
"length": 15.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 9.0,
"time": 5.943609377704336,
"vocabulary": 9.0,
"volume": 47.548875021634686
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 193
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts:refreshChangesTab:197",
"entity_name": "refreshChangesTab",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts",
"issues": [],
"line_number": 198,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05722447977750475,
"calculated_length": 56.105716335834195,
"difficulty": 3.3846153846153846,
"effort": 581.0485638946636,
"length": 42.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 20.0,
"n_2": 22.0,
"time": 32.28047577192576,
"vocabulary": 17.0,
"volume": 171.67343933251425
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 198
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts:normalizeTmpPath:203",
"entity_name": "normalizeTmpPath",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts",
"issues": [],
"line_number": 204,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 205,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.013736341672916685,
"calculated_length": 19.60964047443681,
"difficulty": 4.375,
"effort": 180.28948445703148,
"length": 13.0,
"n1": 5.0,
"n2": 4.0,
"n_1": 6.0,
"n_2": 7.0,
"time": 10.016082469835082,
"vocabulary": 9.0,
"volume": 41.209025018750054
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 204
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts:anonymous_function_210:210",
"entity_name": "anonymous_function_210",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts",
"issues": [],
"line_number": 211,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 215,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 237,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 347,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 355,
"nesting_level": 1
}
],
"halstead": {
"bugs": 2.271637630757134,
"calculated_length": 861.1824517102259,
"difficulty": 15.735537190082646,
"effort": 107236.31526351035,
"length": 972.0,
"n1": 8.0,
"n2": 121.0,
"n_1": 496.0,
"n_2": 476.0,
"time": 5957.57307019502,
"vocabulary": 129.0,
"volume": 6814.912892271403
},
"lines_of_code": 157.0,
"maintainability_index": 42.03910142948099,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 101.0,
"technical_debt_score": 35.6
},
"recommendations": [],
"severity": "Low",
"start_line": 211
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts:anonymous_function_229:229",
"entity_name": "anonymous_function_229",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts",
"issues": [],
"line_number": 230,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 230
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts:anonymous_function_230:230",
"entity_name": "anonymous_function_230",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts",
"issues": [],
"line_number": 231,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 231
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts:anonymous_function_262:262",
"entity_name": "anonymous_function_262",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/checkout-ship.spec.ts",
"issues": [],
"line_number": 263,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01660964047443681,
"calculated_length": 23.509775004326936,
"difficulty": 2.0,
"effort": 99.65784284662087,
"length": 15.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 9.0,
"n_2": 6.0,
"time": 5.5365468248122705,
"vocabulary": 10.0,
"volume": 49.82892142331043
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 263
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/create-agent.spec.ts:anonymous_function_4:4",
"entity_name": "anonymous_function_4",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/create-agent.spec.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 9,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.18484448323209565,
"calculated_length": 150.11571282193984,
"difficulty": 5.571428571428571,
"effort": 3089.5435054507416,
"length": 109.0,
"n1": 6.0,
"n2": 28.0,
"n_1": 57.0,
"n_2": 52.0,
"time": 171.64130585837452,
"vocabulary": 34.0,
"volume": 554.533449696287
},
"lines_of_code": 24.0,
"maintainability_index": 86.20126687735504,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 14.0,
"technical_debt_score": 9.6
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/daemon-connectivity.spec.ts:anonymous_function_3:3",
"entity_name": "anonymous_function_3",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/daemon-connectivity.spec.ts",
"issues": [],
"line_number": 4,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 6,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08717293753966358,
"calculated_length": 103.58797503894242,
"difficulty": 6.5,
"effort": 1699.8722820234398,
"length": 55.0,
"n1": 9.0,
"n2": 18.0,
"n_1": 29.0,
"n_2": 26.0,
"time": 94.43734900130221,
"vocabulary": 27.0,
"volume": 261.51881261899075
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 4
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/delete-agent-persists.spec.ts:longPress:8",
"entity_name": "longPress",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/delete-agent-persists.spec.ts",
"issues": [],
"line_number": 9,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 11,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.11559791390902707,
"calculated_length": 125.4579468272276,
"difficulty": 8.333333333333334,
"effort": 2889.947847725677,
"length": 70.0,
"n1": 10.0,
"n2": 21.0,
"n_1": 35.0,
"n_2": 35.0,
"time": 160.55265820698207,
"vocabulary": 31.0,
"volume": 346.7937417270812
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 7.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 9
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/delete-agent-persists.spec.ts:anonymous_function_19:19",
"entity_name": "anonymous_function_19",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/delete-agent-persists.spec.ts",
"issues": [],
"line_number": 20,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 25,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 38,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.49442883003356064,
"calculated_length": 382.782447726053,
"difficulty": 12.827586206896552,
"effort": 19026.985321291508,
"length": 242.0,
"n1": 12.0,
"n2": 58.0,
"n_1": 118.0,
"n_2": 124.0,
"time": 1057.0547400717505,
"vocabulary": 70.0,
"volume": 1483.286490100682
},
"lines_of_code": 47.0,
"maintainability_index": 69.96712821960922,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 31.0,
"technical_debt_score": 17.8
},
"recommendations": [],
"severity": "Low",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts:addFakeMicrophone:7",
"entity_name": "addFakeMicrophone",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts",
"issues": [],
"line_number": 8,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 25,
"nesting_level": 0
},
{
"column": 7,
"kind": "For",
"line": 45,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 72,
"nesting_level": 1
},
{
"column": 9,
"kind": "Try",
"line": 76,
"nesting_level": 1
},
{
"column": 11,
"kind": "Catch",
"line": 80,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.5748255913442383,
"calculated_length": 599.9664121314019,
"difficulty": 18.88888888888889,
"effort": 32573.4501761735,
"length": 259.0,
"n1": 20.0,
"n2": 81.0,
"n_1": 106.0,
"n_2": 153.0,
"time": 1809.636120898528,
"vocabulary": 101.0,
"volume": 1724.4767740327147
},
"lines_of_code": 81.0,
"maintainability_index": 59.675993081228285,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 38.0,
"technical_debt_score": 35.400000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 8
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts:anonymous_function_12:12",
"entity_name": "anonymous_function_12",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts",
"issues": [],
"line_number": 13,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 25,
"nesting_level": 0
},
{
"column": 7,
"kind": "For",
"line": 45,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 72,
"nesting_level": 1
},
{
"column": 9,
"kind": "Try",
"line": 76,
"nesting_level": 1
},
{
"column": 11,
"kind": "Catch",
"line": 80,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.4879468966054454,
"calculated_length": 472.16453060227764,
"difficulty": 19.43846153846154,
"effort": 28454.810947429858,
"length": 229.0,
"n1": 19.0,
"n2": 65.0,
"n_1": 96.0,
"n_2": 133.0,
"time": 1580.82283041277,
"vocabulary": 84.0,
"volume": 1463.8406898163362
},
"lines_of_code": 75.0,
"maintainability_index": 61.77483443583486,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 34.0,
"technical_debt_score": 34.2
},
"recommendations": [],
"severity": "Low",
"start_line": 13
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts:anonymous_function_27:27",
"entity_name": "anonymous_function_27",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts",
"issues": [],
"line_number": 28,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05281905001826929,
"calculated_length": 57.70523225941349,
"difficulty": 6.681818181818182,
"effort": 1058.781866275307,
"length": 38.0,
"n1": 7.0,
"n2": 11.0,
"n_1": 17.0,
"n_2": 21.0,
"time": 58.82121479307261,
"vocabulary": 18.0,
"volume": 158.45715005480787
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 4.4
},
"recommendations": [],
"severity": "Low",
"start_line": 28
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts:anonymous_function_31:31",
"entity_name": "anonymous_function_31",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts",
"issues": [],
"line_number": 32,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.025903078026987644,
"calculated_length": 35.161259458730164,
"difficulty": 4.714285714285714,
"effort": 366.3435320959681,
"length": 21.0,
"n1": 6.0,
"n2": 7.0,
"n_1": 10.0,
"n_2": 11.0,
"time": 20.352418449776007,
"vocabulary": 13.0,
"volume": 77.70923408096293
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 32
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts:anonymous_function_37:37",
"entity_name": "anonymous_function_37",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts",
"issues": [],
"line_number": 38,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 38
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts:anonymous_function_41:41",
"entity_name": "anonymous_function_41",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts",
"issues": [],
"line_number": 42,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "For",
"line": 45,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05880630542874117,
"calculated_length": 81.32499728470782,
"difficulty": 9.615384615384615,
"effort": 1696.33573352138,
"length": 39.0,
"n1": 10.0,
"n2": 13.0,
"n_1": 14.0,
"n_2": 25.0,
"time": 94.24087408452111,
"vocabulary": 23.0,
"volume": 176.41891628622352
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 6.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 42
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts:isTypeSupported:51",
"entity_name": "isTypeSupported",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts",
"issues": [],
"line_number": 52,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 52
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts:constructor:60",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts",
"issues": [],
"line_number": 61,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.024669598120940616,
"calculated_length": 35.60964047443681,
"difficulty": 3.125,
"effort": 231.27748238381827,
"length": 20.0,
"n1": 5.0,
"n2": 8.0,
"n_1": 10.0,
"n_2": 10.0,
"time": 12.848749021323236,
"vocabulary": 13.0,
"volume": 74.00879436282185
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 61
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts:start:66",
"entity_name": "start",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts",
"issues": [],
"line_number": 67,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 67
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts:stop:70",
"entity_name": "stop",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts",
"issues": [],
"line_number": 71,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 72,
"nesting_level": 1
},
{
"column": 9,
"kind": "Try",
"line": 76,
"nesting_level": 1
},
{
"column": 11,
"kind": "Catch",
"line": 80,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.06339850002884624,
"calculated_length": 102.05374780501026,
"difficulty": 6.1875,
"effort": 1176.8346567854585,
"length": 40.0,
"n1": 11.0,
"n2": 16.0,
"n_1": 22.0,
"n_2": 18.0,
"time": 65.37970315474769,
"vocabulary": 27.0,
"volume": 190.19550008653874
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 16.2
},
"recommendations": [],
"severity": "Low",
"start_line": 71
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts:anonymous_function_90:90",
"entity_name": "anonymous_function_90",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts",
"issues": [],
"line_number": 91,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 95,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.28207063362959367,
"calculated_length": 210.11730005192322,
"difficulty": 7.555555555555555,
"effort": 6393.601028937457,
"length": 155.0,
"n1": 8.0,
"n2": 36.0,
"n_1": 87.0,
"n_2": 68.0,
"time": 355.20005716319207,
"vocabulary": 44.0,
"volume": 846.2119008887811
},
"lines_of_code": 29.0,
"maintainability_index": 80.93780458326432,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 18.0,
"technical_debt_score": 10.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 91
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts:anonymous_function_106:106",
"entity_name": "anonymous_function_106",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts",
"issues": [],
"line_number": 107,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 31.019550008653873,
"length": 8.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 5.0,
"n_2": 3.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 107
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts:anonymous_function_107:107",
"entity_name": "anonymous_function_107",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts",
"issues": [],
"line_number": 108,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 31.019550008653873,
"length": 8.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 5.0,
"n_2": 3.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 108
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts:anonymous_function_114:114",
"entity_name": "anonymous_function_114",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts",
"issues": [],
"line_number": 115,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 19.60964047443681,
"difficulty": 2.0,
"effort": 76.07820003461549,
"length": 12.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 7.0,
"n_2": 5.0,
"time": 4.22656666858975,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 115
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts:anonymous_function_114:114",
"entity_name": "anonymous_function_114",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts",
"issues": [],
"line_number": 115,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 31.019550008653873,
"length": 8.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 5.0,
"n_2": 3.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 115
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts:anonymous_function_121:121",
"entity_name": "anonymous_function_121",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts",
"issues": [],
"line_number": 122,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 126,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.21389525777022417,
"calculated_length": 196.97373660251154,
"difficulty": 6.235294117647059,
"effort": 4001.0995277018405,
"length": 119.0,
"n1": 8.0,
"n2": 34.0,
"n_1": 66.0,
"n_2": 53.0,
"time": 222.2833070945467,
"vocabulary": 42.0,
"volume": 641.6857733106725
},
"lines_of_code": 25.0,
"maintainability_index": 84.78089821930281,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 15.0,
"technical_debt_score": 9.8
},
"recommendations": [],
"severity": "Low",
"start_line": 122
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts:anonymous_function_136:136",
"entity_name": "anonymous_function_136",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts",
"issues": [],
"line_number": 137,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 19.60964047443681,
"difficulty": 2.0,
"effort": 76.07820003461549,
"length": 12.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 7.0,
"n_2": 5.0,
"time": 4.22656666858975,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 137
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts:anonymous_function_136:136",
"entity_name": "anonymous_function_136",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts",
"issues": [],
"line_number": 137,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 31.019550008653873,
"length": 8.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 5.0,
"n_2": 3.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 137
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts:anonymous_function_148:148",
"entity_name": "anonymous_function_148",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts",
"issues": [],
"line_number": 149,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 153,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 169,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.2888386202872371,
"calculated_length": 225.9690554771448,
"difficulty": 9.324324324324325,
"effort": 8079.674918845688,
"length": 156.0,
"n1": 10.0,
"n2": 37.0,
"n_1": 87.0,
"n_2": 69.0,
"time": 448.87082882476045,
"vocabulary": 47.0,
"volume": 866.5158608617114
},
"lines_of_code": 32.0,
"maintainability_index": 78.98978022443136,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 18.0,
"technical_debt_score": 14.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 149
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts:anonymous_function_163:163",
"entity_name": "anonymous_function_163",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts",
"issues": [],
"line_number": 164,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 19.60964047443681,
"difficulty": 2.0,
"effort": 76.07820003461549,
"length": 12.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 7.0,
"n_2": 5.0,
"time": 4.22656666858975,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 164
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts:anonymous_function_163:163",
"entity_name": "anonymous_function_163",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts",
"issues": [],
"line_number": 164,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 31.019550008653873,
"length": 8.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 5.0,
"n_2": 3.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 164
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts:anonymous_function_166:166",
"entity_name": "anonymous_function_166",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts",
"issues": [],
"line_number": 167,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 169,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.030458839376460836,
"calculated_length": 39.50977500432694,
"difficulty": 4.875,
"effort": 445.4605258807397,
"length": 24.0,
"n1": 6.0,
"n2": 8.0,
"n_1": 11.0,
"n_2": 13.0,
"time": 24.747806993374425,
"vocabulary": 14.0,
"volume": 91.3765181293825
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 167
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts:anonymous_function_175:175",
"entity_name": "anonymous_function_175",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts",
"issues": [],
"line_number": 176,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 19.60964047443681,
"difficulty": 2.0,
"effort": 76.07820003461549,
"length": 12.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 7.0,
"n_2": 5.0,
"time": 4.22656666858975,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 176
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts:anonymous_function_175:175",
"entity_name": "anonymous_function_175",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts",
"issues": [],
"line_number": 176,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 31.019550008653873,
"length": 8.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 5.0,
"n_2": 3.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 176
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts:anonymous_function_182:182",
"entity_name": "anonymous_function_182",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts",
"issues": [],
"line_number": 183,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 187,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.3555982901272965,
"calculated_length": 243.65963218934144,
"difficulty": 8.0,
"effort": 8534.358963055116,
"length": 190.0,
"n1": 8.0,
"n2": 41.0,
"n_1": 108.0,
"n_2": 82.0,
"time": 474.131053503062,
"vocabulary": 49.0,
"volume": 1066.7948703818895
},
"lines_of_code": 36.0,
"maintainability_index": 76.23044048083308,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 23.0,
"technical_debt_score": 12.0
},
"recommendations": [],
"severity": "Low",
"start_line": 183
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts:anonymous_function_197:197",
"entity_name": "anonymous_function_197",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts",
"issues": [],
"line_number": 198,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 19.60964047443681,
"difficulty": 2.0,
"effort": 76.07820003461549,
"length": 12.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 7.0,
"n_2": 5.0,
"time": 4.22656666858975,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 198
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts:anonymous_function_197:197",
"entity_name": "anonymous_function_197",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/dictation-web.spec.ts",
"issues": [],
"line_number": 198,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 31.019550008653873,
"length": 8.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 5.0,
"n_2": 3.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 198
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/fixtures.ts:anonymous_function_4:4",
"entity_name": "anonymous_function_4",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/fixtures.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 7,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02666666666666667,
"calculated_length": 48.18080946738404,
"difficulty": 6.428571428571429,
"effort": 514.2857142857143,
"length": 20.0,
"n1": 9.0,
"n2": 7.0,
"n_1": 10.0,
"n_2": 10.0,
"time": 28.571428571428573,
"vocabulary": 16.0,
"volume": 80.0
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/fixtures.ts:anonymous_function_15:15",
"entity_name": "anonymous_function_15",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/fixtures.ts",
"issues": [],
"line_number": 16,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 19,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 25,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 31,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 85,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 87,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.5349200421746575,
"calculated_length": 638.2214477622555,
"difficulty": 8.429347826086957,
"effort": 13527.081283905878,
"length": 240.0,
"n1": 11.0,
"n2": 92.0,
"n_1": 99.0,
"n_2": 141.0,
"time": 751.5045157725488,
"vocabulary": 103.0,
"volume": 1604.7601265239725
},
"lines_of_code": 86.0,
"maintainability_index": 59.07978003401195,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 33.0,
"technical_debt_score": 34.0
},
"recommendations": [],
"severity": "Low",
"start_line": 16
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/fixtures.ts:anonymous_function_38:38",
"entity_name": "anonymous_function_38",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/fixtures.ts",
"issues": [],
"line_number": 39,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.0,
"difficulty": 1.5,
"effort": 15.0,
"length": 5.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.8333333333333334,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 39
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/fixtures.ts:anonymous_function_39:39",
"entity_name": "anonymous_function_39",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/fixtures.ts",
"issues": [],
"line_number": 40,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012180403014586996,
"calculated_length": 23.509775004326936,
"difficulty": 2.3333333333333335,
"effort": 85.26282110210897,
"length": 11.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 4.0,
"n_2": 7.0,
"time": 4.736823394561609,
"vocabulary": 10.0,
"volume": 36.541209043760986
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 40
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/fixtures.ts:anonymous_function_46:46",
"entity_name": "anonymous_function_46",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/fixtures.ts",
"issues": [],
"line_number": 47,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014,
"calculated_length": 16.36452797660028,
"difficulty": 2.0999999999999996,
"effort": 88.19999999999999,
"length": 14.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 7.0,
"n_2": 7.0,
"time": 4.8999999999999995,
"vocabulary": 8.0,
"volume": 42.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 47
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/fixtures.ts:anonymous_function_50:50",
"entity_name": "anonymous_function_50",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/fixtures.ts",
"issues": [],
"line_number": 51,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008422064766172813,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 47.374114309722074,
"length": 9.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 5.0,
"time": 2.6318952394290043,
"vocabulary": 7.0,
"volume": 25.26619429851844
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 51
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/fixtures.ts:anonymous_function_78:78",
"entity_name": "anonymous_function_78",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/fixtures.ts",
"issues": [],
"line_number": 79,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 85,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 87,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10896671156663901,
"calculated_length": 111.8901503327572,
"difficulty": 6.333333333333333,
"effort": 2070.367519766141,
"length": 68.0,
"n1": 7.0,
"n2": 21.0,
"n_1": 30.0,
"n_2": 38.0,
"time": 115.0204177647856,
"vocabulary": 28.0,
"volume": 326.90013469991703
},
"lines_of_code": 20.0,
"maintainability_index": 91.67293259435665,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 11.0,
"technical_debt_score": 12.4
},
"recommendations": [],
"severity": "Low",
"start_line": 79
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/fixtures.ts:anonymous_function_103:103",
"entity_name": "anonymous_function_103",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/fixtures.ts",
"issues": [],
"line_number": 104,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 106,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 106,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 110,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06893978253273601,
"calculated_length": 98.01619331423657,
"difficulty": 6.088235294117648,
"effort": 1259.164851553796,
"length": 44.0,
"n1": 9.0,
"n2": 17.0,
"n_1": 21.0,
"n_2": 23.0,
"time": 69.95360286409978,
"vocabulary": 26.0,
"volume": 206.81934759820803
},
"lines_of_code": 14.0,
"maintainability_index": 99.60167364462404,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 6.0,
"technical_debt_score": 14.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 104
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts:getAvailablePort:8",
"entity_name": "getAvailablePort",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts",
"issues": [],
"line_number": 9,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 15,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 15,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09614709844115209,
"calculated_length": 109.23994776840892,
"difficulty": 7.342105263157895,
"effort": 2117.7663525064286,
"length": 60.0,
"n1": 9.0,
"n2": 19.0,
"n_1": 29.0,
"n_2": 31.0,
"time": 117.65368625035714,
"vocabulary": 28.0,
"volume": 288.44129532345625
},
"lines_of_code": 13.0,
"maintainability_index": 99.30246417841522,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 10.999999999999998
},
"recommendations": [],
"severity": "Low",
"start_line": 9
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts:anonymous_function_9:9",
"entity_name": "anonymous_function_9",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts",
"issues": [],
"line_number": 10,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 15,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 15,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08513736347920328,
"calculated_length": 92.5293250129808,
"difficulty": 7.875,
"effort": 2011.3702121961774,
"length": 55.0,
"n1": 9.0,
"n2": 16.0,
"n_1": 27.0,
"n_2": 28.0,
"time": 111.74278956645429,
"vocabulary": 25.0,
"volume": 255.41209043760983
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 8.0,
"technical_debt_score": 10.6
},
"recommendations": [],
"severity": "Low",
"start_line": 10
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts:anonymous_function_12:12",
"entity_name": "anonymous_function_12",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts",
"issues": [],
"line_number": 13,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 15,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 15,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04955915432350849,
"calculated_length": 61.74860596185444,
"difficulty": 7.2,
"effort": 1070.4777333877835,
"length": 35.0,
"n1": 9.0,
"n2": 10.0,
"n_1": 19.0,
"n_2": 16.0,
"time": 59.47098518821019,
"vocabulary": 19.0,
"volume": 148.67746297052548
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 9.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 13
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts:anonymous_function_15:15",
"entity_name": "anonymous_function_15",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts",
"issues": [],
"line_number": 16,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 16
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts:anonymous_function_18:18",
"entity_name": "anonymous_function_18",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts",
"issues": [],
"line_number": 19,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 19
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts:waitForServer:23",
"entity_name": "waitForServer",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts",
"issues": [],
"line_number": 24,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "While",
"line": 26,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 27,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 36,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.11022836156042401,
"calculated_length": 141.1270456186744,
"difficulty": 9.545454545454545,
"effort": 3156.539444684869,
"length": 65.0,
"n1": 12.0,
"n2": 22.0,
"n_1": 30.0,
"n_2": 35.0,
"time": 175.3633024824927,
"vocabulary": 34.0,
"volume": 330.68508468127203
},
"lines_of_code": 17.0,
"maintainability_index": 94.0158779394153,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 11.0,
"technical_debt_score": 16.2
},
"recommendations": [],
"severity": "Low",
"start_line": 24
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts:anonymous_function_27:27",
"entity_name": "anonymous_function_27",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts",
"issues": [],
"line_number": 28,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.029603517745128736,
"calculated_length": 37.974168451037094,
"difficulty": 2.0999999999999996,
"effort": 186.502161794311,
"length": 24.0,
"n1": 3.0,
"n2": 10.0,
"n_1": 10.0,
"n_2": 14.0,
"time": 10.361231210795056,
"vocabulary": 13.0,
"volume": 88.81055323538621
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 28
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts:anonymous_function_28:28",
"entity_name": "anonymous_function_28",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts",
"issues": [],
"line_number": 29,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 31.019550008653873,
"length": 8.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 5.0,
"n_2": 3.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 29
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts:anonymous_function_36:36",
"entity_name": "anonymous_function_36",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts",
"issues": [],
"line_number": 37,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 37
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts:stripAnsi:53",
"entity_name": "stripAnsi",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts",
"issues": [],
"line_number": 54,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 54
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts:decodeOfferFromFragmentUrl:57",
"entity_name": "decodeOfferFromFragmentUrl",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts",
"issues": [],
"line_number": 58,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 61,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 67,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 68,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 69,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 69,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.17501336548419075,
"calculated_length": 186.79936657086677,
"difficulty": 8.548387096774194,
"effort": 4488.245985804247,
"length": 98.0,
"n1": 10.0,
"n2": 31.0,
"n_1": 45.0,
"n_2": 53.0,
"time": 249.34699921134703,
"vocabulary": 41.0,
"volume": 525.0400964525722
},
"lines_of_code": 15.0,
"maintainability_index": 93.17951864601687,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 14.0,
"technical_debt_score": 19.799999999999997
},
"recommendations": [],
"severity": "Low",
"start_line": 58
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts:globalSetup:74",
"entity_name": "globalSetup",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts",
"issues": [
{
"description": "Cyclomatic complexity of 16.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts:globalSetup:74",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts:75",
"metric_value": 16.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 35.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts:globalSetup:74",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts:75",
"metric_value": 35.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 75,
"metrics": {
"cognitive_complexity": 35.0,
"cyclomatic_complexity": 16.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 137,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 138,
"nesting_level": 0
},
{
"column": 9,
"kind": "Try",
"line": 140,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 142,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 142,
"nesting_level": 3
},
{
"column": 11,
"kind": "Catch",
"line": 146,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 148,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 148,
"nesting_level": 3
},
{
"column": 13,
"kind": "Try",
"line": 149,
"nesting_level": 3
},
{
"column": 15,
"kind": "Catch",
"line": 152,
"nesting_level": 4
},
{
"column": 3,
"kind": "If",
"line": 179,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 191,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 195,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 199,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 203,
"nesting_level": 0
}
],
"halstead": {
"bugs": 1.1851655244981998,
"calculated_length": 926.2605779381004,
"difficulty": 21.80327868852459,
"effort": 77521.48266799698,
"length": 498.0,
"n1": 19.0,
"n2": 122.0,
"n_1": 218.0,
"n_2": 280.0,
"time": 4306.749037110943,
"vocabulary": 141.0,
"volume": 3555.496573494599
},
"lines_of_code": 134.0,
"maintainability_index": 45.45849515965753,
"max_nesting_depth": 4.0,
"parameter_count": 0.0,
"statement_count": 69.0,
"technical_debt_score": 80.0
},
"recommendations": [],
"severity": "High",
"start_line": 75
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts:anonymous_function_95:95",
"entity_name": "anonymous_function_95",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts",
"issues": [],
"line_number": 96,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.037333333333333336,
"calculated_length": 51.01955000865387,
"difficulty": 2.6666666666666665,
"effort": 298.66666666666663,
"length": 28.0,
"n1": 4.0,
"n2": 12.0,
"n_1": 12.0,
"n_2": 16.0,
"time": 16.59259259259259,
"vocabulary": 16.0,
"volume": 112.0
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 96
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts:anonymous_function_96:96",
"entity_name": "anonymous_function_96",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts",
"issues": [],
"line_number": 97,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.0,
"difficulty": 1.5,
"effort": 15.0,
"length": 5.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.8333333333333334,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 97
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts:anonymous_function_102:102",
"entity_name": "anonymous_function_102",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts",
"issues": [],
"line_number": 103,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014792983340064124,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 77.66316253533665,
"length": 14.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 7.0,
"n_2": 7.0,
"time": 4.314620140852036,
"vocabulary": 9.0,
"volume": 44.37895002019237
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 103
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts:anonymous_function_111:111",
"entity_name": "anonymous_function_111",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts",
"issues": [],
"line_number": 112,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.0,
"difficulty": 1.5,
"effort": 15.0,
"length": 5.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.8333333333333334,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 112
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts:anonymous_function_130:130",
"entity_name": "anonymous_function_130",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts",
"issues": [
{
"description": "Cognitive complexity of 30.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts:anonymous_function_130:130",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts:131",
"metric_value": 30.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 131,
"metrics": {
"cognitive_complexity": 30.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 137,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 138,
"nesting_level": 0
},
{
"column": 9,
"kind": "Try",
"line": 140,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 142,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 142,
"nesting_level": 3
},
{
"column": 11,
"kind": "Catch",
"line": 146,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 148,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 148,
"nesting_level": 3
},
{
"column": 13,
"kind": "Try",
"line": 149,
"nesting_level": 3
},
{
"column": 15,
"kind": "Catch",
"line": 152,
"nesting_level": 4
}
],
"halstead": {
"bugs": 0.21173654164885217,
"calculated_length": 212.18344455612092,
"difficulty": 13.548387096774194,
"effort": 8606.0658863727,
"length": 115.0,
"n1": 15.0,
"n2": 31.0,
"n_1": 59.0,
"n_2": 56.0,
"time": 478.11477146515,
"vocabulary": 46.0,
"volume": 635.2096249465565
},
"lines_of_code": 29.0,
"maintainability_index": 80.35924122952179,
"max_nesting_depth": 4.0,
"parameter_count": 1.0,
"statement_count": 20.0,
"technical_debt_score": 51.800000000000004
},
"recommendations": [],
"severity": "High",
"start_line": 131
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts:anonymous_function_161:161",
"entity_name": "anonymous_function_161",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts",
"issues": [],
"line_number": 162,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014792983340064124,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 77.66316253533665,
"length": 14.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 7.0,
"n_2": 7.0,
"time": 4.314620140852036,
"vocabulary": 9.0,
"volume": 44.37895002019237
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 162
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts:anonymous_function_174:174",
"entity_name": "anonymous_function_174",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts",
"issues": [],
"line_number": 175,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 17.509775004326936,
"difficulty": 1.1666666666666667,
"effort": 35.0,
"length": 10.0,
"n1": 2.0,
"n2": 6.0,
"n_1": 3.0,
"n_2": 7.0,
"time": 1.9444444444444444,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 175
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts:anonymous_function_175:175",
"entity_name": "anonymous_function_175",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts",
"issues": [],
"line_number": 176,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 176
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts:anonymous_function_189:189",
"entity_name": "anonymous_function_189",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/global-setup.ts",
"issues": [],
"line_number": 190,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 191,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 195,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 199,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 203,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.09067510957895837,
"calculated_length": 78.25484338853101,
"difficulty": 6.766666666666667,
"effort": 1840.7047244528549,
"length": 61.0,
"n1": 7.0,
"n2": 15.0,
"n_1": 32.0,
"n_2": 29.0,
"time": 102.26137358071416,
"vocabulary": 22.0,
"volume": 272.0253287368751
},
"lines_of_code": 18.0,
"maintainability_index": 93.87532257403517,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 13.0,
"technical_debt_score": 16.8
},
"recommendations": [],
"severity": "Low",
"start_line": 190
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:escapeRegex:2",
"entity_name": "escapeRegex",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [],
"line_number": 3,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 3
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:getE2EDaemonPort:6",
"entity_name": "getE2EDaemonPort",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [],
"line_number": 7,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 9,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 12,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03542467795750294,
"calculated_length": 52.529325012980806,
"difficulty": 5.777777777777778,
"effort": 614.0277512633843,
"length": 26.0,
"n1": 8.0,
"n2": 9.0,
"n_1": 13.0,
"n_2": 13.0,
"time": 34.11265284796579,
"vocabulary": 17.0,
"volume": 106.27403387250882
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 7
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:ensureE2EStorageSeeded:17",
"entity_name": "ensureE2EStorageSeeded",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [],
"line_number": 18,
"metrics": {
"cognitive_complexity": 17.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 24,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 25,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 27,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 27,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 30,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 31,
"nesting_level": 1
},
{
"column": 42,
"kind": "LogicalAnd",
"line": 31,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 33,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 38,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.3894541483379835,
"calculated_length": 422.46314015279273,
"difficulty": 12.193548387096774,
"effort": 14246.4840069443,
"length": 187.0,
"n1": 14.0,
"n2": 62.0,
"n_1": 79.0,
"n_2": 108.0,
"time": 791.4713337191278,
"vocabulary": 76.0,
"volume": 1168.3624450139505
},
"lines_of_code": 59.0,
"maintainability_index": 65.91442958435897,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 27.0,
"technical_debt_score": 45.4
},
"recommendations": [],
"severity": "Moderate",
"start_line": 18
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:anonymous_function_21:21",
"entity_name": "anonymous_function_21",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [],
"line_number": 22,
"metrics": {
"cognitive_complexity": 16.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 24,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 25,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 27,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 27,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 30,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 31,
"nesting_level": 1
},
{
"column": 42,
"kind": "LogicalAnd",
"line": 31,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 33,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.14460596475494233,
"calculated_length": 136.1612434150308,
"difficulty": 10.5,
"effort": 4555.087889780683,
"length": 86.0,
"n1": 11.0,
"n2": 22.0,
"n_1": 44.0,
"n_2": 42.0,
"time": 253.06043832114906,
"vocabulary": 33.0,
"volume": 433.817894264827
},
"lines_of_code": 14.0,
"maintainability_index": 94.59962205283662,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 15.0,
"technical_debt_score": 33.60000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 22
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:anonymous_function_30:30",
"entity_name": "anonymous_function_30",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [],
"line_number": 31,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 31,
"nesting_level": 1
},
{
"column": 42,
"kind": "LogicalAnd",
"line": 31,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.009357849740192013,
"calculated_length": 12.754887502163468,
"difficulty": 3.3333333333333335,
"effort": 93.57849740192015,
"length": 10.0,
"n1": 4.0,
"n2": 3.0,
"n_1": 5.0,
"n_2": 5.0,
"time": 5.198805411217786,
"vocabulary": 7.0,
"volume": 28.07354922057604
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 10.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:anonymous_function_31:31",
"entity_name": "anonymous_function_31",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [],
"line_number": 32,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 32
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:anonymous_function_43:43",
"entity_name": "anonymous_function_43",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [],
"line_number": 44,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10339850002884625,
"calculated_length": 171.21989344099242,
"difficulty": 2.0,
"effort": 620.3910001730775,
"length": 60.0,
"n1": 3.0,
"n2": 33.0,
"n_1": 16.0,
"n_2": 44.0,
"time": 34.466166676282086,
"vocabulary": 36.0,
"volume": 310.19550008653874
},
"lines_of_code": 28.0,
"maintainability_index": 86.95483266560059,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 7.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 44
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:assertE2EUsesSeededTestDaemon:78",
"entity_name": "assertE2EUsesSeededTestDaemon",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [
{
"description": "Cyclomatic complexity of 19.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:assertE2EUsesSeededTestDaemon:78",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:79",
"metric_value": 19.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 28.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:assertE2EUsesSeededTestDaemon:78",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:79",
"metric_value": 28.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 79,
"metrics": {
"cognitive_complexity": 28.0,
"cyclomatic_complexity": 19.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 89,
"nesting_level": 0
},
{
"column": 3,
"kind": "Try",
"line": 94,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 96,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 100,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 100,
"nesting_level": 1
},
{
"column": 79,
"kind": "ConditionalExpression",
"line": 102,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 107,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 107,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 112,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 112,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 117,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 117,
"nesting_level": 1
},
{
"column": 57,
"kind": "LogicalAnd",
"line": 117,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 121,
"nesting_level": 0
},
{
"column": 3,
"kind": "Try",
"line": 124,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 126,
"nesting_level": 1
},
{
"column": 5,
"kind": "Catch",
"line": 131,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 132,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.4502884209036604,
"calculated_length": 323.57071827987835,
"difficulty": 21.25,
"effort": 28705.88683260835,
"length": 226.0,
"n1": 17.0,
"n2": 46.0,
"n_1": 111.0,
"n_2": 115.0,
"time": 1594.7714907004638,
"vocabulary": 63.0,
"volume": 1350.8652627109811
},
"lines_of_code": 56.0,
"maintainability_index": 63.935099482485015,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 31.0,
"technical_debt_score": 71.60000000000001
},
"recommendations": [],
"severity": "High",
"start_line": 79
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:anonymous_function_82:82",
"entity_name": "anonymous_function_82",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [],
"line_number": 83,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017297158093186486,
"calculated_length": 28.75488750216347,
"difficulty": 1.875,
"effort": 97.29651427417399,
"length": 15.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 5.0,
"n_2": 10.0,
"time": 5.405361904120777,
"vocabulary": 11.0,
"volume": 51.89147427955946
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 83
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:anonymous_function_111:111",
"entity_name": "anonymous_function_111",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [],
"line_number": 112,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "LogicalOr",
"line": 112,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 112
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:anonymous_function_116:116",
"entity_name": "anonymous_function_116",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [],
"line_number": 117,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "LogicalAnd",
"line": 117,
"nesting_level": 1
},
{
"column": 57,
"kind": "LogicalAnd",
"line": 117,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.009357849740192013,
"calculated_length": 12.754887502163468,
"difficulty": 3.3333333333333335,
"effort": 93.57849740192015,
"length": 10.0,
"n1": 4.0,
"n2": 3.0,
"n_1": 5.0,
"n_2": 5.0,
"time": 5.198805411217786,
"vocabulary": 7.0,
"volume": 28.07354922057604
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 117
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:anonymous_function_136:136",
"entity_name": "anonymous_function_136",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [],
"line_number": 137,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.06482892142331044,
"calculated_length": 72.0,
"difficulty": 2.75,
"effort": 534.8386017423111,
"length": 45.0,
"n1": 4.0,
"n2": 16.0,
"n_1": 23.0,
"n_2": 22.0,
"time": 29.713255652350615,
"vocabulary": 20.0,
"volume": 194.4867642699313
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 137
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:anonymous_function_143:143",
"entity_name": "anonymous_function_143",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [],
"line_number": 144,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04666666666666667,
"calculated_length": 51.01955000865387,
"difficulty": 2.8333333333333335,
"effort": 396.6666666666667,
"length": 35.0,
"n1": 4.0,
"n2": 12.0,
"n_1": 18.0,
"n_2": 17.0,
"time": 22.037037037037038,
"vocabulary": 16.0,
"volume": 140.0
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 144
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:anonymous_function_150:150",
"entity_name": "anonymous_function_150",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [],
"line_number": 151,
"metrics": {
"cognitive_complexity": 18.0,
"cyclomatic_complexity": 15.0,
"decision_points": [
{
"column": 5,
"kind": "For",
"line": 166,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 167,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 174,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 176,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 188,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 188,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 192,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 201,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 204,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 217,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 226,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 229,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 236,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 238,
"nesting_level": 0
}
],
"halstead": {
"bugs": 1.0519690357481513,
"calculated_length": 640.3150285939156,
"difficulty": 16.0,
"effort": 50494.513715911264,
"length": 471.0,
"n1": 13.0,
"n2": 91.0,
"n_1": 247.0,
"n_2": 224.0,
"time": 2805.25076199507,
"vocabulary": 104.0,
"volume": 3155.907107244454
},
"lines_of_code": 91.0,
"maintainability_index": 52.57751350569487,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 64.0,
"technical_debt_score": 62.60000000000001
},
"recommendations": [],
"severity": "High",
"start_line": 151
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:anonymous_function_158:158",
"entity_name": "anonymous_function_158",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [],
"line_number": 159,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "For",
"line": 166,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 167,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 174,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 176,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.278863922257722,
"calculated_length": 237.4749933158665,
"difficulty": 10.421052631578947,
"effort": 8718.166832688783,
"length": 149.0,
"n1": 11.0,
"n2": 38.0,
"n_1": 77.0,
"n_2": 72.0,
"time": 484.3426018160435,
"vocabulary": 49.0,
"volume": 836.591766773166
},
"lines_of_code": 27.0,
"maintainability_index": 81.46489443887009,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 19.0,
"technical_debt_score": 20.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 159
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:anonymous_function_170:170",
"entity_name": "anonymous_function_170",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [],
"line_number": 171,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 171
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:anonymous_function_186:186",
"entity_name": "anonymous_function_186",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [],
"line_number": 187,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 188,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 188,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 192,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07432386031062163,
"calculated_length": 76.63504134881501,
"difficulty": 6.230769230769231,
"effort": 1389.284465806235,
"length": 50.0,
"n1": 9.0,
"n2": 13.0,
"n_1": 32.0,
"n_2": 18.0,
"time": 77.1824703225686,
"vocabulary": 22.0,
"volume": 222.97158093186488
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 13.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 187
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:anonymous_function_216:216",
"entity_name": "anonymous_function_216",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [],
"line_number": 217,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 217
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:anonymous_function_233:233",
"entity_name": "anonymous_function_233",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [],
"line_number": 234,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 236,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 238,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04586917501586544,
"calculated_length": 57.70523225941349,
"difficulty": 5.090909090909091,
"effort": 700.5474002423085,
"length": 33.0,
"n1": 7.0,
"n2": 11.0,
"n_1": 17.0,
"n_2": 16.0,
"time": 38.91930001346159,
"vocabulary": 18.0,
"volume": 137.6075250475963
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 9.0
},
"recommendations": [],
"severity": "Low",
"start_line": 234
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:anonymous_function_234:234",
"entity_name": "anonymous_function_234",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [],
"line_number": 235,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 235
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:anonymous_function_243:243",
"entity_name": "anonymous_function_243",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [
{
"description": "Cognitive complexity of 28.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:anonymous_function_243:243",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:244",
"metric_value": 28.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 244,
"metrics": {
"cognitive_complexity": 28.0,
"cyclomatic_complexity": 15.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 250,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 252,
"nesting_level": 1
},
{
"column": 21,
"kind": "ConditionalExpression",
"line": 253,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 254,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 261,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 261,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 264,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 264,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 266,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 266,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 275,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 286,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 291,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 298,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.5976098884340999,
"calculated_length": 460.9407761481053,
"difficulty": 18.176923076923078,
"effort": 32588.12691622565,
"length": 282.0,
"n1": 17.0,
"n2": 65.0,
"n_1": 143.0,
"n_2": 139.0,
"time": 1810.4514953458695,
"vocabulary": 82.0,
"volume": 1792.8296653022996
},
"lines_of_code": 63.0,
"maintainability_index": 61.475154992300176,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 41.0,
"technical_debt_score": 65.0
},
"recommendations": [],
"severity": "High",
"start_line": 244
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:anonymous_function_257:257",
"entity_name": "anonymous_function_257",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [],
"line_number": 258,
"metrics": {
"cognitive_complexity": 15.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 261,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 261,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 264,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 264,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 266,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 266,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.21524183526984988,
"calculated_length": 198.05374780501026,
"difficulty": 11.171875,
"effort": 7213.964635216063,
"length": 119.0,
"n1": 11.0,
"n2": 32.0,
"n_1": 54.0,
"n_2": 65.0,
"time": 400.77581306755906,
"vocabulary": 43.0,
"volume": 645.7255058095496
},
"lines_of_code": 15.0,
"maintainability_index": 91.87363934280083,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 16.0,
"technical_debt_score": 29.000000000000004
},
"recommendations": [],
"severity": "Moderate",
"start_line": 258
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:anonymous_function_308:308",
"entity_name": "anonymous_function_308",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [],
"line_number": 309,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10302256254687514,
"calculated_length": 112.0419249893113,
"difficulty": 3.0434782608695654,
"effort": 940.6407884714687,
"length": 65.0,
"n1": 4.0,
"n2": 23.0,
"n_1": 30.0,
"n_2": 35.0,
"time": 52.25782158174826,
"vocabulary": 27.0,
"volume": 309.0676876406254
},
"lines_of_code": 13.0,
"maintainability_index": 99.40330681396014,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 7.0,
"technical_debt_score": 4.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 309
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:anonymous_function_331:331",
"entity_name": "anonymous_function_331",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [],
"line_number": 332,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.072211843528756,
"calculated_length": 56.105716335834195,
"difficulty": 4.153846153846154,
"effort": 899.8706655121902,
"length": 53.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 26.0,
"n_2": 27.0,
"time": 49.99281475067723,
"vocabulary": 17.0,
"volume": 216.63553058626798
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 6.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 332
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:anonymous_function_341:341",
"entity_name": "anonymous_function_341",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [],
"line_number": 342,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.17297373660251156,
"calculated_length": 152.4910893331364,
"difficulty": 4.741379310344827,
"effort": 2460.402287880552,
"length": 102.0,
"n1": 5.0,
"n2": 29.0,
"n_1": 47.0,
"n_2": 55.0,
"time": 136.68901599336402,
"vocabulary": 34.0,
"volume": 518.9212098075346
},
"lines_of_code": 21.0,
"maintainability_index": 88.93962579638566,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 11.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 342
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:anonymous_function_364:364",
"entity_name": "anonymous_function_364",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [],
"line_number": 365,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.16814647064528176,
"calculated_length": 146.2155782920497,
"difficulty": 4.732142857142857,
"effort": 2387.0793600535535,
"length": 100.0,
"n1": 5.0,
"n2": 28.0,
"n_1": 47.0,
"n_2": 53.0,
"time": 132.6155200029752,
"vocabulary": 33.0,
"volume": 504.4394119358453
},
"lines_of_code": 21.0,
"maintainability_index": 89.08680827486452,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 11.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 365
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:anonymous_function_387:387",
"entity_name": "anonymous_function_387",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [],
"line_number": 388,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 393,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 397,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 401,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.10256692722865784,
"calculated_length": 79.50977500432694,
"difficulty": 6.375,
"effort": 1961.5924832480814,
"length": 69.0,
"n1": 6.0,
"n2": 16.0,
"n_1": 35.0,
"n_2": 34.0,
"time": 108.97736018044897,
"vocabulary": 22.0,
"volume": 307.70078168597354
},
"lines_of_code": 18.0,
"maintainability_index": 93.46451284383066,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 10.0,
"technical_debt_score": 14.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 388
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:anonymous_function_407:407",
"entity_name": "anonymous_function_407",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [],
"line_number": 408,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02865053103446247,
"calculated_length": 46.05374780501027,
"difficulty": 2.3636363636363638,
"effort": 203.15831097164298,
"length": 22.0,
"n1": 4.0,
"n2": 11.0,
"n_1": 9.0,
"n_2": 13.0,
"time": 11.286572831757944,
"vocabulary": 15.0,
"volume": 85.95159310338741
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 408
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:anonymous_function_412:412",
"entity_name": "anonymous_function_412",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [],
"line_number": 413,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03951214079875328,
"calculated_length": 56.105716335834195,
"difficulty": 2.4615384615384617,
"effort": 291.7819628215627,
"length": 29.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 13.0,
"n_2": 16.0,
"time": 16.21010904564237,
"vocabulary": 17.0,
"volume": 118.53642239625984
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 413
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:anonymous_function_418:418",
"entity_name": "anonymous_function_418",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [],
"line_number": 419,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03951214079875328,
"calculated_length": 56.105716335834195,
"difficulty": 2.4615384615384617,
"effort": 291.7819628215627,
"length": 29.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 13.0,
"n_2": 16.0,
"time": 16.21010904564237,
"vocabulary": 17.0,
"volume": 118.53642239625984
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 419
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:waitForAgentIdle:424",
"entity_name": "waitForAgentIdle",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [],
"line_number": 425,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0313372151162526,
"calculated_length": 56.105716335834195,
"difficulty": 2.3076923076923075,
"effort": 216.94995080482568,
"length": 23.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 8.0,
"n_2": 15.0,
"time": 12.052775044712538,
"vocabulary": 17.0,
"volume": 94.0116453487578
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 425
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts:getToolCallCount:429",
"entity_name": "getToolCallCount",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/app.ts",
"issues": [],
"line_number": 430,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017297158093186486,
"calculated_length": 28.75488750216347,
"difficulty": 1.875,
"effort": 97.29651427417399,
"length": 15.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 5.0,
"n_2": 10.0,
"time": 5.405361904120777,
"vocabulary": 11.0,
"volume": 51.89147427955946
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 430
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/workspace.ts:anonymous_function_12:12",
"entity_name": "anonymous_function_12",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/workspace.ts",
"issues": [],
"line_number": 13,
"metrics": {
"cognitive_complexity": 14.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 31,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 32,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 41,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 52,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 52,
"nesting_level": 1
},
{
"column": 9,
"kind": "Try",
"line": 53,
"nesting_level": 1
},
{
"column": 11,
"kind": "Catch",
"line": 55,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.32549606496781586,
"calculated_length": 325.2123594973901,
"difficulty": 12.72,
"effort": 12420.929839171853,
"length": 164.0,
"n1": 12.0,
"n2": 50.0,
"n_1": 58.0,
"n_2": 106.0,
"time": 690.0516577317696,
"vocabulary": 62.0,
"volume": 976.4881949034475
},
"lines_of_code": 49.0,
"maintainability_index": 70.31590533314224,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 21.0,
"technical_debt_score": 37.0
},
"recommendations": [],
"severity": "Low",
"start_line": 13
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/workspace.ts:anonymous_function_50:50",
"entity_name": "anonymous_function_50",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/helpers/workspace.ts",
"issues": [],
"line_number": 51,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 52,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 52,
"nesting_level": 1
},
{
"column": 9,
"kind": "Try",
"line": 53,
"nesting_level": 1
},
{
"column": 11,
"kind": "Catch",
"line": 55,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.03256744426973415,
"calculated_length": 62.05374780501027,
"difficulty": 4.7272727272727275,
"effort": 461.8655732798662,
"length": 23.0,
"n1": 8.0,
"n2": 11.0,
"n_1": 10.0,
"n_2": 13.0,
"time": 25.659198515548123,
"vocabulary": 19.0,
"volume": 97.70233280920246
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 18.2
},
"recommendations": [],
"severity": "Low",
"start_line": 51
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/host-onboarding-direct.spec.ts:anonymous_function_2:2",
"entity_name": "anonymous_function_2",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/host-onboarding-direct.spec.ts",
"issues": [],
"line_number": 3,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 5,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2814325018183336,
"calculated_length": 227.95057052383706,
"difficulty": 8.763157894736842,
"effort": 7398.712350434614,
"length": 152.0,
"n1": 9.0,
"n2": 38.0,
"n_1": 78.0,
"n_2": 74.0,
"time": 411.0395750241452,
"vocabulary": 47.0,
"volume": 844.2975054550009
},
"lines_of_code": 26.0,
"maintainability_index": 82.71861046313583,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 16.0,
"technical_debt_score": 10.0
},
"recommendations": [],
"severity": "Low",
"start_line": 3
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/host-onboarding-direct.spec.ts:anonymous_function_8:8",
"entity_name": "anonymous_function_8",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/host-onboarding-direct.spec.ts",
"issues": [],
"line_number": 9,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.025369165203340177,
"calculated_length": 28.75488750216347,
"difficulty": 2.0625,
"effort": 156.97170969566736,
"length": 22.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 11.0,
"n_2": 11.0,
"time": 8.720650538648187,
"vocabulary": 11.0,
"volume": 76.10749561002054
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 9
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/host-removal.spec.ts:anonymous_function_2:2",
"entity_name": "anonymous_function_2",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/host-removal.spec.ts",
"issues": [
{
"description": "Cyclomatic complexity of 16.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/host-removal.spec.ts:anonymous_function_2:2",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/e2e/host-removal.spec.ts:3",
"metric_value": 16.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
}
],
"line_number": 3,
"metrics": {
"cognitive_complexity": 21.0,
"cyclomatic_complexity": 16.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 5,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 38,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 44,
"nesting_level": 0
},
{
"column": 9,
"kind": "Try",
"line": 45,
"nesting_level": 1
},
{
"column": 11,
"kind": "Catch",
"line": 47,
"nesting_level": 2
},
{
"column": 20,
"kind": "ConditionalExpression",
"line": 51,
"nesting_level": 0
},
{
"column": 51,
"kind": "LogicalAnd",
"line": 55,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 56,
"nesting_level": 0
},
{
"column": 56,
"kind": "LogicalAnd",
"line": 60,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 61,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 85,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 86,
"nesting_level": 0
},
{
"column": 16,
"kind": "LogicalAnd",
"line": 88,
"nesting_level": 1
},
{
"column": 70,
"kind": "LogicalAnd",
"line": 88,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 89,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.8611738181840896,
"calculated_length": 650.8126711922091,
"difficulty": 17.802197802197803,
"effort": 45992.359960161266,
"length": 384.0,
"n1": 15.0,
"n2": 91.0,
"n_1": 168.0,
"n_2": 216.0,
"time": 2555.131108897848,
"vocabulary": 106.0,
"volume": 2583.5214545522686
},
"lines_of_code": 101.0,
"maintainability_index": 51.699122636017776,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 49.0,
"technical_debt_score": 68.80000000000001
},
"recommendations": [],
"severity": "High",
"start_line": 3
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/host-removal.spec.ts:anonymous_function_36:36",
"entity_name": "anonymous_function_36",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/host-removal.spec.ts",
"issues": [],
"line_number": 37,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 38,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 44,
"nesting_level": 0
},
{
"column": 9,
"kind": "Try",
"line": 45,
"nesting_level": 1
},
{
"column": 11,
"kind": "Catch",
"line": 47,
"nesting_level": 2
},
{
"column": 20,
"kind": "ConditionalExpression",
"line": 51,
"nesting_level": 0
},
{
"column": 51,
"kind": "LogicalAnd",
"line": 55,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 56,
"nesting_level": 0
},
{
"column": 56,
"kind": "LogicalAnd",
"line": 60,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 61,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.19592262716856051,
"calculated_length": 165.23098268032226,
"difficulty": 13.846153846153845,
"effort": 8138.32451315559,
"length": 112.0,
"n1": 12.0,
"n2": 26.0,
"n_1": 52.0,
"n_2": 60.0,
"time": 452.129139619755,
"vocabulary": 38.0,
"volume": 587.7678815056815
},
"lines_of_code": 29.0,
"maintainability_index": 80.99288057901296,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 18.0,
"technical_debt_score": 35.400000000000006
},
"recommendations": [],
"severity": "Moderate",
"start_line": 37
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/host-removal.spec.ts:anonymous_function_54:54",
"entity_name": "anonymous_function_54",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/host-removal.spec.ts",
"issues": [],
"line_number": 55,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 51,
"kind": "LogicalAnd",
"line": 55,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.007739760316291207,
"calculated_length": 6.754887502163468,
"difficulty": 2.0,
"effort": 46.43856189774724,
"length": 10.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 2.579920105430402,
"vocabulary": 5.0,
"volume": 23.21928094887362
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 55
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/host-removal.spec.ts:anonymous_function_59:59",
"entity_name": "anonymous_function_59",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/host-removal.spec.ts",
"issues": [],
"line_number": 60,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 56,
"kind": "LogicalAnd",
"line": 60,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.007739760316291207,
"calculated_length": 6.754887502163468,
"difficulty": 2.0,
"effort": 46.43856189774724,
"length": 10.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 2.579920105430402,
"vocabulary": 5.0,
"volume": 23.21928094887362
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 60
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/host-removal.spec.ts:anonymous_function_77:77",
"entity_name": "anonymous_function_77",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/host-removal.spec.ts",
"issues": [],
"line_number": 78,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.0,
"difficulty": 1.5,
"effort": 15.0,
"length": 5.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.8333333333333334,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 78
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/host-removal.spec.ts:anonymous_function_82:82",
"entity_name": "anonymous_function_82",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/host-removal.spec.ts",
"issues": [],
"line_number": 83,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 85,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 86,
"nesting_level": 0
},
{
"column": 16,
"kind": "LogicalAnd",
"line": 88,
"nesting_level": 1
},
{
"column": 70,
"kind": "LogicalAnd",
"line": 88,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 89,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.06483772137015052,
"calculated_length": 81.83229392178727,
"difficulty": 7.071428571428571,
"effort": 1375.4859462096217,
"length": 43.0,
"n1": 9.0,
"n2": 14.0,
"n_1": 21.0,
"n_2": 22.0,
"time": 76.41588590053453,
"vocabulary": 23.0,
"volume": 194.51316411045156
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 20.2
},
"recommendations": [],
"severity": "Low",
"start_line": 83
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/host-removal.spec.ts:anonymous_function_87:87",
"entity_name": "anonymous_function_87",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/host-removal.spec.ts",
"issues": [],
"line_number": 88,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 16,
"kind": "LogicalAnd",
"line": 88,
"nesting_level": 1
},
{
"column": 70,
"kind": "LogicalAnd",
"line": 88,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.006191808253032966,
"calculated_length": 6.754887502163468,
"difficulty": 1.6666666666666667,
"effort": 30.95904126516483,
"length": 8.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.7199467369536017,
"vocabulary": 5.0,
"volume": 18.575424759098897
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 88
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/host-removal.spec.ts:anonymous_function_97:97",
"entity_name": "anonymous_function_97",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/host-removal.spec.ts",
"issues": [],
"line_number": 98,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017297158093186486,
"calculated_length": 27.651484454403228,
"difficulty": 2.5714285714285716,
"effort": 133.43521957601004,
"length": 15.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 9.0,
"time": 7.41306775422278,
"vocabulary": 11.0,
"volume": 51.89147427955946
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 98
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/host-selection.spec.ts:anonymous_function_3:3",
"entity_name": "anonymous_function_3",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/host-selection.spec.ts",
"issues": [],
"line_number": 4,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.07690055325296921,
"calculated_length": 88.71062275542812,
"difficulty": 2.736842105263158,
"effort": 631.3940161822736,
"length": 51.0,
"n1": 4.0,
"n2": 19.0,
"n_1": 25.0,
"n_2": 26.0,
"time": 35.077445343459644,
"vocabulary": 23.0,
"volume": 230.70165975890765
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 4
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/host-selection.spec.ts:anonymous_function_15:15",
"entity_name": "anonymous_function_15",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/host-selection.spec.ts",
"issues": [],
"line_number": 16,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 18,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 58,
"nesting_level": 0
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 60,
"nesting_level": 0
},
{
"column": 12,
"kind": "LogicalAnd",
"line": 60,
"nesting_level": 0
},
{
"column": 12,
"kind": "LogicalAnd",
"line": 60,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 64,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.5367929111645531,
"calculated_length": 582.4312417106012,
"difficulty": 11.72289156626506,
"effort": 18878.295273365427,
"length": 244.0,
"n1": 14.0,
"n2": 83.0,
"n_1": 105.0,
"n_2": 139.0,
"time": 1048.7941818536349,
"vocabulary": 97.0,
"volume": 1610.3787334936592
},
"lines_of_code": 57.0,
"maintainability_index": 65.49460118483263,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 27.0,
"technical_debt_score": 30.2
},
"recommendations": [],
"severity": "Low",
"start_line": 16
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/host-selection.spec.ts:anonymous_function_43:43",
"entity_name": "anonymous_function_43",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/host-selection.spec.ts",
"issues": [],
"line_number": 44,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0658847613416814,
"calculated_length": 77.48686830125577,
"difficulty": 3.0588235294117645,
"effort": 604.5895746648412,
"length": 45.0,
"n1": 4.0,
"n2": 17.0,
"n_1": 19.0,
"n_2": 26.0,
"time": 33.588309703602285,
"vocabulary": 21.0,
"volume": 197.65428402504423
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 44
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/host-selection.spec.ts:anonymous_function_55:55",
"entity_name": "anonymous_function_55",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/host-selection.spec.ts",
"issues": [],
"line_number": 56,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 58,
"nesting_level": 0
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 60,
"nesting_level": 0
},
{
"column": 12,
"kind": "LogicalAnd",
"line": 60,
"nesting_level": 0
},
{
"column": 12,
"kind": "LogicalAnd",
"line": 60,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07488772084511222,
"calculated_length": 86.52224985768008,
"difficulty": 8.571428571428571,
"effort": 1925.6842503028856,
"length": 49.0,
"n1": 10.0,
"n2": 14.0,
"n_1": 25.0,
"n_2": 24.0,
"time": 106.98245835016031,
"vocabulary": 24.0,
"volume": 224.66316253533665
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 14.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 56
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/manual-host-port.spec.ts:anonymous_function_2:2",
"entity_name": "anonymous_function_2",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/manual-host-port.spec.ts",
"issues": [],
"line_number": 3,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 5,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 31,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 32,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 34,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalOr",
"line": 34,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 37,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 40,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.40642797576067075,
"calculated_length": 356.882753000656,
"difficulty": 13.20754716981132,
"effort": 16103.749982969972,
"length": 201.0,
"n1": 14.0,
"n2": 53.0,
"n_1": 101.0,
"n_2": 100.0,
"time": 894.652776831665,
"vocabulary": 67.0,
"volume": 1219.2839272820122
},
"lines_of_code": 44.0,
"maintainability_index": 70.90482902362811,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 26.0,
"technical_debt_score": 34.400000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 3
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/manual-host-port.spec.ts:anonymous_function_9:9",
"entity_name": "anonymous_function_9",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/manual-host-port.spec.ts",
"issues": [],
"line_number": 10,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017716949839399265,
"calculated_length": 24.406371956566694,
"difficulty": 1.7142857142857142,
"effort": 91.11574203119622,
"length": 16.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 8.0,
"n_2": 8.0,
"time": 5.06198566839979,
"vocabulary": 10.0,
"volume": 53.150849518197795
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 10
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/manual-host-port.spec.ts:anonymous_function_28:28",
"entity_name": "anonymous_function_28",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/manual-host-port.spec.ts",
"issues": [],
"line_number": 29,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 31,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 32,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 34,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalOr",
"line": 34,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 37,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 40,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10095445336320968,
"calculated_length": 108.27793097483524,
"difficulty": 8.88888888888889,
"effort": 2692.1187563522585,
"length": 63.0,
"n1": 10.0,
"n2": 18.0,
"n_1": 31.0,
"n_2": 32.0,
"time": 149.56215313068103,
"vocabulary": 28.0,
"volume": 302.86336008962905
},
"lines_of_code": 14.0,
"maintainability_index": 96.92820617584391,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 25.6
},
"recommendations": [],
"severity": "Low",
"start_line": 29
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/manual-host-port.spec.ts:anonymous_function_37:37",
"entity_name": "anonymous_function_37",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/manual-host-port.spec.ts",
"issues": [],
"line_number": 38,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 38
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/migration-wsurl-to-hostport.spec.ts:anonymous_function_2:2",
"entity_name": "anonymous_function_2",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/migration-wsurl-to-hostport.spec.ts",
"issues": [],
"line_number": 3,
"metrics": {
"cognitive_complexity": 14.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 5,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 33,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 34,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 36,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalOr",
"line": 36,
"nesting_level": 2
},
{
"column": 16,
"kind": "LogicalAnd",
"line": 39,
"nesting_level": 1
},
{
"column": 16,
"kind": "LogicalAnd",
"line": 39,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 40,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.36402557508509636,
"calculated_length": 393.0658666262056,
"difficulty": 11.706896551724137,
"effort": 12784.829249109333,
"length": 177.0,
"n1": 14.0,
"n2": 58.0,
"n_1": 80.0,
"n_2": 97.0,
"time": 710.2682916171851,
"vocabulary": 72.0,
"volume": 1092.0767252552891
},
"lines_of_code": 44.0,
"maintainability_index": 71.24777857221508,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 23.0,
"technical_debt_score": 38.00000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 3
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/migration-wsurl-to-hostport.spec.ts:anonymous_function_21:21",
"entity_name": "anonymous_function_21",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/migration-wsurl-to-hostport.spec.ts",
"issues": [],
"line_number": 22,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.020756589711823783,
"calculated_length": 28.75488750216347,
"difficulty": 1.875,
"effort": 116.75581712900878,
"length": 18.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 8.0,
"n_2": 10.0,
"time": 6.486434284944932,
"vocabulary": 11.0,
"volume": 62.26976913547135
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 22
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/migration-wsurl-to-hostport.spec.ts:anonymous_function_30:30",
"entity_name": "anonymous_function_30",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/migration-wsurl-to-hostport.spec.ts",
"issues": [],
"line_number": 31,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 33,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 34,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 36,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalOr",
"line": 36,
"nesting_level": 2
},
{
"column": 16,
"kind": "LogicalAnd",
"line": 39,
"nesting_level": 1
},
{
"column": 16,
"kind": "LogicalAnd",
"line": 39,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 40,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.11173356288793415,
"calculated_length": 113.92990370430175,
"difficulty": 9.210526315789473,
"effort": 3087.3747640087063,
"length": 69.0,
"n1": 10.0,
"n2": 19.0,
"n_1": 34.0,
"n_2": 35.0,
"time": 171.5208202227059,
"vocabulary": 29.0,
"volume": 335.20068866380245
},
"lines_of_code": 12.0,
"maintainability_index": 98.66791927335547,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 11.0,
"technical_debt_score": 28.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/pairing-offer-parsing.spec.ts:encodeBase64Url:3",
"entity_name": "encodeBase64Url",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/pairing-offer-parsing.spec.ts",
"issues": [],
"line_number": 4,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03172795768381337,
"calculated_length": 42.80863530717374,
"difficulty": 1.9090909090909092,
"effort": 181.7146667345675,
"length": 25.0,
"n1": 3.0,
"n2": 11.0,
"n_1": 11.0,
"n_2": 14.0,
"time": 10.095259263031528,
"vocabulary": 14.0,
"volume": 95.1838730514401
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 4
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/pairing-offer-parsing.spec.ts:anonymous_function_11:11",
"entity_name": "anonymous_function_11",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/pairing-offer-parsing.spec.ts",
"issues": [],
"line_number": 12,
"metrics": {
"cognitive_complexity": 18.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 14,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 51,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 52,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 54,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalOr",
"line": 54,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 57,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 57,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 57,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 57,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 63,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.5697954749169194,
"calculated_length": 495.23540441896023,
"difficulty": 14.577464788732396,
"effort": 24918.520417141335,
"length": 266.0,
"n1": 15.0,
"n2": 71.0,
"n_1": 128.0,
"n_2": 138.0,
"time": 1384.362245396741,
"vocabulary": 86.0,
"volume": 1709.3864247507581
},
"lines_of_code": 58.0,
"maintainability_index": 63.9825964294555,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 30.0,
"technical_debt_score": 48.0
},
"recommendations": [],
"severity": "Moderate",
"start_line": 12
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/pairing-offer-parsing.spec.ts:anonymous_function_19:19",
"entity_name": "anonymous_function_19",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/pairing-offer-parsing.spec.ts",
"issues": [],
"line_number": 20,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04133333333333333,
"calculated_length": 51.01955000865387,
"difficulty": 2.8333333333333335,
"effort": 351.33333333333337,
"length": 31.0,
"n1": 4.0,
"n2": 12.0,
"n_1": 14.0,
"n_2": 17.0,
"time": 19.51851851851852,
"vocabulary": 16.0,
"volume": 124.0
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/pairing-offer-parsing.spec.ts:anonymous_function_48:48",
"entity_name": "anonymous_function_48",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/pairing-offer-parsing.spec.ts",
"issues": [],
"line_number": 49,
"metrics": {
"cognitive_complexity": 17.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 51,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 52,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 54,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalOr",
"line": 54,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 57,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 57,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 57,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 57,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 63,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.15374923866240026,
"calculated_length": 119.65784284662087,
"difficulty": 11.75,
"effort": 5419.660662849609,
"length": 94.0,
"n1": 10.0,
"n2": 20.0,
"n_1": 47.0,
"n_2": 47.0,
"time": 301.0922590472005,
"vocabulary": 30.0,
"volume": 461.24771598720076
},
"lines_of_code": 17.0,
"maintainability_index": 90.90548055981259,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 37.0
},
"recommendations": [],
"severity": "Moderate",
"start_line": 49
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/permission-prompt.spec.ts:anonymous_function_15:15",
"entity_name": "anonymous_function_15",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/permission-prompt.spec.ts",
"issues": [],
"line_number": 16,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 23,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 56,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.3258692126317547,
"calculated_length": 235.16940719366838,
"difficulty": 7.2439024390243905,
"effort": 7081.694352558377,
"length": 176.0,
"n1": 6.0,
"n2": 41.0,
"n_1": 77.0,
"n_2": 99.0,
"time": 393.427464031021,
"vocabulary": 47.0,
"volume": 977.6076378952642
},
"lines_of_code": 61.0,
"maintainability_index": 67.91127971367848,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 27.0,
"technical_debt_score": 19.8
},
"recommendations": [],
"severity": "Low",
"start_line": 16
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/permission-prompt.spec.ts:anonymous_function_16:16",
"entity_name": "anonymous_function_16",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/permission-prompt.spec.ts",
"issues": [],
"line_number": 17,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 23,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.15179730679751238,
"calculated_length": 195.03468059740075,
"difficulty": 4.199999999999999,
"effort": 1912.6460656486556,
"length": 85.0,
"n1": 6.0,
"n2": 35.0,
"n_1": 36.0,
"n_2": 49.0,
"time": 106.25811475825864,
"vocabulary": 41.0,
"volume": 455.39192039253714
},
"lines_of_code": 31.0,
"maintainability_index": 83.07938354655064,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 11.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 17
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/permission-prompt.spec.ts:anonymous_function_35:35",
"entity_name": "anonymous_function_35",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/permission-prompt.spec.ts",
"issues": [],
"line_number": 36,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 36
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/permission-prompt.spec.ts:anonymous_function_49:49",
"entity_name": "anonymous_function_49",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/permission-prompt.spec.ts",
"issues": [],
"line_number": 50,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 56,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.14519266120527252,
"calculated_length": 175.50977500432694,
"difficulty": 4.3125,
"effort": 1878.4300543432132,
"length": 83.0,
"n1": 6.0,
"n2": 32.0,
"n_1": 37.0,
"n_2": 46.0,
"time": 104.35722524128963,
"vocabulary": 38.0,
"volume": 435.5779836158176
},
"lines_of_code": 26.0,
"maintainability_index": 86.16013207903802,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 13.0,
"technical_debt_score": 10.0
},
"recommendations": [],
"severity": "Low",
"start_line": 50
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/preserve-prompt-on-error.spec.ts:anonymous_function_3:3",
"entity_name": "anonymous_function_3",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/preserve-prompt-on-error.spec.ts",
"issues": [],
"line_number": 4,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.11728722505336554,
"calculated_length": 112.0419249893113,
"difficulty": 3.130434782608696,
"effort": 1101.4800265881286,
"length": 74.0,
"n1": 4.0,
"n2": 23.0,
"n_1": 38.0,
"n_2": 36.0,
"time": 61.19333481045159,
"vocabulary": 27.0,
"volume": 351.86167516009664
},
"lines_of_code": 21.0,
"maintainability_index": 90.95989823251321,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 11.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 4
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/relay-fallback-connect.spec.ts:anonymous_function_2:2",
"entity_name": "anonymous_function_2",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/relay-fallback-connect.spec.ts",
"issues": [],
"line_number": 3,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 6,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 6,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.26897759655749626,
"calculated_length": 336.7990650407232,
"difficulty": 7.452830188679245,
"effort": 6013.933055106284,
"length": 135.0,
"n1": 10.0,
"n2": 53.0,
"n_1": 56.0,
"n_2": 79.0,
"time": 334.1073919503491,
"vocabulary": 63.0,
"volume": 806.9327896724888
},
"lines_of_code": 33.0,
"maintainability_index": 78.86172752497352,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 16.0,
"technical_debt_score": 15.0
},
"recommendations": [],
"severity": "Low",
"start_line": 3
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/relay-fallback-connect.spec.ts:anonymous_function_24:24",
"entity_name": "anonymous_function_24",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/relay-fallback-connect.spec.ts",
"issues": [],
"line_number": 25,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04496209125375373,
"calculated_length": 56.105716335834195,
"difficulty": 2.923076923076923,
"effort": 394.2829540713788,
"length": 33.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 14.0,
"n_2": 19.0,
"time": 21.904608559521044,
"vocabulary": 17.0,
"volume": 134.88627376126118
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 25
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/e2e/sidebar-new-agent-clones-selected.spec.ts:anonymous_function_4:4",
"entity_name": "anonymous_function_4",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/e2e/sidebar-new-agent-clones-selected.spec.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 8,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1253450591504291,
"calculated_length": 100.36210720983135,
"difficulty": 6.2631578947368425,
"effort": 2355.1676903527996,
"length": 80.0,
"n1": 7.0,
"n2": 19.0,
"n_1": 46.0,
"n_2": 34.0,
"time": 130.84264946404443,
"vocabulary": 26.0,
"volume": 376.0351774512873
},
"lines_of_code": 18.0,
"maintainability_index": 92.8816275025441,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 11.0,
"technical_debt_score": 8.4
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/metro.config.js:anonymous_function_11:11",
"entity_name": "anonymous_function_11",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/metro.config.js",
"issues": [],
"line_number": 12,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 14,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 15,
"nesting_level": 1
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 15,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 21,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.089781219668978,
"calculated_length": 96.22039775975506,
"difficulty": 5.526315789473684,
"effort": 1488.4781155646351,
"length": 58.0,
"n1": 6.0,
"n2": 19.0,
"n_1": 23.0,
"n_2": 35.0,
"time": 82.69322864247972,
"vocabulary": 25.0,
"volume": 269.343659006934
},
"lines_of_code": 15.0,
"maintainability_index": 96.88044858566548,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 7.0,
"technical_debt_score": 18.6
},
"recommendations": [],
"severity": "Low",
"start_line": 12
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/plugins/with-android-product-flavors.js:withAndroidProductFlavors:12",
"entity_name": "withAndroidProductFlavors",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/plugins/with-android-product-flavors.js",
"issues": [],
"line_number": 13,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 29,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1201838730514401,
"calculated_length": 109.23994776840892,
"difficulty": 9.947368421052632,
"effort": 3586.539790535081,
"length": 75.0,
"n1": 9.0,
"n2": 19.0,
"n_1": 33.0,
"n_2": 42.0,
"time": 199.25221058528228,
"vocabulary": 28.0,
"volume": 360.5516191543203
},
"lines_of_code": 53.0,
"maintainability_index": 75.60556830291385,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 15.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 13
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/plugins/with-android-product-flavors.js:anonymous_function_13:13",
"entity_name": "anonymous_function_13",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/plugins/with-android-product-flavors.js",
"issues": [],
"line_number": 14,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 29,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.10811011351724512,
"calculated_length": 98.01619331423657,
"difficulty": 10.058823529411764,
"effort": 3262.381660843926,
"length": 69.0,
"n1": 9.0,
"n2": 17.0,
"n_1": 31.0,
"n_2": 38.0,
"time": 181.24342560244034,
"vocabulary": 26.0,
"volume": 324.33034055173533
},
"lines_of_code": 51.0,
"maintainability_index": 76.77925940672634,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 11.0,
"technical_debt_score": 15.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 14
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/scripts/reset-project.js:anonymous_function_47:47",
"entity_name": "anonymous_function_47",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/scripts/reset-project.js",
"issues": [],
"line_number": 48,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 49,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 50,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 59,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 60,
"nesting_level": 2
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 91,
"nesting_level": 1
},
{
"column": 5,
"kind": "Catch",
"line": 96,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.370598455675471,
"calculated_length": 249.15023654428157,
"difficulty": 16.615384615384613,
"effort": 18472.907636746553,
"length": 196.0,
"n1": 12.0,
"n2": 39.0,
"n_1": 88.0,
"n_2": 108.0,
"time": 1026.2726464859197,
"vocabulary": 51.0,
"volume": 1111.795367026413
},
"lines_of_code": 51.0,
"maintainability_index": 69.223021285692,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 26.0,
"technical_debt_score": 33.8
},
"recommendations": [],
"severity": "Low",
"start_line": 48
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/scripts/reset-project.js:anonymous_function_102:102",
"entity_name": "anonymous_function_102",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/scripts/reset-project.js",
"issues": [],
"line_number": 103,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 23,
"kind": "LogicalOr",
"line": 104,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 105,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 105,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.06194763602671887,
"calculated_length": 67.75720079023742,
"difficulty": 5.384615384615385,
"effort": 1000.6925819700741,
"length": 43.0,
"n1": 7.0,
"n2": 13.0,
"n_1": 23.0,
"n_2": 20.0,
"time": 55.59403233167078,
"vocabulary": 20.0,
"volume": 185.8429080801566
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 12.8
},
"recommendations": [],
"severity": "Low",
"start_line": 103
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/scripts/reset-project.js:anonymous_function_105:105",
"entity_name": "anonymous_function_105",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/scripts/reset-project.js",
"issues": [],
"line_number": 106,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 8.0,
"length": 4.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 2.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 106
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/+html.tsx:WebRespectfulStyleReset:24",
"entity_name": "WebRespectfulStyleReset",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/+html.tsx",
"issues": [],
"line_number": 25,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009509775004326936,
"calculated_length": 24.0,
"difficulty": 0.5,
"effort": 14.264662506490405,
"length": 9.0,
"n1": 1.0,
"n2": 8.0,
"n_1": 1.0,
"n_2": 8.0,
"time": 0.792481250360578,
"vocabulary": 9.0,
"volume": 28.52932501298081
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 25
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/+html.tsx:Root:33",
"entity_name": "Root",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/+html.tsx",
"issues": [],
"line_number": 34,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.062153947544374574,
"calculated_length": 130.21143267166838,
"difficulty": 2.230769230769231,
"effort": 415.9533412585068,
"length": 38.0,
"n1": 4.0,
"n2": 26.0,
"n_1": 9.0,
"n_2": 29.0,
"time": 23.10851895880593,
"vocabulary": 30.0,
"volume": 186.46184263312372
},
"lines_of_code": 17.0,
"maintainability_index": 97.68516539703944,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx:QueryProvider:36",
"entity_name": "QueryProvider",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx",
"issues": [],
"line_number": 37,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.044890609834489,
"calculated_length": 98.04820237218406,
"difficulty": 2.875,
"effort": 387.1815098224676,
"length": 29.0,
"n1": 5.0,
"n2": 20.0,
"n_1": 6.0,
"n_2": 23.0,
"time": 21.510083879025977,
"vocabulary": 25.0,
"volume": 134.671829503467
},
"lines_of_code": 17.0,
"maintainability_index": 99.37717100872231,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 37
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx:anonymous_function_38:38",
"entity_name": "anonymous_function_38",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx",
"issues": [],
"line_number": 39,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01614401422030739,
"calculated_length": 33.219280948873624,
"difficulty": 0.65,
"effort": 31.480827729599408,
"length": 14.0,
"n1": 1.0,
"n2": 10.0,
"n_1": 1.0,
"n_2": 13.0,
"time": 1.7489348738666337,
"vocabulary": 11.0,
"volume": 48.432042660922164
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 39
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx:anonymous_function_63:63",
"entity_name": "anonymous_function_63",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx",
"issues": [],
"line_number": 64,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 64
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx:anonymous_function_64:64",
"entity_name": "anonymous_function_64",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx",
"issues": [],
"line_number": 65,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 8.0,
"length": 6.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 12.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 65
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx:anonymous_function_65:65",
"entity_name": "anonymous_function_65",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx",
"issues": [],
"line_number": 66,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 66
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx:anonymous_function_66:66",
"entity_name": "anonymous_function_66",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx",
"issues": [],
"line_number": 67,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 67
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx:anonymous_function_79:79",
"entity_name": "anonymous_function_79",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx",
"issues": [],
"line_number": 80,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 81,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 82,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 84,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 84,
"nesting_level": 1
},
{
"column": 12,
"kind": "LogicalOr",
"line": 84,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08358941141594504,
"calculated_length": 93.48686830125577,
"difficulty": 5.882352941176471,
"effort": 1475.107260281383,
"length": 54.0,
"n1": 8.0,
"n2": 17.0,
"n_1": 29.0,
"n_2": 25.0,
"time": 81.95040334896572,
"vocabulary": 25.0,
"volume": 250.76823424783512
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 19.799999999999997
},
"recommendations": [],
"severity": "Low",
"start_line": 80
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx:handleKeyDown:82",
"entity_name": "handleKeyDown",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx",
"issues": [],
"line_number": 83,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 84,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 84,
"nesting_level": 1
},
{
"column": 12,
"kind": "LogicalOr",
"line": 84,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03516201536047667,
"calculated_length": 44.039100017307746,
"difficulty": 4.333333333333333,
"effort": 457.10619968619665,
"length": 27.0,
"n1": 6.0,
"n2": 9.0,
"n_1": 14.0,
"n_2": 13.0,
"time": 25.39478887145537,
"vocabulary": 15.0,
"volume": 105.48604608143
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 13.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 83
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx:anonymous_function_89:89",
"entity_name": "anonymous_function_89",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx",
"issues": [],
"line_number": 90,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 15.509775004326936,
"length": 6.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.861654166907052,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 90
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx:anonymous_function_106:106",
"entity_name": "anonymous_function_106",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx",
"issues": [],
"line_number": 107,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 18,
"kind": "LogicalAnd",
"line": 109,
"nesting_level": 0
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 109,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 115,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 121,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalOr",
"line": 121,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 126,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 132,
"nesting_level": 0
},
{
"column": 30,
"kind": "LogicalOr",
"line": 153,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 154,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.38254591510399466,
"calculated_length": 334.47661314834704,
"difficulty": 10.048076923076923,
"effort": 11531.552344721378,
"length": 192.0,
"n1": 11.0,
"n2": 52.0,
"n_1": 97.0,
"n_2": 95.0,
"time": 640.6417969289655,
"vocabulary": 63.0,
"volume": 1147.637745311984
},
"lines_of_code": 56.0,
"maintainability_index": 66.85290554415641,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 23.0,
"technical_debt_score": 39.2
},
"recommendations": [],
"severity": "Moderate",
"start_line": 107
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx:anonymous_function_112:112",
"entity_name": "anonymous_function_112",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx",
"issues": [],
"line_number": 113,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 115,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.022202638308846556,
"calculated_length": 35.161259458730164,
"difficulty": 4.285714285714286,
"effort": 285.4624925423128,
"length": 18.0,
"n1": 6.0,
"n2": 7.0,
"n_1": 8.0,
"n_2": 10.0,
"time": 15.859027363461824,
"vocabulary": 13.0,
"volume": 66.60791492653966
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 113
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx:anonymous_function_118:118",
"entity_name": "anonymous_function_118",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx",
"issues": [],
"line_number": 119,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 121,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalOr",
"line": 121,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 126,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 132,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07739760316291208,
"calculated_length": 92.5293250129808,
"difficulty": 6.75,
"effort": 1567.3014640489696,
"length": 50.0,
"n1": 9.0,
"n2": 16.0,
"n_1": 26.0,
"n_2": 24.0,
"time": 87.07230355827609,
"vocabulary": 25.0,
"volume": 232.19280948873623
},
"lines_of_code": 16.0,
"maintainability_index": 96.60670856985185,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 9.0,
"technical_debt_score": 17.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 119
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx:anonymous_function_135:135",
"entity_name": "anonymous_function_135",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx",
"issues": [],
"line_number": 136,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 136
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx:anonymous_function_138:138",
"entity_name": "anonymous_function_138",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx",
"issues": [],
"line_number": 139,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05042249444035256,
"calculated_length": 68.81274391313339,
"difficulty": 4.5,
"effort": 680.7036749447595,
"length": 35.0,
"n1": 6.0,
"n2": 14.0,
"n_1": 14.0,
"n_2": 21.0,
"time": 37.81687083026442,
"vocabulary": 20.0,
"volume": 151.26748332105768
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 139
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx:anonymous_function_149:149",
"entity_name": "anonymous_function_149",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx",
"issues": [],
"line_number": 150,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 30,
"kind": "LogicalOr",
"line": 153,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 154,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05351317942364757,
"calculated_length": 77.30296890880646,
"difficulty": 4.857142857142857,
"effort": 779.7634716017217,
"length": 36.0,
"n1": 8.0,
"n2": 14.0,
"n_1": 19.0,
"n_2": 17.0,
"time": 43.32019286676231,
"vocabulary": 22.0,
"volume": 160.5395382709427
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 9.6
},
"recommendations": [],
"severity": "Low",
"start_line": 150
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx:anonymous_function_160:160",
"entity_name": "anonymous_function_160",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx",
"issues": [],
"line_number": 161,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 161
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx:ProvidersWrapper:207",
"entity_name": "ProvidersWrapper",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx",
"issues": [],
"line_number": 208,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 21,
"kind": "LogicalOr",
"line": 211,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 215,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 216,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 224,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1276995694937939,
"calculated_length": 167.82521876648653,
"difficulty": 7.321428571428571,
"effort": 2804.8298299529733,
"length": 73.0,
"n1": 10.0,
"n2": 28.0,
"n_1": 32.0,
"n_2": 41.0,
"time": 155.82387944183185,
"vocabulary": 38.0,
"volume": 383.0987084813817
},
"lines_of_code": 26.0,
"maintainability_index": 86.1377141456087,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 18.4
},
"recommendations": [],
"severity": "Low",
"start_line": 208
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx:anonymous_function_213:213",
"entity_name": "anonymous_function_213",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx",
"issues": [],
"line_number": 214,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 215,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 216,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04359960364000362,
"calculated_length": 52.529325012980806,
"difficulty": 6.222222222222222,
"effort": 813.8592679467342,
"length": 32.0,
"n1": 8.0,
"n2": 9.0,
"n_1": 18.0,
"n_2": 14.0,
"time": 45.21440377481857,
"vocabulary": 17.0,
"volume": 130.79881092001085
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 214
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx:anonymous_function_238:238",
"entity_name": "anonymous_function_238",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx",
"issues": [],
"line_number": 239,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 239
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx:anonymous_function_240:240",
"entity_name": "anonymous_function_240",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx",
"issues": [],
"line_number": 241,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 244,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 245,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 247,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.12666666666666668,
"calculated_length": 134.03910001730776,
"difficulty": 6.0,
"effort": 2280.0,
"length": 76.0,
"n1": 8.0,
"n2": 24.0,
"n_1": 40.0,
"n_2": 36.0,
"time": 126.66666666666667,
"vocabulary": 32.0,
"volume": 380.0
},
"lines_of_code": 21.0,
"maintainability_index": 89.8698459947343,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 16.0,
"technical_debt_score": 14.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 241
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx:anonymous_function_242:242",
"entity_name": "anonymous_function_242",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx",
"issues": [],
"line_number": 243,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 244,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 245,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 247,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05239110599913755,
"calculated_length": 62.6710344630571,
"difficulty": 4.666666666666666,
"effort": 733.4754839879256,
"length": 37.0,
"n1": 7.0,
"n2": 12.0,
"n_1": 21.0,
"n_2": 16.0,
"time": 40.7486379993292,
"vocabulary": 19.0,
"volume": 157.17331799741265
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 11.8
},
"recommendations": [],
"severity": "Low",
"start_line": 243
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx:anonymous_function_245:245",
"entity_name": "anonymous_function_245",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx",
"issues": [],
"line_number": 246,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 247,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01383772647454919,
"calculated_length": 27.11941547876375,
"difficulty": 3.5999999999999996,
"effort": 149.44744592513123,
"length": 12.0,
"n1": 6.0,
"n2": 5.0,
"n_1": 6.0,
"n_2": 6.0,
"time": 8.302635884729513,
"vocabulary": 11.0,
"volume": 41.51317942364757
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 246
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx:anonymous_function_251:251",
"entity_name": "anonymous_function_251",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx",
"issues": [],
"line_number": 252,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 252
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx:anonymous_function_253:253",
"entity_name": "anonymous_function_253",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx",
"issues": [],
"line_number": 254,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 9.509775004326936,
"difficulty": 2.0,
"effort": 36.18947501009619,
"length": 7.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 4.0,
"time": 2.0105263894497885,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 254
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx:anonymous_function_257:257",
"entity_name": "anonymous_function_257",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx",
"issues": [],
"line_number": 258,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009,
"calculated_length": 16.0,
"difficulty": 2.0,
"effort": 54.0,
"length": 9.0,
"n1": 4.0,
"n2": 4.0,
"n_1": 5.0,
"n_2": 4.0,
"time": 3.0,
"vocabulary": 8.0,
"volume": 27.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 258
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx:anonymous_function_272:272",
"entity_name": "anonymous_function_272",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx",
"issues": [],
"line_number": 273,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 276,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01660964047443681,
"calculated_length": 23.21928094887362,
"difficulty": 4.5,
"effort": 224.23014640489694,
"length": 15.0,
"n1": 5.0,
"n2": 5.0,
"n_1": 6.0,
"n_2": 9.0,
"time": 12.457230355827608,
"vocabulary": 10.0,
"volume": 49.82892142331043
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 273
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx:LoadingView:287",
"entity_name": "LoadingView",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/_layout.tsx",
"issues": [],
"line_number": 288,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05230376252379815,
"calculated_length": 107.74844088268091,
"difficulty": 3.4285714285714284,
"effort": 537.9815573876381,
"length": 33.0,
"n1": 6.0,
"n2": 21.0,
"n_1": 9.0,
"n_2": 24.0,
"time": 29.887864299313225,
"vocabulary": 27.0,
"volume": 156.91128757139444
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 4.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 288
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/agent/[id].tsx:LegacyAgentRoute:3",
"entity_name": "LegacyAgentRoute",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/agent/[id].tsx",
"issues": [],
"line_number": 4,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01726871868465843,
"calculated_length": 40.05374780501027,
"difficulty": 1.0909090909090908,
"effort": 56.51580660433668,
"length": 14.0,
"n1": 2.0,
"n2": 11.0,
"n_1": 2.0,
"n_2": 12.0,
"time": 3.1397670335742602,
"vocabulary": 13.0,
"volume": 51.80615605397529
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 4
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/agent/[serverId]/[agentId].tsx:AgentReadyRoute:3",
"entity_name": "AgentReadyRoute",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/agent/[serverId]/[agentId].tsx",
"issues": [],
"line_number": 4,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0313372151162526,
"calculated_length": 60.60335893412778,
"difficulty": 1.4,
"effort": 131.6163034882609,
"length": 23.0,
"n1": 2.0,
"n2": 15.0,
"n_1": 2.0,
"n_2": 21.0,
"time": 7.3120168604589395,
"vocabulary": 17.0,
"volume": 94.0116453487578
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 4.4
},
"recommendations": [],
"severity": "Low",
"start_line": 4
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/agent/index.tsx:AgentDraftRoute:2",
"entity_name": "AgentDraftRoute",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/agent/index.tsx",
"issues": [],
"line_number": 3,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 2.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 2.0,
"n1": 0.0,
"n2": 2.0,
"n_1": 0.0,
"n_2": 2.0,
"time": 0.0,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 3
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/agents.tsx:AgentsScreen:7",
"entity_name": "AgentsScreen",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/agents.tsx",
"issues": [],
"line_number": 8,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 21,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 21,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 28,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 28,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 29,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 29,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.1758953136364585,
"calculated_length": 227.95057052383706,
"difficulty": 6.5131578947368425,
"effort": 3436.901851975538,
"length": 95.0,
"n1": 9.0,
"n2": 38.0,
"n_1": 40.0,
"n_2": 55.0,
"time": 190.9389917764188,
"vocabulary": 47.0,
"volume": 527.6859409093755
},
"lines_of_code": 36.0,
"maintainability_index": 78.7407864481727,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 16.0,
"technical_debt_score": 28.4
},
"recommendations": [],
"severity": "Low",
"start_line": 8
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/agents.tsx:anonymous_function_13:13",
"entity_name": "anonymous_function_13",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/agents.tsx",
"issues": [],
"line_number": 14,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005417832221403845,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 16.253496664211536,
"length": 7.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 3.0,
"time": 0.9029720369006409,
"vocabulary": 5.0,
"volume": 16.253496664211536
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 14
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/agents.tsx:anonymous_function_19:19",
"entity_name": "anonymous_function_19",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/agents.tsx",
"issues": [],
"line_number": 20,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 21,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 21,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.01107309364962454,
"calculated_length": 23.509775004326936,
"difficulty": 3.0,
"effort": 99.65784284662087,
"length": 10.0,
"n1": 6.0,
"n2": 4.0,
"n_1": 6.0,
"n_2": 4.0,
"time": 5.5365468248122705,
"vocabulary": 10.0,
"volume": 33.219280948873624
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/agents.tsx:anonymous_function_25:25",
"entity_name": "anonymous_function_25",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/agents.tsx",
"issues": [],
"line_number": 26,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 28,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 28,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 29,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 29,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04315002244998618,
"calculated_length": 39.302968908806456,
"difficulty": 7.5,
"effort": 970.8755051246891,
"length": 34.0,
"n1": 7.0,
"n2": 7.0,
"n_1": 19.0,
"n_2": 15.0,
"time": 53.93752806248273,
"vocabulary": 14.0,
"volume": 129.45006734995854
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 16.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 26
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/agents.tsx:anonymous_function_26:26",
"entity_name": "anonymous_function_26",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/agents.tsx",
"issues": [],
"line_number": 27,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 28,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 28,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 29,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 29,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.033441172313493875,
"calculated_length": 27.11941547876375,
"difficulty": 7.800000000000001,
"effort": 782.5234321357567,
"length": 29.0,
"n1": 6.0,
"n2": 5.0,
"n_1": 16.0,
"n_2": 13.0,
"time": 43.47352400754204,
"vocabulary": 11.0,
"volume": 100.32351694048162
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 15.600000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 27
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/agents.tsx:anonymous_function_45:45",
"entity_name": "anonymous_function_45",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/agents.tsx",
"issues": [],
"line_number": 46,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 21.651484454403228,
"difficulty": 1.1428571428571428,
"effort": 39.85048573241764,
"length": 11.0,
"n1": 2.0,
"n2": 7.0,
"n_1": 3.0,
"n_2": 8.0,
"time": 2.2139158740232023,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 46
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/audio-test.tsx:anonymous_function_7:7",
"entity_name": "anonymous_function_7",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/audio-test.tsx",
"issues": [],
"line_number": 8,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 1.8061605937442133,
"calculated_length": 758.9350486670253,
"difficulty": 7.108108108108107,
"effort": 38515.15428281578,
"length": 793.0,
"n1": 3.0,
"n2": 111.0,
"n_1": 267.0,
"n_2": 526.0,
"time": 2139.730793489766,
"vocabulary": 114.0,
"volume": 5418.48178123264
},
"lines_of_code": 219.0,
"maintainability_index": 38.75966908361319,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 8
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/audio-test.tsx:anonymous_function_242:242",
"entity_name": "anonymous_function_242",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/audio-test.tsx",
"issues": [],
"line_number": 243,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 1.0,
"effort": 4.754887502163468,
"length": 3.0,
"n1": 2.0,
"n2": 1.0,
"n_1": 2.0,
"n_2": 1.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 243
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/audio-test.tsx:checkAndRequestPermissions:246",
"entity_name": "checkAndRequestPermissions",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/audio-test.tsx",
"issues": [],
"line_number": 247,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 248,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 251,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 257,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 264,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08422133727657687,
"calculated_length": 124.49230970275752,
"difficulty": 6.875,
"effort": 1737.065081329398,
"length": 51.0,
"n1": 11.0,
"n2": 20.0,
"n_1": 26.0,
"n_2": 25.0,
"time": 96.503615629411,
"vocabulary": 31.0,
"volume": 252.6640118297306
},
"lines_of_code": 21.0,
"maintainability_index": 91.76202144270644,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 20.6
},
"recommendations": [],
"severity": "Low",
"start_line": 247
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/audio-test.tsx:handleStartRecording:269",
"entity_name": "handleStartRecording",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/audio-test.tsx",
"issues": [],
"line_number": 270,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 271,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 276,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 280,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08096634991879287,
"calculated_length": 113.92990370430175,
"difficulty": 6.315789473684211,
"effort": 1534.0992616192332,
"length": 50.0,
"n1": 10.0,
"n2": 19.0,
"n_1": 26.0,
"n_2": 24.0,
"time": 85.22773675662407,
"vocabulary": 29.0,
"volume": 242.8990497563786
},
"lines_of_code": 15.0,
"maintainability_index": 97.64782793774467,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 14.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 270
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/audio-test.tsx:handleStopRecording:286",
"entity_name": "handleStopRecording",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/audio-test.tsx",
"issues": [],
"line_number": 287,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 288,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 300,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09400879436282182,
"calculated_length": 101.94833690207419,
"difficulty": 4.800000000000001,
"effort": 1353.7266388246344,
"length": 60.0,
"n1": 6.0,
"n2": 20.0,
"n_1": 28.0,
"n_2": 32.0,
"time": 75.20703549025747,
"vocabulary": 26.0,
"volume": 282.0263830884655
},
"lines_of_code": 18.0,
"maintainability_index": 94.14757427929338,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 12.0
},
"recommendations": [],
"severity": "Low",
"start_line": 287
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/audio-test.tsx:handlePlayLastRecording:306",
"entity_name": "handlePlayLastRecording",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/audio-test.tsx",
"issues": [],
"line_number": 307,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 308,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 313,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 317,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08995966091948951,
"calculated_length": 119.65784284662087,
"difficulty": 7.0,
"effort": 1889.1528793092796,
"length": 55.0,
"n1": 10.0,
"n2": 20.0,
"n_1": 27.0,
"n_2": 28.0,
"time": 104.95293773940442,
"vocabulary": 30.0,
"volume": 269.8789827584685
},
"lines_of_code": 15.0,
"maintainability_index": 97.10012378026269,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 14.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 307
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/audio-test.tsx:handlePlayTestAudio:323",
"entity_name": "handlePlayTestAudio",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/audio-test.tsx",
"issues": [],
"line_number": 324,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 327,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 336,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05618506523353571,
"calculated_length": 70.2129994085646,
"difficulty": 3.5,
"effort": 589.943184952125,
"length": 39.0,
"n1": 5.0,
"n2": 15.0,
"n_1": 18.0,
"n_2": 21.0,
"time": 32.774621386229164,
"vocabulary": 20.0,
"volume": 168.55519570060713
},
"lines_of_code": 17.0,
"maintainability_index": 97.75017483749275,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 11.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 324
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/audio-test.tsx:handleStopPlayback:342",
"entity_name": "handleStopPlayback",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/audio-test.tsx",
"issues": [],
"line_number": 343,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.36452797660028,
"difficulty": 1.5,
"effort": 45.0,
"length": 10.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 5.0,
"time": 2.5,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 343
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/index.tsx:Index:2",
"entity_name": "Index",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/index.tsx",
"issues": [],
"line_number": 3,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 2.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 2.0,
"n1": 0.0,
"n2": 2.0,
"n_1": 0.0,
"n_2": 2.0,
"time": 0.0,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 3
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/pair-scan.tsx:anonymous_function_8:8",
"entity_name": "anonymous_function_8",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/pair-scan.tsx",
"issues": [],
"line_number": 9,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.6876569669809955,
"calculated_length": 573.1848699422457,
"difficulty": 4.090909090909091,
"effort": 8439.426412948582,
"length": 317.0,
"n1": 3.0,
"n2": 88.0,
"n_1": 77.0,
"n_2": 240.0,
"time": 468.8570229415879,
"vocabulary": 91.0,
"volume": 2062.9709009429866
},
"lines_of_code": 113.0,
"maintainability_index": 54.500424816521004,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 9
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/pair-scan.tsx:extractOfferUrlFromScan:123",
"entity_name": "extractOfferUrlFromScan",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/pair-scan.tsx",
"issues": [],
"line_number": 124,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 15,
"kind": "ConditionalExpression",
"line": 125,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 126,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 128,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05330377983694414,
"calculated_length": 67.01955000865388,
"difficulty": 6.666666666666667,
"effort": 1066.075596738883,
"length": 37.0,
"n1": 8.0,
"n2": 12.0,
"n_1": 17.0,
"n_2": 20.0,
"time": 59.226422041049055,
"vocabulary": 20.0,
"volume": 159.91133951083242
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 11.8
},
"recommendations": [],
"severity": "Low",
"start_line": 124
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/pair-scan.tsx:anonymous_function_141:141",
"entity_name": "anonymous_function_141",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/pair-scan.tsx",
"issues": [],
"line_number": 142,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 143,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 144,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 144,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.02995282789966531,
"calculated_length": 43.65148445440323,
"difficulty": 4.571428571428571,
"effort": 410.7816397668385,
"length": 23.0,
"n1": 8.0,
"n2": 7.0,
"n_1": 15.0,
"n_2": 8.0,
"time": 22.821202209268804,
"vocabulary": 15.0,
"volume": 89.85848369899593
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 12.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 142
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/pair-scan.tsx:anonymous_function_144:144",
"entity_name": "anonymous_function_144",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/pair-scan.tsx",
"issues": [],
"line_number": 145,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 145
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/pair-scan.tsx:anonymous_function_148:148",
"entity_name": "anonymous_function_148",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/pair-scan.tsx",
"issues": [],
"line_number": 149,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 150,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 152,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 154,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 157,
"nesting_level": 0
},
{
"column": 9,
"kind": "Catch",
"line": 161,
"nesting_level": 1
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 163,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.1437951312741003,
"calculated_length": 187.90890672641936,
"difficulty": 10.5,
"effort": 4529.546635134159,
"length": 80.0,
"n1": 14.0,
"n2": 28.0,
"n_1": 38.0,
"n_2": 42.0,
"time": 251.64147972967552,
"vocabulary": 42.0,
"volume": 431.38539382230084
},
"lines_of_code": 19.0,
"maintainability_index": 90.1416787835471,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 16.0,
"technical_debt_score": 24.2
},
"recommendations": [],
"severity": "Low",
"start_line": 149
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/pair-scan.tsx:anonymous_function_176:176",
"entity_name": "anonymous_function_176",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/pair-scan.tsx",
"issues": [],
"line_number": 177,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.14286805345648224,
"calculated_length": 200.74977452827116,
"difficulty": 2.864864864864865,
"effort": 1227.8929999773338,
"length": 80.0,
"n1": 4.0,
"n2": 37.0,
"n_1": 27.0,
"n_2": 53.0,
"time": 68.21627777651855,
"vocabulary": 41.0,
"volume": 428.60416036944673
},
"lines_of_code": 15.0,
"maintainability_index": 95.38481103479967,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 5.0
},
"recommendations": [],
"severity": "Low",
"start_line": 177
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/pair-scan.tsx:anonymous_function_186:186",
"entity_name": "anonymous_function_186",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/pair-scan.tsx",
"issues": [],
"line_number": 187,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.022202638308846556,
"calculated_length": 37.974168451037094,
"difficulty": 1.5,
"effort": 99.9118723898095,
"length": 18.0,
"n1": 3.0,
"n2": 10.0,
"n_1": 8.0,
"n_2": 10.0,
"time": 5.550659577211639,
"vocabulary": 13.0,
"volume": 66.60791492653966
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 187
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/pair-scan.tsx:anonymous_function_215:215",
"entity_name": "anonymous_function_215",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/pair-scan.tsx",
"issues": [],
"line_number": 216,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014395021744511903,
"calculated_length": 24.406371956566694,
"difficulty": 1.5,
"effort": 64.77759785030356,
"length": 13.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 7.0,
"time": 3.5987554361279757,
"vocabulary": 10.0,
"volume": 43.18506523353571
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 216
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:anonymous_function_29:29",
"entity_name": "anonymous_function_29",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 30,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01584962500721156,
"calculated_length": 20.264662506490403,
"difficulty": 2.25,
"effort": 106.98496879867804,
"length": 15.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 9.0,
"time": 5.943609377704336,
"vocabulary": 9.0,
"volume": 47.548875021634686
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 30
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:anonymous_function_30:30",
"entity_name": "anonymous_function_30",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 31,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 13.60964047443681,
"difficulty": 1.4,
"effort": 47.16356269056775,
"length": 12.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 2.620197927253764,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:anonymous_function_31:31",
"entity_name": "anonymous_function_31",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 32,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005417832221403845,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 16.253496664211536,
"length": 7.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 3.0,
"time": 0.9029720369006409,
"vocabulary": 5.0,
"volume": 16.253496664211536
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 32
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:anonymous_function_37:37",
"entity_name": "anonymous_function_37",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 38,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 2.5023783389476835,
"calculated_length": 977.1852828677555,
"difficulty": 8.321167883211679,
"effort": 62468.13079708815,
"length": 1053.0,
"n1": 3.0,
"n2": 137.0,
"n_1": 293.0,
"n_2": 760.0,
"time": 3470.4517109493418,
"vocabulary": 140.0,
"volume": 7507.13501684305
},
"lines_of_code": 339.0,
"maintainability_index": 29.986030509509717,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 38
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:anonymous_function_397:397",
"entity_name": "anonymous_function_397",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 398,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.00655049481813441,
"calculated_length": 12.754887502163468,
"difficulty": 2.0,
"effort": 39.302968908806456,
"length": 7.0,
"n1": 4.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 3.0,
"time": 2.1834982727114696,
"vocabulary": 7.0,
"volume": 19.651484454403228
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 398
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:anonymous_function_398:398",
"entity_name": "anonymous_function_398",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 399,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 399
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:anonymous_function_404:404",
"entity_name": "anonymous_function_404",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 405,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "While",
"line": 407,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 408,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 411,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.06094556545470973,
"calculated_length": 76.2388309575275,
"difficulty": 7.916666666666666,
"effort": 1447.457179549356,
"length": 41.0,
"n1": 10.0,
"n2": 12.0,
"n_1": 22.0,
"n_2": 19.0,
"time": 80.414287752742,
"vocabulary": 22.0,
"volume": 182.83669636412918
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 8.0,
"technical_debt_score": 14.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 405
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:anonymous_function_420:420",
"entity_name": "anonymous_function_420",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 421,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.015502331109474358,
"calculated_length": 23.509775004326936,
"difficulty": 2.6666666666666665,
"effort": 124.01864887579485,
"length": 14.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 6.8899249375441585,
"vocabulary": 10.0,
"volume": 46.50699332842307
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 421
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:anonymous_function_425:425",
"entity_name": "anonymous_function_425",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 426,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 427,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01328771237954945,
"calculated_length": 23.21928094887362,
"difficulty": 2.5,
"effort": 99.65784284662087,
"length": 12.0,
"n1": 5.0,
"n2": 5.0,
"n_1": 7.0,
"n_2": 5.0,
"time": 5.5365468248122705,
"vocabulary": 10.0,
"volume": 39.86313713864835
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 426
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:anonymous_function_431:431",
"entity_name": "anonymous_function_431",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 432,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 433,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 434,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 437,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 442,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 446,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10761374121298034,
"calculated_length": 136.1612434150308,
"difficulty": 7.25,
"effort": 2340.598871382322,
"length": 64.0,
"n1": 11.0,
"n2": 22.0,
"n_1": 35.0,
"n_2": 29.0,
"time": 130.03327063235122,
"vocabulary": 33.0,
"volume": 322.841223638941
},
"lines_of_code": 20.0,
"maintainability_index": 91.04790186807709,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 15.0,
"technical_debt_score": 20.8
},
"recommendations": [],
"severity": "Low",
"start_line": 432
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:anonymous_function_454:454",
"entity_name": "anonymous_function_454",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 455,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 456,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 458,
"nesting_level": 1
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 461,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 462,
"nesting_level": 1
},
{
"column": 15,
"kind": "Try",
"line": 480,
"nesting_level": 0
},
{
"column": 17,
"kind": "Catch",
"line": 482,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.19953732916664485,
"calculated_length": 208.1057163358342,
"difficulty": 11.78125,
"effort": 7052.397477733604,
"length": 109.0,
"n1": 13.0,
"n2": 32.0,
"n_1": 51.0,
"n_2": 58.0,
"time": 391.7998598740891,
"vocabulary": 45.0,
"volume": 598.6119874999346
},
"lines_of_code": 35.0,
"maintainability_index": 78.5413705740905,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 14.0,
"technical_debt_score": 28.999999999999996
},
"recommendations": [],
"severity": "Low",
"start_line": 455
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:anonymous_function_463:463",
"entity_name": "anonymous_function_463",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 464,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017297158093186486,
"calculated_length": 28.75488750216347,
"difficulty": 1.6875,
"effort": 87.56686284675659,
"length": 15.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 6.0,
"n_2": 9.0,
"time": 4.8648257137087,
"vocabulary": 11.0,
"volume": 51.89147427955946
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 464
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:anonymous_function_478:478",
"entity_name": "anonymous_function_478",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 479,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 15,
"kind": "Try",
"line": 480,
"nesting_level": 0
},
{
"column": 17,
"kind": "Catch",
"line": 482,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.032699702730002715,
"calculated_length": 53.5635228093372,
"difficulty": 3.2727272727272725,
"effort": 321.051626803663,
"length": 24.0,
"n1": 6.0,
"n2": 11.0,
"n_1": 12.0,
"n_2": 12.0,
"time": 17.83620148909239,
"vocabulary": 17.0,
"volume": 98.09910819000814
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 9.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 479
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:anonymous_function_494:494",
"entity_name": "anonymous_function_494",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 495,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 495
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:anonymous_function_501:501",
"entity_name": "anonymous_function_501",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 502,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 502
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:anonymous_function_508:508",
"entity_name": "anonymous_function_508",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 509,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 511,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.048981851742056784,
"calculated_length": 67.01955000865388,
"difficulty": 6.0,
"effort": 881.6733313570221,
"length": 34.0,
"n1": 8.0,
"n2": 12.0,
"n_1": 16.0,
"n_2": 18.0,
"time": 48.98185174205678,
"vocabulary": 20.0,
"volume": 146.94555522617034
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 509
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:handleReset:520",
"entity_name": "handleReset",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 521,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 13,
"kind": "Try",
"line": 531,
"nesting_level": 0
},
{
"column": 15,
"kind": "Catch",
"line": 537,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05807619167580131,
"calculated_length": 90.56842503028855,
"difficulty": 4.0,
"effort": 696.9143001096157,
"length": 38.0,
"n1": 6.0,
"n2": 18.0,
"n_1": 14.0,
"n_2": 24.0,
"time": 38.71746111720088,
"vocabulary": 24.0,
"volume": 174.22857502740393
},
"lines_of_code": 26.0,
"maintainability_index": 90.6949220331361,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 13.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 521
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:anonymous_function_529:529",
"entity_name": "anonymous_function_529",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 530,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 13,
"kind": "Try",
"line": 531,
"nesting_level": 0
},
{
"column": 15,
"kind": "Catch",
"line": 537,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.02665148445440323,
"calculated_length": 39.50977500432694,
"difficulty": 3.75,
"effort": 299.82920011203635,
"length": 21.0,
"n1": 6.0,
"n2": 8.0,
"n_1": 11.0,
"n_2": 10.0,
"time": 16.65717778400202,
"vocabulary": 14.0,
"volume": 79.9544533632097
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 10.999999999999998
},
"recommendations": [],
"severity": "Low",
"start_line": 530
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:anonymous_function_605:605",
"entity_name": "anonymous_function_605",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 606,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 606
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:anonymous_function_606:606",
"entity_name": "anonymous_function_606",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 607,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 607
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:anonymous_function_607:607",
"entity_name": "anonymous_function_607",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 608,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 608
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:anonymous_function_672:672",
"entity_name": "anonymous_function_672",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 673,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 673
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:anonymous_function_684:684",
"entity_name": "anonymous_function_684",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 685,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 685
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:anonymous_function_696:696",
"entity_name": "anonymous_function_696",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 697,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 697
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:DaemonCard:788",
"entity_name": "DaemonCard",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [
{
"description": "Cyclomatic complexity of 21.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:DaemonCard:788",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:789",
"metric_value": 21.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
}
],
"line_number": 789,
"metrics": {
"cognitive_complexity": 25.0,
"cyclomatic_complexity": 21.0,
"decision_points": [
{
"column": 5,
"kind": "ConditionalExpression",
"line": 803,
"nesting_level": 0
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 805,
"nesting_level": 0
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 807,
"nesting_level": 0
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 811,
"nesting_level": 0
},
{
"column": 27,
"kind": "LogicalAnd",
"line": 811,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 829,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 836,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 838,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 848,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 856,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 865,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 867,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 881,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 889,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 891,
"nesting_level": 1
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 894,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 898,
"nesting_level": 1
},
{
"column": 5,
"kind": "ConditionalExpression",
"line": 916,
"nesting_level": 0
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 918,
"nesting_level": 0
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 920,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.8936666666666667,
"calculated_length": 826.4237512704516,
"difficulty": 15.928571428571429,
"effort": 42704.5,
"length": 383.0,
"n1": 16.0,
"n2": 112.0,
"n_1": 160.0,
"n_2": 223.0,
"time": 2372.472222222222,
"vocabulary": 128.0,
"volume": 2681.0
},
"lines_of_code": 136.0,
"maintainability_index": 45.536476132248964,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 50.0,
"technical_debt_score": 80.0
},
"recommendations": [],
"severity": "High",
"start_line": 789
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:anonymous_function_812:812",
"entity_name": "anonymous_function_812",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 813,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 66.56842503028855,
"length": 12.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 3.6982458350160305,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 813
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:anonymous_function_814:814",
"entity_name": "anonymous_function_814",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 815,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012,
"calculated_length": 17.509775004326936,
"difficulty": 1.1666666666666667,
"effort": 42.0,
"length": 12.0,
"n1": 2.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 2.3333333333333335,
"vocabulary": 8.0,
"volume": 36.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 815
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:anonymous_function_819:819",
"entity_name": "anonymous_function_819",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 820,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 820
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:anonymous_function_823:823",
"entity_name": "anonymous_function_823",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 824,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 829,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 836,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 838,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07237699129691222,
"calculated_length": 83.65148445440323,
"difficulty": 5.46875,
"effort": 1187.435013464966,
"length": 48.0,
"n1": 7.0,
"n2": 16.0,
"n_1": 23.0,
"n_2": 25.0,
"time": 65.96861185916478,
"vocabulary": 23.0,
"volume": 217.13097389073664
},
"lines_of_code": 21.0,
"maintainability_index": 92.78013267240206,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 15.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 824
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:anonymous_function_829:829",
"entity_name": "anonymous_function_829",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 830,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 8.0,
"length": 4.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 2.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 830
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:anonymous_function_833:833",
"entity_name": "anonymous_function_833",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 834,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 834
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:anonymous_function_846:846",
"entity_name": "anonymous_function_846",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 847,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 848,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 856,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 865,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 867,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10687558189280659,
"calculated_length": 114.96788691072805,
"difficulty": 6.75,
"effort": 2164.2305333293334,
"length": 66.0,
"n1": 9.0,
"n2": 20.0,
"n_1": 36.0,
"n_2": 30.0,
"time": 120.2350296294074,
"vocabulary": 29.0,
"volume": 320.62674567841975
},
"lines_of_code": 31.0,
"maintainability_index": 84.21396345263003,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 14.0,
"technical_debt_score": 20.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 847
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx:anonymous_function_879:879",
"entity_name": "anonymous_function_879",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/app/settings.tsx",
"issues": [],
"line_number": 880,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 881,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 889,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 891,
"nesting_level": 1
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 894,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 898,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.12823207542362416,
"calculated_length": 149.31568569324173,
"difficulty": 8.0,
"effort": 3077.56981016698,
"length": 75.0,
"n1": 10.0,
"n2": 25.0,
"n_1": 35.0,
"n_2": 40.0,
"time": 170.97610056483222,
"vocabulary": 35.0,
"volume": 384.6962262708725
},
"lines_of_code": 32.0,
"maintainability_index": 82.52231757374743,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 24.8
},
"recommendations": [],
"severity": "Low",
"start_line": 880
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/active-processes.tsx:getAgentStatusColor:12",
"entity_name": "getAgentStatusColor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/active-processes.tsx",
"issues": [],
"line_number": 13,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03474937501201927,
"calculated_length": 63.35824643629125,
"difficulty": 1.7,
"effort": 177.22181256129826,
"length": 25.0,
"n1": 3.0,
"n2": 15.0,
"n_1": 8.0,
"n_2": 17.0,
"time": 9.845656253405458,
"vocabulary": 18.0,
"volume": 104.2481250360578
},
"lines_of_code": 15.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 5.0
},
"recommendations": [],
"severity": "Low",
"start_line": 13
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/active-processes.tsx:getModeName:29",
"entity_name": "getModeName",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/active-processes.tsx",
"issues": [],
"line_number": 30,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 31,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalOr",
"line": 33,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04106329929662132,
"calculated_length": 62.6710344630571,
"difficulty": 5.25,
"effort": 646.7469639217859,
"length": 29.0,
"n1": 7.0,
"n2": 12.0,
"n_1": 11.0,
"n_2": 18.0,
"time": 35.93038688454366,
"vocabulary": 19.0,
"volume": 123.18989788986397
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 8.399999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 30
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/active-processes.tsx:anonymous_function_31:31",
"entity_name": "anonymous_function_31",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/active-processes.tsx",
"issues": [],
"line_number": 32,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 32
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/active-processes.tsx:getModeColor:35",
"entity_name": "getModeColor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/active-processes.tsx",
"issues": [],
"line_number": 36,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 37,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 40,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 41,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 42,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 42,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.059768925020673144,
"calculated_length": 57.70523225941349,
"difficulty": 6.363636363636363,
"effort": 1141.0431140310327,
"length": 43.0,
"n1": 7.0,
"n2": 11.0,
"n_1": 23.0,
"n_2": 20.0,
"time": 63.39128411283515,
"vocabulary": 18.0,
"volume": 179.30677506201943
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 18.599999999999998
},
"recommendations": [],
"severity": "Low",
"start_line": 36
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/active-processes.tsx:anonymous_function_46:46",
"entity_name": "anonymous_function_46",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/active-processes.tsx",
"issues": [],
"line_number": 47,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.47,
"calculated_length": 366.52986509349955,
"difficulty": 4.1803278688524586,
"effort": 5894.262295081967,
"length": 235.0,
"n1": 3.0,
"n2": 61.0,
"n_1": 65.0,
"n_2": 170.0,
"time": 327.4590163934426,
"vocabulary": 64.0,
"volume": 1410.0
},
"lines_of_code": 76.0,
"maintainability_index": 62.90512597382593,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 17.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 47
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/adaptive-modal-sheet.tsx:anonymous_function_18:18",
"entity_name": "anonymous_function_18",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/adaptive-modal-sheet.tsx",
"issues": [],
"line_number": 19,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.3514788597076543,
"calculated_length": 322.72967174601973,
"difficulty": 3.6818181818181817,
"effort": 3882.2437685890905,
"length": 180.0,
"n1": 3.0,
"n2": 55.0,
"n_1": 45.0,
"n_2": 135.0,
"time": 215.68020936606058,
"vocabulary": 58.0,
"volume": 1054.436579122963
},
"lines_of_code": 61.0,
"maintainability_index": 67.97788175423148,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 14.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 19
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/adaptive-modal-sheet.tsx:SheetBackground:81",
"entity_name": "SheetBackground",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/adaptive-modal-sheet.tsx",
"issues": [],
"line_number": 82,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04106329929662132,
"calculated_length": 66.60335893412778,
"difficulty": 2.6666666666666665,
"effort": 328.5063943729706,
"length": 29.0,
"n1": 4.0,
"n2": 15.0,
"n_1": 9.0,
"n_2": 20.0,
"time": 18.25035524294281,
"vocabulary": 19.0,
"volume": 123.18989788986397
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 4.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 82
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/adaptive-modal-sheet.tsx:anonymous_function_118:118",
"entity_name": "anonymous_function_118",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/adaptive-modal-sheet.tsx",
"issues": [],
"line_number": 119,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.754887502163468,
"difficulty": 0.5,
"effort": 4.0,
"length": 4.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.2222222222222222,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 119
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/adaptive-modal-sheet.tsx:anonymous_function_120:120",
"entity_name": "anonymous_function_120",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/adaptive-modal-sheet.tsx",
"issues": [],
"line_number": 121,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 122,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 123,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.029189721069108297,
"calculated_length": 39.50977500432694,
"difficulty": 5.333333333333333,
"effort": 467.0355371057327,
"length": 23.0,
"n1": 8.0,
"n2": 6.0,
"n_1": 15.0,
"n_2": 8.0,
"time": 25.946418728096262,
"vocabulary": 14.0,
"volume": 87.56916320732489
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 9.0
},
"recommendations": [],
"severity": "Low",
"start_line": 121
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/adaptive-modal-sheet.tsx:anonymous_function_130:130",
"entity_name": "anonymous_function_130",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/adaptive-modal-sheet.tsx",
"issues": [],
"line_number": 131,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 132,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.010566416671474373,
"calculated_length": 20.264662506490403,
"difficulty": 4.0,
"effort": 126.79700005769249,
"length": 10.0,
"n1": 6.0,
"n2": 3.0,
"n_1": 6.0,
"n_2": 4.0,
"time": 7.044277780982916,
"vocabulary": 9.0,
"volume": 31.69925001442312
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 131
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-method-modal.tsx:anonymous_function_6:6",
"entity_name": "anonymous_function_6",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-method-modal.tsx",
"issues": [],
"line_number": 7,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.13678088045186576,
"calculated_length": 164.75488750216346,
"difficulty": 2.671875,
"effort": 1096.3842448719865,
"length": 80.0,
"n1": 3.0,
"n2": 32.0,
"n_1": 23.0,
"n_2": 57.0,
"time": 60.910235826221474,
"vocabulary": 35.0,
"volume": 410.3426413555973
},
"lines_of_code": 24.0,
"maintainability_index": 87.9971668375509,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 7
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-method-modal.tsx:AddHostMethodModal:40",
"entity_name": "AddHostMethodModal",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-method-modal.tsx",
"issues": [],
"line_number": 41,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 23,
"kind": "ConditionalExpression",
"line": 71,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.441342316012961,
"calculated_length": 576.6587689043804,
"difficulty": 7.116279069767442,
"effort": 9422.145258137167,
"length": 202.0,
"n1": 8.0,
"n2": 86.0,
"n_1": 49.0,
"n_2": 153.0,
"time": 523.4525143409537,
"vocabulary": 94.0,
"volume": 1324.026948038883
},
"lines_of_code": 53.0,
"maintainability_index": 68.84141893352934,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 11.0,
"technical_debt_score": 15.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 41
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-method-modal.tsx:anonymous_function_49:49",
"entity_name": "anonymous_function_49",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-method-modal.tsx",
"issues": [],
"line_number": 50,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 12.0,
"length": 6.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 0.6666666666666666,
"vocabulary": 4.0,
"volume": 12.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 50
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-method-modal.tsx:anonymous_function_54:54",
"entity_name": "anonymous_function_54",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-method-modal.tsx",
"issues": [],
"line_number": 55,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 12.0,
"length": 6.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 0.6666666666666666,
"vocabulary": 4.0,
"volume": 12.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 55
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-method-modal.tsx:anonymous_function_59:59",
"entity_name": "anonymous_function_59",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-method-modal.tsx",
"issues": [],
"line_number": 60,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 12.0,
"length": 6.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 0.6666666666666666,
"vocabulary": 4.0,
"volume": 12.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 60
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx:anonymous_function_10:10",
"entity_name": "anonymous_function_10",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx",
"issues": [],
"line_number": 11,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.3384547120709659,
"calculated_length": 272.833087536779,
"difficulty": 3.96875,
"effort": 4029.7264155949374,
"length": 179.0,
"n1": 3.0,
"n2": 48.0,
"n_1": 52.0,
"n_2": 127.0,
"time": 223.8736897552743,
"vocabulary": 51.0,
"volume": 1015.3641362128976
},
"lines_of_code": 55.0,
"maintainability_index": 69.85158897268687,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 13.0
},
"recommendations": [],
"severity": "Low",
"start_line": 11
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx:isHostPortOnly:67",
"entity_name": "isHostPortOnly",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx",
"issues": [],
"line_number": 68,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 10,
"kind": "LogicalAnd",
"line": 69,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.017716949839399265,
"calculated_length": 23.21928094887362,
"difficulty": 4.0,
"effort": 212.60339807279118,
"length": 16.0,
"n1": 5.0,
"n2": 5.0,
"n_1": 8.0,
"n_2": 8.0,
"time": 11.811299892932844,
"vocabulary": 10.0,
"volume": 53.150849518197795
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 68
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx:normalizeTransportMessage:71",
"entity_name": "normalizeTransportMessage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx",
"issues": [],
"line_number": 72,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 73,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 75,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.032070477557222796,
"calculated_length": 35.161259458730164,
"difficulty": 6.428571428571429,
"effort": 618.5020671750111,
"length": 26.0,
"n1": 6.0,
"n2": 7.0,
"n_1": 11.0,
"n_2": 15.0,
"time": 34.36122595416728,
"vocabulary": 13.0,
"volume": 96.21143267166839
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 8.6
},
"recommendations": [],
"severity": "Low",
"start_line": 72
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx:formatTechnicalTransportDetails:78",
"entity_name": "formatTechnicalTransportDetails",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx",
"issues": [],
"line_number": 79,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 90,
"nesting_level": 0
},
{
"column": 12,
"kind": "LogicalOr",
"line": 94,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 97,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.14796889416784798,
"calculated_length": 140.0964047443681,
"difficulty": 8.16,
"effort": 3622.278529228918,
"length": 88.0,
"n1": 8.0,
"n2": 25.0,
"n_1": 37.0,
"n_2": 51.0,
"time": 201.23769606827324,
"vocabulary": 33.0,
"volume": 443.9066825035439
},
"lines_of_code": 23.0,
"maintainability_index": 87.58779899978316,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 15.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 79
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx:anonymous_function_82:82",
"entity_name": "anonymous_function_82",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx",
"issues": [],
"line_number": 83,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 83
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx:anonymous_function_83:83",
"entity_name": "anonymous_function_83",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx",
"issues": [],
"line_number": 84,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026416041678685932,
"calculated_length": 2.0,
"difficulty": 1.0,
"effort": 7.92481250360578,
"length": 5.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.44026736131143224,
"vocabulary": 3.0,
"volume": 7.92481250360578
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 84
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx:anonymous_function_84:84",
"entity_name": "anonymous_function_84",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx",
"issues": [],
"line_number": 85,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.0,
"difficulty": 1.5,
"effort": 15.0,
"length": 5.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.8333333333333334,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 85
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx:anonymous_function_85:85",
"entity_name": "anonymous_function_85",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx",
"issues": [],
"line_number": 86,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 86
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx:anonymous_function_91:91",
"entity_name": "anonymous_function_91",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx",
"issues": [],
"line_number": 92,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 12,
"kind": "LogicalOr",
"line": 94,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.014792983340064124,
"calculated_length": 19.60964047443681,
"difficulty": 3.2,
"effort": 142.0126400646156,
"length": 14.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 7.889591114700867,
"vocabulary": 9.0,
"volume": 44.37895002019237
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 92
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx:buildConnectionFailureCopy:103",
"entity_name": "buildConnectionFailureCopy",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx",
"issues": [
{
"description": "Cognitive complexity of 50.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx:buildConnectionFailureCopy:103",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx:104",
"metric_value": 50.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 104,
"metrics": {
"cognitive_complexity": 50.0,
"cyclomatic_complexity": 15.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 108,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 114,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 123,
"nesting_level": 0
},
{
"column": 10,
"kind": "If",
"line": 125,
"nesting_level": 1
},
{
"column": 5,
"kind": "LogicalOr",
"line": 126,
"nesting_level": 2
},
{
"column": 5,
"kind": "LogicalOr",
"line": 126,
"nesting_level": 2
},
{
"column": 10,
"kind": "If",
"line": 131,
"nesting_level": 2
},
{
"column": 14,
"kind": "LogicalOr",
"line": 131,
"nesting_level": 3
},
{
"column": 10,
"kind": "If",
"line": 133,
"nesting_level": 3
},
{
"column": 14,
"kind": "LogicalOr",
"line": 133,
"nesting_level": 4
},
{
"column": 10,
"kind": "If",
"line": 135,
"nesting_level": 4
},
{
"column": 14,
"kind": "LogicalOr",
"line": 135,
"nesting_level": 5
},
{
"column": 14,
"kind": "LogicalOr",
"line": 135,
"nesting_level": 5
},
{
"column": 10,
"kind": "If",
"line": 137,
"nesting_level": 5
}
],
"halstead": {
"bugs": 0.32521905293969905,
"calculated_length": 255.00665676968876,
"difficulty": 9.428571428571429,
"effort": 9199.053211722916,
"length": 172.0,
"n1": 9.0,
"n2": 42.0,
"n_1": 84.0,
"n_2": 88.0,
"time": 511.0585117623842,
"vocabulary": 51.0,
"volume": 975.6571588190972
},
"lines_of_code": 40.0,
"maintainability_index": 71.9979743277491,
"max_nesting_depth": 5.0,
"parameter_count": 2.0,
"statement_count": 23.0,
"technical_debt_score": 78.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 104
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx:anonymous_function_106:106",
"entity_name": "anonymous_function_106",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx",
"issues": [],
"line_number": 107,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 108,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 114,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04427809341689654,
"calculated_length": 44.039100017307746,
"difficulty": 5.333333333333333,
"effort": 708.4494946703446,
"length": 34.0,
"n1": 6.0,
"n2": 9.0,
"n_1": 18.0,
"n_2": 16.0,
"time": 39.35830525946359,
"vocabulary": 15.0,
"volume": 132.83428025068963
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 9.8
},
"recommendations": [],
"severity": "Low",
"start_line": 107
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx:AddHostModal:151",
"entity_name": "AddHostModal",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx",
"issues": [
{
"description": "Cyclomatic complexity of 17.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx:AddHostModal:151",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx:152",
"metric_value": 17.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
}
],
"line_number": 152,
"metrics": {
"cognitive_complexity": 24.0,
"cyclomatic_complexity": 17.0,
"decision_points": [
{
"column": 5,
"kind": "LogicalOr",
"line": 156,
"nesting_level": 0
},
{
"column": 41,
"kind": "ConditionalExpression",
"line": 158,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 168,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 176,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 179,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 183,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 189,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 191,
"nesting_level": 1
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 192,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 197,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 210,
"nesting_level": 1
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 213,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 213,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 213,
"nesting_level": 1
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 215,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 219,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.6826611727444266,
"calculated_length": 774.6399364537292,
"difficulty": 12.037383177570094,
"effort": 24652.3623503221,
"length": 296.0,
"n1": 14.0,
"n2": 107.0,
"n_1": 112.0,
"n_2": 184.0,
"time": 1369.5756861290056,
"vocabulary": 121.0,
"volume": 2047.98351823328
},
"lines_of_code": 87.0,
"maintainability_index": 55.0943115981711,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 52.0,
"technical_debt_score": 70.60000000000001
},
"recommendations": [],
"severity": "High",
"start_line": 152
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx:anonymous_function_157:157",
"entity_name": "anonymous_function_157",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx",
"issues": [],
"line_number": 158,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 41,
"kind": "ConditionalExpression",
"line": 158,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 158
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx:anonymous_function_166:166",
"entity_name": "anonymous_function_166",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx",
"issues": [],
"line_number": 167,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 168,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02190973358470288,
"calculated_length": 27.11941547876375,
"difficulty": 3.333333333333333,
"effort": 219.0973358470288,
"length": 19.0,
"n1": 5.0,
"n2": 6.0,
"n_1": 11.0,
"n_2": 8.0,
"time": 12.172074213723823,
"vocabulary": 11.0,
"volume": 65.72920075410865
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 167
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx:anonymous_function_174:174",
"entity_name": "anonymous_function_174",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx",
"issues": [],
"line_number": 175,
"metrics": {
"cognitive_complexity": 21.0,
"cyclomatic_complexity": 14.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 176,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 179,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 183,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 189,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 191,
"nesting_level": 1
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 192,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 197,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 210,
"nesting_level": 1
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 213,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 213,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 213,
"nesting_level": 1
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 215,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 219,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.24891920102549436,
"calculated_length": 252.7242144196627,
"difficulty": 12.526315789473685,
"effort": 9354.121554326473,
"length": 131.0,
"n1": 14.0,
"n2": 38.0,
"n_1": 63.0,
"n_2": 68.0,
"time": 519.6734196848041,
"vocabulary": 52.0,
"volume": 746.7576030764831
},
"lines_of_code": 51.0,
"maintainability_index": 69.68257342914711,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 28.0,
"technical_debt_score": 54.99999999999999
},
"recommendations": [],
"severity": "Moderate",
"start_line": 175
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx:anonymous_function_245:245",
"entity_name": "anonymous_function_245",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx",
"issues": [],
"line_number": 246,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 13.931568569324174,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 0.7739760316291208,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 246
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx:anonymous_function_263:263",
"entity_name": "anonymous_function_263",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/add-host-modal.tsx",
"issues": [],
"line_number": 264,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 1.0,
"effort": 4.754887502163468,
"length": 3.0,
"n1": 2.0,
"n2": 1.0,
"n_1": 2.0,
"n_2": 1.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 264
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-activity.tsx:formatTimestamp:10",
"entity_name": "formatTimestamp",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-activity.tsx",
"issues": [],
"line_number": 11,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.029189475010096184,
"calculated_length": 61.302968908806456,
"difficulty": 2.2857142857142856,
"effort": 200.15640006923095,
"length": 21.0,
"n1": 4.0,
"n2": 14.0,
"n_1": 5.0,
"n_2": 16.0,
"time": 11.119800003846164,
"vocabulary": 18.0,
"volume": 87.56842503028855
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 11
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-activity.tsx:getToolIcon:19",
"entity_name": "getToolIcon",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-activity.tsx",
"issues": [],
"line_number": 20,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.051962908341506436,
"calculated_length": 96.99355338051744,
"difficulty": 1.5714285714285716,
"effort": 244.9679964671018,
"length": 34.0,
"n1": 3.0,
"n2": 21.0,
"n_1": 12.0,
"n_2": 22.0,
"time": 13.609333137061212,
"vocabulary": 24.0,
"volume": 155.88872502451932
},
"lines_of_code": 23.0,
"maintainability_index": 93.71945295360504,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 11.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-activity.tsx:getStatusColor:44",
"entity_name": "getStatusColor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-activity.tsx",
"issues": [],
"line_number": 45,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.024113247839698163,
"calculated_length": 42.80863530717374,
"difficulty": 1.6363636363636362,
"effort": 118.37412575851823,
"length": 19.0,
"n1": 3.0,
"n2": 11.0,
"n_1": 7.0,
"n_2": 12.0,
"time": 6.57634031991768,
"vocabulary": 14.0,
"volume": 72.33974351909448
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 4.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 45
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-activity.tsx:PlanItem:135",
"entity_name": "PlanItem",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-activity.tsx",
"issues": [],
"line_number": 136,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 139,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1359007541842148,
"calculated_length": 232.64052645972987,
"difficulty": 6.7105263157894735,
"effort": 2735.8967618664296,
"length": 73.0,
"n1": 10.0,
"n2": 38.0,
"n_1": 22.0,
"n_2": 51.0,
"time": 151.994264548135,
"vocabulary": 48.0,
"volume": 407.7022625526444
},
"lines_of_code": 19.0,
"maintainability_index": 91.58529530881849,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 8.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 136
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-activity.tsx:anonymous_function_159:159",
"entity_name": "anonymous_function_159",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-activity.tsx",
"issues": [],
"line_number": 160,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 23,
"kind": "ConditionalExpression",
"line": 163,
"nesting_level": 0
},
{
"column": 57,
"kind": "ConditionalExpression",
"line": 168,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08341714012534482,
"calculated_length": 123.69340944371453,
"difficulty": 4.869565217391305,
"effort": 1218.615612265907,
"length": 51.0,
"n1": 7.0,
"n2": 23.0,
"n_1": 19.0,
"n_2": 32.0,
"time": 67.70086734810594,
"vocabulary": 30.0,
"volume": 250.25142037603445
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 10.0
},
"recommendations": [],
"severity": "Low",
"start_line": 160
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-activity.tsx:anonymous_function_252:252",
"entity_name": "anonymous_function_252",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-activity.tsx",
"issues": [],
"line_number": 253,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 1.3573820745431526,
"calculated_length": 620.8862395598613,
"difficulty": 6.941489361702128,
"effort": 28266.759690619376,
"length": 617.0,
"n1": 3.0,
"n2": 94.0,
"n_1": 182.0,
"n_2": 435.0,
"time": 1570.375538367743,
"vocabulary": 97.0,
"volume": 4072.146223629458
},
"lines_of_code": 180.0,
"maintainability_index": 43.42208658654758,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 253
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-details-sheet.tsx:anonymous_function_25:25",
"entity_name": "anonymous_function_25",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-details-sheet.tsx",
"issues": [],
"line_number": 26,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.019119800003846166,
"calculated_length": 43.01955000865387,
"difficulty": 0.0,
"effort": 0.0,
"length": 16.0,
"n1": 0.0,
"n2": 12.0,
"n_1": 0.0,
"n_2": 16.0,
"time": 0.0,
"vocabulary": 12.0,
"volume": 57.3594000115385
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 4.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 26
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-details-sheet.tsx:anonymous_function_43:43",
"entity_name": "anonymous_function_43",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-details-sheet.tsx",
"issues": [],
"line_number": 44,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 45,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 46,
"nesting_level": 0
},
{
"column": 9,
"kind": "Catch",
"line": 49,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.043219280948873624,
"calculated_length": 66.43856189774725,
"difficulty": 7.0,
"effort": 907.6048999263461,
"length": 30.0,
"n1": 10.0,
"n2": 10.0,
"n_1": 16.0,
"n_2": 14.0,
"time": 50.42249444035256,
"vocabulary": 20.0,
"volume": 129.65784284662087
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 6.0,
"technical_debt_score": 12.8
},
"recommendations": [],
"severity": "Low",
"start_line": 44
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-details-sheet.tsx:anonymous_function_129:129",
"entity_name": "anonymous_function_129",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-details-sheet.tsx",
"issues": [],
"line_number": 130,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.35131245454654286,
"calculated_length": 286.94769699089966,
"difficulty": 3.99,
"effort": 4205.210080922118,
"length": 184.0,
"n1": 3.0,
"n2": 50.0,
"n_1": 51.0,
"n_2": 133.0,
"time": 233.622782273451,
"vocabulary": 53.0,
"volume": 1053.9373636396285
},
"lines_of_code": 57.0,
"maintainability_index": 69.07907030082781,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 13.4
},
"recommendations": [],
"severity": "Low",
"start_line": 130
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:SelectField:133",
"entity_name": "SelectField",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 134,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 27,
"kind": "LogicalOr",
"line": 161,
"nesting_level": 0
},
{
"column": 27,
"kind": "LogicalOr",
"line": 161,
"nesting_level": 0
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 165,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 165,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 165,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.26277881619088084,
"calculated_length": 480.38651781122206,
"difficulty": 6.287671232876712,
"effort": 4956.800409518395,
"length": 124.0,
"n1": 9.0,
"n2": 73.0,
"n_1": 22.0,
"n_2": 102.0,
"time": 275.37780052879975,
"vocabulary": 82.0,
"volume": 788.3364485726424
},
"lines_of_code": 48.0,
"maintainability_index": 72.22293381086718,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 25.6
},
"recommendations": [],
"severity": "Low",
"start_line": 134
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_179:179",
"entity_name": "anonymous_function_179",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 180,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 0.0,
"difficulty": 0.5,
"effort": 1.0,
"length": 2.0,
"n1": 1.0,
"n2": 1.0,
"n_1": 1.0,
"n_2": 1.0,
"time": 0.05555555555555555,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 180
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_199:199",
"entity_name": "anonymous_function_199",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 200,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 2.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 2.0,
"n1": 0.0,
"n2": 2.0,
"n_1": 0.0,
"n_2": 2.0,
"time": 0.0,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 200
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_201:201",
"entity_name": "anonymous_function_201",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 202,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 203,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.020756589711823783,
"calculated_length": 27.11941547876375,
"difficulty": 4.199999999999999,
"effort": 261.5330303689796,
"length": 18.0,
"n1": 6.0,
"n2": 5.0,
"n_1": 11.0,
"n_2": 7.0,
"time": 14.529612798276645,
"vocabulary": 11.0,
"volume": 62.26976913547135
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 202
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_210:210",
"entity_name": "anonymous_function_210",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 211,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 212,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.010566416671474373,
"calculated_length": 20.264662506490403,
"difficulty": 4.0,
"effort": 126.79700005769249,
"length": 10.0,
"n1": 6.0,
"n2": 3.0,
"n_1": 6.0,
"n_2": 4.0,
"time": 7.044277780982916,
"vocabulary": 9.0,
"volume": 31.69925001442312
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 211
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_276:276",
"entity_name": "anonymous_function_276",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 277,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 2.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 2.0,
"n1": 0.0,
"n2": 2.0,
"n_1": 0.0,
"n_2": 2.0,
"time": 0.0,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 277
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_280:280",
"entity_name": "anonymous_function_280",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 281,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 283,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03542467795750294,
"calculated_length": 53.5635228093372,
"difficulty": 4.090909090909091,
"effort": 434.75741129662697,
"length": 26.0,
"n1": 6.0,
"n2": 11.0,
"n_1": 11.0,
"n_2": 15.0,
"time": 24.153189516479276,
"vocabulary": 17.0,
"volume": 106.27403387250882
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 281
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_288:288",
"entity_name": "anonymous_function_288",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 289,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 299,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 300,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 300,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 305,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.12267226489021296,
"calculated_length": 122.10749561002054,
"difficulty": 8.181818181818182,
"effort": 3011.0465018506816,
"length": 75.0,
"n1": 8.0,
"n2": 22.0,
"n_1": 30.0,
"n_2": 45.0,
"time": 167.28036121392677,
"vocabulary": 30.0,
"volume": 368.0167946706389
},
"lines_of_code": 21.0,
"maintainability_index": 89.80646791981906,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 21.4
},
"recommendations": [],
"severity": "Low",
"start_line": 289
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:apply:295",
"entity_name": "apply",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 296,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 299,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 300,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 300,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 305,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.0877021551665335,
"calculated_length": 77.30296890880646,
"difficulty": 9.428571428571429,
"effort": 2480.7181032819476,
"length": 59.0,
"n1": 8.0,
"n2": 14.0,
"n_1": 26.0,
"n_2": 33.0,
"time": 137.81767240455264,
"vocabulary": 22.0,
"volume": 263.1064654996005
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 19.599999999999998
},
"recommendations": [],
"severity": "Low",
"start_line": 296
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_296:296",
"entity_name": "anonymous_function_296",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 297,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 299,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 300,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 300,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.03943458750793272,
"calculated_length": 31.019550008653873,
"difficulty": 9.0,
"effort": 1064.7338627141835,
"length": 33.0,
"n1": 6.0,
"n2": 6.0,
"n_1": 15.0,
"n_2": 18.0,
"time": 59.151881261899085,
"vocabulary": 12.0,
"volume": 118.30376252379816
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 14.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 297
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_302:302",
"entity_name": "anonymous_function_302",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 303,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 305,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.017716949839399265,
"calculated_length": 23.21928094887362,
"difficulty": 4.5,
"effort": 239.17882283189007,
"length": 16.0,
"n1": 5.0,
"n2": 5.0,
"n_1": 7.0,
"n_2": 9.0,
"time": 13.287712379549449,
"vocabulary": 10.0,
"volume": 53.150849518197795
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 303
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_322:322",
"entity_name": "anonymous_function_322",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 323,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 324,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 324,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.032,
"calculated_length": 48.18080946738404,
"difficulty": 4.277777777777779,
"effort": 410.66666666666674,
"length": 24.0,
"n1": 7.0,
"n2": 9.0,
"n_1": 13.0,
"n_2": 11.0,
"time": 22.81481481481482,
"vocabulary": 16.0,
"volume": 96.0
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 10.0
},
"recommendations": [],
"severity": "Low",
"start_line": 323
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_328:328",
"entity_name": "anonymous_function_328",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 329,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 0.0,
"difficulty": 0.5,
"effort": 1.0,
"length": 2.0,
"n1": 1.0,
"n2": 1.0,
"n_1": 1.0,
"n_2": 1.0,
"time": 0.05555555555555555,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 329
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_329:329",
"entity_name": "anonymous_function_329",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 330,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 330
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_332:332",
"entity_name": "anonymous_function_332",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 333,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 334,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 335,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.029189721069108297,
"calculated_length": 39.50977500432694,
"difficulty": 5.333333333333333,
"effort": 467.0355371057327,
"length": 23.0,
"n1": 8.0,
"n2": 6.0,
"n_1": 15.0,
"n_2": 8.0,
"time": 25.946418728096262,
"vocabulary": 14.0,
"volume": 87.56916320732489
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 9.0
},
"recommendations": [],
"severity": "Low",
"start_line": 333
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_342:342",
"entity_name": "anonymous_function_342",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 343,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 344,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.010566416671474373,
"calculated_length": 20.264662506490403,
"difficulty": 4.0,
"effort": 126.79700005769249,
"length": 10.0,
"n1": 6.0,
"n2": 3.0,
"n_1": 6.0,
"n_2": 4.0,
"time": 7.044277780982916,
"vocabulary": 9.0,
"volume": 31.69925001442312
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 343
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_463:463",
"entity_name": "anonymous_function_463",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 464,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 464
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_466:466",
"entity_name": "anonymous_function_466",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 467,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 467
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_467:467",
"entity_name": "anonymous_function_467",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 468,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 20.67970000576925,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 1.1488722225427361,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 468
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_472:472",
"entity_name": "anonymous_function_472",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 473,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 474,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.00655049481813441,
"calculated_length": 12.754887502163468,
"difficulty": 2.0,
"effort": 39.302968908806456,
"length": 7.0,
"n1": 4.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 3.0,
"time": 2.1834982727114696,
"vocabulary": 7.0,
"volume": 19.651484454403228
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 473
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_479:479",
"entity_name": "anonymous_function_479",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 480,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 481,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 486,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 486,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.058666666666666666,
"calculated_length": 48.18080946738404,
"difficulty": 7.777777777777779,
"effort": 1368.8888888888891,
"length": 44.0,
"n1": 7.0,
"n2": 9.0,
"n_1": 24.0,
"n_2": 20.0,
"time": 76.0493827160494,
"vocabulary": 16.0,
"volume": 176.0
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 12.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 480
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_484:484",
"entity_name": "anonymous_function_484",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 485,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 486,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 486,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.036541209043760986,
"calculated_length": 24.406371956566694,
"difficulty": 3.4285714285714284,
"effort": 375.8524358786844,
"length": 33.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 17.0,
"n_2": 16.0,
"time": 20.880690882149132,
"vocabulary": 10.0,
"volume": 109.62362713128296
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 8.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 485
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_497:497",
"entity_name": "anonymous_function_497",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 498,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 499,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.024,
"calculated_length": 16.36452797660028,
"difficulty": 3.3000000000000003,
"effort": 237.60000000000002,
"length": 24.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 13.0,
"n_2": 11.0,
"time": 13.200000000000001,
"vocabulary": 8.0,
"volume": 72.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 498
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_503:503",
"entity_name": "anonymous_function_503",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 504,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006191808253032966,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 24.76723301213186,
"length": 8.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 1.3759573895628812,
"vocabulary": 5.0,
"volume": 18.575424759098897
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 504
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_602:602",
"entity_name": "anonymous_function_602",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 603,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 603
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:AgentConfigRow:653",
"entity_name": "AgentConfigRow",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 654,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 678,
"nesting_level": 0
},
{
"column": 33,
"kind": "LogicalOr",
"line": 702,
"nesting_level": 0
},
{
"column": 50,
"kind": "ConditionalExpression",
"line": 702,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.4663938408478903,
"calculated_length": 590.7125167093907,
"difficulty": 10.936046511627907,
"effort": 15301.514208747938,
"length": 212.0,
"n1": 11.0,
"n2": 86.0,
"n_1": 41.0,
"n_2": 171.0,
"time": 850.0841227082187,
"vocabulary": 97.0,
"volume": 1399.181522543671
},
"lines_of_code": 88.0,
"maintainability_index": 59.88020147243559,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 28.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 654
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_667:667",
"entity_name": "anonymous_function_667",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 668,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.019019550008653872,
"calculated_length": 20.264662506490403,
"difficulty": 3.0,
"effort": 171.17595007788486,
"length": 18.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 12.0,
"time": 9.509775004326936,
"vocabulary": 9.0,
"volume": 57.05865002596162
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 668
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_668:668",
"entity_name": "anonymous_function_668",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 669,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012063158336698729,
"calculated_length": 10.0,
"difficulty": 2.5,
"effort": 90.47368752524048,
"length": 14.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 10.0,
"time": 5.026315973624471,
"vocabulary": 6.0,
"volume": 36.18947501009619
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 669
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_676:676",
"entity_name": "anonymous_function_676",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 677,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 678,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04496209125375373,
"calculated_length": 53.5635228093372,
"difficulty": 5.7272727272727275,
"effort": 772.5304769963141,
"length": 33.0,
"n1": 6.0,
"n2": 11.0,
"n_1": 12.0,
"n_2": 21.0,
"time": 42.91835983312856,
"vocabulary": 17.0,
"volume": 134.88627376126118
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 677
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_680:680",
"entity_name": "anonymous_function_680",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 681,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012063158336698729,
"calculated_length": 10.0,
"difficulty": 2.5,
"effort": 90.47368752524048,
"length": 14.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 10.0,
"time": 5.026315973624471,
"vocabulary": 6.0,
"volume": 36.18947501009619
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 681
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_687:687",
"entity_name": "anonymous_function_687",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 688,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04,
"calculated_length": 49.66338827944708,
"difficulty": 5.0,
"effort": 600.0,
"length": 30.0,
"n1": 5.0,
"n2": 11.0,
"n_1": 8.0,
"n_2": 22.0,
"time": 33.333333333333336,
"vocabulary": 16.0,
"volume": 120.0
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 4.4
},
"recommendations": [],
"severity": "Low",
"start_line": 688
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_760:760",
"entity_name": "anonymous_function_760",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 761,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 761
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_763:763",
"entity_name": "anonymous_function_763",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 764,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 764
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_764:764",
"entity_name": "anonymous_function_764",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 765,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 765
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_828:828",
"entity_name": "anonymous_function_828",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 829,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 829
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_833:833",
"entity_name": "anonymous_function_833",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 834,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 835,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.00655049481813441,
"calculated_length": 12.754887502163468,
"difficulty": 2.0,
"effort": 39.302968908806456,
"length": 7.0,
"n1": 4.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 3.0,
"time": 2.1834982727114696,
"vocabulary": 7.0,
"volume": 19.651484454403228
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 834
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_838:838",
"entity_name": "anonymous_function_838",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 839,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 839
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_914:914",
"entity_name": "anonymous_function_914",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 915,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 915
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_925:925",
"entity_name": "anonymous_function_925",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 926,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 926
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_926:926",
"entity_name": "anonymous_function_926",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 927,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 927
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_1018:1018",
"entity_name": "anonymous_function_1018",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 1019,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1019
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_1019:1019",
"entity_name": "anonymous_function_1019",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 1020,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1020
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_1021:1021",
"entity_name": "anonymous_function_1021",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 1022,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1023,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.00655049481813441,
"calculated_length": 12.754887502163468,
"difficulty": 2.0,
"effort": 39.302968908806456,
"length": 7.0,
"n1": 4.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 3.0,
"time": 2.1834982727114696,
"vocabulary": 7.0,
"volume": 19.651484454403228
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 1022
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_1028:1028",
"entity_name": "anonymous_function_1028",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 1029,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1030,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.023899750004807704,
"calculated_length": 31.019550008653873,
"difficulty": 4.5,
"effort": 322.646625064904,
"length": 20.0,
"n1": 6.0,
"n2": 6.0,
"n_1": 11.0,
"n_2": 9.0,
"time": 17.92481250360578,
"vocabulary": 12.0,
"volume": 71.69925001442311
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1029
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_1032:1032",
"entity_name": "anonymous_function_1032",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 1033,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007754887502163467,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 29.080828133113002,
"length": 9.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 5.0,
"time": 1.6156015629507223,
"vocabulary": 6.0,
"volume": 23.264662506490403
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1033
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_1043:1043",
"entity_name": "anonymous_function_1043",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 1044,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006191808253032966,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 24.76723301213186,
"length": 8.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 1.3759573895628812,
"vocabulary": 5.0,
"volume": 18.575424759098897
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 1044
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_1050:1050",
"entity_name": "anonymous_function_1050",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 1051,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1052,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.009509775004326936,
"calculated_length": 20.264662506490403,
"difficulty": 3.0,
"effort": 85.58797503894243,
"length": 9.0,
"n1": 6.0,
"n2": 3.0,
"n_1": 6.0,
"n_2": 3.0,
"time": 4.754887502163468,
"vocabulary": 9.0,
"volume": 28.52932501298081
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1051
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_1125:1125",
"entity_name": "anonymous_function_1125",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 1126,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0333594000115385,
"calculated_length": 69.48686830125577,
"difficulty": 0.6764705882352942,
"effort": 67.69995884694578,
"length": 24.0,
"n1": 1.0,
"n2": 17.0,
"n_1": 1.0,
"n_2": 23.0,
"time": 3.761108824830321,
"vocabulary": 18.0,
"volume": 100.07820003461549
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1126
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:value:1184",
"entity_name": "value",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 1185,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.27452334230355263,
"calculated_length": 319.08955909617646,
"difficulty": 4.981132075471699,
"effort": 4102.311077441767,
"length": 140.0,
"n1": 6.0,
"n2": 53.0,
"n_1": 52.0,
"n_2": 88.0,
"time": 227.90617096898708,
"vocabulary": 59.0,
"volume": 823.5700269106578
},
"lines_of_code": 30.0,
"maintainability_index": 80.75962979214688,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 34.0,
"technical_debt_score": 8.0
},
"recommendations": [],
"severity": "Low",
"start_line": 1185
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_1198:1198",
"entity_name": "anonymous_function_1198",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 1199,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009509775004326936,
"calculated_length": 24.0,
"difficulty": 0.5,
"effort": 14.264662506490405,
"length": 9.0,
"n1": 1.0,
"n2": 8.0,
"n_1": 1.0,
"n_2": 8.0,
"time": 0.792481250360578,
"vocabulary": 9.0,
"volume": 28.52932501298081
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1199
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_1202:1202",
"entity_name": "anonymous_function_1202",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 1203,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1203
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_1243:1243",
"entity_name": "anonymous_function_1243",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 1244,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 8.0,
"length": 4.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 2.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1244
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_1247:1247",
"entity_name": "anonymous_function_1247",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 1248,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1249,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.010566416671474373,
"calculated_length": 19.60964047443681,
"difficulty": 2.5,
"effort": 79.2481250360578,
"length": 10.0,
"n1": 5.0,
"n2": 4.0,
"n_1": 6.0,
"n_2": 4.0,
"time": 4.402673613114322,
"vocabulary": 9.0,
"volume": 31.69925001442312
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 1248
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_1253:1253",
"entity_name": "anonymous_function_1253",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 1254,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 20.67970000576925,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 1.1488722225427361,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 1254
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_1258:1258",
"entity_name": "anonymous_function_1258",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 1259,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1261,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.018450301966065584,
"calculated_length": 27.11941547876375,
"difficulty": 3.333333333333333,
"effort": 184.50301966065584,
"length": 16.0,
"n1": 5.0,
"n2": 6.0,
"n_1": 8.0,
"n_2": 8.0,
"time": 10.250167758925324,
"vocabulary": 11.0,
"volume": 55.35090589819676
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1259
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_1266:1266",
"entity_name": "anonymous_function_1266",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 1267,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 20.67970000576925,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 1.1488722225427361,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 1267
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_1273:1273",
"entity_name": "anonymous_function_1273",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 1274,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1274
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:isCreateMode:1292",
"entity_name": "isCreateMode",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 1293,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.08746545855739309,
"calculated_length": 192.74977452827116,
"difficulty": 0.6621621621621622,
"effort": 173.74895145860518,
"length": 50.0,
"n1": 1.0,
"n2": 37.0,
"n_1": 1.0,
"n_2": 49.0,
"time": 9.652719525478066,
"vocabulary": 38.0,
"volume": 262.39637567217926
},
"lines_of_code": 21.0,
"maintainability_index": 92.48548403618256,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1293
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx:anonymous_function_1407:1407",
"entity_name": "anonymous_function_1407",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-form/agent-form-dropdowns.tsx",
"issues": [],
"line_number": 1408,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 2.947925836516979,
"calculated_length": 1179.508495181978,
"difficulty": 10.7875,
"effort": 95402.24988428073,
"length": 1202.0,
"n1": 4.0,
"n2": 160.0,
"n_1": 339.0,
"n_2": 863.0,
"time": 5300.124993571151,
"vocabulary": 164.0,
"volume": 8843.777509550937
},
"lines_of_code": 365.0,
"maintainability_index": 27.936822072868296,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1408
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_86:86",
"entity_name": "anonymous_function_86",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 87,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 53.99999999999999,
"length": 10.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 2.9999999999999996,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 87
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_90:90",
"entity_name": "anonymous_function_90",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 91,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 66.56842503028855,
"length": 12.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 3.6982458350160305,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 91
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_94:94",
"entity_name": "anonymous_function_94",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 95,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 95
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_95:95",
"entity_name": "anonymous_function_95",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 96,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 96
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_97:97",
"entity_name": "anonymous_function_97",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 98,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 66.56842503028855,
"length": 12.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 3.6982458350160305,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 98
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_102:102",
"entity_name": "anonymous_function_102",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 103,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 25.84962500721156,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.43609027817842,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 103
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_106:106",
"entity_name": "anonymous_function_106",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 107,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 107
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_131:131",
"entity_name": "anonymous_function_131",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 132,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 133,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.033859718495273826,
"calculated_length": 44.039100017307746,
"difficulty": 4.0,
"effort": 406.31662194328595,
"length": 26.0,
"n1": 6.0,
"n2": 9.0,
"n_1": 14.0,
"n_2": 12.0,
"time": 22.573145663515888,
"vocabulary": 15.0,
"volume": 101.57915548582149
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 132
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_134:134",
"entity_name": "anonymous_function_134",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 135,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.010293634714211216,
"calculated_length": 13.60964047443681,
"difficulty": 1.2,
"effort": 37.05708497116037,
"length": 11.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 2.058726942842243,
"vocabulary": 7.0,
"volume": 30.880904142633646
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 135
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_140:140",
"entity_name": "anonymous_function_140",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 141,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 8.0,
"length": 4.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 2.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 141
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_151:151",
"entity_name": "anonymous_function_151",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 152,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.5,
"effort": 31.019550008653873,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 6.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 152
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_152:152",
"entity_name": "anonymous_function_152",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 153,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001,
"calculated_length": 2.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 3.0,
"n1": 0.0,
"n2": 2.0,
"n_1": 0.0,
"n_2": 3.0,
"time": 0.0,
"vocabulary": 2.0,
"volume": 3.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 153
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_155:155",
"entity_name": "anonymous_function_155",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 156,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 8.0,
"length": 4.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 2.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 156
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_160:160",
"entity_name": "anonymous_function_160",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 161,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 162,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.037333333333333336,
"calculated_length": 48.18080946738404,
"difficulty": 5.833333333333334,
"effort": 653.3333333333334,
"length": 28.0,
"n1": 7.0,
"n2": 9.0,
"n_1": 13.0,
"n_2": 15.0,
"time": 36.2962962962963,
"vocabulary": 16.0,
"volume": 112.0
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 161
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_170:170",
"entity_name": "anonymous_function_170",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 171,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 171
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_174:174",
"entity_name": "anonymous_function_174",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 175,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 175
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_178:178",
"entity_name": "anonymous_function_178",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 179,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 179
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_185:185",
"entity_name": "anonymous_function_185",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 186,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.043089225014903886,
"calculated_length": 58.529325012980806,
"difficulty": 5.0,
"effort": 646.3383752235584,
"length": 31.0,
"n1": 6.0,
"n2": 12.0,
"n_1": 11.0,
"n_2": 20.0,
"time": 35.90768751241991,
"vocabulary": 18.0,
"volume": 129.26767504471167
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 186
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_186:186",
"entity_name": "anonymous_function_186",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 187,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02995282789966531,
"calculated_length": 44.039100017307746,
"difficulty": 4.666666666666667,
"effort": 419.33959059531435,
"length": 23.0,
"n1": 6.0,
"n2": 9.0,
"n_1": 9.0,
"n_2": 14.0,
"time": 23.29664392196191,
"vocabulary": 15.0,
"volume": 89.85848369899593
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 187
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:queueMessage:195",
"entity_name": "queueMessage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 196,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 198,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 198,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 213,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.11718496669935907,
"calculated_length": 156.91128757139447,
"difficulty": 6.5,
"effort": 2285.106850637502,
"length": 68.0,
"n1": 9.0,
"n2": 27.0,
"n_1": 29.0,
"n_2": 39.0,
"time": 126.95038059097232,
"vocabulary": 36.0,
"volume": 351.5549000980772
},
"lines_of_code": 21.0,
"maintainability_index": 90.2744338959586,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 12.0,
"technical_debt_score": 15.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 196
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_205:205",
"entity_name": "anonymous_function_205",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 206,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.030666666666666665,
"calculated_length": 48.18080946738404,
"difficulty": 5.444444444444445,
"effort": 500.8888888888889,
"length": 23.0,
"n1": 7.0,
"n2": 9.0,
"n_1": 9.0,
"n_2": 14.0,
"time": 27.82716049382716,
"vocabulary": 16.0,
"volume": 92.0
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 206
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:sendMessageWithContent:218",
"entity_name": "sendMessageWithContent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 219,
"metrics": {
"cognitive_complexity": 20.0,
"cyclomatic_complexity": 13.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 226,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 230,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 230,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 231,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 231,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 233,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 233,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 242,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 247,
"nesting_level": 1
},
{
"column": 14,
"kind": "If",
"line": 250,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 255,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 257,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.19715428608750957,
"calculated_length": 195.31243420408975,
"difficulty": 10.616666666666667,
"effort": 6279.36401188718,
"length": 109.0,
"n1": 13.0,
"n2": 30.0,
"n_1": 60.0,
"n_2": 49.0,
"time": 348.8535562159544,
"vocabulary": 43.0,
"volume": 591.4628582625287
},
"lines_of_code": 44.0,
"maintainability_index": 73.51661370776921,
"max_nesting_depth": 2.0,
"parameter_count": 3.0,
"statement_count": 24.0,
"technical_debt_score": 50.8
},
"recommendations": [],
"severity": "Moderate",
"start_line": 219
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:handleSubmit:264",
"entity_name": "handleSubmit",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 265,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 266,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03542467795750294,
"calculated_length": 53.5635228093372,
"difficulty": 3.8181818181818183,
"effort": 405.7735838768519,
"length": 26.0,
"n1": 6.0,
"n2": 11.0,
"n_1": 12.0,
"n_2": 14.0,
"time": 22.542976882047327,
"vocabulary": 17.0,
"volume": 106.27403387250882
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 265
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:handlePickImage:275",
"entity_name": "handlePickImage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 276,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 278,
"nesting_level": 0
},
{
"column": 17,
"kind": "LogicalOr",
"line": 284,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05797261104228486,
"calculated_length": 76.63504134881501,
"difficulty": 7.615384615384615,
"effort": 1324.4511907352771,
"length": 39.0,
"n1": 9.0,
"n2": 13.0,
"n_1": 17.0,
"n_2": 22.0,
"time": 73.58062170751539,
"vocabulary": 22.0,
"volume": 173.9178331268546
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 9.8
},
"recommendations": [],
"severity": "Low",
"start_line": 276
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_281:281",
"entity_name": "anonymous_function_281",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 282,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 17,
"kind": "LogicalOr",
"line": 284,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 12.754887502163468,
"difficulty": 3.0,
"effort": 101.06477719407376,
"length": 12.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 8.0,
"time": 5.614709844115208,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 282
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_285:285",
"entity_name": "anonymous_function_285",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 286,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001,
"calculated_length": 2.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 3.0,
"n1": 0.0,
"n2": 2.0,
"n_1": 0.0,
"n_2": 3.0,
"time": 0.0,
"vocabulary": 2.0,
"volume": 3.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 286
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:handleRemoveImage:288",
"entity_name": "handleRemoveImage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 289,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017297158093186486,
"calculated_length": 27.651484454403228,
"difficulty": 2.857142857142857,
"effort": 148.2613550844556,
"length": 15.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 5.0,
"n_2": 10.0,
"time": 8.236741949136423,
"vocabulary": 11.0,
"volume": 51.89147427955946
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 289
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_289:289",
"entity_name": "anonymous_function_289",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 290,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.36452797660028,
"difficulty": 2.0999999999999996,
"effort": 62.999999999999986,
"length": 10.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 3.0,
"n_2": 7.0,
"time": 3.499999999999999,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 290
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_289:289",
"entity_name": "anonymous_function_289",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 290,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 290
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_292:292",
"entity_name": "anonymous_function_292",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 293,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 294,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 294,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.012180403014586996,
"calculated_length": 23.509775004326936,
"difficulty": 3.0,
"effort": 109.62362713128296,
"length": 11.0,
"n1": 6.0,
"n2": 4.0,
"n_1": 7.0,
"n_2": 4.0,
"time": 6.090201507293497,
"vocabulary": 10.0,
"volume": 36.541209043760986
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 293
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_300:300",
"entity_name": "anonymous_function_300",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 301,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 303,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 307,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0472591500163462,
"calculated_length": 57.219280948873624,
"difficulty": 6.0,
"effort": 850.6647002942316,
"length": 34.0,
"n1": 8.0,
"n2": 10.0,
"n_1": 19.0,
"n_2": 15.0,
"time": 47.2591500163462,
"vocabulary": 18.0,
"volume": 141.7774500490386
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 10.4
},
"recommendations": [],
"severity": "Low",
"start_line": 301
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_317:317",
"entity_name": "anonymous_function_317",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 318,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "LogicalAnd",
"line": 324,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 327,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 332,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 332,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10936241254975977,
"calculated_length": 103.58797503894242,
"difficulty": 9.75,
"effort": 3198.8505670804734,
"length": 69.0,
"n1": 9.0,
"n2": 18.0,
"n_1": 30.0,
"n_2": 39.0,
"time": 177.71392039335964,
"vocabulary": 27.0,
"volume": 328.0872376492793
},
"lines_of_code": 19.0,
"maintainability_index": 92.02503492189224,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 17.8
},
"recommendations": [],
"severity": "Low",
"start_line": 318
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_324:324",
"entity_name": "anonymous_function_324",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 325,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 11,
"kind": "LogicalAnd",
"line": 327,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.025468115394136442,
"calculated_length": 23.21928094887362,
"difficulty": 6.0,
"effort": 458.426077094456,
"length": 23.0,
"n1": 5.0,
"n2": 5.0,
"n_1": 11.0,
"n_2": 12.0,
"time": 25.468115394136444,
"vocabulary": 10.0,
"volume": 76.40434618240933
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 325
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_338:338",
"entity_name": "anonymous_function_338",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 339,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03681537178317774,
"calculated_length": 63.61549134016113,
"difficulty": 3.6923076923076925,
"effort": 407.8010412905842,
"length": 26.0,
"n1": 6.0,
"n2": 13.0,
"n_1": 10.0,
"n_2": 16.0,
"time": 22.655613405032454,
"vocabulary": 19.0,
"volume": 110.44611534953322
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 339
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:handleRealtimePress:347",
"entity_name": "handleRealtimePress",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 348,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 349,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 350,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 353,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalOr",
"line": 353,
"nesting_level": 3
},
{
"column": 7,
"kind": "Catch",
"line": 358,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04756727059879784,
"calculated_length": 76.2388309575275,
"difficulty": 7.199999999999999,
"effort": 1027.4530449340332,
"length": 32.0,
"n1": 12.0,
"n2": 10.0,
"n_1": 20.0,
"n_2": 12.0,
"time": 57.0807247185574,
"vocabulary": 22.0,
"volume": 142.7018117963935
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 24.2
},
"recommendations": [],
"severity": "Low",
"start_line": 348
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:handleCancelAgent:362",
"entity_name": "handleCancelAgent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 363,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 364,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 364,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 364,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 367,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 367,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05710012649612389,
"calculated_length": 72.10571633583419,
"difficulty": 4.923076923076923,
"effort": 843.3249451735221,
"length": 39.0,
"n1": 8.0,
"n2": 13.0,
"n_1": 23.0,
"n_2": 16.0,
"time": 46.85138584297345,
"vocabulary": 21.0,
"volume": 171.30037948837168
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 20.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 363
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:handleEditQueuedMessage:374",
"entity_name": "handleEditQueuedMessage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 375,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 377,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06689147427955945,
"calculated_length": 77.30296890880646,
"difficulty": 6.857142857142857,
"effort": 1376.0531851795088,
"length": 45.0,
"n1": 8.0,
"n2": 14.0,
"n_1": 21.0,
"n_2": 24.0,
"time": 76.44739917663938,
"vocabulary": 22.0,
"volume": 200.67442283867837
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 375
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_375:375",
"entity_name": "anonymous_function_375",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 376,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 376
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_378:378",
"entity_name": "anonymous_function_378",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 379,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011,
"calculated_length": 16.36452797660028,
"difficulty": 2.0999999999999996,
"effort": 69.29999999999998,
"length": 11.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 7.0,
"time": 3.849999999999999,
"vocabulary": 8.0,
"volume": 33.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 379
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_378:378",
"entity_name": "anonymous_function_378",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 379,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 379
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:handleSendQueuedNow:383",
"entity_name": "handleSendQueuedNow",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 384,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 386,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 386,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 387,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 387,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09192782504182706,
"calculated_length": 103.58797503894242,
"difficulty": 7.0,
"effort": 1930.4843258783683,
"length": 58.0,
"n1": 9.0,
"n2": 18.0,
"n_1": 30.0,
"n_2": 28.0,
"time": 107.2491292154649,
"vocabulary": 27.0,
"volume": 275.7834751254812
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 16.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 384
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_384:384",
"entity_name": "anonymous_function_384",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 385,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 385
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_388:388",
"entity_name": "anonymous_function_388",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 389,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011,
"calculated_length": 16.36452797660028,
"difficulty": 2.0999999999999996,
"effort": 69.29999999999998,
"length": 11.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 7.0,
"time": 3.849999999999999,
"vocabulary": 8.0,
"volume": 33.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 389
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_388:388",
"entity_name": "anonymous_function_388",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 389,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 389
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_395:395",
"entity_name": "anonymous_function_395",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 396,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011,
"calculated_length": 16.36452797660028,
"difficulty": 2.0999999999999996,
"effort": 69.29999999999998,
"length": 11.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 7.0,
"time": 3.849999999999999,
"vocabulary": 8.0,
"volume": 33.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 396
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_401:401",
"entity_name": "anonymous_function_401",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 402,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.019603445838944685,
"calculated_length": 28.75488750216347,
"difficulty": 1.875,
"effort": 110.26938284406386,
"length": 17.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 7.0,
"n_2": 10.0,
"time": 6.126076824670214,
"vocabulary": 11.0,
"volume": 58.81033751683405
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 402
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_410:410",
"entity_name": "anonymous_function_410",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 411,
"metrics": {
"cognitive_complexity": 15.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 412,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 412,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 416,
"nesting_level": 0
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 419,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 424,
"nesting_level": 0
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 427,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 432,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 432,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 435,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 441,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.21,
"calculated_length": 131.32677655889415,
"difficulty": 14.090909090909092,
"effort": 8877.272727272728,
"length": 126.0,
"n1": 10.0,
"n2": 22.0,
"n_1": 64.0,
"n_2": 62.0,
"time": 493.18181818181824,
"vocabulary": 32.0,
"volume": 630.0
},
"lines_of_code": 37.0,
"maintainability_index": 76.45538675435856,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 21.0,
"technical_debt_score": 41.400000000000006
},
"recommendations": [],
"severity": "Moderate",
"start_line": 411
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_417:417",
"entity_name": "anonymous_function_417",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 418,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 11,
"kind": "ConditionalExpression",
"line": 419,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.013,
"calculated_length": 16.36452797660028,
"difficulty": 2.4000000000000004,
"effort": 93.60000000000001,
"length": 13.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 5.2,
"vocabulary": 8.0,
"volume": 39.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 418
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_425:425",
"entity_name": "anonymous_function_425",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 426,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 11,
"kind": "ConditionalExpression",
"line": 427,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.013,
"calculated_length": 16.36452797660028,
"difficulty": 2.4000000000000004,
"effort": 93.60000000000001,
"length": 13.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 5.2,
"vocabulary": 8.0,
"volume": 39.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 426
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx:anonymous_function_596:596",
"entity_name": "anonymous_function_596",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-input-area.tsx",
"issues": [],
"line_number": 597,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.4730275834439106,
"calculated_length": 426.24307501985714,
"difficulty": 3.8478260869565215,
"effort": 5460.383626276446,
"length": 230.0,
"n1": 3.0,
"n2": 69.0,
"n_1": 53.0,
"n_2": 177.0,
"time": 303.35464590424704,
"vocabulary": 72.0,
"volume": 1419.0827503317319
},
"lines_of_code": 85.0,
"maintainability_index": 61.05866648953109,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 19.0
},
"recommendations": [],
"severity": "Low",
"start_line": 597
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx:deriveDateSectionLabel:44",
"entity_name": "deriveDateSectionLabel",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx",
"issues": [],
"line_number": 45,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 55,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 58,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 64,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 67,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.19841283536143248,
"calculated_length": 141.8629171260716,
"difficulty": 7.942307692307692,
"effort": 4727.567365631055,
"length": 118.0,
"n1": 7.0,
"n2": 26.0,
"n_1": 59.0,
"n_2": 59.0,
"time": 262.6426314239475,
"vocabulary": 33.0,
"volume": 595.2385060842975
},
"lines_of_code": 26.0,
"maintainability_index": 83.84623276995254,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 15.0,
"technical_debt_score": 18.4
},
"recommendations": [],
"severity": "Low",
"start_line": 45
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx:anonymous_function_86:86",
"entity_name": "anonymous_function_86",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx",
"issues": [],
"line_number": 87,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "ConditionalExpression",
"line": 88,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.014,
"calculated_length": 16.36452797660028,
"difficulty": 2.4000000000000004,
"effort": 100.80000000000001,
"length": 14.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 5.6000000000000005,
"vocabulary": 8.0,
"volume": 42.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 87
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx:anonymous_function_97:97",
"entity_name": "anonymous_function_97",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx",
"issues": [],
"line_number": 98,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 99,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 105,
"nesting_level": 0
},
{
"column": 24,
"kind": "ConditionalExpression",
"line": 117,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1180809429542562,
"calculated_length": 163.13526283059372,
"difficulty": 6.5892857142857135,
"effort": 2334.2072116136,
"length": 68.0,
"n1": 9.0,
"n2": 28.0,
"n_1": 27.0,
"n_2": 41.0,
"time": 129.6781784229778,
"vocabulary": 37.0,
"volume": 354.2428288627686
},
"lines_of_code": 24.0,
"maintainability_index": 88.07161824526037,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 11.0,
"technical_debt_score": 15.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 98
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx:anonymous_function_125:125",
"entity_name": "anonymous_function_125",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx",
"issues": [],
"line_number": 126,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 126
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx:anonymous_function_129:129",
"entity_name": "anonymous_function_129",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx",
"issues": [],
"line_number": 130,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 8.0,
"length": 4.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 2.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 130
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx:anonymous_function_133:133",
"entity_name": "anonymous_function_133",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx",
"issues": [],
"line_number": 134,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 135,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 135,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.022202638308846556,
"calculated_length": 35.60964047443681,
"difficulty": 5.6,
"effort": 373.00432358862207,
"length": 18.0,
"n1": 8.0,
"n2": 5.0,
"n_1": 11.0,
"n_2": 7.0,
"time": 20.722462421590116,
"vocabulary": 13.0,
"volume": 66.60791492653966
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 9.6
},
"recommendations": [],
"severity": "Low",
"start_line": 134
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx:anonymous_function_142:142",
"entity_name": "anonymous_function_142",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx",
"issues": [],
"line_number": 143,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 143
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx:anonymous_function_147:147",
"entity_name": "anonymous_function_147",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx",
"issues": [],
"line_number": 148,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 151,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 158,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 158,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 166,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 168,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 168,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.2206040209162663,
"calculated_length": 269.4968817653618,
"difficulty": 9.142857142857142,
"effort": 6050.853145131875,
"length": 115.0,
"n1": 12.0,
"n2": 42.0,
"n_1": 51.0,
"n_2": 64.0,
"time": 336.15850806288194,
"vocabulary": 54.0,
"volume": 661.8120627487989
},
"lines_of_code": 30.0,
"maintainability_index": 80.51669798005736,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 16.0,
"technical_debt_score": 26.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 148
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx:anonymous_function_173:173",
"entity_name": "anonymous_function_173",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx",
"issues": [],
"line_number": 174,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.5,
"effort": 33.68825906469125,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 1.871569948038403,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 174
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx:anonymous_function_201:201",
"entity_name": "anonymous_function_201",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx",
"issues": [],
"line_number": 202,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 13,
"kind": "LogicalAnd",
"line": 205,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 205,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 205,
"nesting_level": 0
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 216,
"nesting_level": 0
},
{
"column": 21,
"kind": "LogicalAnd",
"line": 224,
"nesting_level": 0
},
{
"column": 22,
"kind": "LogicalOr",
"line": 224,
"nesting_level": 0
},
{
"column": 33,
"kind": "LogicalOr",
"line": 226,
"nesting_level": 0
},
{
"column": 18,
"kind": "ConditionalExpression",
"line": 234,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 263,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 263,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.45817320681537604,
"calculated_length": 612.0133135393775,
"difficulty": 14.785714285714285,
"effort": 20323.254388024892,
"length": 206.0,
"n1": 18.0,
"n2": 84.0,
"n_1": 68.0,
"n_2": 138.0,
"time": 1129.0696882236052,
"vocabulary": 102.0,
"volume": 1374.519620446128
},
"lines_of_code": 67.0,
"maintainability_index": 62.77950973889668,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 15.0,
"technical_debt_score": 45.00000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 202
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx:shortenPath:232",
"entity_name": "shortenPath",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx",
"issues": [],
"line_number": 233,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 18,
"kind": "ConditionalExpression",
"line": 234,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 22.61842188131012,
"length": 7.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 5.0,
"time": 1.2565789934061178,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 233
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx:anonymous_function_249:249",
"entity_name": "anonymous_function_249",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx",
"issues": [],
"line_number": 250,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 263,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 263,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.13119818783608964,
"calculated_length": 165.23098268032226,
"difficulty": 10.846153846153847,
"effort": 4268.987188820455,
"length": 75.0,
"n1": 12.0,
"n2": 26.0,
"n_1": 28.0,
"n_2": 47.0,
"time": 237.16595493446974,
"vocabulary": 38.0,
"volume": 393.5945635082689
},
"lines_of_code": 19.0,
"maintainability_index": 91.53841750264321,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 14.0,
"technical_debt_score": 12.2
},
"recommendations": [],
"severity": "Low",
"start_line": 250
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx:anonymous_function_271:271",
"entity_name": "anonymous_function_271",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx",
"issues": [],
"line_number": 272,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 8.0,
"difficulty": 0.625,
"effort": 8.707230355827608,
"length": 6.0,
"n1": 1.0,
"n2": 4.0,
"n_1": 1.0,
"n_2": 5.0,
"time": 0.48373501976820044,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 272
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx:anonymous_function_274:274",
"entity_name": "anonymous_function_274",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx",
"issues": [],
"line_number": 275,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02157501122499309,
"calculated_length": 42.80863530717374,
"difficulty": 1.772727272727273,
"effort": 114.73983242382691,
"length": 17.0,
"n1": 3.0,
"n2": 11.0,
"n_1": 4.0,
"n_2": 13.0,
"time": 6.374435134657051,
"vocabulary": 14.0,
"volume": 64.72503367497927
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 275
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx:anonymous_function_283:283",
"entity_name": "anonymous_function_283",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx",
"issues": [],
"line_number": 284,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006191808253032966,
"calculated_length": 8.0,
"difficulty": 0.75,
"effort": 13.931568569324174,
"length": 8.0,
"n1": 1.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 6.0,
"time": 0.7739760316291208,
"vocabulary": 5.0,
"volume": 18.575424759098897
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 284
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx:anonymous_function_371:371",
"entity_name": "anonymous_function_371",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-list.tsx",
"issues": [],
"line_number": 372,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.7668868956462835,
"calculated_length": 596.9641997602448,
"difficulty": 4.318681318681318,
"effort": 9935.820329307344,
"length": 351.0,
"n1": 3.0,
"n2": 91.0,
"n_1": 89.0,
"n_2": 262.0,
"time": 551.9900182948525,
"vocabulary": 94.0,
"volume": 2300.6606869388506
},
"lines_of_code": 128.0,
"maintainability_index": 51.91416132203973,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 372
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-status-bar.tsx:anonymous_function_21:21",
"entity_name": "anonymous_function_21",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-status-bar.tsx",
"issues": [],
"line_number": 22,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 66.56842503028855,
"length": 12.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 3.6982458350160305,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 22
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-status-bar.tsx:anonymous_function_27:27",
"entity_name": "anonymous_function_27",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-status-bar.tsx",
"issues": [],
"line_number": 28,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009357849740192013,
"calculated_length": 13.60964047443681,
"difficulty": 1.2,
"effort": 33.688259064691245,
"length": 10.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 1.8715699480384025,
"vocabulary": 7.0,
"volume": 28.07354922057604
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 28
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-status-bar.tsx:handleModeChange:34",
"entity_name": "handleModeChange",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-status-bar.tsx",
"issues": [],
"line_number": 35,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 36,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.0,
"difficulty": 3.0,
"effort": 90.0,
"length": 10.0,
"n1": 4.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 5.0,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 35
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-status-bar.tsx:anonymous_function_90:90",
"entity_name": "anonymous_function_90",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-status-bar.tsx",
"issues": [],
"line_number": 91,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.12779131769041416,
"calculated_length": 151.96160537041902,
"difficulty": 2.75,
"effort": 1054.2783709459168,
"length": 76.0,
"n1": 3.0,
"n2": 30.0,
"n_1": 21.0,
"n_2": 55.0,
"time": 58.57102060810649,
"vocabulary": 33.0,
"volume": 383.37395307124245
},
"lines_of_code": 24.0,
"maintainability_index": 88.3506713119964,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 91
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_54:54",
"entity_name": "anonymous_function_54",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 55,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 22.61842188131012,
"length": 7.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 5.0,
"time": 1.2565789934061178,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 55
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_55:55",
"entity_name": "anonymous_function_55",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 56,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "LogicalOr",
"line": 57,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.012165204662249619,
"calculated_length": 13.60964047443681,
"difficulty": 1.6,
"effort": 58.39298237879817,
"length": 13.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 3.2440545765998987,
"vocabulary": 7.0,
"volume": 36.49561398674886
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 56
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_83:83",
"entity_name": "anonymous_function_83",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 84,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 84
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_84:84",
"entity_name": "anonymous_function_84",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 85,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 85
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_90:90",
"entity_name": "anonymous_function_90",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 91,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 53.99999999999999,
"length": 10.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 2.9999999999999996,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 91
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_92:92",
"entity_name": "anonymous_function_92",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 93,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 66.56842503028855,
"length": 12.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 3.6982458350160305,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 93
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_98:98",
"entity_name": "anonymous_function_98",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 99,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 25.84962500721156,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.43609027817842,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 99
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_103:103",
"entity_name": "anonymous_function_103",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 104,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 104
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_104:104",
"entity_name": "anonymous_function_104",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 105,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 105
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_115:115",
"entity_name": "anonymous_function_115",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 116,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.019019550008653872,
"calculated_length": 20.264662506490403,
"difficulty": 2.25,
"effort": 128.38196255841365,
"length": 18.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 9.0,
"n_2": 9.0,
"time": 7.132331253245202,
"vocabulary": 9.0,
"volume": 57.05865002596162
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 116
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_122:122",
"entity_name": "anonymous_function_122",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 123,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 124,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 129,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 134,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0728373831044092,
"calculated_length": 78.25484338853101,
"difficulty": 5.6000000000000005,
"effort": 1223.6680361540746,
"length": 49.0,
"n1": 7.0,
"n2": 15.0,
"n_1": 25.0,
"n_2": 24.0,
"time": 67.98155756411525,
"vocabulary": 22.0,
"volume": 218.51214931322758
},
"lines_of_code": 17.0,
"maintainability_index": 96.1703674217683,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 13.8
},
"recommendations": [],
"severity": "Low",
"start_line": 123
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_151:151",
"entity_name": "anonymous_function_151",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 152,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 158,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.059604512509375034,
"calculated_length": 89.138352755659,
"difficulty": 4.9411764705882355,
"effort": 883.5492442566182,
"length": 39.0,
"n1": 7.0,
"n2": 17.0,
"n_1": 15.0,
"n_2": 24.0,
"time": 49.08606912536768,
"vocabulary": 24.0,
"volume": 178.8135375281251
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 152
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_166:166",
"entity_name": "anonymous_function_166",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 167,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 169,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.041778638250577836,
"calculated_length": 67.01955000865388,
"difficulty": 5.333333333333333,
"effort": 668.4582120092454,
"length": 29.0,
"n1": 8.0,
"n2": 12.0,
"n_1": 13.0,
"n_2": 16.0,
"time": 37.13656733384696,
"vocabulary": 20.0,
"volume": 125.33591475173351
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 167
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_179:179",
"entity_name": "anonymous_function_179",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 180,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 181,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 185,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 194,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.09752097998526921,
"calculated_length": 92.5293250129808,
"difficulty": 8.4375,
"effort": 2468.4998058771266,
"length": 63.0,
"n1": 9.0,
"n2": 16.0,
"n_1": 33.0,
"n_2": 30.0,
"time": 137.1388781042848,
"vocabulary": 25.0,
"volume": 292.5629399558076
},
"lines_of_code": 21.0,
"maintainability_index": 91.22960143000725,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 13.0,
"technical_debt_score": 14.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 180
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_185:185",
"entity_name": "anonymous_function_185",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 186,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.019603445838944685,
"calculated_length": 27.651484454403228,
"difficulty": 2.5714285714285716,
"effort": 151.22658218614473,
"length": 17.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 8.0,
"n_2": 9.0,
"time": 8.401476788119151,
"vocabulary": 11.0,
"volume": 58.81033751683405
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 186
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_190:190",
"entity_name": "anonymous_function_190",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 191,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 8.0,
"length": 4.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 2.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 191
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:scrollToBottom:202",
"entity_name": "scrollToBottom",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 203,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.018450301966065584,
"calculated_length": 27.651484454403228,
"difficulty": 2.5714285714285716,
"effort": 142.33090088107738,
"length": 16.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 7.0,
"n_2": 9.0,
"time": 7.9072722711709655,
"vocabulary": 11.0,
"volume": 55.35090589819676
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 203
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_208:208",
"entity_name": "anonymous_function_208",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 209,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.5,
"effort": 17.414460711655217,
"length": 5.0,
"n1": 3.0,
"n2": 2.0,
"n_1": 3.0,
"n_2": 2.0,
"time": 0.9674700395364009,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 209
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_218:218",
"entity_name": "anonymous_function_218",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 219,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 221,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 227,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 227,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 231,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 231,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05420902501875005,
"calculated_length": 57.70523225941349,
"difficulty": 6.363636363636363,
"effort": 1034.8995685397738,
"length": 39.0,
"n1": 7.0,
"n2": 11.0,
"n_1": 19.0,
"n_2": 20.0,
"time": 57.49442047443188,
"vocabulary": 18.0,
"volume": 162.62707505625016
},
"lines_of_code": 18.0,
"maintainability_index": 96.3203871002146,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 8.0,
"technical_debt_score": 21.2
},
"recommendations": [],
"severity": "Low",
"start_line": 219
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_241:241",
"entity_name": "anonymous_function_241",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 242,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 13,
"kind": "LogicalAnd",
"line": 273,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 289,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 291,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.47848498617246754,
"calculated_length": 580.1875685932425,
"difficulty": 7.080459770114944,
"effort": 10163.681085594486,
"length": 219.0,
"n1": 7.0,
"n2": 87.0,
"n_1": 43.0,
"n_2": 176.0,
"time": 564.6489491996937,
"vocabulary": 94.0,
"volume": 1435.4549585174027
},
"lines_of_code": 98.0,
"maintainability_index": 58.003493810050955,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 21.0,
"technical_debt_score": 30.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 242
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_344:344",
"entity_name": "anonymous_function_344",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 345,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "For",
"line": 349,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 351,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 354,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.0743016990363956,
"calculated_length": 91.35671671381672,
"difficulty": 9.821428571428571,
"effort": 2189.246489465227,
"length": 48.0,
"n1": 11.0,
"n2": 14.0,
"n_1": 23.0,
"n_2": 25.0,
"time": 121.6248049702904,
"vocabulary": 25.0,
"volume": 222.90509710918678
},
"lines_of_code": 15.0,
"maintainability_index": 98.09450698378583,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 15.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 345
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_364:364",
"entity_name": "anonymous_function_364",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 365,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 367,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 375,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalOr",
"line": 376,
"nesting_level": 0
},
{
"column": 12,
"kind": "LogicalAnd",
"line": 377,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1076620362229983,
"calculated_length": 164.88144885869957,
"difficulty": 5.241379310344827,
"effort": 1692.892707506456,
"length": 62.0,
"n1": 8.0,
"n2": 29.0,
"n_1": 24.0,
"n_2": 38.0,
"time": 94.04959486146977,
"vocabulary": 37.0,
"volume": 322.9861086689949
},
"lines_of_code": 22.0,
"maintainability_index": 89.73154381717362,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 17.6
},
"recommendations": [],
"severity": "Low",
"start_line": 365
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_378:378",
"entity_name": "anonymous_function_378",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 379,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 379
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_397:397",
"entity_name": "anonymous_function_397",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 398,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.019603445838944685,
"calculated_length": 28.75488750216347,
"difficulty": 1.6875,
"effort": 99.24244455965747,
"length": 17.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 8.0,
"n_2": 9.0,
"time": 5.513469142203193,
"vocabulary": 11.0,
"volume": 58.81033751683405
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 398
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_399:399",
"entity_name": "anonymous_function_399",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 400,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 400
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_404:404",
"entity_name": "anonymous_function_404",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 405,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 406,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 411,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 416,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 417,
"nesting_level": 1
},
{
"column": 7,
"kind": "ConditionalExpression",
"line": 453,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2930885669007181,
"calculated_length": 342.5966613493527,
"difficulty": 12.07843137254902,
"effort": 10620.150424167197,
"length": 146.0,
"n1": 14.0,
"n2": 51.0,
"n_1": 58.0,
"n_2": 88.0,
"time": 590.0083568981777,
"vocabulary": 65.0,
"volume": 879.2657007021544
},
"lines_of_code": 66.0,
"maintainability_index": 66.49634011294468,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 33.0,
"technical_debt_score": 30.0
},
"recommendations": [],
"severity": "Low",
"start_line": 405
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:map:498",
"entity_name": "map",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 499,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 24,
"kind": "ConditionalExpression",
"line": 501,
"nesting_level": 1
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 509,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.059915098939906715,
"calculated_length": 117.75898006442377,
"difficulty": 4.454545454545454,
"effort": 800.6835949242079,
"length": 37.0,
"n1": 7.0,
"n2": 22.0,
"n_1": 9.0,
"n_2": 28.0,
"time": 44.48242194023377,
"vocabulary": 29.0,
"volume": 179.74529681972015
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 12.0
},
"recommendations": [],
"severity": "Low",
"start_line": 499
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_498:498",
"entity_name": "anonymous_function_498",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 499,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 24,
"kind": "ConditionalExpression",
"line": 501,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.031151468431919623,
"calculated_length": 64.91260938324326,
"difficulty": 3.0357142857142856,
"effort": 283.700873219268,
"length": 22.0,
"n1": 5.0,
"n2": 14.0,
"n_1": 5.0,
"n_2": 17.0,
"time": 15.761159623292665,
"vocabulary": 19.0,
"volume": 93.45440529575887
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 499
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_525:525",
"entity_name": "anonymous_function_525",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 526,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 15.509775004326936,
"length": 6.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.861654166907052,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 526
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:normalizeInlinePath:594",
"entity_name": "normalizeInlinePath",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 595,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 599,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 604,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 610,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 614,
"nesting_level": 0
},
{
"column": 18,
"kind": "LogicalOr",
"line": 615,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 618,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 622,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 626,
"nesting_level": 0
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 628,
"nesting_level": 1
},
{
"column": 21,
"kind": "ConditionalExpression",
"line": 632,
"nesting_level": 0
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 635,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.22041295556463059,
"calculated_length": 166.4357103634239,
"difficulty": 14.666666666666666,
"effort": 9698.170044843746,
"length": 126.0,
"n1": 11.0,
"n2": 27.0,
"n_1": 54.0,
"n_2": 72.0,
"time": 538.7872247135415,
"vocabulary": 38.0,
"volume": 661.2388666938917
},
"lines_of_code": 43.0,
"maintainability_index": 73.53915936514497,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 21.0,
"technical_debt_score": 43.0
},
"recommendations": [],
"severity": "Moderate",
"start_line": 595
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:if:640",
"entity_name": "if",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 641,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 641
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:resolvePathAgainstCwd:655",
"entity_name": "resolvePathAgainstCwd",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 656,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 658,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 659,
"nesting_level": 1
},
{
"column": 5,
"kind": "LogicalOr",
"line": 659,
"nesting_level": 1
},
{
"column": 29,
"kind": "LogicalOr",
"line": 666,
"nesting_level": 0
},
{
"column": 18,
"kind": "ConditionalExpression",
"line": 669,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 672,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 676,
"nesting_level": 0
},
{
"column": 12,
"kind": "LogicalOr",
"line": 677,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.12921478568435765,
"calculated_length": 120.76799089133478,
"difficulty": 9.642857142857142,
"effort": 3737.999157297489,
"length": 79.0,
"n1": 9.0,
"n2": 21.0,
"n_1": 34.0,
"n_2": 45.0,
"time": 207.6666198498605,
"vocabulary": 30.0,
"volume": 387.64435705307295
},
"lines_of_code": 25.0,
"maintainability_index": 85.79175240563397,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 13.0,
"technical_debt_score": 31.8
},
"recommendations": [],
"severity": "Low",
"start_line": 656
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:isAbsolutePath:686",
"entity_name": "isAbsolutePath",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 687,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 10,
"kind": "LogicalOr",
"line": 688,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.015502331109474358,
"calculated_length": 23.21928094887362,
"difficulty": 3.5,
"effort": 162.77447664948076,
"length": 14.0,
"n1": 5.0,
"n2": 5.0,
"n_1": 7.0,
"n_2": 7.0,
"time": 9.04302648052671,
"vocabulary": 10.0,
"volume": 46.50699332842307
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 687
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:WorkingIndicator:690",
"entity_name": "WorkingIndicator",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 691,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.34608480750710796,
"calculated_length": 296.6075250475963,
"difficulty": 11.34375,
"effort": 11777.69860547627,
"length": 178.0,
"n1": 9.0,
"n2": 48.0,
"n_1": 57.0,
"n_2": 121.0,
"time": 654.3165891931261,
"vocabulary": 57.0,
"volume": 1038.254422521324
},
"lines_of_code": 56.0,
"maintainability_index": 69.44376267120322,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 18.0,
"technical_debt_score": 13.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 691
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_697:697",
"entity_name": "anonymous_function_697",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 698,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.08617472816592,
"calculated_length": 100.36210720983135,
"difficulty": 6.078947368421053,
"effort": 1571.554911025857,
"length": 55.0,
"n1": 7.0,
"n2": 19.0,
"n_1": 22.0,
"n_2": 33.0,
"time": 87.30860616810317,
"vocabulary": 26.0,
"volume": 258.52418449776
},
"lines_of_code": 22.0,
"maintainability_index": 91.80916817315261,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 698
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_699:699",
"entity_name": "anonymous_function_699",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 700,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04106329929662132,
"calculated_length": 63.61549134016113,
"difficulty": 4.384615384615384,
"effort": 540.1403215170958,
"length": 29.0,
"n1": 6.0,
"n2": 13.0,
"n_1": 10.0,
"n_2": 19.0,
"time": 30.007795639838655,
"vocabulary": 19.0,
"volume": 123.18989788986397
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 4.4
},
"recommendations": [],
"severity": "Low",
"start_line": 700
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_713:713",
"entity_name": "anonymous_function_713",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 714,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017716949839399265,
"calculated_length": 23.509775004326936,
"difficulty": 2.6666666666666665,
"effort": 141.7355987151941,
"length": 16.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 8.0,
"n_2": 8.0,
"time": 7.874199928621895,
"vocabulary": 10.0,
"volume": 53.150849518197795
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 714
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_714:714",
"entity_name": "anonymous_function_714",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 715,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011,
"calculated_length": 16.0,
"difficulty": 3.0,
"effort": 99.0,
"length": 11.0,
"n1": 4.0,
"n2": 4.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 5.5,
"vocabulary": 8.0,
"volume": 33.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 715
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_722:722",
"entity_name": "anonymous_function_722",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 723,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.018450301966065584,
"calculated_length": 28.75488750216347,
"difficulty": 1.875,
"effort": 103.78294855911892,
"length": 16.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 6.0,
"n_2": 10.0,
"time": 5.765719364395496,
"vocabulary": 11.0,
"volume": 55.35090589819676
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 723
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_727:727",
"entity_name": "anonymous_function_727",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 728,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.018450301966065584,
"calculated_length": 28.75488750216347,
"difficulty": 1.875,
"effort": 103.78294855911892,
"length": 16.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 6.0,
"n_2": 10.0,
"time": 5.765719364395496,
"vocabulary": 11.0,
"volume": 55.35090589819676
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 728
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_732:732",
"entity_name": "anonymous_function_732",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 733,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.018450301966065584,
"calculated_length": 28.75488750216347,
"difficulty": 1.875,
"effort": 103.78294855911892,
"length": 16.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 6.0,
"n_2": 10.0,
"time": 5.765719364395496,
"vocabulary": 11.0,
"volume": 55.35090589819676
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 733
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_762:762",
"entity_name": "anonymous_function_762",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 763,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 764,
"nesting_level": 0
},
{
"column": 7,
"kind": "ConditionalExpression",
"line": 768,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 771,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 775,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05333333333333334,
"calculated_length": 48.0,
"difficulty": 9.0,
"effort": 1440.0,
"length": 40.0,
"n1": 8.0,
"n2": 8.0,
"n_1": 22.0,
"n_2": 18.0,
"time": 80.0,
"vocabulary": 16.0,
"volume": 160.0
},
"lines_of_code": 16.0,
"maintainability_index": 98.54315886049964,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 16.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 763
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_781:781",
"entity_name": "anonymous_function_781",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 782,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 61.021056277764515,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 4.0,
"n_2": 7.0,
"time": 3.3900586820980285,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 782
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_785:785",
"entity_name": "anonymous_function_785",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 786,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 786
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_789:789",
"entity_name": "anonymous_function_789",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 790,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.030253496664211538,
"calculated_length": 74.24175580341924,
"difficulty": 1.5882352941176472,
"effort": 144.14901351771383,
"length": 21.0,
"n1": 3.0,
"n2": 17.0,
"n_1": 3.0,
"n_2": 18.0,
"time": 8.00827852876188,
"vocabulary": 20.0,
"volume": 90.76048999263462
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 5.0,
"statement_count": 0.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 790
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_800:800",
"entity_name": "anonymous_function_800",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 801,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.026409525009134644,
"calculated_length": 66.0,
"difficulty": 1.0625,
"effort": 84.18036096661668,
"length": 19.0,
"n1": 2.0,
"n2": 16.0,
"n_1": 2.0,
"n_2": 17.0,
"time": 4.676686720367593,
"vocabulary": 18.0,
"volume": 79.22857502740393
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 5.0,
"statement_count": 0.0,
"technical_debt_score": 4.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 801
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_873:873",
"entity_name": "anonymous_function_873",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 874,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 24,
"kind": "ConditionalExpression",
"line": 882,
"nesting_level": 0
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 883,
"nesting_level": 0
},
{
"column": 30,
"kind": "ConditionalExpression",
"line": 886,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.10167519169503214,
"calculated_length": 168.0,
"difficulty": 2.8125,
"effort": 857.8844299268337,
"length": 59.0,
"n1": 4.0,
"n2": 32.0,
"n_1": 14.0,
"n_2": 45.0,
"time": 47.66024610704632,
"vocabulary": 36.0,
"volume": 305.0255750850964
},
"lines_of_code": 17.0,
"maintainability_index": 94.43588657197338,
"max_nesting_depth": 0.0,
"parameter_count": 4.0,
"statement_count": 5.0,
"technical_debt_score": 13.8
},
"recommendations": [],
"severity": "Low",
"start_line": 874
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_904:904",
"entity_name": "anonymous_function_904",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 905,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 910,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03891930001346158,
"calculated_length": 57.219280948873624,
"difficulty": 6.8,
"effort": 793.9537202746162,
"length": 28.0,
"n1": 8.0,
"n2": 10.0,
"n_1": 11.0,
"n_2": 17.0,
"time": 44.10854001525646,
"vocabulary": 18.0,
"volume": 116.75790004038474
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 7.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 905
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_926:926",
"entity_name": "anonymous_function_926",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 927,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 1.0,
"effort": 4.754887502163468,
"length": 3.0,
"n1": 2.0,
"n2": 1.0,
"n_1": 2.0,
"n_2": 1.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 927
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_930:930",
"entity_name": "anonymous_function_930",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 931,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03678716557125305,
"calculated_length": 58.057856410969926,
"difficulty": 1.8214285714285712,
"effort": 201.01558330006128,
"length": 27.0,
"n1": 3.0,
"n2": 14.0,
"n_1": 10.0,
"n_2": 17.0,
"time": 11.16753240555896,
"vocabulary": 17.0,
"volume": 110.36149671375915
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 931
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_935:935",
"entity_name": "anonymous_function_935",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 936,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 936
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_1015:1015",
"entity_name": "anonymous_function_1015",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 1016,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.754887502163468,
"difficulty": 0.5,
"effort": 4.0,
"length": 4.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.2222222222222222,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1016
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_1039:1039",
"entity_name": "anonymous_function_1039",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 1040,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 11.60964047443681,
"difficulty": 0.5,
"effort": 7.754887502163468,
"length": 6.0,
"n1": 1.0,
"n2": 5.0,
"n_1": 1.0,
"n_2": 5.0,
"time": 0.430827083453526,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1040
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_1068:1068",
"entity_name": "anonymous_function_1068",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 1069,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.4675028916321078,
"calculated_length": 505.99867910599113,
"difficulty": 4.658227848101266,
"effort": 6533.204966605658,
"length": 220.0,
"n1": 4.0,
"n2": 79.0,
"n_1": 36.0,
"n_2": 184.0,
"time": 362.95583147809214,
"vocabulary": 83.0,
"volume": 1402.5086748963233
},
"lines_of_code": 102.0,
"maintainability_index": 58.166147746822205,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1069
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx:anonymous_function_1172:1172",
"entity_name": "anonymous_function_1172",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/agent-stream-view.tsx",
"issues": [],
"line_number": 1173,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.26910080172015405,
"calculated_length": 227.65963218934144,
"difficulty": 5.121951219512195,
"effort": 4134.963538626757,
"length": 147.0,
"n1": 4.0,
"n2": 41.0,
"n_1": 42.0,
"n_2": 105.0,
"time": 229.7201965903754,
"vocabulary": 45.0,
"volume": 807.3024051604622
},
"lines_of_code": 48.0,
"maintainability_index": 73.24931232985332,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 11.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1173
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/artifact-drawer.tsx:anonymous_function_25:25",
"entity_name": "anonymous_function_25",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/artifact-drawer.tsx",
"issues": [],
"line_number": 26,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.8720444817866254,
"calculated_length": 573.1848699422457,
"difficulty": 4.926136363636363,
"effort": 12887.43009731257,
"length": 402.0,
"n1": 3.0,
"n2": 88.0,
"n_1": 113.0,
"n_2": 289.0,
"time": 715.9683387395872,
"vocabulary": 91.0,
"volume": 2616.133445359876
},
"lines_of_code": 128.0,
"maintainability_index": 51.2459555675061,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 26
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/artifact-drawer.tsx:anonymous_function_156:156",
"entity_name": "anonymous_function_156",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/artifact-drawer.tsx",
"issues": [],
"line_number": 157,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 158,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.025382366147050694,
"calculated_length": 39.302968908806456,
"difficulty": 5.0,
"effort": 380.7354922057604,
"length": 20.0,
"n1": 7.0,
"n2": 7.0,
"n_1": 10.0,
"n_2": 10.0,
"time": 21.15197178920891,
"vocabulary": 14.0,
"volume": 76.14709844115208
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 157
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/audio-debug-notice.tsx:formatBytes:23",
"entity_name": "formatBytes",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/audio-debug-notice.tsx",
"issues": [],
"line_number": 24,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 25,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 25,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 28,
"nesting_level": 0
},
{
"column": 3,
"kind": "While",
"line": 34,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalAnd",
"line": 34,
"nesting_level": 1
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 38,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.10687558189280659,
"calculated_length": 112.10571633583419,
"difficulty": 15.03125,
"effort": 4819.420770978747,
"length": 66.0,
"n1": 13.0,
"n2": 16.0,
"n_1": 29.0,
"n_2": 37.0,
"time": 267.7455983877082,
"vocabulary": 29.0,
"volume": 320.62674567841975
},
"lines_of_code": 15.0,
"maintainability_index": 95.51414290743358,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 11.0,
"technical_debt_score": 23.4
},
"recommendations": [],
"severity": "Low",
"start_line": 24
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/audio-debug-notice.tsx:formatDuration:40",
"entity_name": "formatDuration",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/audio-debug-notice.tsx",
"issues": [],
"line_number": 41,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 42,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 42,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 46,
"nesting_level": 0
},
{
"column": 29,
"kind": "ConditionalExpression",
"line": 49,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.059768925020673144,
"calculated_length": 57.219280948873624,
"difficulty": 9.2,
"effort": 1649.6223305705787,
"length": 43.0,
"n1": 8.0,
"n2": 10.0,
"n_1": 20.0,
"n_2": 23.0,
"time": 91.64568503169882,
"vocabulary": 18.0,
"volume": 179.30677506201943
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 15.8
},
"recommendations": [],
"severity": "Low",
"start_line": 41
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/audio-debug-notice.tsx:anonymous_function_55:55",
"entity_name": "anonymous_function_55",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/audio-debug-notice.tsx",
"issues": [],
"line_number": 56,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 57,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 61,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 65,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 69,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 72,
"nesting_level": 0
},
{
"column": 18,
"kind": "ConditionalExpression",
"line": 74,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.12838196255841364,
"calculated_length": 103.58797503894242,
"difficulty": 10.25,
"effort": 3947.7453486712197,
"length": 81.0,
"n1": 9.0,
"n2": 18.0,
"n_1": 40.0,
"n_2": 41.0,
"time": 219.31918603729,
"vocabulary": 27.0,
"volume": 385.14588767524094
},
"lines_of_code": 21.0,
"maintainability_index": 89.10990111287819,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 15.0,
"technical_debt_score": 23.8
},
"recommendations": [],
"severity": "Low",
"start_line": 56
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/audio-debug-notice.tsx:anonymous_function_82:82",
"entity_name": "anonymous_function_82",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/audio-debug-notice.tsx",
"issues": [],
"line_number": 83,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 84,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 87,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 91,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.055790597458036495,
"calculated_length": 81.32499728470782,
"difficulty": 6.538461538461538,
"effort": 1094.354027061485,
"length": 37.0,
"n1": 10.0,
"n2": 13.0,
"n_1": 20.0,
"n_2": 17.0,
"time": 60.79744594786028,
"vocabulary": 23.0,
"volume": 167.37179237410948
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 13.4
},
"recommendations": [],
"severity": "Low",
"start_line": 83
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/audio-debug-notice.tsx:anonymous_function_89:89",
"entity_name": "anonymous_function_89",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/audio-debug-notice.tsx",
"issues": [],
"line_number": 90,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 90
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/command-autocomplete.tsx:CommandAutocomplete:20",
"entity_name": "CommandAutocomplete",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/command-autocomplete.tsx",
"issues": [],
"line_number": 21,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 41,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 51,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 61,
"nesting_level": 0
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 82,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.9533413374865107,
"calculated_length": 875.2361995152362,
"difficulty": 13.090909090909092,
"effort": 37440.31434492479,
"length": 406.0,
"n1": 11.0,
"n2": 121.0,
"n_1": 118.0,
"n_2": 288.0,
"time": 2080.017463606933,
"vocabulary": 132.0,
"volume": 2860.024012459532
},
"lines_of_code": 143.0,
"maintainability_index": 48.0672734311232,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 14.0,
"technical_debt_score": 33.2
},
"recommendations": [],
"severity": "Low",
"start_line": 21
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/command-autocomplete.tsx:anonymous_function_36:36",
"entity_name": "anonymous_function_36",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/command-autocomplete.tsx",
"issues": [],
"line_number": 37,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.010293634714211216,
"calculated_length": 13.60964047443681,
"difficulty": 1.2,
"effort": 37.05708497116037,
"length": 11.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 2.058726942842243,
"vocabulary": 7.0,
"volume": 30.880904142633646
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 37
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/command-autocomplete.tsx:anonymous_function_73:73",
"entity_name": "anonymous_function_73",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/command-autocomplete.tsx",
"issues": [],
"line_number": 74,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 17,
"kind": "LogicalAnd",
"line": 82,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.053271650138932376,
"calculated_length": 112.03910001730775,
"difficulty": 1.2083333333333333,
"effort": 193.10973175362986,
"length": 34.0,
"n1": 2.0,
"n2": 24.0,
"n_1": 5.0,
"n_2": 29.0,
"time": 10.728318430757215,
"vocabulary": 26.0,
"volume": 159.81495041679713
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 7.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 74
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/command-autocomplete.tsx:useCommandAutocomplete:103",
"entity_name": "useCommandAutocomplete",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/command-autocomplete.tsx",
"issues": [],
"line_number": 104,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03299707599116591,
"calculated_length": 41.219280948873624,
"difficulty": 3.0,
"effort": 296.97368392049316,
"length": 26.0,
"n1": 4.0,
"n2": 10.0,
"n_1": 11.0,
"n_2": 15.0,
"time": 16.498537995582954,
"vocabulary": 14.0,
"volume": 98.99122797349771
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 104
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/command-autocomplete.tsx:anonymous_function_105:105",
"entity_name": "anonymous_function_105",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/command-autocomplete.tsx",
"issues": [],
"line_number": 106,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.010293634714211216,
"calculated_length": 13.60964047443681,
"difficulty": 1.2,
"effort": 37.05708497116037,
"length": 11.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 2.058726942842243,
"vocabulary": 7.0,
"volume": 30.880904142633646
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 106
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/command-autocomplete.tsx:anonymous_function_108:108",
"entity_name": "anonymous_function_108",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/command-autocomplete.tsx",
"issues": [],
"line_number": 109,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.34145665846169915,
"calculated_length": 294.0485799427097,
"difficulty": 3.735294117647059,
"effort": 3826.323143350217,
"length": 178.0,
"n1": 3.0,
"n2": 51.0,
"n_1": 51.0,
"n_2": 127.0,
"time": 212.57350796390094,
"vocabulary": 54.0,
"volume": 1024.3699753850974
},
"lines_of_code": 55.0,
"maintainability_index": 69.80567056818833,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 13.0
},
"recommendations": [],
"severity": "Low",
"start_line": 109
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/connection-status.tsx:anonymous_function_7:7",
"entity_name": "anonymous_function_7",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/connection-status.tsx",
"issues": [],
"line_number": 8,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.11433960003879162,
"calculated_length": 151.96160537041902,
"difficulty": 2.45,
"effort": 840.3960602851184,
"length": 68.0,
"n1": 3.0,
"n2": 30.0,
"n_1": 19.0,
"n_2": 49.0,
"time": 46.68867001583991,
"vocabulary": 33.0,
"volume": 343.01880011637485
},
"lines_of_code": 29.0,
"maintainability_index": 85.8633242204254,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 7.8
},
"recommendations": [],
"severity": "Low",
"start_line": 8
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/dictation-controls.tsx:formatDuration:23",
"entity_name": "formatDuration",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/dictation-controls.tsx",
"issues": [],
"line_number": 24,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04297579655169371,
"calculated_length": 46.05374780501027,
"difficulty": 3.6363636363636362,
"effort": 468.82687147302227,
"length": 33.0,
"n1": 4.0,
"n2": 11.0,
"n_1": 13.0,
"n_2": 20.0,
"time": 26.045937304056793,
"vocabulary": 15.0,
"volume": 128.92738965508113
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 24
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/dictation-controls.tsx:anonymous_function_274:274",
"entity_name": "anonymous_function_274",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/dictation-controls.tsx",
"issues": [],
"line_number": 275,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.3015879750389424,
"calculated_length": 251.8882768369988,
"difficulty": 4.166666666666666,
"effort": 3769.84968798678,
"length": 162.0,
"n1": 3.0,
"n2": 45.0,
"n_1": 37.0,
"n_2": 125.0,
"time": 209.4360937770433,
"vocabulary": 48.0,
"volume": 904.7639251168273
},
"lines_of_code": 63.0,
"maintainability_index": 68.25131235453527,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 14.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 275
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/dictation-controls.tsx:anonymous_function_342:342",
"entity_name": "anonymous_function_342",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/dictation-controls.tsx",
"issues": [],
"line_number": 343,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.2812216927616272,
"calculated_length": 279.87566986380864,
"difficulty": 3.7653061224489797,
"effort": 3176.6572845624623,
"length": 148.0,
"n1": 3.0,
"n2": 49.0,
"n_1": 25.0,
"n_2": 123.0,
"time": 176.48096025347013,
"vocabulary": 52.0,
"volume": 843.6650782848816
},
"lines_of_code": 65.0,
"maintainability_index": 68.10859716404447,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 15.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 343
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/dictation-status-notice.tsx:anonymous_function_34:34",
"entity_name": "anonymous_function_34",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/dictation-status-notice.tsx",
"issues": [],
"line_number": 35,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 36,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 36,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029333333333333333,
"calculated_length": 48.18080946738404,
"difficulty": 3.8888888888888893,
"effort": 342.2222222222223,
"length": 22.0,
"n1": 7.0,
"n2": 9.0,
"n_1": 12.0,
"n_2": 10.0,
"time": 19.01234567901235,
"vocabulary": 16.0,
"volume": 88.0
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 35
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/dictation-status-notice.tsx:anonymous_function_41:41",
"entity_name": "anonymous_function_41",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/dictation-status-notice.tsx",
"issues": [],
"line_number": 42,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05722447977750475,
"calculated_length": 54.62919048309068,
"difficulty": 4.583333333333333,
"effort": 786.8365969406902,
"length": 42.0,
"n1": 5.0,
"n2": 12.0,
"n_1": 20.0,
"n_2": 22.0,
"time": 43.713144274482794,
"vocabulary": 17.0,
"volume": 171.67343933251425
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 42
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/dictation-status-notice.tsx:anonymous_function_122:122",
"entity_name": "anonymous_function_122",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/dictation-status-notice.tsx",
"issues": [],
"line_number": 123,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.2186636463934827,
"calculated_length": 184.27979309523727,
"difficulty": 3.9857142857142858,
"effort": 2614.5924575906433,
"length": 125.0,
"n1": 3.0,
"n2": 35.0,
"n_1": 32.0,
"n_2": 93.0,
"time": 145.2551365328135,
"vocabulary": 38.0,
"volume": 655.9909391804481
},
"lines_of_code": 45.0,
"maintainability_index": 75.37410338727723,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 11.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 123
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/diff-viewer.tsx:anonymous_function_88:88",
"entity_name": "anonymous_function_88",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/diff-viewer.tsx",
"issues": [],
"line_number": 89,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.24197312175240013,
"calculated_length": 304.42286534333675,
"difficulty": 3.6153846153846154,
"effort": 2624.4777051606475,
"length": 125.0,
"n1": 4.0,
"n2": 52.0,
"n_1": 31.0,
"n_2": 94.0,
"time": 145.8043169533693,
"vocabulary": 56.0,
"volume": 725.9193652572004
},
"lines_of_code": 60.0,
"maintainability_index": 70.18693559611077,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 14.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 89
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/download-toast.tsx:anonymous_function_10:10",
"entity_name": "anonymous_function_10",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/download-toast.tsx",
"issues": [],
"line_number": 11,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 11
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/download-toast.tsx:anonymous_function_11:11",
"entity_name": "anonymous_function_11",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/download-toast.tsx",
"issues": [],
"line_number": 12,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 12
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/download-toast.tsx:anonymous_function_12:12",
"entity_name": "anonymous_function_12",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/download-toast.tsx",
"issues": [],
"line_number": 13,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 13
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/download-toast.tsx:anonymous_function_17:17",
"entity_name": "anonymous_function_17",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/download-toast.tsx",
"issues": [],
"line_number": 18,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 19,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 24,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 24,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 31,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07363074356635547,
"calculated_length": 62.05374780501027,
"difficulty": 8.727272727272727,
"effort": 1927.786740646398,
"length": 52.0,
"n1": 8.0,
"n2": 11.0,
"n_1": 28.0,
"n_2": 24.0,
"time": 107.09926336924433,
"vocabulary": 19.0,
"volume": 220.89223069906643
},
"lines_of_code": 17.0,
"maintainability_index": 95.88403414512638,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 17.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 18
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/download-toast.tsx:anonymous_function_24:24",
"entity_name": "anonymous_function_24",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/download-toast.tsx",
"issues": [],
"line_number": 25,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 25
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/download-toast.tsx:anonymous_function_29:29",
"entity_name": "anonymous_function_29",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/download-toast.tsx",
"issues": [],
"line_number": 30,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 31,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.011,
"calculated_length": 16.36452797660028,
"difficulty": 4.166666666666667,
"effort": 137.5,
"length": 11.0,
"n1": 5.0,
"n2": 3.0,
"n_1": 6.0,
"n_2": 5.0,
"time": 7.638888888888889,
"vocabulary": 8.0,
"volume": 33.0
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 30
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/download-toast.tsx:anonymous_function_88:88",
"entity_name": "anonymous_function_88",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/download-toast.tsx",
"issues": [],
"line_number": 89,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.34327496534262186,
"calculated_length": 373.9150587461497,
"difficulty": 3.0483870967741935,
"effort": 3139.304924988171,
"length": 171.0,
"n1": 3.0,
"n2": 62.0,
"n_1": 45.0,
"n_2": 126.0,
"time": 174.4058291660095,
"vocabulary": 65.0,
"volume": 1029.8248960278656
},
"lines_of_code": 52.0,
"maintainability_index": 70.68670263182315,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 12.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 89
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/empty-state.tsx:anonymous_function_36:36",
"entity_name": "anonymous_function_36",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/empty-state.tsx",
"issues": [],
"line_number": 37,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.3044201600191369,
"calculated_length": 272.833087536779,
"difficulty": 3.625,
"effort": 3310.569240208114,
"length": 161.0,
"n1": 3.0,
"n2": 48.0,
"n_1": 45.0,
"n_2": 116.0,
"time": 183.92051334489523,
"vocabulary": 51.0,
"volume": 913.2604800574107
},
"lines_of_code": 50.0,
"maintainability_index": 71.94671737796965,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 12.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 37
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx:anonymous_function_33:33",
"entity_name": "anonymous_function_33",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx",
"issues": [],
"line_number": 34,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx:anonymous_function_34:34",
"entity_name": "anonymous_function_34",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx",
"issues": [],
"line_number": 35,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 8.0,
"length": 6.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 12.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 35
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx:anonymous_function_35:35",
"entity_name": "anonymous_function_35",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx",
"issues": [],
"line_number": 36,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 36
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx:anonymous_function_36:36",
"entity_name": "anonymous_function_36",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx",
"issues": [],
"line_number": 37,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 37
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx:anonymous_function_37:37",
"entity_name": "anonymous_function_37",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx",
"issues": [],
"line_number": 38,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 38
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx:anonymous_function_38:38",
"entity_name": "anonymous_function_38",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx",
"issues": [],
"line_number": 39,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 39
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx:anonymous_function_39:39",
"entity_name": "anonymous_function_39",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx",
"issues": [],
"line_number": 40,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 40
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx:anonymous_function_40:40",
"entity_name": "anonymous_function_40",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx",
"issues": [],
"line_number": 41,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 41
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx:anonymous_function_41:41",
"entity_name": "anonymous_function_41",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx",
"issues": [],
"line_number": 42,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 42
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx:anonymous_function_60:60",
"entity_name": "anonymous_function_60",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx",
"issues": [],
"line_number": 61,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 1.0,
"effort": 4.754887502163468,
"length": 3.0,
"n1": 2.0,
"n2": 1.0,
"n_1": 2.0,
"n_2": 1.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 61
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx:anonymous_function_65:65",
"entity_name": "anonymous_function_65",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx",
"issues": [],
"line_number": 66,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 66
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx:anonymous_function_73:73",
"entity_name": "anonymous_function_73",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx",
"issues": [],
"line_number": 74,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 18,
"kind": "LogicalAnd",
"line": 77,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 96,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 97,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.24704723314106916,
"calculated_length": 241.40644880847532,
"difficulty": 7.5375000000000005,
"effort": 5586.3555594024265,
"length": 132.0,
"n1": 9.0,
"n2": 40.0,
"n_1": 65.0,
"n_2": 67.0,
"time": 310.35308663346814,
"vocabulary": 49.0,
"volume": 741.1416994232075
},
"lines_of_code": 32.0,
"maintainability_index": 79.5724808362519,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 16.8
},
"recommendations": [],
"severity": "Low",
"start_line": 74
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx:anonymous_function_82:82",
"entity_name": "anonymous_function_82",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx",
"issues": [],
"line_number": 83,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 83
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx:anonymous_function_85:85",
"entity_name": "anonymous_function_85",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx",
"issues": [],
"line_number": 86,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.059768925020673144,
"calculated_length": 59.715356810271004,
"difficulty": 5.0,
"effort": 896.5338753100971,
"length": 43.0,
"n1": 5.0,
"n2": 13.0,
"n_1": 17.0,
"n_2": 26.0,
"time": 49.80743751722761,
"vocabulary": 18.0,
"volume": 179.30677506201943
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 86
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx:anonymous_function_92:92",
"entity_name": "anonymous_function_92",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx",
"issues": [],
"line_number": 93,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 13,
"kind": "LogicalOr",
"line": 96,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 97,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05351317942364757,
"calculated_length": 77.30296890880646,
"difficulty": 4.857142857142857,
"effort": 779.7634716017217,
"length": 36.0,
"n1": 8.0,
"n2": 14.0,
"n_1": 19.0,
"n_2": 17.0,
"time": 43.32019286676231,
"vocabulary": 22.0,
"volume": 160.5395382709427
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 9.6
},
"recommendations": [],
"severity": "Low",
"start_line": 93
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx:anonymous_function_103:103",
"entity_name": "anonymous_function_103",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx",
"issues": [],
"line_number": 104,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 104
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx:anonymous_function_122:122",
"entity_name": "anonymous_function_122",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx",
"issues": [],
"line_number": 123,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1309714333698719,
"calculated_length": 162.7164928725825,
"difficulty": 4.3,
"effort": 1689.5314904713475,
"length": 76.0,
"n1": 6.0,
"n2": 30.0,
"n_1": 33.0,
"n_2": 43.0,
"time": 93.86286058174153,
"vocabulary": 36.0,
"volume": 392.91430010961574
},
"lines_of_code": 19.0,
"maintainability_index": 92.00741262200857,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 123
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx:anonymous_function_126:126",
"entity_name": "anonymous_function_126",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx",
"issues": [],
"line_number": 127,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 64.8,
"length": 12.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 6.0,
"n_2": 6.0,
"time": 3.5999999999999996,
"vocabulary": 8.0,
"volume": 36.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 127
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx:anonymous_function_130:130",
"entity_name": "anonymous_function_130",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx",
"issues": [],
"line_number": 131,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03752932501298081,
"calculated_length": 59.715356810271004,
"difficulty": 3.269230769230769,
"effort": 368.0760722426964,
"length": 27.0,
"n1": 5.0,
"n2": 13.0,
"n_1": 10.0,
"n_2": 17.0,
"time": 20.4486706801498,
"vocabulary": 18.0,
"volume": 112.58797503894243
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 131
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx:anonymous_function_139:139",
"entity_name": "anonymous_function_139",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx",
"issues": [],
"line_number": 140,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.5,
"effort": 33.68825906469125,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 1.871569948038403,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 140
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx:anonymous_function_145:145",
"entity_name": "anonymous_function_145",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx",
"issues": [],
"line_number": 146,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 15.509775004326936,
"length": 6.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.861654166907052,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 146
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx:anonymous_function_149:149",
"entity_name": "anonymous_function_149",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx",
"issues": [],
"line_number": 150,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 20,
"kind": "ConditionalExpression",
"line": 152,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01614401422030739,
"calculated_length": 27.651484454403228,
"difficulty": 2.5714285714285716,
"effort": 124.53953827094271,
"length": 14.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 5.0,
"n_2": 9.0,
"time": 6.9188632372745955,
"vocabulary": 11.0,
"volume": 48.432042660922164
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 150
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx:anonymous_function_154:154",
"entity_name": "anonymous_function_154",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx",
"issues": [],
"line_number": 155,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 155
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx:anonymous_function_227:227",
"entity_name": "anonymous_function_227",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx",
"issues": [],
"line_number": 228,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.754887502163468,
"difficulty": 0.5,
"effort": 4.0,
"length": 4.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.2222222222222222,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 228
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx:anonymous_function_228:228",
"entity_name": "anonymous_function_228",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx",
"issues": [],
"line_number": 229,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 0.0,
"difficulty": 0.5,
"effort": 1.0,
"length": 2.0,
"n1": 1.0,
"n2": 1.0,
"n_1": 1.0,
"n_2": 1.0,
"time": 0.05555555555555555,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 229
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx:anonymous_function_332:332",
"entity_name": "anonymous_function_332",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/explorer-sidebar.tsx",
"issues": [],
"line_number": 333,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.4735003004876227,
"calculated_length": 467.4995490565423,
"difficulty": 4.783783783783784,
"effort": 6795.369177268316,
"length": 226.0,
"n1": 4.0,
"n2": 74.0,
"n_1": 49.0,
"n_2": 177.0,
"time": 377.5205098482398,
"vocabulary": 78.0,
"volume": 1420.5009014628681
},
"lines_of_code": 93.0,
"maintainability_index": 59.59631106421858,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 20.6
},
"recommendations": [],
"severity": "Low",
"start_line": 333
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-drop-zone.tsx:FileDropZone:20",
"entity_name": "FileDropZone",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-drop-zone.tsx",
"issues": [],
"line_number": 21,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 39,
"kind": "ConditionalExpression",
"line": 35,
"nesting_level": 0
},
{
"column": 20,
"kind": "ConditionalExpression",
"line": 40,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 44,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2548493193215926,
"calculated_length": 436.9837596826682,
"difficulty": 7.0,
"effort": 5351.835705753445,
"length": 122.0,
"n1": 11.0,
"n2": 66.0,
"n_1": 38.0,
"n_2": 84.0,
"time": 297.3242058751914,
"vocabulary": 77.0,
"volume": 764.5479579647779
},
"lines_of_code": 47.0,
"maintainability_index": 73.18332812862464,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 19.8
},
"recommendations": [],
"severity": "Low",
"start_line": 21
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-drop-zone.tsx:anonymous_function_33:33",
"entity_name": "anonymous_function_33",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-drop-zone.tsx",
"issues": [],
"line_number": 34,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 39,
"kind": "ConditionalExpression",
"line": 35,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.016035238778611398,
"calculated_length": 35.60964047443681,
"difficulty": 2.5,
"effort": 120.26429083958548,
"length": 13.0,
"n1": 5.0,
"n2": 8.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 6.681349491088082,
"vocabulary": 13.0,
"volume": 48.105716335834195
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-drop-zone.tsx:anonymous_function_37:37",
"entity_name": "anonymous_function_37",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-drop-zone.tsx",
"issues": [],
"line_number": 38,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 20,
"kind": "ConditionalExpression",
"line": 40,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01614401422030739,
"calculated_length": 27.651484454403228,
"difficulty": 2.5714285714285716,
"effort": 124.53953827094271,
"length": 14.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 5.0,
"n_2": 9.0,
"time": 6.9188632372745955,
"vocabulary": 11.0,
"volume": 48.432042660922164
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 38
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-drop-zone.tsx:anonymous_function_69:69",
"entity_name": "anonymous_function_69",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-drop-zone.tsx",
"issues": [],
"line_number": 70,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.09666179398375645,
"calculated_length": 158.3349731241566,
"difficulty": 2.129032258064516,
"effort": 617.3882325414121,
"length": 57.0,
"n1": 3.0,
"n2": 31.0,
"n_1": 13.0,
"n_2": 44.0,
"time": 34.29934625230067,
"vocabulary": 34.0,
"volume": 289.98538195126935
},
"lines_of_code": 25.0,
"maintainability_index": 89.14109296097881,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 70
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_70:70",
"entity_name": "anonymous_function_70",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 71,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "ConditionalExpression",
"line": 72,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 72,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.025094737505048093,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 322.646625064904,
"length": 21.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 9.0,
"n_2": 12.0,
"time": 17.92481250360578,
"vocabulary": 12.0,
"volume": 75.28421251514428
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 8.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 71
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_76:76",
"entity_name": "anonymous_function_76",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 77,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "ConditionalExpression",
"line": 78,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 78,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02306287745758198,
"calculated_length": 27.11941547876375,
"difficulty": 4.583333333333333,
"effort": 317.1145650417522,
"length": 20.0,
"n1": 5.0,
"n2": 6.0,
"n_1": 9.0,
"n_2": 11.0,
"time": 17.6174758356529,
"vocabulary": 11.0,
"volume": 69.18863237274594
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 8.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 77
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_82:82",
"entity_name": "anonymous_function_82",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 83,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 25.84962500721156,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.43609027817842,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 83
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_87:87",
"entity_name": "anonymous_function_87",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 88,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 88
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_88:88",
"entity_name": "anonymous_function_88",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 89,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 89
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_89:89",
"entity_name": "anonymous_function_89",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 90,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 90
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_112:112",
"entity_name": "anonymous_function_112",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 113,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 117,
"nesting_level": 0
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 118,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.12103663469167679,
"calculated_length": 118.76437056043838,
"difficulty": 11.0,
"effort": 3994.208944825334,
"length": 74.0,
"n1": 11.0,
"n2": 19.0,
"n_1": 36.0,
"n_2": 38.0,
"time": 221.90049693474077,
"vocabulary": 30.0,
"volume": 363.1099040750304
},
"lines_of_code": 19.0,
"maintainability_index": 91.9576196541693,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 12.2
},
"recommendations": [],
"severity": "Low",
"start_line": 113
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_114:114",
"entity_name": "anonymous_function_114",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 115,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 117,
"nesting_level": 0
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 118,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10184286055972365,
"calculated_length": 97.21928094887363,
"difficulty": 10.3125,
"effort": 3150.7634985664504,
"length": 65.0,
"n1": 10.0,
"n2": 16.0,
"n_1": 32.0,
"n_2": 33.0,
"time": 175.04241658702503,
"vocabulary": 26.0,
"volume": 305.52858167917094
},
"lines_of_code": 15.0,
"maintainability_index": 96.68496141945306,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 7.0,
"technical_debt_score": 11.399999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 115
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_151:151",
"entity_name": "anonymous_function_151",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 152,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 2.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 2.0,
"n1": 0.0,
"n2": 2.0,
"n_1": 0.0,
"n_2": 2.0,
"time": 0.0,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 152
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_166:166",
"entity_name": "anonymous_function_166",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 167,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 167
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_175:175",
"entity_name": "anonymous_function_175",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 176,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 176
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_179:179",
"entity_name": "anonymous_function_179",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 180,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 180
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_183:183",
"entity_name": "anonymous_function_183",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 184,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 184
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_187:187",
"entity_name": "anonymous_function_187",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 188,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.5,
"effort": 33.68825906469125,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 1.871569948038403,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 188
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_192:192",
"entity_name": "anonymous_function_192",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 193,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 197,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 197,
"nesting_level": 1
},
{
"column": 5,
"kind": "While",
"line": 201,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 202,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 207,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 207,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 216,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.2049051657147387,
"calculated_length": 159.11595475302198,
"difficulty": 14.16,
"effort": 8704.371439562101,
"length": 118.0,
"n1": 12.0,
"n2": 25.0,
"n_1": 59.0,
"n_2": 59.0,
"time": 483.5761910867834,
"vocabulary": 37.0,
"volume": 614.7154971442161
},
"lines_of_code": 34.0,
"maintainability_index": 78.64292981780957,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 19.0,
"technical_debt_score": 33.2
},
"recommendations": [],
"severity": "Low",
"start_line": 193
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_211:211",
"entity_name": "anonymous_function_211",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 212,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 8.0,
"difficulty": 0.625,
"effort": 8.707230355827608,
"length": 6.0,
"n1": 1.0,
"n2": 4.0,
"n_1": 1.0,
"n_2": 5.0,
"time": 0.48373501976820044,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 212
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_214:214",
"entity_name": "anonymous_function_214",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 215,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 216,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04496209125375373,
"calculated_length": 52.529325012980806,
"difficulty": 7.111111111111111,
"effort": 959.1912800800794,
"length": 33.0,
"n1": 8.0,
"n2": 9.0,
"n_1": 17.0,
"n_2": 16.0,
"time": 53.2884044488933,
"vocabulary": 17.0,
"volume": 134.88627376126118
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 7.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 215
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_217:217",
"entity_name": "anonymous_function_217",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 218,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009357849740192013,
"calculated_length": 12.754887502163468,
"difficulty": 4.0,
"effort": 112.29419688230416,
"length": 10.0,
"n1": 4.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 6.2385664934613425,
"vocabulary": 7.0,
"volume": 28.07354922057604
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 218
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_230:230",
"entity_name": "anonymous_function_230",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 231,
"metrics": {
"cognitive_complexity": 14.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 235,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 235,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 239,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 243,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 246,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 250,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 265,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 279,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 280,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.3253364845076519,
"calculated_length": 193.21928094887363,
"difficulty": 13.90625,
"effort": 13572.631463053604,
"length": 181.0,
"n1": 10.0,
"n2": 32.0,
"n_1": 92.0,
"n_2": 89.0,
"time": 754.0350812807558,
"vocabulary": 42.0,
"volume": 976.0094535229557
},
"lines_of_code": 55.0,
"maintainability_index": 67.98714658299929,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 32.0,
"technical_debt_score": 42.2
},
"recommendations": [],
"severity": "Moderate",
"start_line": 231
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_251:251",
"entity_name": "anonymous_function_251",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 252,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017297158093186486,
"calculated_length": 27.11941547876375,
"difficulty": 5.4,
"effort": 280.2139611096211,
"length": 15.0,
"n1": 6.0,
"n2": 5.0,
"n_1": 6.0,
"n_2": 9.0,
"time": 15.56744228386784,
"vocabulary": 11.0,
"volume": 51.89147427955946
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 252
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_253:253",
"entity_name": "anonymous_function_253",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 254,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.0,
"difficulty": 1.5,
"effort": 15.0,
"length": 5.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.8333333333333334,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 254
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_260:260",
"entity_name": "anonymous_function_260",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 261,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 8.0,
"difficulty": 0.625,
"effort": 8.707230355827608,
"length": 6.0,
"n1": 1.0,
"n2": 4.0,
"n_1": 1.0,
"n_2": 5.0,
"time": 0.48373501976820044,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 261
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_263:263",
"entity_name": "anonymous_function_263",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 264,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 265,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04496209125375373,
"calculated_length": 52.529325012980806,
"difficulty": 7.111111111111111,
"effort": 959.1912800800794,
"length": 33.0,
"n1": 8.0,
"n2": 9.0,
"n_1": 17.0,
"n_2": 16.0,
"time": 53.2884044488933,
"vocabulary": 17.0,
"volume": 134.88627376126118
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 7.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 264
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_266:266",
"entity_name": "anonymous_function_266",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 267,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009357849740192013,
"calculated_length": 12.754887502163468,
"difficulty": 4.0,
"effort": 112.29419688230416,
"length": 10.0,
"n1": 4.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 6.2385664934613425,
"vocabulary": 7.0,
"volume": 28.07354922057604
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 267
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_290:290",
"entity_name": "anonymous_function_290",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 291,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 294,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 300,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 300,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07371277547154993,
"calculated_length": 109.23994776840892,
"difficulty": 5.921052631578948,
"effort": 1309.3716695604264,
"length": 46.0,
"n1": 9.0,
"n2": 19.0,
"n_1": 21.0,
"n_2": 25.0,
"time": 72.7428705311348,
"vocabulary": 28.0,
"volume": 221.13832641464978
},
"lines_of_code": 14.0,
"maintainability_index": 99.2535714913366,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 14.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 291
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_297:297",
"entity_name": "anonymous_function_297",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 298,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 300,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 300,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03823134762099227,
"calculated_length": 61.74860596185444,
"difficulty": 6.3,
"effort": 722.5724700367538,
"length": 27.0,
"n1": 9.0,
"n2": 10.0,
"n_1": 13.0,
"n_2": 14.0,
"time": 40.142915002041875,
"vocabulary": 19.0,
"volume": 114.6940428629768
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 9.6
},
"recommendations": [],
"severity": "Low",
"start_line": 298
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_308:308",
"entity_name": "anonymous_function_308",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 309,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 309
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_312:312",
"entity_name": "anonymous_function_312",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 313,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 314,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 318,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.059470985188210194,
"calculated_length": 61.74860596185444,
"difficulty": 9.450000000000001,
"effort": 1686.0024300857592,
"length": 42.0,
"n1": 9.0,
"n2": 10.0,
"n_1": 21.0,
"n_2": 21.0,
"time": 93.66680167143107,
"vocabulary": 19.0,
"volume": 178.41295556463058
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 10.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 313
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_327:327",
"entity_name": "anonymous_function_327",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 328,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 19.60964047443681,
"difficulty": 2.4,
"effort": 83.68602003807705,
"length": 11.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 4.649223335448725,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 328
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_332:332",
"entity_name": "anonymous_function_332",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 333,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 8.0,
"length": 4.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 2.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 333
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_337:337",
"entity_name": "anonymous_function_337",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 338,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 339,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 342,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.029189721069108297,
"calculated_length": 39.50977500432694,
"difficulty": 5.333333333333333,
"effort": 467.0355371057327,
"length": 23.0,
"n1": 8.0,
"n2": 6.0,
"n_1": 15.0,
"n_2": 8.0,
"time": 25.946418728096262,
"vocabulary": 14.0,
"volume": 87.56916320732489
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 338
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_348:348",
"entity_name": "anonymous_function_348",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 349,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 350,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.026045937304056792,
"calculated_length": 43.65148445440323,
"difficulty": 4.375,
"effort": 341.8529271157454,
"length": 20.0,
"n1": 7.0,
"n2": 8.0,
"n_1": 10.0,
"n_2": 10.0,
"time": 18.991829284208077,
"vocabulary": 15.0,
"volume": 78.13781191217038
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 349
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_357:357",
"entity_name": "anonymous_function_357",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 358,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.024669598120940616,
"calculated_length": 35.60964047443681,
"difficulty": 3.4375,
"effort": 254.4052306222001,
"length": 20.0,
"n1": 5.0,
"n2": 8.0,
"n_1": 9.0,
"n_2": 11.0,
"time": 14.133623923455561,
"vocabulary": 13.0,
"volume": 74.00879436282185
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 358
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_364:364",
"entity_name": "anonymous_function_364",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 365,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 366,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 366,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 370,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03255742163007099,
"calculated_length": 44.039100017307746,
"difficulty": 7.5,
"effort": 732.5419866765973,
"length": 25.0,
"n1": 9.0,
"n2": 6.0,
"n_1": 15.0,
"n_2": 10.0,
"time": 40.69677703758874,
"vocabulary": 15.0,
"volume": 97.67226489021297
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 13.4
},
"recommendations": [],
"severity": "Low",
"start_line": 365
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_378:378",
"entity_name": "anonymous_function_378",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 379,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 380,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 380,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 384,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06194763602671887,
"calculated_length": 67.01955000865388,
"difficulty": 7.0,
"effort": 1300.9003565610963,
"length": 43.0,
"n1": 8.0,
"n2": 12.0,
"n_1": 22.0,
"n_2": 21.0,
"time": 72.27224203117201,
"vocabulary": 20.0,
"volume": 185.8429080801566
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 13.8
},
"recommendations": [],
"severity": "Low",
"start_line": 379
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_395:395",
"entity_name": "anonymous_function_395",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 396,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 2.6666666666666665,
"effort": 59.89023833722889,
"length": 8.0,
"n1": 4.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 3.327235463179383,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 396
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_399:399",
"entity_name": "anonymous_function_399",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 400,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 13,
"kind": "ConditionalExpression",
"line": 404,
"nesting_level": 0
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 405,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05417191488093805,
"calculated_length": 74.11313393845472,
"difficulty": 4.3999999999999995,
"effort": 715.0692764283822,
"length": 37.0,
"n1": 6.0,
"n2": 15.0,
"n_1": 15.0,
"n_2": 22.0,
"time": 39.7260709126879,
"vocabulary": 21.0,
"volume": 162.51574464281416
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 400
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_409:409",
"entity_name": "anonymous_function_409",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 410,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 20.67970000576925,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 1.1488722225427361,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 410
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_414:414",
"entity_name": "anonymous_function_414",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 415,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 33,
"kind": "ConditionalExpression",
"line": 417,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.024113247839698163,
"calculated_length": 39.50977500432694,
"difficulty": 4.5,
"effort": 325.52884583592515,
"length": 19.0,
"n1": 6.0,
"n2": 8.0,
"n_1": 7.0,
"n_2": 12.0,
"time": 18.08493587977362,
"vocabulary": 14.0,
"volume": 72.33974351909448
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 415
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_416:416",
"entity_name": "anonymous_function_416",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 417,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 33,
"kind": "ConditionalExpression",
"line": 417,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.006191808253032966,
"calculated_length": 6.754887502163468,
"difficulty": 3.75,
"effort": 69.65784284662087,
"length": 8.0,
"n1": 3.0,
"n2": 2.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 3.8698801581456035,
"vocabulary": 5.0,
"volume": 18.575424759098897
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 417
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_420:420",
"entity_name": "anonymous_function_420",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 421,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 422,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 422,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 422,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.046080793392585404,
"calculated_length": 77.30296890880646,
"difficulty": 5.142857142857143,
"effort": 710.9608123427463,
"length": 31.0,
"n1": 8.0,
"n2": 14.0,
"n_1": 13.0,
"n_2": 18.0,
"time": 39.49782290793035,
"vocabulary": 22.0,
"volume": 138.24238017775622
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 14.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 421
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_437:437",
"entity_name": "anonymous_function_437",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 438,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 439,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.13619864122267825,
"calculated_length": 140.0964047443681,
"difficulty": 8.16,
"effort": 3334.1427371311634,
"length": 81.0,
"n1": 8.0,
"n2": 25.0,
"n_1": 30.0,
"n_2": 51.0,
"time": 185.23015206284242,
"vocabulary": 33.0,
"volume": 408.59592366803474
},
"lines_of_code": 15.0,
"maintainability_index": 95.40340787096955,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 7.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 438
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_455:455",
"entity_name": "anonymous_function_455",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 456,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.034666666666666665,
"calculated_length": 51.01955000865387,
"difficulty": 2.6666666666666665,
"effort": 277.3333333333333,
"length": 26.0,
"n1": 4.0,
"n2": 12.0,
"n_1": 10.0,
"n_2": 16.0,
"time": 15.407407407407407,
"vocabulary": 16.0,
"volume": 104.0
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 456
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_463:463",
"entity_name": "anonymous_function_463",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 464,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01328771237954945,
"calculated_length": 24.406371956566694,
"difficulty": 1.7142857142857142,
"effort": 68.33680652339716,
"length": 12.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 4.0,
"n_2": 8.0,
"time": 3.796489251299842,
"vocabulary": 10.0,
"volume": 39.86313713864835
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 464
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_468:468",
"entity_name": "anonymous_function_468",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 469,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 8.0,
"length": 4.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 2.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 469
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_472:472",
"entity_name": "anonymous_function_472",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 473,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 474,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.012180403014586996,
"calculated_length": 23.509775004326936,
"difficulty": 3.75,
"effort": 137.0295339141037,
"length": 11.0,
"n1": 6.0,
"n2": 4.0,
"n_1": 6.0,
"n_2": 5.0,
"time": 7.6127518841168715,
"vocabulary": 10.0,
"volume": 36.541209043760986
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 473
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_490:490",
"entity_name": "anonymous_function_490",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 491,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 19.60964047443681,
"difficulty": 2.0,
"effort": 69.73835003173087,
"length": 11.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 6.0,
"n_2": 5.0,
"time": 3.874352779540604,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 491
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_496:496",
"entity_name": "anonymous_function_496",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 497,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 498,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 498,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.014395021744511903,
"calculated_length": 24.406371956566694,
"difficulty": 5.833333333333334,
"effort": 251.91288052895834,
"length": 13.0,
"n1": 7.0,
"n2": 3.0,
"n_1": 8.0,
"n_2": 5.0,
"time": 13.995160029386575,
"vocabulary": 10.0,
"volume": 43.18506523353571
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 497
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_503:503",
"entity_name": "anonymous_function_503",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 504,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 505,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 505,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04389525097225038,
"calculated_length": 61.74860596185444,
"difficulty": 6.75,
"effort": 888.8788321880702,
"length": 31.0,
"n1": 9.0,
"n2": 10.0,
"n_1": 16.0,
"n_2": 15.0,
"time": 49.38215734378168,
"vocabulary": 19.0,
"volume": 131.68575291675114
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 10.0
},
"recommendations": [],
"severity": "Low",
"start_line": 504
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_513:513",
"entity_name": "anonymous_function_513",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 514,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 515,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 520,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 525,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 527,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 532,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08594767716508325,
"calculated_length": 81.83229392178727,
"difficulty": 8.357142857142858,
"effort": 2154.8310489245873,
"length": 57.0,
"n1": 9.0,
"n2": 14.0,
"n_1": 31.0,
"n_2": 26.0,
"time": 119.71283605136597,
"vocabulary": 23.0,
"volume": 257.84303149524976
},
"lines_of_code": 23.0,
"maintainability_index": 89.95276852945065,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 13.0,
"technical_debt_score": 20.6
},
"recommendations": [],
"severity": "Low",
"start_line": 514
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_538:538",
"entity_name": "anonymous_function_538",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 539,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 540,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 540,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 544,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03125512476486815,
"calculated_length": 43.65148445440323,
"difficulty": 5.142857142857143,
"effort": 482.22192494368,
"length": 24.0,
"n1": 8.0,
"n2": 7.0,
"n_1": 15.0,
"n_2": 9.0,
"time": 26.790106941315557,
"vocabulary": 15.0,
"volume": 93.76537429460444
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 12.8
},
"recommendations": [],
"severity": "Low",
"start_line": 539
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_590:590",
"entity_name": "anonymous_function_590",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 591,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 591
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_620:620",
"entity_name": "anonymous_function_620",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 621,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.037333333333333336,
"calculated_length": 48.72905595320056,
"difficulty": 4.800000000000001,
"effort": 537.6000000000001,
"length": 28.0,
"n1": 6.0,
"n2": 10.0,
"n_1": 12.0,
"n_2": 16.0,
"time": 29.866666666666674,
"vocabulary": 16.0,
"volume": 112.0
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 621
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_621:621",
"entity_name": "anonymous_function_621",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 622,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 622
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_626:626",
"entity_name": "anonymous_function_626",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 627,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 627
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_628:628",
"entity_name": "anonymous_function_628",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 629,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 14,
"kind": "LogicalAnd",
"line": 635,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 655,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 661,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 666,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 694,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.45435591687339805,
"calculated_length": 459.7309446694772,
"difficulty": 13.373134328358208,
"effort": 18228.488127696924,
"length": 215.0,
"n1": 14.0,
"n2": 67.0,
"n_1": 87.0,
"n_2": 128.0,
"time": 1012.6937848720513,
"vocabulary": 81.0,
"volume": 1363.0677506201941
},
"lines_of_code": 74.0,
"maintainability_index": 62.36318117537368,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 26.0,
"technical_debt_score": 30.8
},
"recommendations": [],
"severity": "Low",
"start_line": 629
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_653:653",
"entity_name": "anonymous_function_653",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 654,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 655,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 661,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 666,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.10497648703848438,
"calculated_length": 97.21928094887363,
"difficulty": 10.0,
"effort": 3149.2946111545316,
"length": 67.0,
"n1": 10.0,
"n2": 16.0,
"n_1": 35.0,
"n_2": 32.0,
"time": 174.9608117308073,
"vocabulary": 26.0,
"volume": 314.92946111545314
},
"lines_of_code": 31.0,
"maintainability_index": 84.5371941472738,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 17.0,
"technical_debt_score": 16.6
},
"recommendations": [],
"severity": "Low",
"start_line": 654
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_673:673",
"entity_name": "anonymous_function_673",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 674,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.013736341672916685,
"calculated_length": 19.60964047443681,
"difficulty": 5.0,
"effort": 206.04512509375027,
"length": 13.0,
"n1": 5.0,
"n2": 4.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 11.446951394097237,
"vocabulary": 9.0,
"volume": 41.209025018750054
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 674
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_681:681",
"entity_name": "anonymous_function_681",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 682,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 1.0,
"effort": 4.754887502163468,
"length": 3.0,
"n1": 2.0,
"n2": 1.0,
"n_1": 2.0,
"n_2": 1.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 682
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_687:687",
"entity_name": "anonymous_function_687",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 688,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01584962500721156,
"calculated_length": 19.60964047443681,
"difficulty": 2.4,
"effort": 114.11730005192324,
"length": 15.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 9.0,
"n_2": 6.0,
"time": 6.339850002884624,
"vocabulary": 9.0,
"volume": 47.548875021634686
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 688
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_869:869",
"entity_name": "anonymous_function_869",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 870,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 31.019550008653873,
"length": 8.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 5.0,
"n_2": 3.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 870
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:formatFileSize:950",
"entity_name": "formatFileSize",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 951,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 952,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 955,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04949561398674885,
"calculated_length": 39.302968908806456,
"difficulty": 9.0,
"effort": 1336.3815776422189,
"length": 39.0,
"n1": 7.0,
"n2": 7.0,
"n_1": 21.0,
"n_2": 18.0,
"time": 74.24342098012328,
"vocabulary": 14.0,
"volume": 148.48684196024655
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 951
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:getEntryDisplayKind:1029",
"entity_name": "getEntryDisplayKind",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 1030,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 1031,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 1036,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 1040,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 1044,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07086913731155987,
"calculated_length": 83.65148445440323,
"difficulty": 5.25,
"effort": 1116.188912657068,
"length": 47.0,
"n1": 7.0,
"n2": 16.0,
"n_1": 23.0,
"n_2": 24.0,
"time": 62.01049514761488,
"vocabulary": 23.0,
"volume": 212.60741193467962
},
"lines_of_code": 19.0,
"maintainability_index": 94.2809624288539,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 17.0
},
"recommendations": [],
"severity": "Low",
"start_line": 1030
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx:anonymous_function_1058:1058",
"entity_name": "anonymous_function_1058",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/file-explorer-pane.tsx",
"issues": [],
"line_number": 1059,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 2.276484578164288,
"calculated_length": 900.7548875021635,
"difficulty": 8.34375,
"effort": 56983.25459717483,
"length": 971.0,
"n1": 3.0,
"n2": 128.0,
"n_1": 259.0,
"n_2": 712.0,
"time": 3165.7363665097128,
"vocabulary": 131.0,
"volume": 6829.453734492864
},
"lines_of_code": 318.0,
"maintainability_index": 31.51396775986096,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1059
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_104:104",
"entity_name": "anonymous_function_104",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 105,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 23,
"kind": "ConditionalExpression",
"line": 106,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 107,
"nesting_level": 0
},
{
"column": 20,
"kind": "ConditionalExpression",
"line": 108,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.036139350012500036,
"calculated_length": 57.70523225941349,
"difficulty": 5.409090909090909,
"effort": 586.4430888392052,
"length": 26.0,
"n1": 7.0,
"n2": 11.0,
"n_1": 9.0,
"n_2": 17.0,
"time": 32.58017160217807,
"vocabulary": 18.0,
"volume": 108.41805003750011
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 11.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 105
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_178:178",
"entity_name": "anonymous_function_178",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 179,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 185,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06626956412160623,
"calculated_length": 67.75720079023742,
"difficulty": 7.538461538461538,
"effort": 1498.7116809040178,
"length": 46.0,
"n1": 7.0,
"n2": 13.0,
"n_1": 18.0,
"n_2": 28.0,
"time": 83.26176005022322,
"vocabulary": 20.0,
"volume": 198.80869236481868
},
"lines_of_code": 16.0,
"maintainability_index": 98.10387900904986,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 8.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 179
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_209:209",
"entity_name": "anonymous_function_209",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 210,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 211,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 211,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.054178322214038455,
"calculated_length": 93.48686830125577,
"difficulty": 4.705882352941177,
"effort": 764.8704312570135,
"length": 35.0,
"n1": 8.0,
"n2": 17.0,
"n_1": 15.0,
"n_2": 20.0,
"time": 42.49280173650075,
"vocabulary": 25.0,
"volume": 162.53496664211536
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 10.999999999999998
},
"recommendations": [],
"severity": "Low",
"start_line": 210
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_224:224",
"entity_name": "anonymous_function_224",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 225,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 226,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 226,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 230,
"nesting_level": 0
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 237,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 245,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.11718496669935907,
"calculated_length": 154.1501525493784,
"difficulty": 7.699999999999999,
"effort": 2706.9727307551943,
"length": 68.0,
"n1": 11.0,
"n2": 25.0,
"n_1": 33.0,
"n_2": 35.0,
"time": 150.38737393084412,
"vocabulary": 36.0,
"volume": 351.5549000980772
},
"lines_of_code": 25.0,
"maintainability_index": 86.98990902421319,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 21.799999999999997
},
"recommendations": [],
"severity": "Low",
"start_line": 225
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_233:233",
"entity_name": "anonymous_function_233",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 234,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 16,
"kind": "ConditionalExpression",
"line": 237,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04013488456773568,
"calculated_length": 81.09650877569258,
"difficulty": 2.7941176470588234,
"effort": 336.4247677001373,
"length": 27.0,
"n1": 5.0,
"n2": 17.0,
"n_1": 8.0,
"n_2": 19.0,
"time": 18.69026487222985,
"vocabulary": 22.0,
"volume": 120.40465370320703
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 234
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_245:245",
"entity_name": "anonymous_function_245",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 246,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 0.0,
"difficulty": 0.5,
"effort": 1.0,
"length": 2.0,
"n1": 1.0,
"n2": 1.0,
"n_1": 1.0,
"n_2": 1.0,
"time": 0.05555555555555555,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 246
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_252:252",
"entity_name": "anonymous_function_252",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 253,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 254,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 254,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.027920602761755765,
"calculated_length": 39.50977500432694,
"difficulty": 6.0,
"effort": 502.5708497116037,
"length": 22.0,
"n1": 8.0,
"n2": 6.0,
"n_1": 13.0,
"n_2": 9.0,
"time": 27.920602761755763,
"vocabulary": 14.0,
"volume": 83.76180828526729
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 9.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 253
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_256:256",
"entity_name": "anonymous_function_256",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 257,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 257
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_262:262",
"entity_name": "anonymous_function_262",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 263,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 267,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03752932501298081,
"calculated_length": 58.529325012980806,
"difficulty": 4.0,
"effort": 450.3519001557697,
"length": 27.0,
"n1": 6.0,
"n2": 12.0,
"n_1": 11.0,
"n_2": 16.0,
"time": 25.019550008653873,
"vocabulary": 18.0,
"volume": 112.58797503894243
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 263
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_361:361",
"entity_name": "anonymous_function_361",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 362,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 53.99999999999999,
"length": 10.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 2.9999999999999996,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 362
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_403:403",
"entity_name": "anonymous_function_403",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 404,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 413,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08443982317973091,
"calculated_length": 83.65148445440323,
"difficulty": 7.4375,
"effort": 1884.063554697746,
"length": 56.0,
"n1": 7.0,
"n2": 16.0,
"n_1": 22.0,
"n_2": 34.0,
"time": 104.67019748320811,
"vocabulary": 23.0,
"volume": 253.31946953919274
},
"lines_of_code": 21.0,
"maintainability_index": 92.4385491373003,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 11.0,
"technical_debt_score": 9.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 404
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_427:427",
"entity_name": "anonymous_function_427",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 428,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.016,
"calculated_length": 16.36452797660028,
"difficulty": 1.5,
"effort": 72.0,
"length": 16.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 11.0,
"n_2": 5.0,
"time": 4.0,
"vocabulary": 8.0,
"volume": 48.0
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 428
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_434:434",
"entity_name": "anonymous_function_434",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 435,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 436,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.012,
"calculated_length": 16.36452797660028,
"difficulty": 4.166666666666667,
"effort": 150.0,
"length": 12.0,
"n1": 5.0,
"n2": 3.0,
"n_1": 7.0,
"n_2": 5.0,
"time": 8.333333333333334,
"vocabulary": 8.0,
"volume": 36.0
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 435
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_441:441",
"entity_name": "anonymous_function_441",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 442,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 443,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 449,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 450,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 450,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.06295654972649557,
"calculated_length": 71.54887502163469,
"difficulty": 6.75,
"effort": 1274.8701319615352,
"length": 43.0,
"n1": 9.0,
"n2": 12.0,
"n_1": 25.0,
"n_2": 18.0,
"time": 70.82611844230752,
"vocabulary": 21.0,
"volume": 188.86964917948671
},
"lines_of_code": 16.0,
"maintainability_index": 97.68056583049243,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 17.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 442
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_447:447",
"entity_name": "anonymous_function_447",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 448,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 449,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 450,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 450,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.022704762504567322,
"calculated_length": 31.26112492884004,
"difficulty": 5.6000000000000005,
"effort": 381.440010076731,
"length": 19.0,
"n1": 7.0,
"n2": 5.0,
"n_1": 11.0,
"n_2": 8.0,
"time": 21.1911116709295,
"vocabulary": 12.0,
"volume": 68.11428751370197
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 12.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 448
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_453:453",
"entity_name": "anonymous_function_453",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 454,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 454
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_454:454",
"entity_name": "anonymous_function_454",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 455,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 8.0,
"length": 4.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 2.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 455
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_460:460",
"entity_name": "anonymous_function_460",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 461,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 463,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 464,
"nesting_level": 0
},
{
"column": 9,
"kind": "Catch",
"line": 466,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03398342010754868,
"calculated_length": 61.74860596185444,
"difficulty": 6.666666666666666,
"effort": 679.6684021509735,
"length": 24.0,
"n1": 10.0,
"n2": 9.0,
"n_1": 12.0,
"n_2": 12.0,
"time": 37.75935567505408,
"vocabulary": 19.0,
"volume": 101.95026032264605
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 12.8
},
"recommendations": [],
"severity": "Low",
"start_line": 461
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_472:472",
"entity_name": "anonymous_function_472",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 473,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.013736341672916685,
"calculated_length": 19.60964047443681,
"difficulty": 5.0,
"effort": 206.04512509375027,
"length": 13.0,
"n1": 5.0,
"n2": 4.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 11.446951394097237,
"vocabulary": 9.0,
"volume": 41.209025018750054
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 473
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_473:473",
"entity_name": "anonymous_function_473",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 474,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007754887502163467,
"calculated_length": 9.509775004326936,
"difficulty": 3.0,
"effort": 69.79398751947122,
"length": 9.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 3.877443751081734,
"vocabulary": 6.0,
"volume": 23.264662506490403
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 474
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_480:480",
"entity_name": "anonymous_function_480",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 481,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 482,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 482,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 482,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.01499087034742829,
"calculated_length": 27.11941547876375,
"difficulty": 3.0,
"effort": 134.9178331268546,
"length": 13.0,
"n1": 6.0,
"n2": 5.0,
"n_1": 8.0,
"n_2": 5.0,
"time": 7.495435173714144,
"vocabulary": 11.0,
"volume": 44.97261104228487
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 12.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 481
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_486:486",
"entity_name": "anonymous_function_486",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 487,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 488,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 492,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.09774955008183794,
"calculated_length": 109.23994776840892,
"difficulty": 9.0,
"effort": 2639.2378522096246,
"length": 61.0,
"n1": 9.0,
"n2": 19.0,
"n_1": 23.0,
"n_2": 38.0,
"time": 146.62432512275691,
"vocabulary": 28.0,
"volume": 293.24865024551383
},
"lines_of_code": 20.0,
"maintainability_index": 92.23782856757119,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 11.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 487
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_508:508",
"entity_name": "anonymous_function_508",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 509,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01614401422030739,
"calculated_length": 27.651484454403228,
"difficulty": 2.2857142857142856,
"effort": 110.70181179639351,
"length": 14.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 6.150100655355195,
"vocabulary": 11.0,
"volume": 48.432042660922164
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 509
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_513:513",
"entity_name": "anonymous_function_513",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 514,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 515,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 519,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04531122681006491,
"calculated_length": 61.74860596185444,
"difficulty": 7.2,
"effort": 978.7224990974021,
"length": 32.0,
"n1": 9.0,
"n2": 10.0,
"n_1": 16.0,
"n_2": 16.0,
"time": 54.373472172077896,
"vocabulary": 19.0,
"volume": 135.93368043019473
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 514
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_523:523",
"entity_name": "anonymous_function_523",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 524,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.016906266674359,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 76.07820003461549,
"length": 16.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 10.0,
"n_2": 6.0,
"time": 4.22656666858975,
"vocabulary": 9.0,
"volume": 50.718800023076994
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 524
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_529:529",
"entity_name": "anonymous_function_529",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 530,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 23,
"kind": "ConditionalExpression",
"line": 531,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.022202638308846556,
"calculated_length": 35.60964047443681,
"difficulty": 3.4375,
"effort": 228.9647075599801,
"length": 18.0,
"n1": 5.0,
"n2": 8.0,
"n_1": 7.0,
"n_2": 11.0,
"time": 12.720261531110005,
"vocabulary": 13.0,
"volume": 66.60791492653966
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 530
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_537:537",
"entity_name": "anonymous_function_537",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 538,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 539,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 543,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04087462841250339,
"calculated_length": 52.529325012980806,
"difficulty": 7.875,
"effort": 965.6630962453926,
"length": 30.0,
"n1": 9.0,
"n2": 8.0,
"n_1": 16.0,
"n_2": 14.0,
"time": 53.647949791410696,
"vocabulary": 17.0,
"volume": 122.62388523751017
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 538
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_547:547",
"entity_name": "anonymous_function_547",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 548,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012,
"calculated_length": 16.36452797660028,
"difficulty": 1.5,
"effort": 54.0,
"length": 12.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 7.0,
"n_2": 5.0,
"time": 3.0,
"vocabulary": 8.0,
"volume": 36.0
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 548
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_552:552",
"entity_name": "anonymous_function_552",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 553,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 23,
"kind": "ConditionalExpression",
"line": 554,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.022202638308846556,
"calculated_length": 35.60964047443681,
"difficulty": 3.4375,
"effort": 228.9647075599801,
"length": 18.0,
"n1": 5.0,
"n2": 8.0,
"n_1": 7.0,
"n_2": 11.0,
"time": 12.720261531110005,
"vocabulary": 13.0,
"volume": 66.60791492653966
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 553
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_560:560",
"entity_name": "anonymous_function_560",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 561,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 562,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 570,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05202670221743513,
"calculated_length": 76.63504134881501,
"difficulty": 6.576923076923077,
"effort": 1026.5268552901625,
"length": 35.0,
"n1": 9.0,
"n2": 13.0,
"n_1": 16.0,
"n_2": 19.0,
"time": 57.029269738342364,
"vocabulary": 22.0,
"volume": 156.0801066523054
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 10.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 561
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_574:574",
"entity_name": "anonymous_function_574",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 575,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.016906266674359,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 76.07820003461549,
"length": 16.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 10.0,
"n_2": 6.0,
"time": 4.22656666858975,
"vocabulary": 9.0,
"volume": 50.718800023076994
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 575
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_580:580",
"entity_name": "anonymous_function_580",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 581,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 23,
"kind": "ConditionalExpression",
"line": 582,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.022202638308846556,
"calculated_length": 35.60964047443681,
"difficulty": 3.4375,
"effort": 228.9647075599801,
"length": 18.0,
"n1": 5.0,
"n2": 8.0,
"n_1": 7.0,
"n_2": 11.0,
"time": 12.720261531110005,
"vocabulary": 13.0,
"volume": 66.60791492653966
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 581
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_588:588",
"entity_name": "anonymous_function_588",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 589,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 590,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 597,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04754120904376099,
"calculated_length": 66.58307281799108,
"difficulty": 6.954545454545454,
"effort": 991.8824977766498,
"length": 33.0,
"n1": 9.0,
"n2": 11.0,
"n_1": 16.0,
"n_2": 17.0,
"time": 55.104583209813875,
"vocabulary": 20.0,
"volume": 142.62362713128297
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 10.0
},
"recommendations": [],
"severity": "Low",
"start_line": 589
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_601:601",
"entity_name": "anonymous_function_601",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 602,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.016906266674359,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 76.07820003461549,
"length": 16.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 10.0,
"n_2": 6.0,
"time": 4.22656666858975,
"vocabulary": 9.0,
"volume": 50.718800023076994
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 602
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_607:607",
"entity_name": "anonymous_function_607",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 608,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 23,
"kind": "ConditionalExpression",
"line": 609,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.022202638308846556,
"calculated_length": 35.60964047443681,
"difficulty": 3.4375,
"effort": 228.9647075599801,
"length": 18.0,
"n1": 5.0,
"n2": 8.0,
"n_1": 7.0,
"n_2": 11.0,
"time": 12.720261531110005,
"vocabulary": 13.0,
"volume": 66.60791492653966
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 608
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_615:615",
"entity_name": "anonymous_function_615",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 616,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 617,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 621,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04087462841250339,
"calculated_length": 52.529325012980806,
"difficulty": 7.875,
"effort": 965.6630962453926,
"length": 30.0,
"n1": 9.0,
"n2": 8.0,
"n_1": 16.0,
"n_2": 14.0,
"time": 53.647949791410696,
"vocabulary": 17.0,
"volume": 122.62388523751017
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 616
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_625:625",
"entity_name": "anonymous_function_625",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 626,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012,
"calculated_length": 16.36452797660028,
"difficulty": 1.5,
"effort": 54.0,
"length": 12.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 7.0,
"n_2": 5.0,
"time": 3.0,
"vocabulary": 8.0,
"volume": 36.0
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 626
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_630:630",
"entity_name": "anonymous_function_630",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 631,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 23,
"kind": "ConditionalExpression",
"line": 632,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.022202638308846556,
"calculated_length": 35.60964047443681,
"difficulty": 3.4375,
"effort": 228.9647075599801,
"length": 18.0,
"n1": 5.0,
"n2": 8.0,
"n_1": 7.0,
"n_2": 11.0,
"time": 12.720261531110005,
"vocabulary": 13.0,
"volume": 66.60791492653966
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 631
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_638:638",
"entity_name": "anonymous_function_638",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 639,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 640,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 644,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 648,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06149244391890265,
"calculated_length": 71.54887502163469,
"difficulty": 7.5,
"effort": 1383.5799881753096,
"length": 42.0,
"n1": 9.0,
"n2": 12.0,
"n_1": 22.0,
"n_2": 20.0,
"time": 76.86555489862832,
"vocabulary": 21.0,
"volume": 184.47733175670794
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 13.0
},
"recommendations": [],
"severity": "Low",
"start_line": 639
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_652:652",
"entity_name": "anonymous_function_652",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 653,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 11,
"kind": "LogicalAnd",
"line": 658,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05499965662986,
"calculated_length": 79.50977500432694,
"difficulty": 3.5625,
"effort": 587.8088302316287,
"length": 37.0,
"n1": 6.0,
"n2": 16.0,
"n_1": 18.0,
"n_2": 19.0,
"time": 32.65604612397937,
"vocabulary": 22.0,
"volume": 164.99896988958
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 653
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_656:656",
"entity_name": "anonymous_function_656",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 657,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 11,
"kind": "LogicalAnd",
"line": 658,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.017716949839399265,
"calculated_length": 23.509775004326936,
"difficulty": 3.0,
"effort": 159.4525485545934,
"length": 16.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 7.0,
"n_2": 9.0,
"time": 8.858474919699633,
"vocabulary": 10.0,
"volume": 53.150849518197795
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 657
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_661:661",
"entity_name": "anonymous_function_661",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 662,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 23,
"kind": "ConditionalExpression",
"line": 663,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.022202638308846556,
"calculated_length": 35.60964047443681,
"difficulty": 3.4375,
"effort": 228.9647075599801,
"length": 18.0,
"n1": 5.0,
"n2": 8.0,
"n_1": 7.0,
"n_2": 11.0,
"time": 12.720261531110005,
"vocabulary": 13.0,
"volume": 66.60791492653966
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 662
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_669:669",
"entity_name": "anonymous_function_669",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 670,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.045437583942030554,
"calculated_length": 106.10749561002054,
"difficulty": 2.272727272727273,
"effort": 309.8017086956629,
"length": 29.0,
"n1": 4.0,
"n2": 22.0,
"n_1": 4.0,
"n_2": 25.0,
"time": 17.21120603864794,
"vocabulary": 26.0,
"volume": 136.31275182609167
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 670
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_680:680",
"entity_name": "anonymous_function_680",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 681,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 681
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_702:702",
"entity_name": "anonymous_function_702",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 703,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 704,
"nesting_level": 0
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 706,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04087462841250339,
"calculated_length": 52.87076540327685,
"difficulty": 5.25,
"effort": 643.7753974969283,
"length": 30.0,
"n1": 7.0,
"n2": 10.0,
"n_1": 15.0,
"n_2": 15.0,
"time": 35.765299860940466,
"vocabulary": 17.0,
"volume": 122.62388523751017
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 8.399999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 703
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_786:786",
"entity_name": "anonymous_function_786",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 787,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.024669598120940616,
"calculated_length": 43.01955000865387,
"difficulty": 0.75,
"effort": 55.506595772116384,
"length": 20.0,
"n1": 1.0,
"n2": 12.0,
"n_1": 2.0,
"n_2": 18.0,
"time": 3.083699765117577,
"vocabulary": 13.0,
"volume": 74.00879436282185
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 787
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_793:793",
"entity_name": "anonymous_function_793",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 794,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 795,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 798,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 798,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.06254887502163468,
"calculated_length": 57.70523225941349,
"difficulty": 7.636363636363636,
"effort": 1432.9378641319945,
"length": 45.0,
"n1": 7.0,
"n2": 11.0,
"n_1": 21.0,
"n_2": 24.0,
"time": 79.60765911844413,
"vocabulary": 18.0,
"volume": 187.64662506490404
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 13.0
},
"recommendations": [],
"severity": "Low",
"start_line": 794
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_796:796",
"entity_name": "anonymous_function_796",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 797,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 797
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_800:800",
"entity_name": "anonymous_function_800",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 801,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.0,
"difficulty": 1.5,
"effort": 15.0,
"length": 5.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.8333333333333334,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 801
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_804:804",
"entity_name": "anonymous_function_804",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 805,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 806,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 807,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.037333333333333336,
"calculated_length": 48.18080946738404,
"difficulty": 5.444444444444445,
"effort": 609.7777777777778,
"length": 28.0,
"n1": 7.0,
"n2": 9.0,
"n_1": 14.0,
"n_2": 14.0,
"time": 33.876543209876544,
"vocabulary": 16.0,
"volume": 112.0
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 8.6
},
"recommendations": [],
"severity": "Low",
"start_line": 805
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_807:807",
"entity_name": "anonymous_function_807",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 808,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 808
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_811:811",
"entity_name": "anonymous_function_811",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 812,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 813,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 814,
"nesting_level": 0
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 816,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.027920602761755765,
"calculated_length": 39.302968908806456,
"difficulty": 5.0,
"effort": 418.8090414263365,
"length": 22.0,
"n1": 7.0,
"n2": 7.0,
"n_1": 12.0,
"n_2": 10.0,
"time": 23.267168968129806,
"vocabulary": 14.0,
"volume": 83.76180828526729
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 11.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 812
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx:anonymous_function_1070:1070",
"entity_name": "anonymous_function_1070",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/git-diff-pane.tsx",
"issues": [],
"line_number": 1071,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 2.8518831130488436,
"calculated_length": 1365.4721055620603,
"difficulty": 9.359116022099448,
"effort": 80073.31480947084,
"length": 1136.0,
"n1": 4.0,
"n2": 181.0,
"n_1": 289.0,
"n_2": 847.0,
"time": 4448.517489415047,
"vocabulary": 185.0,
"volume": 8555.64933914653
},
"lines_of_code": 390.0,
"maintainability_index": 27.035817983374855,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1071
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx:SectionHeader:70",
"entity_name": "SectionHeader",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx",
"issues": [],
"line_number": 71,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 87,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 87,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 87,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 89,
"nesting_level": 1
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 92,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 96,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 105,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.21100056216809296,
"calculated_length": 289.59500104182973,
"difficulty": 6.8936170212765955,
"effort": 4363.671200582688,
"length": 109.0,
"n1": 9.0,
"n2": 47.0,
"n_1": 37.0,
"n_2": 72.0,
"time": 242.4261778101493,
"vocabulary": 56.0,
"volume": 633.0016865042788
},
"lines_of_code": 39.0,
"maintainability_index": 76.26784128318894,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 33.4
},
"recommendations": [],
"severity": "Low",
"start_line": 71
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx:anonymous_function_141:141",
"entity_name": "anonymous_function_141",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx",
"issues": [],
"line_number": 142,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "ConditionalExpression",
"line": 143,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.014,
"calculated_length": 16.36452797660028,
"difficulty": 2.4000000000000004,
"effort": 100.80000000000001,
"length": 14.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 5.6000000000000005,
"vocabulary": 8.0,
"volume": 42.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 142
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx:anonymous_function_152:152",
"entity_name": "anonymous_function_152",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx",
"issues": [],
"line_number": 153,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 154,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 160,
"nesting_level": 0
},
{
"column": 24,
"kind": "ConditionalExpression",
"line": 172,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1180809429542562,
"calculated_length": 163.13526283059372,
"difficulty": 6.5892857142857135,
"effort": 2334.2072116136,
"length": 68.0,
"n1": 9.0,
"n2": 28.0,
"n_1": 27.0,
"n_2": 41.0,
"time": 129.6781784229778,
"vocabulary": 37.0,
"volume": 354.2428288627686
},
"lines_of_code": 24.0,
"maintainability_index": 88.07161824526037,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 11.0,
"technical_debt_score": 15.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 153
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx:anonymous_function_180:180",
"entity_name": "anonymous_function_180",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx",
"issues": [],
"line_number": 181,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 181
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx:anonymous_function_184:184",
"entity_name": "anonymous_function_184",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx",
"issues": [],
"line_number": 185,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 8.0,
"length": 4.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 2.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 185
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx:anonymous_function_188:188",
"entity_name": "anonymous_function_188",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx",
"issues": [],
"line_number": 189,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 190,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 190,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.022202638308846556,
"calculated_length": 35.60964047443681,
"difficulty": 5.6,
"effort": 373.00432358862207,
"length": 18.0,
"n1": 8.0,
"n2": 5.0,
"n_1": 11.0,
"n_2": 7.0,
"time": 20.722462421590116,
"vocabulary": 13.0,
"volume": 66.60791492653966
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 9.6
},
"recommendations": [],
"severity": "Low",
"start_line": 189
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx:anonymous_function_196:196",
"entity_name": "anonymous_function_196",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx",
"issues": [],
"line_number": 197,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 200,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04133333333333333,
"calculated_length": 48.0,
"difficulty": 8.0,
"effort": 992.0,
"length": 31.0,
"n1": 8.0,
"n2": 8.0,
"n_1": 15.0,
"n_2": 16.0,
"time": 55.111111111111114,
"vocabulary": 16.0,
"volume": 124.0
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 197
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx:anonymous_function_197:197",
"entity_name": "anonymous_function_197",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx",
"issues": [],
"line_number": 198,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 200,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03516201536047667,
"calculated_length": 43.65148445440323,
"difficulty": 8.0,
"effort": 843.88836865144,
"length": 27.0,
"n1": 8.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 14.0,
"time": 46.88268714730222,
"vocabulary": 15.0,
"volume": 105.48604608143
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 198
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx:anonymous_function_212:212",
"entity_name": "anonymous_function_212",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx",
"issues": [],
"line_number": 213,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0345754247590989,
"calculated_length": 70.2129994085646,
"difficulty": 3.0,
"effort": 311.1788228318901,
"length": 24.0,
"n1": 5.0,
"n2": 15.0,
"n_1": 6.0,
"n_2": 18.0,
"time": 17.28771237954945,
"vocabulary": 20.0,
"volume": 103.72627427729671
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 213
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx:anonymous_function_216:216",
"entity_name": "anonymous_function_216",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx",
"issues": [],
"line_number": 217,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 15.509775004326936,
"length": 6.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.861654166907052,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 217
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx:anonymous_function_223:223",
"entity_name": "anonymous_function_223",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx",
"issues": [],
"line_number": 224,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "For",
"line": 226,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 228,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08505277032388099,
"calculated_length": 117.59258463708997,
"difficulty": 11.852941176470589,
"effort": 3024.376450634474,
"length": 52.0,
"n1": 13.0,
"n2": 17.0,
"n_1": 21.0,
"n_2": 31.0,
"time": 168.02091392413746,
"vocabulary": 30.0,
"volume": 255.15831097164298
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 10.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 224
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx:anonymous_function_239:239",
"entity_name": "anonymous_function_239",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx",
"issues": [],
"line_number": 240,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02031478750408655,
"calculated_length": 33.284212515144276,
"difficulty": 1.8333333333333335,
"effort": 111.73133127247604,
"length": 17.0,
"n1": 3.0,
"n2": 9.0,
"n_1": 6.0,
"n_2": 11.0,
"time": 6.2072961818042245,
"vocabulary": 12.0,
"volume": 60.94436251225965
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 240
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx:anonymous_function_241:241",
"entity_name": "anonymous_function_241",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx",
"issues": [],
"line_number": 242,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.013736341672916685,
"calculated_length": 20.264662506490403,
"difficulty": 2.0,
"effort": 82.41805003750011,
"length": 13.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 4.578780557638895,
"vocabulary": 9.0,
"volume": 41.209025018750054
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 242
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx:anonymous_function_248:248",
"entity_name": "anonymous_function_248",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx",
"issues": [],
"line_number": 249,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 15,
"kind": "ConditionalExpression",
"line": 260,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08178150992680865,
"calculated_length": 123.69340944371453,
"difficulty": 5.326086956521739,
"effort": 1306.7262999174861,
"length": 50.0,
"n1": 7.0,
"n2": 23.0,
"n_1": 15.0,
"n_2": 35.0,
"time": 72.59590555097145,
"vocabulary": 30.0,
"volume": 245.34452978042594
},
"lines_of_code": 18.0,
"maintainability_index": 95.1021274951831,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 8.4
},
"recommendations": [],
"severity": "Low",
"start_line": 249
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx:anonymous_function_269:269",
"entity_name": "anonymous_function_269",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx",
"issues": [],
"line_number": 270,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 270
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx:anonymous_function_274:274",
"entity_name": "anonymous_function_274",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx",
"issues": [],
"line_number": 275,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 278,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 285,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 285,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 293,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 295,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 295,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.2206040209162663,
"calculated_length": 269.4968817653618,
"difficulty": 9.142857142857142,
"effort": 6050.853145131875,
"length": 115.0,
"n1": 12.0,
"n2": 42.0,
"n_1": 51.0,
"n_2": 64.0,
"time": 336.15850806288194,
"vocabulary": 54.0,
"volume": 661.8120627487989
},
"lines_of_code": 30.0,
"maintainability_index": 80.51669798005736,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 16.0,
"technical_debt_score": 26.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 275
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx:anonymous_function_300:300",
"entity_name": "anonymous_function_300",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx",
"issues": [],
"line_number": 301,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.5,
"effort": 33.68825906469125,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 1.871569948038403,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 301
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx:anonymous_function_329:329",
"entity_name": "anonymous_function_329",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx",
"issues": [],
"line_number": 330,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 13,
"kind": "LogicalAnd",
"line": 333,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 333,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 333,
"nesting_level": 0
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 344,
"nesting_level": 0
},
{
"column": 21,
"kind": "LogicalAnd",
"line": 352,
"nesting_level": 0
},
{
"column": 22,
"kind": "LogicalOr",
"line": 352,
"nesting_level": 0
},
{
"column": 33,
"kind": "LogicalOr",
"line": 354,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.28175990839919896,
"calculated_length": 411.1053923012527,
"difficulty": 5.276923076923077,
"effort": 4460.476088350395,
"length": 137.0,
"n1": 7.0,
"n2": 65.0,
"n_1": 39.0,
"n_2": 98.0,
"time": 247.8042271305775,
"vocabulary": 72.0,
"volume": 845.2797251975968
},
"lines_of_code": 48.0,
"maintainability_index": 71.40027206006076,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 31.200000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 330
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx:anonymous_function_377:377",
"entity_name": "anonymous_function_377",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx",
"issues": [],
"line_number": 378,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 8.0,
"difficulty": 0.625,
"effort": 8.707230355827608,
"length": 6.0,
"n1": 1.0,
"n2": 4.0,
"n_1": 1.0,
"n_2": 5.0,
"time": 0.48373501976820044,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 378
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx:anonymous_function_380:380",
"entity_name": "anonymous_function_380",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx",
"issues": [],
"line_number": 381,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.027920602761755765,
"calculated_length": 42.80863530717374,
"difficulty": 2.3181818181818183,
"effort": 194.17510102493782,
"length": 22.0,
"n1": 3.0,
"n2": 11.0,
"n_1": 5.0,
"n_2": 17.0,
"time": 10.787505612496545,
"vocabulary": 14.0,
"volume": 83.76180828526729
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 381
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx:anonymous_function_395:395",
"entity_name": "anonymous_function_395",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx",
"issues": [],
"line_number": 396,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006191808253032966,
"calculated_length": 8.0,
"difficulty": 0.75,
"effort": 13.931568569324174,
"length": 8.0,
"n1": 1.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 6.0,
"time": 0.7739760316291208,
"vocabulary": 5.0,
"volume": 18.575424759098897
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 396
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx:anonymous_function_482:482",
"entity_name": "anonymous_function_482",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/grouped-agent-list.tsx",
"issues": [],
"line_number": 483,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.9224272011974237,
"calculated_length": 667.9159458623182,
"difficulty": 7.828282828282829,
"effort": 21663.063058424344,
"length": 413.0,
"n1": 5.0,
"n2": 99.0,
"n_1": 103.0,
"n_2": 310.0,
"time": 1203.503503245797,
"vocabulary": 104.0,
"volume": 2767.281603592271
},
"lines_of_code": 150.0,
"maintainability_index": 48.38448035239651,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 483
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/headers/back-header.tsx:BackHeader:13",
"entity_name": "BackHeader",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/headers/back-header.tsx",
"issues": [],
"line_number": 14,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "LogicalAnd",
"line": 18,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.09702273803515758,
"calculated_length": 219.07272996525947,
"difficulty": 3.776315789473684,
"effort": 1099.1654927404036,
"length": 53.0,
"n1": 7.0,
"n2": 38.0,
"n_1": 12.0,
"n_2": 41.0,
"time": 61.06474959668909,
"vocabulary": 45.0,
"volume": 291.06821410547275
},
"lines_of_code": 24.0,
"maintainability_index": 89.5530281557028,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 9.6
},
"recommendations": [],
"severity": "Low",
"start_line": 14
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/headers/back-header.tsx:anonymous_function_21:21",
"entity_name": "anonymous_function_21",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/headers/back-header.tsx",
"issues": [],
"line_number": 22,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 8.0,
"length": 4.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 2.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 22
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/headers/back-header.tsx:anonymous_function_39:39",
"entity_name": "anonymous_function_39",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/headers/back-header.tsx",
"issues": [],
"line_number": 40,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0820414593526868,
"calculated_length": 102.862383112184,
"difficulty": 2.590909090909091,
"effort": 637.6858886049746,
"length": 53.0,
"n1": 3.0,
"n2": 22.0,
"n_1": 15.0,
"n_2": 38.0,
"time": 35.426993811387476,
"vocabulary": 25.0,
"volume": 246.1243780580604
},
"lines_of_code": 20.0,
"maintainability_index": 93.60878471631698,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 40
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/headers/menu-header.tsx:MenuHeader:13",
"entity_name": "MenuHeader",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/headers/menu-header.tsx",
"issues": [],
"line_number": 14,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 5,
"kind": "LogicalOr",
"line": 17,
"nesting_level": 0
},
{
"column": 18,
"kind": "ConditionalExpression",
"line": 22,
"nesting_level": 0
},
{
"column": 20,
"kind": "ConditionalExpression",
"line": 23,
"nesting_level": 0
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 24,
"nesting_level": 0
},
{
"column": 25,
"kind": "LogicalAnd",
"line": 24,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 29,
"nesting_level": 0
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 38,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2603392947256982,
"calculated_length": 397.68949625696706,
"difficulty": 6.67741935483871,
"effort": 5215.18393627931,
"length": 127.0,
"n1": 9.0,
"n2": 62.0,
"n_1": 35.0,
"n_2": 92.0,
"time": 289.7324409044061,
"vocabulary": 71.0,
"volume": 781.0178841770946
},
"lines_of_code": 39.0,
"maintainability_index": 75.1751914797099,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 29.400000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 14
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/headers/menu-header.tsx:anonymous_function_17:17",
"entity_name": "anonymous_function_17",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/headers/menu-header.tsx",
"issues": [],
"line_number": 18,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 18
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/headers/menu-header.tsx:anonymous_function_18:18",
"entity_name": "anonymous_function_18",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/headers/menu-header.tsx",
"issues": [],
"line_number": 19,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 8.0,
"length": 6.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 12.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 19
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/headers/menu-header.tsx:anonymous_function_19:19",
"entity_name": "anonymous_function_19",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/headers/menu-header.tsx",
"issues": [],
"line_number": 20,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/headers/menu-header.tsx:anonymous_function_54:54",
"entity_name": "anonymous_function_54",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/headers/menu-header.tsx",
"issues": [],
"line_number": 55,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.11064371759864021,
"calculated_length": 139.36082531977635,
"difficulty": 2.678571428571429,
"effort": 889.1013021319303,
"length": 67.0,
"n1": 3.0,
"n2": 28.0,
"n_1": 17.0,
"n_2": 50.0,
"time": 49.39451678510724,
"vocabulary": 31.0,
"volume": 331.93115279592064
},
"lines_of_code": 28.0,
"maintainability_index": 86.60266353832107,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 7.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 55
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/headers/screen-header.tsx:anonymous_function_40:40",
"entity_name": "anonymous_function_40",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/headers/screen-header.tsx",
"issues": [],
"line_number": 41,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.11284422637278925,
"calculated_length": 164.75488750216346,
"difficulty": 2.484375,
"effort": 841.0421246846948,
"length": 66.0,
"n1": 3.0,
"n2": 32.0,
"n_1": 13.0,
"n_2": 53.0,
"time": 46.724562482483044,
"vocabulary": 35.0,
"volume": 338.53267911836775
},
"lines_of_code": 29.0,
"maintainability_index": 85.93178028517352,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 7.8
},
"recommendations": [],
"severity": "Low",
"start_line": 41
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/home-footer.tsx:HomeFooter:17",
"entity_name": "HomeFooter",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/home-footer.tsx",
"issues": [],
"line_number": 18,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 26,
"kind": "ConditionalExpression",
"line": 28,
"nesting_level": 0
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 29,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 52,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 53,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 66,
"nesting_level": 0
},
{
"column": 32,
"kind": "ConditionalExpression",
"line": 92,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 100,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.8242808348035766,
"calculated_length": 1006.9144964187,
"difficulty": 9.794117647058822,
"effort": 24219.31041084626,
"length": 343.0,
"n1": 12.0,
"n2": 136.0,
"n_1": 121.0,
"n_2": 222.0,
"time": 1345.5172450470145,
"vocabulary": 148.0,
"volume": 2472.84250441073
},
"lines_of_code": 128.0,
"maintainability_index": 49.92886711137062,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 44.0,
"technical_debt_score": 42.400000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 18
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/home-footer.tsx:anonymous_function_34:34",
"entity_name": "anonymous_function_34",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/home-footer.tsx",
"issues": [],
"line_number": 35,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0333594000115385,
"calculated_length": 58.529325012980806,
"difficulty": 3.75,
"effort": 375.2932501298081,
"length": 24.0,
"n1": 6.0,
"n2": 12.0,
"n_1": 9.0,
"n_2": 15.0,
"time": 20.84962500721156,
"vocabulary": 18.0,
"volume": 100.07820003461549
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 35
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/home-footer.tsx:anonymous_function_45:45",
"entity_name": "anonymous_function_45",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/home-footer.tsx",
"issues": [],
"line_number": 46,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.021509775004326936,
"calculated_length": 32.0,
"difficulty": 2.25,
"effort": 145.19098127920682,
"length": 18.0,
"n1": 4.0,
"n2": 8.0,
"n_1": 9.0,
"n_2": 9.0,
"time": 8.0661656266226,
"vocabulary": 12.0,
"volume": 64.5293250129808
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 46
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/home-footer.tsx:anonymous_function_46:46",
"entity_name": "anonymous_function_46",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/home-footer.tsx",
"issues": [],
"line_number": 47,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 47
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/home-footer.tsx:anonymous_function_50:50",
"entity_name": "anonymous_function_50",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/home-footer.tsx",
"issues": [],
"line_number": 51,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 52,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 53,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 66,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.11333333333333333,
"calculated_length": 132.57125000229212,
"difficulty": 6.260869565217391,
"effort": 2128.695652173913,
"length": 68.0,
"n1": 9.0,
"n2": 23.0,
"n_1": 36.0,
"n_2": 32.0,
"time": 118.26086956521739,
"vocabulary": 32.0,
"volume": 340.0
},
"lines_of_code": 23.0,
"maintainability_index": 88.97447649037471,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 15.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 51
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/home-footer.tsx:anonymous_function_66:66",
"entity_name": "anonymous_function_66",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/home-footer.tsx",
"issues": [],
"line_number": 67,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017297158093186486,
"calculated_length": 28.75488750216347,
"difficulty": 1.6875,
"effort": 87.56686284675659,
"length": 15.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 6.0,
"n_2": 9.0,
"time": 4.8648257137087,
"vocabulary": 11.0,
"volume": 51.89147427955946
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 67
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/home-footer.tsx:anonymous_function_76:76",
"entity_name": "anonymous_function_76",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/home-footer.tsx",
"issues": [],
"line_number": 77,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.038149653185003164,
"calculated_length": 56.105716335834195,
"difficulty": 2.3076923076923075,
"effort": 264.1129835884834,
"length": 28.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 13.0,
"n_2": 15.0,
"time": 14.672943532693523,
"vocabulary": 17.0,
"volume": 114.4489595550095
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 77
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/home-footer.tsx:anonymous_function_78:78",
"entity_name": "anonymous_function_78",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/home-footer.tsx",
"issues": [],
"line_number": 79,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017297158093186486,
"calculated_length": 28.75488750216347,
"difficulty": 1.6875,
"effort": 87.56686284675659,
"length": 15.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 6.0,
"n_2": 9.0,
"time": 4.8648257137087,
"vocabulary": 11.0,
"volume": 51.89147427955946
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 79
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/home-footer.tsx:anonymous_function_86:86",
"entity_name": "anonymous_function_86",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/home-footer.tsx",
"issues": [],
"line_number": 87,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 8.0,
"length": 4.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 2.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 87
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/home-footer.tsx:anonymous_function_146:146",
"entity_name": "anonymous_function_146",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/home-footer.tsx",
"issues": [],
"line_number": 147,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 17,
"kind": "LogicalAnd",
"line": 149,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.008422064766172813,
"calculated_length": 13.60964047443681,
"difficulty": 1.2,
"effort": 30.319433158222125,
"length": 9.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 1.6844129532345624,
"vocabulary": 7.0,
"volume": 25.26619429851844
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 147
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/home-footer.tsx:anonymous_function_164:164",
"entity_name": "anonymous_function_164",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/home-footer.tsx",
"issues": [],
"line_number": 165,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 17,
"kind": "LogicalAnd",
"line": 167,
"nesting_level": 0
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 168,
"nesting_level": 0
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 168,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02767545294909838,
"calculated_length": 30.52932501298081,
"difficulty": 1.5555555555555556,
"effort": 129.15211376245912,
"length": 24.0,
"n1": 2.0,
"n2": 9.0,
"n_1": 10.0,
"n_2": 14.0,
"time": 7.175117431247729,
"vocabulary": 11.0,
"volume": 83.02635884729514
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 11.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 165
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/home-footer.tsx:anonymous_function_193:193",
"entity_name": "anonymous_function_193",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/home-footer.tsx",
"issues": [],
"line_number": 194,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.044594316186372975,
"calculated_length": 85.46551025759159,
"difficulty": 1.8157894736842106,
"effort": 242.92166975208437,
"length": 30.0,
"n1": 3.0,
"n2": 19.0,
"n_1": 7.0,
"n_2": 23.0,
"time": 13.495648319560242,
"vocabulary": 22.0,
"volume": 133.78294855911892
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 194
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/home-footer.tsx:anonymous_function_212:212",
"entity_name": "anonymous_function_212",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/home-footer.tsx",
"issues": [],
"line_number": 213,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.4646763302154426,
"calculated_length": 396.208795349013,
"difficulty": 3.9692307692307693,
"effort": 5533.222762873116,
"length": 229.0,
"n1": 3.0,
"n2": 65.0,
"n_1": 57.0,
"n_2": 172.0,
"time": 307.401264604062,
"vocabulary": 68.0,
"volume": 1394.0289906463277
},
"lines_of_code": 84.0,
"maintainability_index": 61.343010241982824,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 18.8
},
"recommendations": [],
"severity": "Low",
"start_line": 213
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/icons/claude-icon.tsx:ClaudeIcon:7",
"entity_name": "ClaudeIcon",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/icons/claude-icon.tsx",
"issues": [],
"line_number": 8,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.024524777047502038,
"calculated_length": 64.0,
"difficulty": 0.5,
"effort": 36.787165571253055,
"length": 18.0,
"n1": 1.0,
"n2": 16.0,
"n_1": 2.0,
"n_2": 16.0,
"time": 2.0437314206251695,
"vocabulary": 17.0,
"volume": 73.57433114250611
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 8
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/icons/codex-icon.tsx:CodexIcon:7",
"entity_name": "CodexIcon",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/icons/codex-icon.tsx",
"issues": [],
"line_number": 8,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.024524777047502038,
"calculated_length": 64.0,
"difficulty": 0.5,
"effort": 36.787165571253055,
"length": 18.0,
"n1": 1.0,
"n2": 16.0,
"n_1": 2.0,
"n_2": 16.0,
"time": 2.0437314206251695,
"vocabulary": 17.0,
"volume": 73.57433114250611
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 8
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_120:120",
"entity_name": "anonymous_function_120",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 121,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 121
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_127:127",
"entity_name": "anonymous_function_127",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 128,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017,
"calculated_length": 16.0,
"difficulty": 4.0,
"effort": 204.0,
"length": 17.0,
"n1": 4.0,
"n2": 4.0,
"n_1": 9.0,
"n_2": 8.0,
"time": 11.333333333333334,
"vocabulary": 8.0,
"volume": 51.0
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 128
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_128:128",
"entity_name": "anonymous_function_128",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 129,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 27.14210625757214,
"length": 7.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 3.0,
"time": 1.5078947920873411,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 129
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_131:131",
"entity_name": "anonymous_function_131",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 132,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 27.14210625757214,
"length": 7.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 3.0,
"time": 1.5078947920873411,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 132
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_141:141",
"entity_name": "anonymous_function_141",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 142,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 142
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_146:146",
"entity_name": "anonymous_function_146",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 147,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 148,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 148,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029333333333333333,
"calculated_length": 48.0,
"difficulty": 4.5,
"effort": 396.0,
"length": 22.0,
"n1": 8.0,
"n2": 8.0,
"n_1": 13.0,
"n_2": 9.0,
"time": 22.0,
"vocabulary": 16.0,
"volume": 88.0
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 9.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 147
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_149:149",
"entity_name": "anonymous_function_149",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 150,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 27.14210625757214,
"length": 7.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 3.0,
"time": 1.5078947920873411,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 150
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_152:152",
"entity_name": "anonymous_function_152",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 153,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 153
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_156:156",
"entity_name": "anonymous_function_156",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 157,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 158,
"nesting_level": 0
},
{
"column": 25,
"kind": "LogicalAnd",
"line": 160,
"nesting_level": 0
},
{
"column": 38,
"kind": "ConditionalExpression",
"line": 161,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 166,
"nesting_level": 0
},
{
"column": 34,
"kind": "ConditionalExpression",
"line": 167,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 173,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 173,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.13819542452068106,
"calculated_length": 166.4357103634239,
"difficulty": 8.962962962962962,
"effort": 3715.921414889424,
"length": 79.0,
"n1": 11.0,
"n2": 27.0,
"n_1": 35.0,
"n_2": 44.0,
"time": 206.440078604968,
"vocabulary": 38.0,
"volume": 414.58627356204323
},
"lines_of_code": 21.0,
"maintainability_index": 88.49687483158039,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 14.0,
"technical_debt_score": 27.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 157
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_173:173",
"entity_name": "anonymous_function_173",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 174,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 8.0,
"length": 4.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 2.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 174
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_181:181",
"entity_name": "anonymous_function_181",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 182,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 48.599999999999994,
"length": 9.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 2.6999999999999997,
"vocabulary": 8.0,
"volume": 27.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 182
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_185:185",
"entity_name": "anonymous_function_185",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 186,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 12,
"kind": "LogicalAnd",
"line": 188,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 19.60964047443681,
"difficulty": 2.4,
"effort": 83.68602003807705,
"length": 11.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 4.649223335448725,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 186
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_190:190",
"entity_name": "anonymous_function_190",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 191,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 191
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_219:219",
"entity_name": "anonymous_function_219",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 220,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 220
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_223:223",
"entity_name": "anonymous_function_223",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 224,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 225,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 225,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.014339850002884624,
"calculated_length": 31.26112492884004,
"difficulty": 3.5,
"effort": 150.56842503028855,
"length": 12.0,
"n1": 7.0,
"n2": 5.0,
"n_1": 7.0,
"n_2": 5.0,
"time": 8.364912501682698,
"vocabulary": 12.0,
"volume": 43.01955000865387
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 224
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_231:231",
"entity_name": "anonymous_function_231",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 232,
"metrics": {
"cognitive_complexity": 21.0,
"cyclomatic_complexity": 15.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 233,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 236,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 237,
"nesting_level": 0
},
{
"column": 35,
"kind": "LogicalAnd",
"line": 244,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 245,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 245,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 245,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 250,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 251,
"nesting_level": 1
},
{
"column": 10,
"kind": "LogicalOr",
"line": 251,
"nesting_level": 1
},
{
"column": 10,
"kind": "LogicalOr",
"line": 252,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 255,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 264,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 264,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.26807820003461547,
"calculated_length": 230.80352233328142,
"difficulty": 9.662162162162163,
"effort": 7770.645122625004,
"length": 144.0,
"n1": 11.0,
"n2": 37.0,
"n_1": 79.0,
"n_2": 65.0,
"time": 431.7025068125002,
"vocabulary": 48.0,
"volume": 804.2346001038464
},
"lines_of_code": 39.0,
"maintainability_index": 73.41286804019103,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 27.0,
"technical_debt_score": 54.6
},
"recommendations": [],
"severity": "High",
"start_line": 232
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_233:233",
"entity_name": "anonymous_function_233",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 234,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 236,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 237,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03299707599116591,
"calculated_length": 39.50977500432694,
"difficulty": 7.333333333333333,
"effort": 725.9356718056499,
"length": 26.0,
"n1": 8.0,
"n2": 6.0,
"n_1": 15.0,
"n_2": 11.0,
"time": 40.32975954475833,
"vocabulary": 14.0,
"volume": 98.99122797349771
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 9.0
},
"recommendations": [],
"severity": "Low",
"start_line": 234
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:handleKeyDown:241",
"entity_name": "handleKeyDown",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 242,
"metrics": {
"cognitive_complexity": 18.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 35,
"kind": "LogicalAnd",
"line": 244,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 245,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 245,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 245,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 250,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 251,
"nesting_level": 1
},
{
"column": 10,
"kind": "LogicalOr",
"line": 251,
"nesting_level": 1
},
{
"column": 10,
"kind": "LogicalOr",
"line": 252,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 255,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 264,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 264,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.17017547661054572,
"calculated_length": 161.60124350728728,
"difficulty": 8.148148148148147,
"effort": 4159.844983813339,
"length": 98.0,
"n1": 10.0,
"n2": 27.0,
"n_1": 54.0,
"n_2": 44.0,
"time": 231.10249910074106,
"vocabulary": 37.0,
"volume": 510.52642983163713
},
"lines_of_code": 26.0,
"maintainability_index": 83.03453555877786,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 15.0,
"technical_debt_score": 43.6
},
"recommendations": [],
"severity": "Moderate",
"start_line": 242
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_269:269",
"entity_name": "anonymous_function_269",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 270,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 15.509775004326936,
"length": 6.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.861654166907052,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 270
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_273:273",
"entity_name": "anonymous_function_273",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 274,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "LogicalOr",
"line": 276,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 276,
"nesting_level": 0
},
{
"column": 42,
"kind": "ConditionalExpression",
"line": 279,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.029189475010096184,
"calculated_length": 58.529325012980806,
"difficulty": 3.25,
"effort": 284.5973813484378,
"length": 21.0,
"n1": 6.0,
"n2": 12.0,
"n_1": 8.0,
"n_2": 13.0,
"time": 15.810965630468766,
"vocabulary": 18.0,
"volume": 87.56842503028855
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 12.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 274
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_283:283",
"entity_name": "anonymous_function_283",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 284,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 20,
"kind": "ConditionalExpression",
"line": 286,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01614401422030739,
"calculated_length": 27.651484454403228,
"difficulty": 2.5714285714285716,
"effort": 124.53953827094271,
"length": 14.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 5.0,
"n_2": 9.0,
"time": 6.9188632372745955,
"vocabulary": 11.0,
"volume": 48.432042660922164
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 284
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_288:288",
"entity_name": "anonymous_function_288",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 289,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.00655049481813441,
"calculated_length": 12.754887502163468,
"difficulty": 1.5,
"effort": 29.47722668160484,
"length": 7.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 4.0,
"time": 1.6376237045336022,
"vocabulary": 7.0,
"volume": 19.651484454403228
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 289
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_292:292",
"entity_name": "anonymous_function_292",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 293,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 294,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 20.264662506490403,
"difficulty": 3.0,
"effort": 114.11730005192324,
"length": 12.0,
"n1": 6.0,
"n2": 3.0,
"n_1": 9.0,
"n_2": 3.0,
"time": 6.339850002884624,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 293
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_300:300",
"entity_name": "anonymous_function_300",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 301,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.754887502163468,
"difficulty": 1.5,
"effort": 12.0,
"length": 4.0,
"n1": 3.0,
"n2": 1.0,
"n_1": 3.0,
"n_2": 1.0,
"time": 0.6666666666666666,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 301
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_304:304",
"entity_name": "anonymous_function_304",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 305,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.010566416671474373,
"calculated_length": 19.60964047443681,
"difficulty": 2.5,
"effort": 79.2481250360578,
"length": 10.0,
"n1": 5.0,
"n2": 4.0,
"n_1": 6.0,
"n_2": 4.0,
"time": 4.402673613114322,
"vocabulary": 9.0,
"volume": 31.69925001442312
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 305
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_309:309",
"entity_name": "anonymous_function_309",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 310,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.010566416671474373,
"calculated_length": 19.60964047443681,
"difficulty": 2.5,
"effort": 79.2481250360578,
"length": 10.0,
"n1": 5.0,
"n2": 4.0,
"n_1": 6.0,
"n_2": 4.0,
"time": 4.402673613114322,
"vocabulary": 9.0,
"volume": 31.69925001442312
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 310
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_314:314",
"entity_name": "anonymous_function_314",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 315,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.754887502163468,
"difficulty": 1.5,
"effort": 12.0,
"length": 4.0,
"n1": 3.0,
"n2": 1.0,
"n_1": 3.0,
"n_2": 1.0,
"time": 0.6666666666666666,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 315
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_318:318",
"entity_name": "anonymous_function_318",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 319,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 1.0,
"effort": 4.754887502163468,
"length": 3.0,
"n1": 2.0,
"n2": 1.0,
"n_1": 2.0,
"n_2": 1.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 319
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_322:322",
"entity_name": "anonymous_function_322",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 323,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 325,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 325,
"nesting_level": 1
},
{
"column": 15,
"kind": "ConditionalExpression",
"line": 328,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 330,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 330,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08906298491067215,
"calculated_length": 113.11239783097187,
"difficulty": 8.555555555555555,
"effort": 2285.949946040585,
"length": 55.0,
"n1": 11.0,
"n2": 18.0,
"n_1": 27.0,
"n_2": 28.0,
"time": 126.99721922447695,
"vocabulary": 29.0,
"volume": 267.18895473201644
},
"lines_of_code": 16.0,
"maintainability_index": 95.64669096033352,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 20.8
},
"recommendations": [],
"severity": "Low",
"start_line": 323
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:isTextAreaLike:341",
"entity_name": "isTextAreaLike",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 342,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 12,
"kind": "LogicalAnd",
"line": 343,
"nesting_level": 0
},
{
"column": 12,
"kind": "LogicalAnd",
"line": 343,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.017962908341506434,
"calculated_length": 20.264662506490403,
"difficulty": 2.5,
"effort": 134.72181256129826,
"length": 17.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 7.0,
"n_2": 10.0,
"time": 7.484545142294348,
"vocabulary": 9.0,
"volume": 53.8887250245193
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 8.0
},
"recommendations": [],
"severity": "Low",
"start_line": 342
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:getWebTextArea:345",
"entity_name": "getWebTextArea",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 346,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 348,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 349,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 351,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 353,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06655086437728283,
"calculated_length": 62.05374780501027,
"difficulty": 8.0,
"effort": 1597.220745054788,
"length": 47.0,
"n1": 8.0,
"n2": 11.0,
"n_1": 25.0,
"n_2": 22.0,
"time": 88.73448583637712,
"vocabulary": 19.0,
"volume": 199.6525931318485
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 15.8
},
"recommendations": [],
"severity": "Low",
"start_line": 346
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:measureWebInputHeight:356",
"entity_name": "measureWebInputHeight",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 357,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 358,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 360,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 360,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 364,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 370,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 375,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 375,
"nesting_level": 1
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 380,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 386,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2857102547086852,
"calculated_length": 206.19301755138517,
"difficulty": 12.205882352941178,
"effort": 10462.03726800921,
"length": 157.0,
"n1": 10.0,
"n2": 34.0,
"n_1": 74.0,
"n_2": 83.0,
"time": 581.2242926671784,
"vocabulary": 44.0,
"volume": 857.1307641260556
},
"lines_of_code": 35.0,
"maintainability_index": 75.98469085308558,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 24.0,
"technical_debt_score": 35.800000000000004
},
"recommendations": [],
"severity": "Moderate",
"start_line": 357
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:setBoundedInputHeight:393",
"entity_name": "setBoundedInputHeight",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 394,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 399,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05563602068853097,
"calculated_length": 72.10571633583419,
"difficulty": 6.461538461538462,
"effort": 1078.4828625776772,
"length": 38.0,
"n1": 8.0,
"n2": 13.0,
"n_1": 17.0,
"n_2": 21.0,
"time": 59.915714587648736,
"vocabulary": 21.0,
"volume": 166.9080620655929
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 394
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:handleContentSizeChange:403",
"entity_name": "handleContentSizeChange",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 404,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 407,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0333594000115385,
"calculated_length": 58.529325012980806,
"difficulty": 3.5,
"effort": 350.2737001211542,
"length": 24.0,
"n1": 6.0,
"n2": 12.0,
"n_1": 10.0,
"n_2": 14.0,
"time": 19.45965000673079,
"vocabulary": 18.0,
"volume": 100.07820003461549
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 404
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:handleDesktopKeyPress:416",
"entity_name": "handleDesktopKeyPress",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [
{
"description": "Cyclomatic complexity of 26.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:handleDesktopKeyPress:416",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:417",
"metric_value": 26.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 44.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:handleDesktopKeyPress:416",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:417",
"metric_value": 44.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 417,
"metrics": {
"cognitive_complexity": 44.0,
"cyclomatic_complexity": 26.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 418,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 421,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 426,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 434,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 434,
"nesting_level": 1
},
{
"column": 10,
"kind": "LogicalOr",
"line": 434,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 441,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 441,
"nesting_level": 1
},
{
"column": 10,
"kind": "LogicalOr",
"line": 441,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 443,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 453,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 453,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 459,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 462,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 465,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 465,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 466,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 466,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalOr",
"line": 466,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 469,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 469,
"nesting_level": 2
},
{
"column": 17,
"kind": "ConditionalExpression",
"line": 472,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 482,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 482,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 482,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.4042006886638025,
"calculated_length": 299.11942383385923,
"difficulty": 11.0,
"effort": 13338.622725905483,
"length": 207.0,
"n1": 11.0,
"n2": 47.0,
"n_1": 113.0,
"n_2": 94.0,
"time": 741.034595883638,
"vocabulary": 58.0,
"volume": 1212.6020659914075
},
"lines_of_code": 68.0,
"maintainability_index": 59.74125142963534,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 43.0,
"technical_debt_score": 88.8
},
"recommendations": [],
"severity": "Critical",
"start_line": 417
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_423:423",
"entity_name": "anonymous_function_423",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 424,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 8.0,
"length": 4.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 2.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 424
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_534:534",
"entity_name": "anonymous_function_534",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 535,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 535
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_537:537",
"entity_name": "anonymous_function_537",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 538,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 538
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx:anonymous_function_655:655",
"entity_name": "anonymous_function_655",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message-input.tsx",
"issues": [],
"line_number": 656,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 9,
"kind": "ConditionalExpression",
"line": 675,
"nesting_level": 0
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 694,
"nesting_level": 0
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 714,
"nesting_level": 0
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 730,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.6319986644475895,
"calculated_length": 623.6515444373738,
"difficulty": 7.451612903225806,
"effort": 14128.228208457402,
"length": 286.0,
"n1": 6.0,
"n2": 93.0,
"n_1": 55.0,
"n_2": 231.0,
"time": 784.9015671365223,
"vocabulary": 99.0,
"volume": 1895.9959933427683
},
"lines_of_code": 136.0,
"maintainability_index": 51.017993089172094,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 33.2
},
"recommendations": [],
"severity": "Low",
"start_line": 656
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:MessageOuterSpacingProvider:73",
"entity_name": "MessageOuterSpacingProvider",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 74,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01903677461028802,
"calculated_length": 42.80863530717374,
"difficulty": 1.6363636363636362,
"effort": 93.45325717777754,
"length": 15.0,
"n1": 3.0,
"n2": 11.0,
"n_1": 3.0,
"n_2": 12.0,
"time": 5.191847620987641,
"vocabulary": 14.0,
"volume": 57.11032383086406
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 4.4
},
"recommendations": [],
"severity": "Low",
"start_line": 74
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:useDisableOuterSpacing:87",
"entity_name": "useDisableOuterSpacing",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 88,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 2.0,
"effort": 69.73835003173087,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 3.0,
"n_2": 8.0,
"time": 3.874352779540604,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 88
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_92:92",
"entity_name": "anonymous_function_92",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 93,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.2550466208662661,
"calculated_length": 251.8882768369988,
"difficulty": 3.3333333333333335,
"effort": 2550.4662086626613,
"length": 137.0,
"n1": 3.0,
"n2": 45.0,
"n_1": 37.0,
"n_2": 100.0,
"time": 141.69256714792562,
"vocabulary": 48.0,
"volume": 765.1398625987983
},
"lines_of_code": 46.0,
"maintainability_index": 74.2177044278569,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 11.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 93
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:UserMessage:140",
"entity_name": "UserMessage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 141,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 154,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 161,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 173,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 183,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 184,
"nesting_level": 0
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 185,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 185,
"nesting_level": 0
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 198,
"nesting_level": 0
},
{
"column": 21,
"kind": "LogicalAnd",
"line": 201,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.3867523921683801,
"calculated_length": 472.5508321391509,
"difficulty": 12.022058823529413,
"effort": 13948.680026366945,
"length": 182.0,
"n1": 15.0,
"n2": 68.0,
"n_1": 73.0,
"n_2": 109.0,
"time": 774.926668131497,
"vocabulary": 83.0,
"volume": 1160.2571765051403
},
"lines_of_code": 71.0,
"maintainability_index": 62.951321782191,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 18.0,
"technical_debt_score": 41.400000000000006
},
"recommendations": [],
"severity": "Moderate",
"start_line": 141
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_152:152",
"entity_name": "anonymous_function_152",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 153,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 154,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 161,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0658847613416814,
"calculated_length": 71.54887502163469,
"difficulty": 7.5,
"effort": 1482.4071301878319,
"length": 45.0,
"n1": 9.0,
"n2": 12.0,
"n_1": 25.0,
"n_2": 20.0,
"time": 82.35595167710177,
"vocabulary": 21.0,
"volume": 197.65428402504423
},
"lines_of_code": 16.0,
"maintainability_index": 97.9041614852933,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 153
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_164:164",
"entity_name": "anonymous_function_164",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 165,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.010566416671474373,
"calculated_length": 19.60964047443681,
"difficulty": 2.0,
"effort": 63.39850002884624,
"length": 10.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 5.0,
"time": 3.522138890491458,
"vocabulary": 9.0,
"volume": 31.69925001442312
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 165
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_170:170",
"entity_name": "anonymous_function_170",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 171,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 173,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 20.264662506490403,
"difficulty": 5.0,
"effort": 190.19550008653874,
"length": 12.0,
"n1": 6.0,
"n2": 3.0,
"n_1": 7.0,
"n_2": 5.0,
"time": 10.566416671474375,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 171
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_171:171",
"entity_name": "anonymous_function_171",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 172,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 173,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.011,
"calculated_length": 16.36452797660028,
"difficulty": 4.166666666666667,
"effort": 137.5,
"length": 11.0,
"n1": 5.0,
"n2": 3.0,
"n_1": 6.0,
"n_2": 5.0,
"time": 7.638888888888889,
"vocabulary": 8.0,
"volume": 33.0
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 172
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_195:195",
"entity_name": "anonymous_function_195",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 196,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 11,
"kind": "ConditionalExpression",
"line": 198,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01,
"calculated_length": 17.509775004326936,
"difficulty": 1.1666666666666667,
"effort": 35.0,
"length": 10.0,
"n1": 2.0,
"n2": 6.0,
"n_1": 3.0,
"n_2": 7.0,
"time": 1.9444444444444444,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 196
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_227:227",
"entity_name": "anonymous_function_227",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 228,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.16166666666666665,
"calculated_length": 145.63633636086303,
"difficulty": 3.6206896551724137,
"effort": 1756.0344827586207,
"length": 97.0,
"n1": 3.0,
"n2": 29.0,
"n_1": 27.0,
"n_2": 70.0,
"time": 97.55747126436782,
"vocabulary": 32.0,
"volume": 485.0
},
"lines_of_code": 32.0,
"maintainability_index": 82.46750414176954,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 8.4
},
"recommendations": [],
"severity": "Low",
"start_line": 228
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_261:261",
"entity_name": "anonymous_function_261",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 262,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.043089225014903886,
"calculated_length": 63.35824643629125,
"difficulty": 2.1999999999999997,
"effort": 284.3888850983656,
"length": 31.0,
"n1": 3.0,
"n2": 15.0,
"n_1": 9.0,
"n_2": 22.0,
"time": 15.799382505464756,
"vocabulary": 18.0,
"volume": 129.26767504471167
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 4.4
},
"recommendations": [],
"severity": "Low",
"start_line": 262
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_285:285",
"entity_name": "anonymous_function_285",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 286,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 288,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 295,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07135090589819676,
"calculated_length": 76.63504134881501,
"difficulty": 7.615384615384615,
"effort": 1630.093773212649,
"length": 48.0,
"n1": 9.0,
"n2": 13.0,
"n_1": 26.0,
"n_2": 22.0,
"time": 90.5607651784805,
"vocabulary": 22.0,
"volume": 214.05271769459029
},
"lines_of_code": 17.0,
"maintainability_index": 96.50758771522251,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 11.0
},
"recommendations": [],
"severity": "Low",
"start_line": 286
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_298:298",
"entity_name": "anonymous_function_298",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 299,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.010566416671474373,
"calculated_length": 19.60964047443681,
"difficulty": 2.0,
"effort": 63.39850002884624,
"length": 10.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 5.0,
"time": 3.522138890491458,
"vocabulary": 9.0,
"volume": 31.69925001442312
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 299
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_304:304",
"entity_name": "anonymous_function_304",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 305,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 307,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 20.264662506490403,
"difficulty": 5.0,
"effort": 190.19550008653874,
"length": 12.0,
"n1": 6.0,
"n2": 3.0,
"n_1": 7.0,
"n_2": 5.0,
"time": 10.566416671474375,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 305
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_305:305",
"entity_name": "anonymous_function_305",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 306,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 307,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.011,
"calculated_length": 16.36452797660028,
"difficulty": 4.166666666666667,
"effort": 137.5,
"length": 11.0,
"n1": 5.0,
"n2": 3.0,
"n_1": 6.0,
"n_2": 5.0,
"time": 7.638888888888889,
"vocabulary": 8.0,
"volume": 33.0
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 306
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_333:333",
"entity_name": "anonymous_function_333",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 334,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.402,
"calculated_length": 366.52986509349955,
"difficulty": 3.6885245901639347,
"effort": 4448.360655737705,
"length": 201.0,
"n1": 3.0,
"n2": 61.0,
"n_1": 51.0,
"n_2": 150.0,
"time": 247.13114754098362,
"vocabulary": 64.0,
"volume": 1206.0
},
"lines_of_code": 70.0,
"maintainability_index": 65.05004231690731,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 15.999999999999998
},
"recommendations": [],
"severity": "Low",
"start_line": 334
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:isLikelyPathToken:405",
"entity_name": "isLikelyPathToken",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 406,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 407,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 407,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 411,
"nesting_level": 0
},
{
"column": 20,
"kind": "LogicalOr",
"line": 415,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 418,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 418,
"nesting_level": 1
},
{
"column": 5,
"kind": "LogicalOr",
"line": 423,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 423,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalOr",
"line": 425,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalOr",
"line": 425,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.11459690288677767,
"calculated_length": 83.65148445440323,
"difficulty": 8.3125,
"effort": 2857.760265739018,
"length": 76.0,
"n1": 7.0,
"n2": 16.0,
"n_1": 38.0,
"n_2": 38.0,
"time": 158.76445920772323,
"vocabulary": 23.0,
"volume": 343.790708660333
},
"lines_of_code": 20.0,
"maintainability_index": 89.57096521917894,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 35.60000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 406
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:normalizeInlinePathValue:427",
"entity_name": "normalizeInlinePathValue",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 428,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 433,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03776660909088234,
"calculated_length": 44.039100017307746,
"difficulty": 5.333333333333333,
"effort": 604.2657454541175,
"length": 29.0,
"n1": 6.0,
"n2": 9.0,
"n_1": 13.0,
"n_2": 16.0,
"time": 33.570319191895415,
"vocabulary": 15.0,
"volume": 113.29982727264704
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 428
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:parseInlinePathToken:439",
"entity_name": "parseInlinePathToken",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 440,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 446,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 451,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 453,
"nesting_level": 1
},
{
"column": 21,
"kind": "ConditionalExpression",
"line": 457,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 469,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 474,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 474,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 479,
"nesting_level": 0
},
{
"column": 21,
"kind": "ConditionalExpression",
"line": 485,
"nesting_level": 0
},
{
"column": 19,
"kind": "ConditionalExpression",
"line": 486,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.25865195330746665,
"calculated_length": 198.05374780501026,
"difficulty": 14.953125,
"effort": 11602.964967902137,
"length": 143.0,
"n1": 11.0,
"n2": 32.0,
"n_1": 56.0,
"n_2": 87.0,
"time": 644.6091648834521,
"vocabulary": 43.0,
"volume": 775.9558599224
},
"lines_of_code": 54.0,
"maintainability_index": 69.24716113314382,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 25.0,
"technical_debt_score": 43.2
},
"recommendations": [],
"severity": "Moderate",
"start_line": 440
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_506:506",
"entity_name": "anonymous_function_506",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 507,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 507
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_510:510",
"entity_name": "anonymous_function_510",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 511,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.026409525009134644,
"calculated_length": 63.35824643629125,
"difficulty": 1.6,
"effort": 126.7657200438463,
"length": 19.0,
"n1": 3.0,
"n2": 15.0,
"n_1": 3.0,
"n_2": 16.0,
"time": 7.0425400024359055,
"vocabulary": 18.0,
"volume": 79.22857502740393
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 5.0,
"statement_count": 0.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 511
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_521:521",
"entity_name": "anonymous_function_521",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 522,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02266666666666667,
"calculated_length": 55.302968908806456,
"difficulty": 1.0714285714285714,
"effort": 72.85714285714286,
"length": 17.0,
"n1": 2.0,
"n2": 14.0,
"n_1": 2.0,
"n_2": 15.0,
"time": 4.0476190476190474,
"vocabulary": 16.0,
"volume": 68.0
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 5.0,
"statement_count": 0.0,
"technical_debt_score": 4.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 522
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_587:587",
"entity_name": "anonymous_function_587",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 588,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.056085807424005374,
"calculated_length": 124.21143267166839,
"difficulty": 1.2692307692307692,
"effort": 213.5574974990974,
"length": 35.0,
"n1": 2.0,
"n2": 26.0,
"n_1": 2.0,
"n_2": 33.0,
"time": 11.864305416616522,
"vocabulary": 28.0,
"volume": 168.25742227201613
},
"lines_of_code": 22.0,
"maintainability_index": 94.04253782869739,
"max_nesting_depth": 0.0,
"parameter_count": 4.0,
"statement_count": 0.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 588
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_678:678",
"entity_name": "anonymous_function_678",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 679,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.32700602507644255,
"calculated_length": 426.24307501985714,
"difficulty": 2.6739130434782608,
"effort": 2623.157027243637,
"length": 159.0,
"n1": 3.0,
"n2": 69.0,
"n_1": 36.0,
"n_2": 123.0,
"time": 145.73094595797983,
"vocabulary": 72.0,
"volume": 981.0180752293277
},
"lines_of_code": 70.0,
"maintainability_index": 66.12370447833001,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 15.999999999999998
},
"recommendations": [],
"severity": "Low",
"start_line": 679
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_792:792",
"entity_name": "anonymous_function_792",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 793,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 794,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 794,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 794,
"nesting_level": 1
},
{
"column": 12,
"kind": "If",
"line": 796,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.027920602761755765,
"calculated_length": 39.302968908806456,
"difficulty": 4.5,
"effort": 376.9281372837028,
"length": 22.0,
"n1": 7.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 9.0,
"time": 20.940452071316823,
"vocabulary": 14.0,
"volume": 83.76180828526729
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 16.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 793
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:formatPlanTimestamp:863",
"entity_name": "formatPlanTimestamp",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 864,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 865,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 871,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.043219280948873624,
"calculated_length": 67.75720079023742,
"difficulty": 4.576923076923077,
"effort": 593.4339730287647,
"length": 30.0,
"n1": 7.0,
"n2": 13.0,
"n_1": 13.0,
"n_2": 17.0,
"time": 32.9685540571536,
"vocabulary": 20.0,
"volume": 129.65784284662087
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 10.4
},
"recommendations": [],
"severity": "Low",
"start_line": 864
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_875:875",
"entity_name": "anonymous_function_875",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 876,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.5343881869166415,
"calculated_length": 433.8046986883111,
"difficulty": 4.071428571428571,
"effort": 6527.169997338978,
"length": 259.0,
"n1": 3.0,
"n2": 70.0,
"n_1": 69.0,
"n_2": 190.0,
"time": 362.620555407721,
"vocabulary": 73.0,
"volume": 1603.1645607499245
},
"lines_of_code": 87.0,
"maintainability_index": 60.047667490102825,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 19.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 876
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_972:972",
"entity_name": "anonymous_function_972",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 973,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.0,
"difficulty": 3.0,
"effort": 90.0,
"length": 10.0,
"n1": 4.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 5.0,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 973
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_978:978",
"entity_name": "anonymous_function_978",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 979,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009357849740192013,
"calculated_length": 13.60964047443681,
"difficulty": 1.2,
"effort": 33.688259064691245,
"length": 10.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 1.8715699480384025,
"vocabulary": 7.0,
"volume": 28.07354922057604
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 979
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_978:978",
"entity_name": "anonymous_function_978",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 979,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 979
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_983:983",
"entity_name": "anonymous_function_983",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 984,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 984
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_1021:1021",
"entity_name": "anonymous_function_1021",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 1022,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 25,
"kind": "LogicalAnd",
"line": 1028,
"nesting_level": 0
},
{
"column": 21,
"kind": "LogicalAnd",
"line": 1030,
"nesting_level": 0
},
{
"column": 21,
"kind": "LogicalAnd",
"line": 1038,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.09666666666666666,
"calculated_length": 139.99160303285046,
"difficulty": 3.425925925925926,
"effort": 993.5185185185186,
"length": 58.0,
"n1": 5.0,
"n2": 27.0,
"n_1": 21.0,
"n_2": 37.0,
"time": 55.19547325102881,
"vocabulary": 32.0,
"volume": 290.0
},
"lines_of_code": 22.0,
"maintainability_index": 90.52173145609657,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 14.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 1022
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_1088:1088",
"entity_name": "anonymous_function_1088",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 1089,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1091,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08917553358696376,
"calculated_length": 128.0419249893113,
"difficulty": 5.565217391304348,
"effort": 1488.843691191047,
"length": 54.0,
"n1": 8.0,
"n2": 23.0,
"n_1": 22.0,
"n_2": 32.0,
"time": 82.71353839950261,
"vocabulary": 31.0,
"volume": 267.52660076089126
},
"lines_of_code": 20.0,
"maintainability_index": 92.94519835028352,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 8.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 1089
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_1097:1097",
"entity_name": "anonymous_function_1097",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 1098,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 2.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 2.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1098
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_1105:1105",
"entity_name": "anonymous_function_1105",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 1106,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.5,
"effort": 17.414460711655217,
"length": 5.0,
"n1": 3.0,
"n2": 2.0,
"n_1": 3.0,
"n_2": 2.0,
"time": 0.9674700395364009,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1106
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_1111:1111",
"entity_name": "anonymous_function_1111",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 1112,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01107309364962454,
"calculated_length": 26.0,
"difficulty": 1.0,
"effort": 33.219280948873624,
"length": 10.0,
"n1": 2.0,
"n2": 8.0,
"n_1": 2.0,
"n_2": 8.0,
"time": 1.845515608270757,
"vocabulary": 10.0,
"volume": 33.219280948873624
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1112
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:getToolKindFromName:1211",
"entity_name": "getToolKindFromName",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 1212,
"metrics": {
"cognitive_complexity": 19.0,
"cyclomatic_complexity": 13.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 1214,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 1215,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 1215,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 1215,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 1217,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 1217,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 1217,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 1219,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 1219,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 1220,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 1220,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 1220,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.1175109929535273,
"calculated_length": 100.36210720983135,
"difficulty": 6.63157894736842,
"effort": 2337.850280864911,
"length": 75.0,
"n1": 7.0,
"n2": 19.0,
"n_1": 39.0,
"n_2": 36.0,
"time": 129.88057115916172,
"vocabulary": 26.0,
"volume": 352.53297886058186
},
"lines_of_code": 11.0,
"maintainability_index": 98.66534687104374,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 43.400000000000006
},
"recommendations": [],
"severity": "Moderate",
"start_line": 1212
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_1248:1248",
"entity_name": "anonymous_function_1248",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 1249,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.754887502163468,
"difficulty": 0.5,
"effort": 4.0,
"length": 4.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.2222222222222222,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1249
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_1259:1259",
"entity_name": "anonymous_function_1259",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 1260,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1261,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1261,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1264,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04975918151662715,
"calculated_length": 81.83229392178727,
"difficulty": 5.142857142857142,
"effort": 767.7130862565331,
"length": 33.0,
"n1": 9.0,
"n2": 14.0,
"n_1": 17.0,
"n_2": 16.0,
"time": 42.650727014251835,
"vocabulary": 23.0,
"volume": 149.27754454988144
},
"lines_of_code": 18.0,
"maintainability_index": 97.225779622699,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 14.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 1260
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_1275:1275",
"entity_name": "anonymous_function_1275",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 1276,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001,
"calculated_length": 0.0,
"difficulty": 1.0,
"effort": 3.0,
"length": 3.0,
"n1": 1.0,
"n2": 1.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.16666666666666666,
"vocabulary": 2.0,
"volume": 3.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1276
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_1279:1279",
"entity_name": "anonymous_function_1279",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 1280,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1281,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 1281,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1285,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1291,
"nesting_level": 0
},
{
"column": 18,
"kind": "ConditionalExpression",
"line": 1293,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1300,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.11362000345459092,
"calculated_length": 142.09567279432156,
"difficulty": 7.891304347826087,
"effort": 2689.830081783685,
"length": 67.0,
"n1": 11.0,
"n2": 23.0,
"n_1": 34.0,
"n_2": 33.0,
"time": 149.43500454353804,
"vocabulary": 34.0,
"volume": 340.86001036377274
},
"lines_of_code": 25.0,
"maintainability_index": 86.92055793288542,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 13.0,
"technical_debt_score": 25.4
},
"recommendations": [],
"severity": "Low",
"start_line": 1280
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_1288:1288",
"entity_name": "anonymous_function_1288",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 1289,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 1291,
"nesting_level": 0
},
{
"column": 18,
"kind": "ConditionalExpression",
"line": 1293,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04013488456773568,
"calculated_length": 78.25484338853101,
"difficulty": 3.966666666666667,
"effort": 477.6051263560546,
"length": 27.0,
"n1": 7.0,
"n2": 15.0,
"n_1": 10.0,
"n_2": 17.0,
"time": 26.533618130891924,
"vocabulary": 22.0,
"volume": 120.40465370320703
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 10.4
},
"recommendations": [],
"severity": "Low",
"start_line": 1289
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_1300:1300",
"entity_name": "anonymous_function_1300",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 1301,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 0.0,
"difficulty": 0.5,
"effort": 1.0,
"length": 2.0,
"n1": 1.0,
"n2": 1.0,
"n_1": 1.0,
"n_2": 1.0,
"time": 0.05555555555555555,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1301
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_1307:1307",
"entity_name": "anonymous_function_1307",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 1308,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1309,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.025333333333333333,
"calculated_length": 51.01955000865387,
"difficulty": 2.1666666666666665,
"effort": 164.66666666666666,
"length": 19.0,
"n1": 4.0,
"n2": 12.0,
"n_1": 6.0,
"n_2": 13.0,
"time": 9.148148148148147,
"vocabulary": 16.0,
"volume": 76.0
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1308
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx:anonymous_function_1344:1344",
"entity_name": "anonymous_function_1344",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/message.tsx",
"issues": [],
"line_number": 1345,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01660964047443681,
"calculated_length": 24.406371956566694,
"difficulty": 2.142857142857143,
"effort": 106.77626019280807,
"length": 15.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 5.0,
"n_2": 10.0,
"time": 5.932014455156004,
"vocabulary": 10.0,
"volume": 49.82892142331043
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1345
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/mode-selector-modal.tsx:anonymous_function_69:69",
"entity_name": "anonymous_function_69",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/mode-selector-modal.tsx",
"issues": [],
"line_number": 70,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.219674123853187,
"calculated_length": 231.2322192588714,
"difficulty": 3.1071428571428577,
"effort": 2047.6766544886361,
"length": 120.0,
"n1": 3.0,
"n2": 42.0,
"n_1": 33.0,
"n_2": 87.0,
"time": 113.75981413825757,
"vocabulary": 45.0,
"volume": 659.022371559561
},
"lines_of_code": 40.0,
"maintainability_index": 77.25821393869818,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 10.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 70
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/multi-daemon-session-host.tsx:buildCandidateUrls:9",
"entity_name": "buildCandidateUrls",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/multi-daemon-session-host.tsx",
"issues": [],
"line_number": 10,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "ConditionalExpression",
"line": 14,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 20,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 23,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 31,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 32,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.1624272955365906,
"calculated_length": 148.09284782231802,
"difficulty": 11.916666666666666,
"effort": 5806.775815433113,
"length": 95.0,
"n1": 11.0,
"n2": 24.0,
"n_1": 43.0,
"n_2": 52.0,
"time": 322.59865641295073,
"vocabulary": 35.0,
"volume": 487.2818866097718
},
"lines_of_code": 31.0,
"maintainability_index": 81.80742484050964,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 17.0,
"technical_debt_score": 23.0
},
"recommendations": [],
"severity": "Low",
"start_line": 10
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/multi-daemon-session-host.tsx:anonymous_function_18:18",
"entity_name": "anonymous_function_18",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/multi-daemon-session-host.tsx",
"issues": [],
"line_number": 19,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 20,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01660964047443681,
"calculated_length": 23.509775004326936,
"difficulty": 5.25,
"effort": 261.60183747237977,
"length": 15.0,
"n1": 6.0,
"n2": 4.0,
"n_1": 8.0,
"n_2": 7.0,
"time": 14.53343541513221,
"vocabulary": 10.0,
"volume": 49.82892142331043
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 19
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/multi-daemon-session-host.tsx:extractEndpointFromUrl:42",
"entity_name": "extractEndpointFromUrl",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/multi-daemon-session-host.tsx",
"issues": [],
"line_number": 43,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 44,
"nesting_level": 0
},
{
"column": 18,
"kind": "ConditionalExpression",
"line": 47,
"nesting_level": 1
},
{
"column": 54,
"kind": "ConditionalExpression",
"line": 47,
"nesting_level": 1
},
{
"column": 20,
"kind": "LogicalAnd",
"line": 48,
"nesting_level": 1
},
{
"column": 20,
"kind": "LogicalAnd",
"line": 48,
"nesting_level": 1
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 49,
"nesting_level": 1
},
{
"column": 5,
"kind": "Catch",
"line": 50,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10073532497786646,
"calculated_length": 126.63682062300134,
"difficulty": 7.568181818181818,
"effort": 2287.149764838377,
"length": 61.0,
"n1": 9.0,
"n2": 22.0,
"n_1": 24.0,
"n_2": 37.0,
"time": 127.06387582435428,
"vocabulary": 31.0,
"volume": 302.20597493359935
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 28.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 43
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/multi-daemon-session-host.tsx:ManagedDaemonSession:54",
"entity_name": "ManagedDaemonSession",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/multi-daemon-session-host.tsx",
"issues": [],
"line_number": 55,
"metrics": {
"cognitive_complexity": 22.0,
"cyclomatic_complexity": 15.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 67,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 72,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 78,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 87,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 89,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 90,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 92,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 93,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 104,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 104,
"nesting_level": 1
},
{
"column": 10,
"kind": "LogicalOr",
"line": 104,
"nesting_level": 1
},
{
"column": 33,
"kind": "LogicalAnd",
"line": 104,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 105,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 109,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.4991719529825278,
"calculated_length": 372.9821786662728,
"difficulty": 11.551724137931034,
"effort": 17298.890094739323,
"length": 246.0,
"n1": 10.0,
"n2": 58.0,
"n_1": 112.0,
"n_2": 134.0,
"time": 961.0494497077402,
"vocabulary": 68.0,
"volume": 1497.5158589475834
},
"lines_of_code": 71.0,
"maintainability_index": 60.47445880680897,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 39.0,
"technical_debt_score": 61.80000000000001
},
"recommendations": [],
"severity": "High",
"start_line": 55
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/multi-daemon-session-host.tsx:anonymous_function_58:58",
"entity_name": "anonymous_function_58",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/multi-daemon-session-host.tsx",
"issues": [],
"line_number": 59,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 59
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/multi-daemon-session-host.tsx:anonymous_function_65:65",
"entity_name": "anonymous_function_65",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/multi-daemon-session-host.tsx",
"issues": [],
"line_number": 66,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 67,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 72,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02734823416925963,
"calculated_length": 43.65148445440323,
"difficulty": 5.142857142857143,
"effort": 421.9441843257201,
"length": 21.0,
"n1": 8.0,
"n2": 7.0,
"n_1": 12.0,
"n_2": 9.0,
"time": 23.441343573651114,
"vocabulary": 15.0,
"volume": 82.0447025077789
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 9.6
},
"recommendations": [],
"severity": "Low",
"start_line": 66
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/multi-daemon-session-host.tsx:anonymous_function_85:85",
"entity_name": "anonymous_function_85",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/multi-daemon-session-host.tsx",
"issues": [],
"line_number": 86,
"metrics": {
"cognitive_complexity": 19.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 87,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 89,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 90,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 92,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 93,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 104,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 104,
"nesting_level": 1
},
{
"column": 10,
"kind": "LogicalOr",
"line": 104,
"nesting_level": 1
},
{
"column": 33,
"kind": "LogicalAnd",
"line": 104,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 105,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 109,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.2153240724459966,
"calculated_length": 163.13526283059372,
"difficulty": 8.839285714285714,
"effort": 5709.932992541159,
"length": 124.0,
"n1": 9.0,
"n2": 28.0,
"n_1": 69.0,
"n_2": 55.0,
"time": 317.21849958561995,
"vocabulary": 37.0,
"volume": 645.9722173379898
},
"lines_of_code": 27.0,
"maintainability_index": 81.1995089933965,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 20.0,
"technical_debt_score": 44.6
},
"recommendations": [],
"severity": "Moderate",
"start_line": 86
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/multi-daemon-session-host.tsx:anonymous_function_97:97",
"entity_name": "anonymous_function_97",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/multi-daemon-session-host.tsx",
"issues": [],
"line_number": 98,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 98
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/multi-daemon-session-host.tsx:anonymous_function_109:109",
"entity_name": "anonymous_function_109",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/multi-daemon-session-host.tsx",
"issues": [],
"line_number": 110,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.013736341672916685,
"calculated_length": 20.264662506490403,
"difficulty": 2.0,
"effort": 82.41805003750011,
"length": 13.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 4.578780557638895,
"vocabulary": 9.0,
"volume": 41.209025018750054
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 110
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/pair-link-modal.tsx:anonymous_function_8:8",
"entity_name": "anonymous_function_8",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/pair-link-modal.tsx",
"issues": [],
"line_number": 9,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.3384547120709659,
"calculated_length": 272.833087536779,
"difficulty": 3.96875,
"effort": 4029.7264155949374,
"length": 179.0,
"n1": 3.0,
"n2": 48.0,
"n_1": 52.0,
"n_2": 127.0,
"time": 223.8736897552743,
"vocabulary": 51.0,
"volume": 1015.3641362128976
},
"lines_of_code": 55.0,
"maintainability_index": 69.85158897268687,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 13.0
},
"recommendations": [],
"severity": "Low",
"start_line": 9
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/pair-link-modal.tsx:anonymous_function_76:76",
"entity_name": "anonymous_function_76",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/pair-link-modal.tsx",
"issues": [],
"line_number": 77,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 41,
"kind": "ConditionalExpression",
"line": 77,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 77
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/pair-link-modal.tsx:anonymous_function_82:82",
"entity_name": "anonymous_function_82",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/pair-link-modal.tsx",
"issues": [],
"line_number": 83,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 84,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01660964047443681,
"calculated_length": 23.21928094887362,
"difficulty": 3.0,
"effort": 149.4867642699313,
"length": 15.0,
"n1": 5.0,
"n2": 5.0,
"n_1": 9.0,
"n_2": 6.0,
"time": 8.304820237218406,
"vocabulary": 10.0,
"volume": 49.82892142331043
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 83
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/pair-link-modal.tsx:anonymous_function_89:89",
"entity_name": "anonymous_function_89",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/pair-link-modal.tsx",
"issues": [],
"line_number": 90,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 91,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 93,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 97,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 102,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 108,
"nesting_level": 1
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 109,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 111,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.14622946138852222,
"calculated_length": 170.3171490075026,
"difficulty": 9.5,
"effort": 4167.539649572883,
"length": 83.0,
"n1": 13.0,
"n2": 26.0,
"n_1": 45.0,
"n_2": 38.0,
"time": 231.52998053182682,
"vocabulary": 39.0,
"volume": 438.6883841655666
},
"lines_of_code": 27.0,
"maintainability_index": 84.13173825489685,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 20.0,
"technical_debt_score": 29.400000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 90
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/realtime-controls.tsx:RealtimeControls:10",
"entity_name": "RealtimeControls",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/realtime-controls.tsx",
"issues": [],
"line_number": 11,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 13,
"kind": "LogicalAnd",
"line": 44,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.206,
"calculated_length": 349.2118756352258,
"difficulty": 5.714285714285714,
"effort": 3531.4285714285716,
"length": 103.0,
"n1": 8.0,
"n2": 56.0,
"n_1": 23.0,
"n_2": 80.0,
"time": 196.1904761904762,
"vocabulary": 64.0,
"volume": 618.0
},
"lines_of_code": 55.0,
"maintainability_index": 72.20346242045397,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 15.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 11
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/realtime-controls.tsx:handleStop:22",
"entity_name": "handleStop",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/realtime-controls.tsx",
"issues": [],
"line_number": 23,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 8.0,
"length": 4.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 2.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 23
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/realtime-controls.tsx:anonymous_function_67:67",
"entity_name": "anonymous_function_67",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/realtime-controls.tsx",
"issues": [],
"line_number": 68,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.21343308035161587,
"calculated_length": 217.63201129765795,
"difficulty": 3.4124999999999996,
"effort": 2185.021160099667,
"length": 118.0,
"n1": 3.0,
"n2": 40.0,
"n_1": 27.0,
"n_2": 91.0,
"time": 121.39006444998151,
"vocabulary": 43.0,
"volume": 640.2992410548476
},
"lines_of_code": 42.0,
"maintainability_index": 76.61768690142458,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 10.4
},
"recommendations": [],
"severity": "Low",
"start_line": 68
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx:anonymous_function_31:31",
"entity_name": "anonymous_function_31",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx",
"issues": [],
"line_number": 32,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 32
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx:anonymous_function_32:32",
"entity_name": "anonymous_function_32",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx",
"issues": [],
"line_number": 33,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 8.0,
"length": 6.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 12.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 33
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx:anonymous_function_33:33",
"entity_name": "anonymous_function_33",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx",
"issues": [],
"line_number": 34,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx:anonymous_function_53:53",
"entity_name": "anonymous_function_53",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx",
"issues": [],
"line_number": 54,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005417832221403845,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 16.253496664211536,
"length": 7.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 3.0,
"time": 0.9029720369006409,
"vocabulary": 5.0,
"volume": 16.253496664211536
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 54
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx:anonymous_function_59:59",
"entity_name": "anonymous_function_59",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx",
"issues": [],
"line_number": 60,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 61,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 61,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.01107309364962454,
"calculated_length": 23.509775004326936,
"difficulty": 3.0,
"effort": 99.65784284662087,
"length": 10.0,
"n1": 6.0,
"n2": 4.0,
"n_1": 6.0,
"n_2": 4.0,
"time": 5.5365468248122705,
"vocabulary": 10.0,
"volume": 33.219280948873624
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 60
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx:anonymous_function_65:65",
"entity_name": "anonymous_function_65",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx",
"issues": [],
"line_number": 66,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 68,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 68,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 69,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 69,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04315002244998618,
"calculated_length": 39.302968908806456,
"difficulty": 7.5,
"effort": 970.8755051246891,
"length": 34.0,
"n1": 7.0,
"n2": 7.0,
"n_1": 19.0,
"n_2": 15.0,
"time": 53.93752806248273,
"vocabulary": 14.0,
"volume": 129.45006734995854
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 16.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 66
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx:anonymous_function_66:66",
"entity_name": "anonymous_function_66",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx",
"issues": [],
"line_number": 67,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 68,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 68,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 69,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 69,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.033441172313493875,
"calculated_length": 27.11941547876375,
"difficulty": 7.800000000000001,
"effort": 782.5234321357567,
"length": 29.0,
"n1": 6.0,
"n2": 5.0,
"n_1": 16.0,
"n_2": 13.0,
"time": 43.47352400754204,
"vocabulary": 11.0,
"volume": 100.32351694048162
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 15.600000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 67
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx:anonymous_function_74:74",
"entity_name": "anonymous_function_74",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx",
"issues": [],
"line_number": 75,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 15.509775004326936,
"length": 6.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.861654166907052,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 75
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx:anonymous_function_78:78",
"entity_name": "anonymous_function_78",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx",
"issues": [],
"line_number": 79,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 1.0,
"effort": 4.754887502163468,
"length": 3.0,
"n1": 2.0,
"n2": 1.0,
"n_1": 2.0,
"n_2": 1.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 79
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx:anonymous_function_82:82",
"entity_name": "anonymous_function_82",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx",
"issues": [],
"line_number": 83,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.00655049481813441,
"calculated_length": 12.754887502163468,
"difficulty": 2.0,
"effort": 39.302968908806456,
"length": 7.0,
"n1": 4.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 3.0,
"time": 2.1834982727114696,
"vocabulary": 7.0,
"volume": 19.651484454403228
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 83
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx:anonymous_function_87:87",
"entity_name": "anonymous_function_87",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx",
"issues": [],
"line_number": 88,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 12.0,
"length": 6.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 0.6666666666666666,
"vocabulary": 4.0,
"volume": 12.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 88
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx:anonymous_function_93:93",
"entity_name": "anonymous_function_93",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx",
"issues": [],
"line_number": 94,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 1.0,
"effort": 4.754887502163468,
"length": 3.0,
"n1": 2.0,
"n2": 1.0,
"n_1": 2.0,
"n_2": 1.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 94
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx:anonymous_function_98:98",
"entity_name": "anonymous_function_98",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx",
"issues": [],
"line_number": 99,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008422064766172813,
"calculated_length": 12.754887502163468,
"difficulty": 1.5,
"effort": 37.89929144777766,
"length": 9.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 5.0,
"n_2": 4.0,
"time": 2.1055161915432032,
"vocabulary": 7.0,
"volume": 25.26619429851844
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 99
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx:anonymous_function_104:104",
"entity_name": "anonymous_function_104",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx",
"issues": [],
"line_number": 105,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 105
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx:anonymous_function_110:110",
"entity_name": "anonymous_function_110",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx",
"issues": [],
"line_number": 111,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.018450301966065584,
"calculated_length": 27.11941547876375,
"difficulty": 2.916666666666667,
"effort": 161.4401422030739,
"length": 16.0,
"n1": 5.0,
"n2": 6.0,
"n_1": 9.0,
"n_2": 7.0,
"time": 8.968896789059661,
"vocabulary": 11.0,
"volume": 55.35090589819676
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 111
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx:anonymous_function_116:116",
"entity_name": "anonymous_function_116",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx",
"issues": [],
"line_number": 117,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 118,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.034062190343752824,
"calculated_length": 52.87076540327685,
"difficulty": 3.8500000000000005,
"effort": 393.4182984703452,
"length": 25.0,
"n1": 7.0,
"n2": 10.0,
"n_1": 14.0,
"n_2": 11.0,
"time": 21.8565721372414,
"vocabulary": 17.0,
"volume": 102.18657103125848
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 117
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx:anonymous_function_132:132",
"entity_name": "anonymous_function_132",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx",
"issues": [],
"line_number": 133,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 133
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx:anonymous_function_135:135",
"entity_name": "anonymous_function_135",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx",
"issues": [],
"line_number": 136,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 137,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06571779584366991,
"calculated_length": 88.0,
"difficulty": 6.0,
"effort": 1182.9203251860583,
"length": 43.0,
"n1": 8.0,
"n2": 16.0,
"n_1": 19.0,
"n_2": 24.0,
"time": 65.7177958436699,
"vocabulary": 24.0,
"volume": 197.1533875310097
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 136
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx:anonymous_function_147:147",
"entity_name": "anonymous_function_147",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx",
"issues": [],
"line_number": 148,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 150,
"nesting_level": 0
},
{
"column": 27,
"kind": "LogicalOr",
"line": 151,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 152,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06656193872010438,
"calculated_length": 91.82263988300141,
"difficulty": 6.0,
"effort": 1198.114896961879,
"length": 43.0,
"n1": 10.0,
"n2": 15.0,
"n_1": 25.0,
"n_2": 18.0,
"time": 66.56193872010438,
"vocabulary": 25.0,
"volume": 199.68581616031315
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 12.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 148
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx:anonymous_function_158:158",
"entity_name": "anonymous_function_158",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx",
"issues": [],
"line_number": 159,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 159
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx:anonymous_function_163:163",
"entity_name": "anonymous_function_163",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx",
"issues": [],
"line_number": 164,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 15.509775004326936,
"length": 6.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.861654166907052,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 164
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx:anonymous_function_167:167",
"entity_name": "anonymous_function_167",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx",
"issues": [],
"line_number": 168,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 20,
"kind": "ConditionalExpression",
"line": 170,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01614401422030739,
"calculated_length": 27.651484454403228,
"difficulty": 2.5714285714285716,
"effort": 124.53953827094271,
"length": 14.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 5.0,
"n_2": 9.0,
"time": 6.9188632372745955,
"vocabulary": 11.0,
"volume": 48.432042660922164
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 168
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx:anonymous_function_298:298",
"entity_name": "anonymous_function_298",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/sliding-sidebar.tsx",
"issues": [],
"line_number": 299,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.5801285882525701,
"calculated_length": 510.50913509315245,
"difficulty": 3.8812499999999996,
"effort": 6754.872249465863,
"length": 273.0,
"n1": 3.0,
"n2": 80.0,
"n_1": 66.0,
"n_2": 207.0,
"time": 375.2706805258813,
"vocabulary": 83.0,
"volume": 1740.3857647577104
},
"lines_of_code": 96.0,
"maintainability_index": 58.02587652631894,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 21.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 299
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-details.tsx:summarizeToolCallDisplay:33",
"entity_name": "summarizeToolCallDisplay",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-details.tsx",
"issues": [],
"line_number": 34,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.32840077272829005,
"calculated_length": 276.57545103317585,
"difficulty": 7.787234042553191,
"effort": 7672.001030971542,
"length": 172.0,
"n1": 6.0,
"n2": 47.0,
"n_1": 50.0,
"n_2": 122.0,
"time": 426.22227949841897,
"vocabulary": 53.0,
"volume": 985.2023181848701
},
"lines_of_code": 67.0,
"maintainability_index": 66.81117506575063,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 17.0,
"technical_debt_score": 15.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-details.tsx:anonymous_function_76:76",
"entity_name": "anonymous_function_76",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-details.tsx",
"issues": [],
"line_number": 77,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007754887502163467,
"calculated_length": 10.0,
"difficulty": 1.5,
"effort": 34.89699375973561,
"length": 9.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 1.938721875540867,
"vocabulary": 6.0,
"volume": 23.264662506490403
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 77
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-details.tsx:anonymous_function_77:77",
"entity_name": "anonymous_function_77",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-details.tsx",
"issues": [],
"line_number": 78,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007754887502163467,
"calculated_length": 10.0,
"difficulty": 1.5,
"effort": 34.89699375973561,
"length": 9.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 1.938721875540867,
"vocabulary": 6.0,
"volume": 23.264662506490403
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 78
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-details.tsx:assertNever:104",
"entity_name": "assertNever",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-details.tsx",
"issues": [],
"line_number": 105,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.010566416671474373,
"calculated_length": 19.60964047443681,
"difficulty": 2.4,
"effort": 76.07820003461549,
"length": 10.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 4.22656666858975,
"vocabulary": 9.0,
"volume": 31.69925001442312
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 105
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-details.tsx:formatValue:108",
"entity_name": "formatValue",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-details.tsx",
"issues": [],
"line_number": 109,
"metrics": {
"cognitive_complexity": 16.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 110,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 113,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 117,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 118,
"nesting_level": 1
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 118,
"nesting_level": 1
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 118,
"nesting_level": 1
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 118,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 125,
"nesting_level": 1
},
{
"column": 3,
"kind": "Try",
"line": 129,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 131,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.1128105532353862,
"calculated_length": 97.21928094887363,
"difficulty": 10.3125,
"effort": 3490.0764907197604,
"length": 72.0,
"n1": 10.0,
"n2": 16.0,
"n_1": 39.0,
"n_2": 33.0,
"time": 193.89313837332003,
"vocabulary": 26.0,
"volume": 338.4316597061586
},
"lines_of_code": 25.0,
"maintainability_index": 86.03773629901782,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 11.0,
"technical_debt_score": 39.800000000000004
},
"recommendations": [],
"severity": "Moderate",
"start_line": 109
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-details.tsx:anonymous_function_149:149",
"entity_name": "anonymous_function_149",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-details.tsx",
"issues": [],
"line_number": 150,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 151,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 153,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03553531260587097,
"calculated_length": 39.50977500432694,
"difficulty": 4.875,
"effort": 519.703946860863,
"length": 28.0,
"n1": 6.0,
"n2": 8.0,
"n_1": 15.0,
"n_2": 13.0,
"time": 28.872441492270166,
"vocabulary": 14.0,
"volume": 106.60593781761291
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 9.0
},
"recommendations": [],
"severity": "Low",
"start_line": 150
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-details.tsx:if:253",
"entity_name": "if",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-details.tsx",
"issues": [],
"line_number": 254,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.16382556668782058,
"calculated_length": 241.98710676103488,
"difficulty": 4.357142857142857,
"effort": 2141.4341931336544,
"length": 88.0,
"n1": 6.0,
"n2": 42.0,
"n_1": 27.0,
"n_2": 61.0,
"time": 118.96856628520302,
"vocabulary": 48.0,
"volume": 491.47670006346175
},
"lines_of_code": 22.0,
"maintainability_index": 88.4685566855951,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 254
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-details.tsx:anonymous_function_259:259",
"entity_name": "anonymous_function_259",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-details.tsx",
"issues": [],
"line_number": 260,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.08818268924833922,
"calculated_length": 152.4910893331364,
"difficulty": 3.275862068965517,
"effort": 866.6229805440232,
"length": 52.0,
"n1": 5.0,
"n2": 29.0,
"n_1": 14.0,
"n_2": 38.0,
"time": 48.145721141334626,
"vocabulary": 34.0,
"volume": 264.54806774501765
},
"lines_of_code": 15.0,
"maintainability_index": 97.89386732210409,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 5.0
},
"recommendations": [],
"severity": "Low",
"start_line": 260
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-details.tsx:anonymous_function_283:283",
"entity_name": "anonymous_function_283",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-details.tsx",
"issues": [],
"line_number": 284,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.08818268924833922,
"calculated_length": 152.4910893331364,
"difficulty": 3.275862068965517,
"effort": 866.6229805440232,
"length": 52.0,
"n1": 5.0,
"n2": 29.0,
"n_1": 14.0,
"n_2": 38.0,
"time": 48.145721141334626,
"vocabulary": 34.0,
"volume": 264.54806774501765
},
"lines_of_code": 15.0,
"maintainability_index": 97.89386732210409,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 5.0
},
"recommendations": [],
"severity": "Low",
"start_line": 284
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-details.tsx:useToolCallDetails:333",
"entity_name": "useToolCallDetails",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-details.tsx",
"issues": [],
"line_number": 334,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 21,
"kind": "ConditionalExpression",
"line": 339,
"nesting_level": 0
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 341,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 342,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 345,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 346,
"nesting_level": 2
},
{
"column": 24,
"kind": "ConditionalExpression",
"line": 354,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.17592757511560986,
"calculated_length": 241.40644880847532,
"difficulty": 7.0874999999999995,
"effort": 3740.6600658956545,
"length": 94.0,
"n1": 9.0,
"n2": 40.0,
"n_1": 31.0,
"n_2": 63.0,
"time": 207.81444810531414,
"vocabulary": 49.0,
"volume": 527.7827253468296
},
"lines_of_code": 27.0,
"maintainability_index": 83.40028236198245,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 28.199999999999996
},
"recommendations": [],
"severity": "Low",
"start_line": 334
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-details.tsx:anonymous_function_336:336",
"entity_name": "anonymous_function_336",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-details.tsx",
"issues": [],
"line_number": 337,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 21,
"kind": "ConditionalExpression",
"line": 339,
"nesting_level": 0
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 341,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 342,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 345,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 346,
"nesting_level": 2
},
{
"column": 24,
"kind": "ConditionalExpression",
"line": 354,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.13837013046707142,
"calculated_length": 184.0,
"difficulty": 6.25,
"effort": 2594.4399462575893,
"length": 78.0,
"n1": 8.0,
"n2": 32.0,
"n_1": 28.0,
"n_2": 50.0,
"time": 144.13555256986606,
"vocabulary": 40.0,
"volume": 415.11039140121426
},
"lines_of_code": 23.0,
"maintainability_index": 87.24656236312842,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 27.399999999999995
},
"recommendations": [],
"severity": "Low",
"start_line": 337
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-details.tsx:anonymous_function_364:364",
"entity_name": "anonymous_function_364",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-details.tsx",
"issues": [],
"line_number": 365,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.610885207355515,
"calculated_length": 411.1828632628342,
"difficulty": 4.746268656716418,
"effort": 8698.275937569571,
"length": 299.0,
"n1": 3.0,
"n2": 67.0,
"n_1": 87.0,
"n_2": 212.0,
"time": 483.2375520871984,
"vocabulary": 70.0,
"volume": 1832.655622066545
},
"lines_of_code": 89.0,
"maintainability_index": 58.98377977203472,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 19.8
},
"recommendations": [],
"severity": "Low",
"start_line": 365
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-preview.test.ts:anonymous_function_5:5",
"entity_name": "anonymous_function_5",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-preview.test.ts",
"issues": [],
"line_number": 6,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.31967944657139086,
"calculated_length": 399.4539078468495,
"difficulty": 3.4153846153846152,
"effort": 3275.4847910237895,
"length": 157.0,
"n1": 4.0,
"n2": 65.0,
"n_1": 46.0,
"n_2": 111.0,
"time": 181.9713772790994,
"vocabulary": 69.0,
"volume": 959.0383397141726
},
"lines_of_code": 68.0,
"maintainability_index": 66.71113370090482,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 15.0,
"technical_debt_score": 15.600000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 6
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-preview.test.ts:anonymous_function_6:6",
"entity_name": "anonymous_function_6",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-preview.test.ts",
"issues": [],
"line_number": 7,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.12684965325269396,
"calculated_length": 190.87218755408668,
"difficulty": 2.3333333333333335,
"effort": 887.9475727688578,
"length": 72.0,
"n1": 3.0,
"n2": 36.0,
"n_1": 16.0,
"n_2": 56.0,
"time": 49.33042070938099,
"vocabulary": 39.0,
"volume": 380.5489597580819
},
"lines_of_code": 33.0,
"maintainability_index": 83.23018033006882,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 8.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 7
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-preview.test.ts:anonymous_function_41:41",
"entity_name": "anonymous_function_41",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-preview.test.ts",
"issues": [],
"line_number": 42,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.13840281385132153,
"calculated_length": 207.42124551085624,
"difficulty": 2.6842105263157894,
"effort": 1114.5068694343258,
"length": 77.0,
"n1": 4.0,
"n2": 38.0,
"n_1": 26.0,
"n_2": 51.0,
"time": 61.91704830190699,
"vocabulary": 42.0,
"volume": 415.2084415539646
},
"lines_of_code": 31.0,
"maintainability_index": 83.78974784004913,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 8.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 42
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-preview.test.ts:anonymous_function_69:69",
"entity_name": "anonymous_function_69",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-preview.test.ts",
"issues": [],
"line_number": 70,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 25.84962500721156,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.43609027817842,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 70
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-preview.ts:resolveToolCallPreview:23",
"entity_name": "resolveToolCallPreview",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-preview.ts",
"issues": [],
"line_number": 24,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05572627427729669,
"calculated_length": 102.862383112184,
"difficulty": 1.977272727272727,
"effort": 330.5581269630553,
"length": 36.0,
"n1": 3.0,
"n2": 22.0,
"n_1": 7.0,
"n_2": 29.0,
"time": 18.364340386836407,
"vocabulary": 25.0,
"volume": 167.17882283189007
},
"lines_of_code": 16.0,
"maintainability_index": 99.23492971810644,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 24
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-sheet.tsx:useToolCallSheet:40",
"entity_name": "useToolCallSheet",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-sheet.tsx",
"issues": [],
"line_number": 41,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 43,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.020305892917640556,
"calculated_length": 39.302968908806456,
"difficulty": 4.5,
"effort": 274.1295543881475,
"length": 16.0,
"n1": 7.0,
"n2": 7.0,
"n_1": 7.0,
"n_2": 9.0,
"time": 15.229419688230415,
"vocabulary": 14.0,
"volume": 60.91767875292167
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 41
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-sheet.tsx:CustomSheetBackground:59",
"entity_name": "CustomSheetBackground",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-sheet.tsx",
"issues": [],
"line_number": 60,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.048251327531274806,
"calculated_length": 94.23866587835397,
"difficulty": 1.2380952380952381,
"effort": 179.219216544735,
"length": 32.0,
"n1": 2.0,
"n2": 21.0,
"n_1": 6.0,
"n_2": 26.0,
"time": 9.956623141374166,
"vocabulary": 23.0,
"volume": 144.75398259382442
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 60
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-sheet.tsx:anonymous_function_62:62",
"entity_name": "anonymous_function_62",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-sheet.tsx",
"issues": [],
"line_number": 63,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009,
"calculated_length": 19.651484454403228,
"difficulty": 0.5,
"effort": 13.5,
"length": 9.0,
"n1": 1.0,
"n2": 7.0,
"n_1": 2.0,
"n_2": 7.0,
"time": 0.75,
"vocabulary": 8.0,
"volume": 27.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 63
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-sheet.tsx:anonymous_function_78:78",
"entity_name": "anonymous_function_78",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-sheet.tsx",
"issues": [],
"line_number": 79,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 2.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 2.0,
"n1": 0.0,
"n2": 2.0,
"n_1": 0.0,
"n_2": 2.0,
"time": 0.0,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 79
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-sheet.tsx:anonymous_function_80:80",
"entity_name": "anonymous_function_80",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-sheet.tsx",
"issues": [],
"line_number": 81,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.013736341672916685,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 72.1157937828126,
"length": 13.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 7.0,
"time": 4.0064329879340335,
"vocabulary": 9.0,
"volume": 41.209025018750054
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 81
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-sheet.tsx:anonymous_function_85:85",
"entity_name": "anonymous_function_85",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-sheet.tsx",
"issues": [],
"line_number": 86,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 27.14210625757214,
"length": 7.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 3.0,
"time": 1.5078947920873411,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 86
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-sheet.tsx:anonymous_function_89:89",
"entity_name": "anonymous_function_89",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-sheet.tsx",
"issues": [],
"line_number": 90,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 91,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.012180403014586996,
"calculated_length": 23.509775004326936,
"difficulty": 3.75,
"effort": 137.0295339141037,
"length": 11.0,
"n1": 6.0,
"n2": 4.0,
"n_1": 6.0,
"n_2": 5.0,
"time": 7.6127518841168715,
"vocabulary": 10.0,
"volume": 36.541209043760986
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 90
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-sheet.tsx:anonymous_function_108:108",
"entity_name": "anonymous_function_108",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-sheet.tsx",
"issues": [],
"line_number": 109,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 109
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-sheet.tsx:ToolCallSheetContent:139",
"entity_name": "ToolCallSheetContent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-sheet.tsx",
"issues": [],
"line_number": 140,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 25,
"kind": "ConditionalExpression",
"line": 143,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 144,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2199068804440141,
"calculated_length": 382.9427607494919,
"difficulty": 6.3,
"effort": 4156.240040391866,
"length": 108.0,
"n1": 9.0,
"n2": 60.0,
"n_1": 24.0,
"n_2": 84.0,
"time": 230.9022244662148,
"vocabulary": 69.0,
"volume": 659.7206413320423
},
"lines_of_code": 33.0,
"maintainability_index": 79.90913183576605,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 14.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 140
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-sheet.tsx:anonymous_function_176:176",
"entity_name": "anonymous_function_176",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/tool-call-sheet.tsx",
"issues": [],
"line_number": 177,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.27038560796730793,
"calculated_length": 272.833087536779,
"difficulty": 3.25,
"effort": 2636.259677681252,
"length": 143.0,
"n1": 3.0,
"n2": 48.0,
"n_1": 39.0,
"n_2": 104.0,
"time": 146.45887098229178,
"vocabulary": 51.0,
"volume": 811.1568239019238
},
"lines_of_code": 50.0,
"maintainability_index": 72.56322799853733,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 12.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 177
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu-floating.ts:measureElement:25",
"entity_name": "measureElement",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu-floating.ts",
"issues": [],
"line_number": 26,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03660264518982301,
"calculated_length": 75.60964047443682,
"difficulty": 2.8125,
"effort": 308.83481878913165,
"length": 25.0,
"n1": 5.0,
"n2": 16.0,
"n_1": 7.0,
"n_2": 18.0,
"time": 17.157489932729536,
"vocabulary": 21.0,
"volume": 109.80793556946902
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 26
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu-floating.ts:anonymous_function_26:26",
"entity_name": "anonymous_function_26",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu-floating.ts",
"issues": [],
"line_number": 27,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02157501122499309,
"calculated_length": 42.80863530717374,
"difficulty": 1.6363636363636362,
"effort": 105.91369146814789,
"length": 17.0,
"n1": 3.0,
"n2": 11.0,
"n_1": 5.0,
"n_2": 12.0,
"time": 5.8840939704526605,
"vocabulary": 14.0,
"volume": 64.72503367497927
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 27
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu-floating.ts:anonymous_function_27:27",
"entity_name": "anonymous_function_27",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu-floating.ts",
"issues": [],
"line_number": 28,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012684582601670089,
"calculated_length": 30.52932501298081,
"difficulty": 1.0,
"effort": 38.05374780501027,
"length": 11.0,
"n1": 2.0,
"n2": 9.0,
"n_1": 2.0,
"n_2": 9.0,
"time": 2.1140971002783484,
"vocabulary": 11.0,
"volume": 38.05374780501027
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 4.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 28
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu-floating.ts:computeGeometry:33",
"entity_name": "computeGeometry",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu-floating.ts",
"issues": [
{
"description": "Cyclomatic complexity of 24.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu-floating.ts:computeGeometry:33",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu-floating.ts:34",
"metric_value": 24.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 59.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu-floating.ts:computeGeometry:33",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu-floating.ts:34",
"metric_value": 59.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 34,
"metrics": {
"cognitive_complexity": 59.0,
"cyclomatic_complexity": 24.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 61,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 61,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 61,
"nesting_level": 1
},
{
"column": 10,
"kind": "If",
"line": 63,
"nesting_level": 1
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 63,
"nesting_level": 2
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 63,
"nesting_level": 2
},
{
"column": 10,
"kind": "If",
"line": 65,
"nesting_level": 2
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 65,
"nesting_level": 3
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 65,
"nesting_level": 3
},
{
"column": 10,
"kind": "If",
"line": 67,
"nesting_level": 3
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 67,
"nesting_level": 4
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 67,
"nesting_level": 4
},
{
"column": 3,
"kind": "If",
"line": 75,
"nesting_level": 0
},
{
"column": 10,
"kind": "If",
"line": 77,
"nesting_level": 1
},
{
"column": 10,
"kind": "If",
"line": 79,
"nesting_level": 2
},
{
"column": 3,
"kind": "If",
"line": 86,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 86,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 87,
"nesting_level": 1
},
{
"column": 12,
"kind": "If",
"line": 89,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 95,
"nesting_level": 1
},
{
"column": 12,
"kind": "If",
"line": 97,
"nesting_level": 2
},
{
"column": 5,
"kind": "ConditionalExpression",
"line": 116,
"nesting_level": 0
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 118,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.9511608878167241,
"calculated_length": 392.4671835415214,
"difficulty": 23.008333333333333,
"effort": 65653.88028154938,
"length": 464.0,
"n1": 11.0,
"n2": 60.0,
"n_1": 213.0,
"n_2": 251.0,
"time": 3647.4377934194104,
"vocabulary": 71.0,
"volume": 2853.4826634501724
},
"lines_of_code": 96.0,
"maintainability_index": 50.164822623239374,
"max_nesting_depth": 4.0,
"parameter_count": 1.0,
"statement_count": 43.0,
"technical_debt_score": 99.2
},
"recommendations": [],
"severity": "Critical",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu-floating.ts:useDropdownFloating:149",
"entity_name": "useDropdownFloating",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu-floating.ts",
"issues": [],
"line_number": 150,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 29,
"kind": "ConditionalExpression",
"line": 163,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 178,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 178,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 182,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 207,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 233,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 239,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 239,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 239,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.6859700905863968,
"calculated_length": 750.1486995954799,
"difficulty": 12.721153846153847,
"effort": 26178.993168628935,
"length": 299.0,
"n1": 14.0,
"n2": 104.0,
"n_1": 110.0,
"n_2": 189.0,
"time": 1454.388509368274,
"vocabulary": 118.0,
"volume": 2057.9102717591904
},
"lines_of_code": 109.0,
"maintainability_index": 53.02704346616876,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 35.0,
"technical_debt_score": 50.4
},
"recommendations": [],
"severity": "Moderate",
"start_line": 150
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu-floating.ts:anonymous_function_160:160",
"entity_name": "anonymous_function_160",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu-floating.ts",
"issues": [],
"line_number": 161,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 29,
"kind": "ConditionalExpression",
"line": 163,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04674347354592247,
"calculated_length": 84.99664330558271,
"difficulty": 3.7058823529411766,
"effort": 519.6774411870203,
"length": 31.0,
"n1": 6.0,
"n2": 17.0,
"n_1": 10.0,
"n_2": 21.0,
"time": 28.870968954834463,
"vocabulary": 23.0,
"volume": 140.2304206377674
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 161
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu-floating.ts:anonymous_function_171:171",
"entity_name": "anonymous_function_171",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu-floating.ts",
"issues": [],
"line_number": 172,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 178,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 178,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 182,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 207,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.15997208354243656,
"calculated_length": 191.6338334270034,
"difficulty": 9.225806451612904,
"effort": 4427.614441271309,
"length": 89.0,
"n1": 11.0,
"n2": 31.0,
"n_1": 37.0,
"n_2": 52.0,
"time": 245.97858007062828,
"vocabulary": 42.0,
"volume": 479.9162506273097
},
"lines_of_code": 38.0,
"maintainability_index": 78.81832383617305,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 22.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 172
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu-floating.ts:anonymous_function_211:211",
"entity_name": "anonymous_function_211",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu-floating.ts",
"issues": [],
"line_number": 212,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.026045937304056792,
"calculated_length": 44.82892142331043,
"difficulty": 3.0,
"effort": 234.41343573651113,
"length": 20.0,
"n1": 5.0,
"n2": 10.0,
"n_1": 8.0,
"n_2": 12.0,
"time": 13.022968652028396,
"vocabulary": 15.0,
"volume": 78.13781191217038
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 212
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu-floating.ts:anonymous_function_219:219",
"entity_name": "anonymous_function_219",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu-floating.ts",
"issues": [],
"line_number": 220,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.36452797660028,
"difficulty": 1.5,
"effort": 45.0,
"length": 10.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 5.0,
"time": 2.5,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 220
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu-floating.ts:anonymous_function_224:224",
"entity_name": "anonymous_function_224",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu-floating.ts",
"issues": [],
"line_number": 225,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 233,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 239,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 239,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 239,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07677384872963783,
"calculated_length": 99.05865002596161,
"difficulty": 5.111111111111111,
"effort": 1177.1990138544465,
"length": 49.0,
"n1": 8.0,
"n2": 18.0,
"n_1": 26.0,
"n_2": 23.0,
"time": 65.39994521413593,
"vocabulary": 26.0,
"volume": 230.3215461889135
},
"lines_of_code": 18.0,
"maintainability_index": 94.74070045267304,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 18.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 225
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx:useDropdownMenuContext:45",
"entity_name": "useDropdownMenuContext",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx",
"issues": [],
"line_number": 46,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 48,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02157501122499309,
"calculated_length": 39.302968908806456,
"difficulty": 5.0,
"effort": 323.62516837489636,
"length": 17.0,
"n1": 7.0,
"n2": 7.0,
"n_1": 7.0,
"n_2": 10.0,
"time": 17.979176020827577,
"vocabulary": 14.0,
"volume": 64.72503367497927
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 46
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx:useControllableOpenState:53",
"entity_name": "useControllableOpenState",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx",
"issues": [],
"line_number": 54,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 17,
"kind": "ConditionalExpression",
"line": 65,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 68,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07852013039360753,
"calculated_length": 110.43856189774725,
"difficulty": 6.8,
"effort": 1601.8106600295937,
"length": 49.0,
"n1": 8.0,
"n2": 20.0,
"n_1": 15.0,
"n_2": 34.0,
"time": 88.9894811127552,
"vocabulary": 28.0,
"volume": 235.5603911808226
},
"lines_of_code": 20.0,
"maintainability_index": 93.37690711109714,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 11.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 54
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx:anonymous_function_66:66",
"entity_name": "anonymous_function_66",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx",
"issues": [],
"line_number": 67,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 68,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.013736341672916685,
"calculated_length": 19.60964047443681,
"difficulty": 3.75,
"effort": 154.5338438203127,
"length": 13.0,
"n1": 5.0,
"n2": 4.0,
"n_1": 7.0,
"n_2": 6.0,
"time": 8.585213545572929,
"vocabulary": 9.0,
"volume": 41.209025018750054
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 67
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx:measureElement:75",
"entity_name": "measureElement",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx",
"issues": [],
"line_number": 76,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03660264518982301,
"calculated_length": 75.60964047443682,
"difficulty": 2.8125,
"effort": 308.83481878913165,
"length": 25.0,
"n1": 5.0,
"n2": 16.0,
"n_1": 7.0,
"n_2": 18.0,
"time": 17.157489932729536,
"vocabulary": 21.0,
"volume": 109.80793556946902
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 76
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx:anonymous_function_76:76",
"entity_name": "anonymous_function_76",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx",
"issues": [],
"line_number": 77,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02157501122499309,
"calculated_length": 42.80863530717374,
"difficulty": 1.6363636363636362,
"effort": 105.91369146814789,
"length": 17.0,
"n1": 3.0,
"n2": 11.0,
"n_1": 5.0,
"n_2": 12.0,
"time": 5.8840939704526605,
"vocabulary": 14.0,
"volume": 64.72503367497927
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 77
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx:anonymous_function_77:77",
"entity_name": "anonymous_function_77",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx",
"issues": [],
"line_number": 78,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012684582601670089,
"calculated_length": 30.52932501298081,
"difficulty": 1.0,
"effort": 38.05374780501027,
"length": 11.0,
"n1": 2.0,
"n2": 9.0,
"n_1": 2.0,
"n_2": 9.0,
"time": 2.1140971002783484,
"vocabulary": 11.0,
"volume": 38.05374780501027
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 4.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 78
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx:computePosition:83",
"entity_name": "computePosition",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx",
"issues": [
{
"description": "Cognitive complexity of 27.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx:computePosition:83",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx:84",
"metric_value": 27.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 84,
"metrics": {
"cognitive_complexity": 27.0,
"cyclomatic_complexity": 14.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 107,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 107,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 107,
"nesting_level": 1
},
{
"column": 10,
"kind": "If",
"line": 109,
"nesting_level": 1
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 109,
"nesting_level": 2
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 109,
"nesting_level": 2
},
{
"column": 3,
"kind": "If",
"line": 117,
"nesting_level": 0
},
{
"column": 10,
"kind": "If",
"line": 119,
"nesting_level": 1
},
{
"column": 10,
"kind": "If",
"line": 121,
"nesting_level": 2
},
{
"column": 3,
"kind": "If",
"line": 130,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 130,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 131,
"nesting_level": 1
},
{
"column": 12,
"kind": "If",
"line": 133,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.5389342515517366,
"calculated_length": 301.29748098348915,
"difficulty": 15.729166666666668,
"effort": 25430.95999509757,
"length": 276.0,
"n1": 10.0,
"n2": 48.0,
"n_1": 125.0,
"n_2": 151.0,
"time": 1412.831110838754,
"vocabulary": 58.0,
"volume": 1616.8027546552098
},
"lines_of_code": 62.0,
"maintainability_index": 62.50175243900854,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 29.0,
"technical_debt_score": 62.0
},
"recommendations": [],
"severity": "High",
"start_line": 84
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx:anonymous_function_165:165",
"entity_name": "anonymous_function_165",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx",
"issues": [],
"line_number": 166,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 11.60964047443681,
"difficulty": 0.5,
"effort": 7.754887502163468,
"length": 6.0,
"n1": 1.0,
"n2": 5.0,
"n_1": 1.0,
"n_2": 5.0,
"time": 0.430827083453526,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 166
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx:DropdownMenuTrigger:176",
"entity_name": "DropdownMenuTrigger",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx",
"issues": [],
"line_number": 177,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 185,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08071030590973526,
"calculated_length": 138.56842503028855,
"difficulty": 5.8125,
"effort": 1407.3859593010084,
"length": 48.0,
"n1": 9.0,
"n2": 24.0,
"n_1": 17.0,
"n_2": 31.0,
"time": 78.18810885005603,
"vocabulary": 33.0,
"volume": 242.13091772920575
},
"lines_of_code": 23.0,
"maintainability_index": 91.19970517834878,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 9.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 177
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx:anonymous_function_183:183",
"entity_name": "anonymous_function_183",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx",
"issues": [],
"line_number": 184,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 185,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.009509775004326936,
"calculated_length": 20.264662506490403,
"difficulty": 3.0,
"effort": 85.58797503894243,
"length": 9.0,
"n1": 6.0,
"n2": 3.0,
"n_1": 6.0,
"n_2": 3.0,
"time": 4.754887502163468,
"vocabulary": 9.0,
"volume": 28.52932501298081
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 184
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx:anonymous_function_228:228",
"entity_name": "anonymous_function_228",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx",
"issues": [],
"line_number": 229,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 8.0,
"length": 4.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 2.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 229
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx:anonymous_function_233:233",
"entity_name": "anonymous_function_233",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx",
"issues": [],
"line_number": 234,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 235,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 235,
"nesting_level": 1
},
{
"column": 29,
"kind": "ConditionalExpression",
"line": 245,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 249,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.11064371759864021,
"calculated_length": 125.4579468272276,
"difficulty": 7.857142857142857,
"effort": 2608.030486253662,
"length": 67.0,
"n1": 10.0,
"n2": 21.0,
"n_1": 34.0,
"n_2": 33.0,
"time": 144.89058256964788,
"vocabulary": 31.0,
"volume": 331.93115279592064
},
"lines_of_code": 28.0,
"maintainability_index": 85.68266353832105,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 13.0,
"technical_debt_score": 19.6
},
"recommendations": [],
"severity": "Low",
"start_line": 234
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx:anonymous_function_247:247",
"entity_name": "anonymous_function_247",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx",
"issues": [],
"line_number": 248,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 249,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01792481250360578,
"calculated_length": 31.26112492884004,
"difficulty": 5.6000000000000005,
"effort": 301.13685006057716,
"length": 15.0,
"n1": 7.0,
"n2": 5.0,
"n_1": 7.0,
"n_2": 8.0,
"time": 16.7298250033654,
"vocabulary": 12.0,
"volume": 53.77443751081734
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 248
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx:anonymous_function_258:258",
"entity_name": "anonymous_function_258",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx",
"issues": [],
"line_number": 259,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 8.0,
"length": 4.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 2.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 259
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx:anonymous_function_264:264",
"entity_name": "anonymous_function_264",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx",
"issues": [],
"line_number": 265,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 266,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 266,
"nesting_level": 1
},
{
"column": 15,
"kind": "ConditionalExpression",
"line": 288,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0902971916709018,
"calculated_length": 163.13526283059372,
"difficulty": 6.107142857142858,
"effort": 1654.3735473990225,
"length": 52.0,
"n1": 9.0,
"n2": 28.0,
"n_1": 14.0,
"n_2": 38.0,
"time": 91.90964152216792,
"vocabulary": 37.0,
"volume": 270.8915750127054
},
"lines_of_code": 25.0,
"maintainability_index": 88.80527466432459,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 16.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 265
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx:anonymous_function_291:291",
"entity_name": "anonymous_function_291",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx",
"issues": [],
"line_number": 292,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02421602133046108,
"calculated_length": 28.75488750216347,
"difficulty": 3.1875,
"effort": 231.56570397253407,
"length": 21.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 4.0,
"n_2": 17.0,
"time": 12.864761331807449,
"vocabulary": 11.0,
"volume": 72.64806399138324
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 292
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx:DropdownMenuHint:364",
"entity_name": "DropdownMenuHint",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx",
"issues": [],
"line_number": 365,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.030579450010576957,
"calculated_length": 61.302968908806456,
"difficulty": 2.4285714285714284,
"effort": 222.7931357913464,
"length": 22.0,
"n1": 4.0,
"n2": 14.0,
"n_1": 5.0,
"n_2": 17.0,
"time": 12.377396432852578,
"vocabulary": 18.0,
"volume": 91.73835003173087
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 365
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx:anonymous_function_458:458",
"entity_name": "anonymous_function_458",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/ui/dropdown-menu.tsx",
"issues": [],
"line_number": 459,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.5644552400311644,
"calculated_length": 628.8911702936035,
"difficulty": 3.1736842105263157,
"effort": 5374.208048507245,
"length": 256.0,
"n1": 3.0,
"n2": 95.0,
"n_1": 55.0,
"n_2": 201.0,
"time": 298.56711380595806,
"vocabulary": 98.0,
"volume": 1693.3657200934933
},
"lines_of_code": 107.0,
"maintainability_index": 56.41091131736003,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 459
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/voice-button.tsx:anonymous_function_10:10",
"entity_name": "anonymous_function_10",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/voice-button.tsx",
"issues": [],
"line_number": 11,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.5001274243632893,
"calculated_length": 502.7535666081546,
"difficulty": 3.740506329113924,
"effort": 5612.189388582987,
"length": 236.0,
"n1": 3.0,
"n2": 79.0,
"n_1": 39.0,
"n_2": 197.0,
"time": 311.7882993657215,
"vocabulary": 82.0,
"volume": 1500.3822730898678
},
"lines_of_code": 117.0,
"maintainability_index": 55.59271119886438,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 11
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/voice-button.tsx:VoiceButton:129",
"entity_name": "VoiceButton",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/voice-button.tsx",
"issues": [],
"line_number": 130,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 134,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.532757559744656,
"calculated_length": 548.7737975996429,
"difficulty": 12.299999999999999,
"effort": 19658.753954577805,
"length": 245.0,
"n1": 12.0,
"n2": 80.0,
"n_1": 81.0,
"n_2": 164.0,
"time": 1092.1529974765447,
"vocabulary": 92.0,
"volume": 1598.2726792339681
},
"lines_of_code": 94.0,
"maintainability_index": 58.579895029369666,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 24.0,
"technical_debt_score": 23.6
},
"recommendations": [],
"severity": "Low",
"start_line": 130
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/voice-button.tsx:anonymous_function_132:132",
"entity_name": "anonymous_function_132",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/voice-button.tsx",
"issues": [],
"line_number": 133,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 134,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06936128332620753,
"calculated_length": 83.65148445440323,
"difficulty": 6.125,
"effort": 1274.5135811190635,
"length": 46.0,
"n1": 7.0,
"n2": 16.0,
"n_1": 18.0,
"n_2": 28.0,
"time": 70.8063100621702,
"vocabulary": 23.0,
"volume": 208.0838499786226
},
"lines_of_code": 19.0,
"maintainability_index": 95.08279469600289,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 8.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 133
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/voice-button.tsx:anonymous_function_153:153",
"entity_name": "anonymous_function_153",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/voice-button.tsx",
"issues": [],
"line_number": 154,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.027136557933034676,
"calculated_length": 36.529325012980806,
"difficulty": 2.6666666666666665,
"effort": 217.0924634642774,
"length": 22.0,
"n1": 4.0,
"n2": 9.0,
"n_1": 10.0,
"n_2": 12.0,
"time": 12.060692414682077,
"vocabulary": 13.0,
"volume": 81.40967379910403
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 154
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/voice-button.tsx:anonymous_function_166:166",
"entity_name": "anonymous_function_166",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/voice-button.tsx",
"issues": [],
"line_number": 167,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.15374923866240026,
"calculated_length": 125.54887502163469,
"difficulty": 8.0,
"effort": 3689.981727897606,
"length": 94.0,
"n1": 6.0,
"n2": 24.0,
"n_1": 30.0,
"n_2": 64.0,
"time": 204.99898488320034,
"vocabulary": 30.0,
"volume": 461.24771598720076
},
"lines_of_code": 28.0,
"maintainability_index": 84.891823668685,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 7.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 167
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/voice-button.tsx:anonymous_function_196:196",
"entity_name": "anonymous_function_196",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/voice-button.tsx",
"issues": [],
"line_number": 197,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01614401422030739,
"calculated_length": 28.75488750216347,
"difficulty": 1.5,
"effort": 72.64806399138325,
"length": 14.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 4.036003555076848,
"vocabulary": 11.0,
"volume": 48.432042660922164
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 197
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/volume-meter.tsx:VolumeMeter:21",
"entity_name": "VolumeMeter",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/volume-meter.tsx",
"issues": [
{
"description": "Cyclomatic complexity of 25.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/volume-meter.tsx:VolumeMeter:21",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/components/volume-meter.tsx:22",
"metric_value": 25.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
}
],
"line_number": 22,
"metrics": {
"cognitive_complexity": 24.0,
"cyclomatic_complexity": 25.0,
"decision_points": [
{
"column": 22,
"kind": "ConditionalExpression",
"line": 28,
"nesting_level": 0
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 29,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 41,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 83,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 91,
"nesting_level": 0
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 131,
"nesting_level": 0
},
{
"column": 22,
"kind": "LogicalOr",
"line": 135,
"nesting_level": 0
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 136,
"nesting_level": 0
},
{
"column": 41,
"kind": "ConditionalExpression",
"line": 136,
"nesting_level": 0
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 137,
"nesting_level": 0
},
{
"column": 36,
"kind": "ConditionalExpression",
"line": 139,
"nesting_level": 0
},
{
"column": 36,
"kind": "LogicalOr",
"line": 139,
"nesting_level": 0
},
{
"column": 22,
"kind": "LogicalOr",
"line": 145,
"nesting_level": 0
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 146,
"nesting_level": 0
},
{
"column": 41,
"kind": "ConditionalExpression",
"line": 146,
"nesting_level": 0
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 147,
"nesting_level": 0
},
{
"column": 36,
"kind": "ConditionalExpression",
"line": 149,
"nesting_level": 0
},
{
"column": 36,
"kind": "LogicalOr",
"line": 149,
"nesting_level": 0
},
{
"column": 22,
"kind": "LogicalOr",
"line": 155,
"nesting_level": 0
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 156,
"nesting_level": 0
},
{
"column": 41,
"kind": "ConditionalExpression",
"line": 156,
"nesting_level": 0
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 157,
"nesting_level": 0
},
{
"column": 36,
"kind": "ConditionalExpression",
"line": 159,
"nesting_level": 0
},
{
"column": 36,
"kind": "LogicalOr",
"line": 159,
"nesting_level": 0
}
],
"halstead": {
"bugs": 1.2367530925638182,
"calculated_length": 723.6069348897463,
"difficulty": 21.058823529411764,
"effort": 78133.6953772671,
"length": 543.0,
"n1": 12.0,
"n2": 102.0,
"n_1": 185.0,
"n_2": 358.0,
"time": 4340.760854292616,
"vocabulary": 114.0,
"volume": 3710.2592776914544
},
"lines_of_code": 169.0,
"maintainability_index": 39.407584213731454,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 54.0,
"technical_debt_score": 79.2
},
"recommendations": [],
"severity": "Critical",
"start_line": 22
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/volume-meter.tsx:anonymous_function_39:39",
"entity_name": "anonymous_function_39",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/volume-meter.tsx",
"issues": [],
"line_number": 40,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 41,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.25166666666666665,
"calculated_length": 134.03910001730776,
"difficulty": 15.666666666666666,
"effort": 11828.333333333332,
"length": 151.0,
"n1": 8.0,
"n2": 24.0,
"n_1": 57.0,
"n_2": 94.0,
"time": 657.1296296296296,
"vocabulary": 32.0,
"volume": 755.0
},
"lines_of_code": 39.0,
"maintainability_index": 76.7313690366048,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 12.600000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 40
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/volume-meter.tsx:anonymous_function_81:81",
"entity_name": "anonymous_function_81",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/volume-meter.tsx",
"issues": [],
"line_number": 82,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 83,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 91,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.21536926027959769,
"calculated_length": 144.62572975734892,
"difficulty": 13.5,
"effort": 8722.455041323707,
"length": 127.0,
"n1": 9.0,
"n2": 25.0,
"n_1": 52.0,
"n_2": 75.0,
"time": 484.5808356290948,
"vocabulary": 34.0,
"volume": 646.107780838793
},
"lines_of_code": 46.0,
"maintainability_index": 74.63698444387528,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 15.0,
"technical_debt_score": 16.8
},
"recommendations": [],
"severity": "Low",
"start_line": 82
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/volume-meter.tsx:anonymous_function_133:133",
"entity_name": "anonymous_function_133",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/volume-meter.tsx",
"issues": [],
"line_number": 134,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 22,
"kind": "LogicalOr",
"line": 135,
"nesting_level": 0
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 136,
"nesting_level": 0
},
{
"column": 41,
"kind": "ConditionalExpression",
"line": 136,
"nesting_level": 0
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 137,
"nesting_level": 0
},
{
"column": 36,
"kind": "ConditionalExpression",
"line": 139,
"nesting_level": 0
},
{
"column": 36,
"kind": "LogicalOr",
"line": 139,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0603141594140935,
"calculated_length": 86.66829050039843,
"difficulty": 3.611111111111111,
"effort": 653.4033936526796,
"length": 40.0,
"n1": 5.0,
"n2": 18.0,
"n_1": 14.0,
"n_2": 26.0,
"time": 36.30018853625998,
"vocabulary": 23.0,
"volume": 180.94247824228052
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 20.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 134
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/volume-meter.tsx:anonymous_function_143:143",
"entity_name": "anonymous_function_143",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/volume-meter.tsx",
"issues": [],
"line_number": 144,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 22,
"kind": "LogicalOr",
"line": 145,
"nesting_level": 0
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 146,
"nesting_level": 0
},
{
"column": 41,
"kind": "ConditionalExpression",
"line": 146,
"nesting_level": 0
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 147,
"nesting_level": 0
},
{
"column": 36,
"kind": "ConditionalExpression",
"line": 149,
"nesting_level": 0
},
{
"column": 36,
"kind": "LogicalOr",
"line": 149,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0603141594140935,
"calculated_length": 86.66829050039843,
"difficulty": 3.611111111111111,
"effort": 653.4033936526796,
"length": 40.0,
"n1": 5.0,
"n2": 18.0,
"n_1": 14.0,
"n_2": 26.0,
"time": 36.30018853625998,
"vocabulary": 23.0,
"volume": 180.94247824228052
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 20.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 144
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/volume-meter.tsx:anonymous_function_153:153",
"entity_name": "anonymous_function_153",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/volume-meter.tsx",
"issues": [],
"line_number": 154,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 22,
"kind": "LogicalOr",
"line": 155,
"nesting_level": 0
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 156,
"nesting_level": 0
},
{
"column": 41,
"kind": "ConditionalExpression",
"line": 156,
"nesting_level": 0
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 157,
"nesting_level": 0
},
{
"column": 36,
"kind": "ConditionalExpression",
"line": 159,
"nesting_level": 0
},
{
"column": 36,
"kind": "LogicalOr",
"line": 159,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0603141594140935,
"calculated_length": 86.66829050039843,
"difficulty": 3.611111111111111,
"effort": 653.4033936526796,
"length": 40.0,
"n1": 5.0,
"n2": 18.0,
"n_1": 14.0,
"n_2": 26.0,
"time": 36.30018853625998,
"vocabulary": 23.0,
"volume": 180.94247824228052
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 20.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 154
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/volume-meter.tsx:anonymous_function_192:192",
"entity_name": "anonymous_function_192",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/volume-meter.tsx",
"issues": [],
"line_number": 193,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.019119800003846166,
"calculated_length": 35.219280948873624,
"difficulty": 1.3,
"effort": 74.56722001500005,
"length": 16.0,
"n1": 2.0,
"n2": 10.0,
"n_1": 3.0,
"n_2": 13.0,
"time": 4.142623334166669,
"vocabulary": 12.0,
"volume": 57.3594000115385
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 193
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/welcome-screen.tsx:anonymous_function_8:8",
"entity_name": "anonymous_function_8",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/welcome-screen.tsx",
"issues": [],
"line_number": 9,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.34802910417849625,
"calculated_length": 315.51881261899075,
"difficulty": 3.583333333333333,
"effort": 3741.3128699188346,
"length": 179.0,
"n1": 3.0,
"n2": 54.0,
"n_1": 50.0,
"n_2": 129.0,
"time": 207.85071499549082,
"vocabulary": 57.0,
"volume": 1044.0873125354888
},
"lines_of_code": 54.0,
"maintainability_index": 70.00378677791831,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 12.8
},
"recommendations": [],
"severity": "Low",
"start_line": 9
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/welcome-screen.tsx:WelcomeScreen:68",
"entity_name": "WelcomeScreen",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/welcome-screen.tsx",
"issues": [],
"line_number": 69,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 23,
"kind": "ConditionalExpression",
"line": 90,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.37787332734453777,
"calculated_length": 609.559556304883,
"difficulty": 6.910112359550562,
"effort": 7833.441448883957,
"length": 171.0,
"n1": 10.0,
"n2": 89.0,
"n_1": 48.0,
"n_2": 123.0,
"time": 435.19119160466425,
"vocabulary": 99.0,
"volume": 1133.6199820336133
},
"lines_of_code": 45.0,
"maintainability_index": 72.29957682626637,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 13.8
},
"recommendations": [],
"severity": "Low",
"start_line": 69
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/welcome-screen.tsx:anonymous_function_86:86",
"entity_name": "anonymous_function_86",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/welcome-screen.tsx",
"issues": [],
"line_number": 87,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 87
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/welcome-screen.tsx:anonymous_function_105:105",
"entity_name": "anonymous_function_105",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/welcome-screen.tsx",
"issues": [],
"line_number": 106,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.029333333333333333,
"calculated_length": 51.01955000865387,
"difficulty": 2.3333333333333335,
"effort": 205.33333333333334,
"length": 22.0,
"n1": 4.0,
"n2": 12.0,
"n_1": 8.0,
"n_2": 14.0,
"time": 11.407407407407408,
"vocabulary": 16.0,
"volume": 88.0
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 106
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/components/welcome-screen.tsx:anonymous_function_106:106",
"entity_name": "anonymous_function_106",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/components/welcome-screen.tsx",
"issues": [],
"line_number": 107,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02031478750408655,
"calculated_length": 33.284212515144276,
"difficulty": 1.8333333333333335,
"effort": 111.73133127247604,
"length": 17.0,
"n1": 3.0,
"n2": 9.0,
"n_1": 6.0,
"n_2": 11.0,
"time": 6.2072961818042245,
"vocabulary": 12.0,
"volume": 60.94436251225965
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 107
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/constants/layout.ts:isTauriMac:19",
"entity_name": "isTauriMac",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/constants/layout.ts",
"issues": [],
"line_number": 20,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 21,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 22,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 23,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalOr",
"line": 26,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06295654972649557,
"calculated_length": 72.95445336320968,
"difficulty": 5.0,
"effort": 944.3482458974336,
"length": 43.0,
"n1": 7.0,
"n2": 14.0,
"n_1": 23.0,
"n_2": 20.0,
"time": 52.46379143874631,
"vocabulary": 21.0,
"volume": 188.86964917948671
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 14.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/constants/layout.ts:getIsTauriMac:31",
"entity_name": "getIsTauriMac",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/constants/layout.ts",
"issues": [],
"line_number": 32,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 33,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 37,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.023899750004807704,
"calculated_length": 31.26112492884004,
"difficulty": 7.0,
"effort": 501.8947501009618,
"length": 20.0,
"n1": 7.0,
"n2": 5.0,
"n_1": 10.0,
"n_2": 10.0,
"time": 27.883041672275656,
"vocabulary": 12.0,
"volume": 71.69925001442311
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 32
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/constants/layout.ts:getTrafficLightPadding:43",
"entity_name": "getTrafficLightPadding",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/constants/layout.ts",
"issues": [],
"line_number": 44,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 45,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.021509775004326936,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 276.554250055632,
"length": 18.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 12.0,
"time": 15.364125003090667,
"vocabulary": 12.0,
"volume": 64.5293250129808
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 44
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-connections-context.tsx:createDefaultConnectionState:32",
"entity_name": "createDefaultConnectionState",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-connections-context.tsx",
"issues": [],
"line_number": 33,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01499087034742829,
"calculated_length": 33.219280948873624,
"difficulty": 0.6,
"effort": 26.98356662537092,
"length": 13.0,
"n1": 1.0,
"n2": 10.0,
"n_1": 1.0,
"n_2": 12.0,
"time": 1.499087034742829,
"vocabulary": 11.0,
"volume": 44.97261104228487
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 33
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-connections-context.tsx:resolveNextConnectionState:42",
"entity_name": "resolveNextConnectionState",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-connections-context.tsx",
"issues": [],
"line_number": 43,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 59,
"kind": "ConditionalExpression",
"line": 65,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 73,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 73,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.20326667086530462,
"calculated_length": 90.56842503028855,
"difficulty": 15.833333333333332,
"effort": 9655.166866101968,
"length": 133.0,
"n1": 6.0,
"n2": 18.0,
"n_1": 38.0,
"n_2": 95.0,
"time": 536.3981592278872,
"vocabulary": 24.0,
"volume": 609.8000125959138
},
"lines_of_code": 49.0,
"maintainability_index": 73.68422968351607,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 7.0,
"technical_debt_score": 20.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 43
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-connections-context.tsx:logConnectionLifecycle:93",
"entity_name": "logConnectionLifecycle",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-connections-context.tsx",
"issues": [],
"line_number": 94,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 37,
"kind": "ConditionalExpression",
"line": 95,
"nesting_level": 0
},
{
"column": 18,
"kind": "ConditionalExpression",
"line": 96,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.13037325473193548,
"calculated_length": 181.9747809431559,
"difficulty": 4.909090909090909,
"effort": 1920.0424787794132,
"length": 74.0,
"n1": 6.0,
"n2": 33.0,
"n_1": 20.0,
"n_2": 54.0,
"time": 106.66902659885629,
"vocabulary": 39.0,
"volume": 391.1197641958064
},
"lines_of_code": 17.0,
"maintainability_index": 93.3730719863369,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 4.0,
"technical_debt_score": 11.0
},
"recommendations": [],
"severity": "Low",
"start_line": 94
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-connections-context.tsx:useDaemonConnections:112",
"entity_name": "useDaemonConnections",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-connections-context.tsx",
"issues": [],
"line_number": 113,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 115,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.020305892917640556,
"calculated_length": 39.302968908806456,
"difficulty": 4.5,
"effort": 274.1295543881475,
"length": 16.0,
"n1": 7.0,
"n2": 7.0,
"n_1": 7.0,
"n_2": 9.0,
"time": 15.229419688230415,
"vocabulary": 14.0,
"volume": 60.91767875292167
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 113
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-connections-context.tsx:DaemonConnectionsProvider:120",
"entity_name": "DaemonConnectionsProvider",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-connections-context.tsx",
"issues": [],
"line_number": 121,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 145,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 150,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 150,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 154,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2928990497563786,
"calculated_length": 301.29748098348915,
"difficulty": 9.895833333333334,
"effort": 8695.44053964249,
"length": 150.0,
"n1": 10.0,
"n2": 48.0,
"n_1": 55.0,
"n_2": 95.0,
"time": 483.0800299801383,
"vocabulary": 58.0,
"volume": 878.6971492691358
},
"lines_of_code": 56.0,
"maintainability_index": 69.39141305925824,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 23.0,
"technical_debt_score": 24.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 121
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-connections-context.tsx:anonymous_function_125:125",
"entity_name": "anonymous_function_125",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-connections-context.tsx",
"issues": [],
"line_number": 126,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05124370326575221,
"calculated_length": 72.10571633583419,
"difficulty": 6.153846153846154,
"effort": 946.0375987523486,
"length": 35.0,
"n1": 8.0,
"n2": 13.0,
"n_1": 15.0,
"n_2": 20.0,
"time": 52.55764437513048,
"vocabulary": 21.0,
"volume": 153.73110979725664
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 4.4
},
"recommendations": [],
"severity": "Low",
"start_line": 126
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-connections-context.tsx:anonymous_function_126:126",
"entity_name": "anonymous_function_126",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-connections-context.tsx",
"issues": [],
"line_number": 127,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0461005663454652,
"calculated_length": 67.01955000865388,
"difficulty": 6.333333333333333,
"effort": 875.9107605638388,
"length": 32.0,
"n1": 8.0,
"n2": 12.0,
"n_1": 13.0,
"n_2": 19.0,
"time": 48.66170892021327,
"vocabulary": 20.0,
"volume": 138.3016990363956
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 127
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-connections-context.tsx:anonymous_function_141:141",
"entity_name": "anonymous_function_141",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-connections-context.tsx",
"issues": [],
"line_number": 142,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 145,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 150,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 150,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 154,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.12045715005480787,
"calculated_length": 103.58797503894242,
"difficulty": 11.25,
"effort": 4065.4288143497656,
"length": 76.0,
"n1": 9.0,
"n2": 18.0,
"n_1": 31.0,
"n_2": 45.0,
"time": 225.85715635276475,
"vocabulary": 27.0,
"volume": 361.3714501644236
},
"lines_of_code": 20.0,
"maintainability_index": 90.69162400723077,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 11.0,
"technical_debt_score": 17.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 142
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-connections-context.tsx:anonymous_function_142:142",
"entity_name": "anonymous_function_142",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-connections-context.tsx",
"issues": [],
"line_number": 143,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 145,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 150,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 150,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 154,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.10835664442807691,
"calculated_length": 92.5293250129808,
"difficulty": 11.53125,
"effort": 3748.462668183786,
"length": 70.0,
"n1": 9.0,
"n2": 16.0,
"n_1": 29.0,
"n_2": 41.0,
"time": 208.24792601021034,
"vocabulary": 25.0,
"volume": 325.06993328423073
},
"lines_of_code": 18.0,
"maintainability_index": 92.94896776178813,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 16.8
},
"recommendations": [],
"severity": "Low",
"start_line": 143
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:useDaemonRegistry:65",
"entity_name": "useDaemonRegistry",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx",
"issues": [],
"line_number": 66,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 68,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.020305892917640556,
"calculated_length": 39.302968908806456,
"difficulty": 4.5,
"effort": 274.1295543881475,
"length": 16.0,
"n1": 7.0,
"n2": 7.0,
"n_1": 7.0,
"n_2": 9.0,
"time": 15.229419688230415,
"vocabulary": 14.0,
"volume": 60.91767875292167
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 66
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:DaemonRegistryProvider:73",
"entity_name": "DaemonRegistryProvider",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx",
"issues": [],
"line_number": 74,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 14,
"kind": "LogicalOr",
"line": 100,
"nesting_level": 0
},
{
"column": 7,
"kind": "ConditionalExpression",
"line": 116,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 140,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 176,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 180,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.930303989799989,
"calculated_length": 812.7835200989896,
"difficulty": 18.10810810810811,
"effort": 50538.13566210751,
"length": 400.0,
"n1": 15.0,
"n2": 111.0,
"n_1": 132.0,
"n_2": 268.0,
"time": 2807.6742034504173,
"vocabulary": 126.0,
"volume": 2790.911969399967
},
"lines_of_code": 132.0,
"maintainability_index": 49.26116565488191,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 49.0,
"technical_debt_score": 36.0
},
"recommendations": [],
"severity": "Low",
"start_line": 74
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:anonymous_function_83:83",
"entity_name": "anonymous_function_83",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx",
"issues": [],
"line_number": 84,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.027920602761755765,
"calculated_length": 41.219280948873624,
"difficulty": 2.6,
"effort": 217.78070154169498,
"length": 22.0,
"n1": 4.0,
"n2": 10.0,
"n_1": 9.0,
"n_2": 13.0,
"time": 12.098927863427498,
"vocabulary": 14.0,
"volume": 83.76180828526729
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 84
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:anonymous_function_90:90",
"entity_name": "anonymous_function_90",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx",
"issues": [],
"line_number": 91,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009509775004326936,
"calculated_length": 19.60964047443681,
"difficulty": 2.0,
"effort": 57.05865002596162,
"length": 9.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 5.0,
"time": 3.169925001442312,
"vocabulary": 9.0,
"volume": 28.52932501298081
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 91
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:anonymous_function_94:94",
"entity_name": "anonymous_function_94",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx",
"issues": [],
"line_number": 95,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 14,
"kind": "LogicalOr",
"line": 100,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.10856842503028855,
"calculated_length": 158.6059378176129,
"difficulty": 6.0,
"effort": 1954.231650545194,
"length": 63.0,
"n1": 8.0,
"n2": 28.0,
"n_1": 21.0,
"n_2": 42.0,
"time": 108.56842503028855,
"vocabulary": 36.0,
"volume": 325.70527509086565
},
"lines_of_code": 17.0,
"maintainability_index": 94.55478070304713,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 8.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 95
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:anonymous_function_100:100",
"entity_name": "anonymous_function_100",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx",
"issues": [],
"line_number": 101,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 101
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:anonymous_function_113:113",
"entity_name": "anonymous_function_113",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx",
"issues": [],
"line_number": 114,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "ConditionalExpression",
"line": 116,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.042479275134435855,
"calculated_length": 62.6710344630571,
"difficulty": 5.25,
"effort": 669.0485833673647,
"length": 30.0,
"n1": 7.0,
"n2": 12.0,
"n_1": 12.0,
"n_2": 18.0,
"time": 37.16936574263137,
"vocabulary": 19.0,
"volume": 127.43782540330756
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 114
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:anonymous_function_114:114",
"entity_name": "anonymous_function_114",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx",
"issues": [],
"line_number": 115,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "ConditionalExpression",
"line": 116,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.019119800003846166,
"calculated_length": 31.26112492884004,
"difficulty": 3.5714285714285716,
"effort": 204.85500004120894,
"length": 16.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 10.0,
"time": 11.380833335622718,
"vocabulary": 12.0,
"volume": 57.3594000115385
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 115
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:anonymous_function_126:126",
"entity_name": "anonymous_function_126",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx",
"issues": [],
"line_number": 127,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.021509775004326936,
"calculated_length": 31.26112492884004,
"difficulty": 3.5714285714285716,
"effort": 230.46187504636003,
"length": 18.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 8.0,
"n_2": 10.0,
"time": 12.803437502575557,
"vocabulary": 12.0,
"volume": 64.5293250129808
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 127
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:anonymous_function_127:127",
"entity_name": "anonymous_function_127",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx",
"issues": [],
"line_number": 128,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 128
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:anonymous_function_132:132",
"entity_name": "anonymous_function_132",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx",
"issues": [],
"line_number": 133,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 140,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.23581781345283873,
"calculated_length": 235.76932453692504,
"difficulty": 13.945945945945944,
"effort": 9866.10743851336,
"length": 126.0,
"n1": 12.0,
"n2": 37.0,
"n_1": 40.0,
"n_2": 86.0,
"time": 548.1170799174089,
"vocabulary": 49.0,
"volume": 707.4534403585162
},
"lines_of_code": 35.0,
"maintainability_index": 78.82266794678041,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 15.0,
"technical_debt_score": 11.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 133
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:anonymous_function_135:135",
"entity_name": "anonymous_function_135",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx",
"issues": [],
"line_number": 136,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 136
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:anonymous_function_138:138",
"entity_name": "anonymous_function_138",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx",
"issues": [],
"line_number": 139,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006191808253032966,
"calculated_length": 6.754887502163468,
"difficulty": 1.6666666666666667,
"effort": 30.95904126516483,
"length": 8.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.7199467369536017,
"vocabulary": 5.0,
"volume": 18.575424759098897
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 139
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:anonymous_function_172:172",
"entity_name": "anonymous_function_172",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx",
"issues": [],
"line_number": 173,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 176,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 180,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08653238859703688,
"calculated_length": 109.23994776840892,
"difficulty": 7.105263157894737,
"effort": 1844.5061779894704,
"length": 54.0,
"n1": 9.0,
"n2": 19.0,
"n_1": 24.0,
"n_2": 30.0,
"time": 102.47256544385947,
"vocabulary": 28.0,
"volume": 259.5971657911106
},
"lines_of_code": 13.0,
"maintainability_index": 99.85033885983592,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 10.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 173
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:generateDaemonId:207",
"entity_name": "generateDaemonId",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx",
"issues": [],
"line_number": 208,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03172795768381337,
"calculated_length": 42.80863530717374,
"difficulty": 1.9090909090909092,
"effort": 181.7146667345675,
"length": 25.0,
"n1": 3.0,
"n2": 11.0,
"n_1": 11.0,
"n_2": 14.0,
"time": 10.095259263031528,
"vocabulary": 14.0,
"volume": 95.1838730514401
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 208
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:createProfile:212",
"entity_name": "createProfile",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx",
"issues": [],
"line_number": 213,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04162136177394811,
"calculated_length": 83.05865002596161,
"difficulty": 2.4444444444444446,
"effort": 305.2233196756195,
"length": 28.0,
"n1": 4.0,
"n2": 18.0,
"n_1": 6.0,
"n_2": 22.0,
"time": 16.956851093089973,
"vocabulary": 22.0,
"volume": 124.86408532184433
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 4.4
},
"recommendations": [],
"severity": "Low",
"start_line": 213
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:getLocalDaemonEndpoint:228",
"entity_name": "getLocalDaemonEndpoint",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx",
"issues": [],
"line_number": 229,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 231,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 231,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03951214079875328,
"calculated_length": 52.87076540327685,
"difficulty": 5.25,
"effort": 622.3162175803642,
"length": 29.0,
"n1": 7.0,
"n2": 10.0,
"n_1": 14.0,
"n_2": 15.0,
"time": 34.57312319890912,
"vocabulary": 17.0,
"volume": 118.53642239625984
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 9.6
},
"recommendations": [],
"severity": "Low",
"start_line": 229
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:isLegacyDaemonProfile:246",
"entity_name": "isLegacyDaemonProfile",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx",
"issues": [],
"line_number": 247,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 248,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 248,
"nesting_level": 1
},
{
"column": 10,
"kind": "LogicalAnd",
"line": 250,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalAnd",
"line": 250,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05559900001923083,
"calculated_length": 57.70523225941349,
"difficulty": 6.363636363636363,
"effort": 1061.4354549125885,
"length": 40.0,
"n1": 7.0,
"n2": 11.0,
"n_1": 20.0,
"n_2": 20.0,
"time": 58.96863638403269,
"vocabulary": 18.0,
"volume": 166.7970000576925
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 14.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 247
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:isHostProfile:252",
"entity_name": "isHostProfile",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx",
"issues": [],
"line_number": 253,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 254,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 254,
"nesting_level": 1
},
{
"column": 10,
"kind": "LogicalAnd",
"line": 256,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalAnd",
"line": 256,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06002833811130973,
"calculated_length": 72.10571633583419,
"difficulty": 6.461538461538462,
"effort": 1163.6262464653887,
"length": 41.0,
"n1": 8.0,
"n2": 13.0,
"n_1": 20.0,
"n_2": 21.0,
"time": 64.64590258141048,
"vocabulary": 21.0,
"volume": 180.0850143339292
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 14.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 253
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:migrateLegacyToHostProfile:258",
"entity_name": "migrateLegacyToHostProfile",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx",
"issues": [],
"line_number": 259,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05856423230371681,
"calculated_length": 77.48686830125577,
"difficulty": 3.5294117647058822,
"effort": 620.0918714511191,
"length": 40.0,
"n1": 4.0,
"n2": 17.0,
"n_1": 10.0,
"n_2": 30.0,
"time": 34.449548413951064,
"vocabulary": 21.0,
"volume": 175.69269691115042
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 4.4
},
"recommendations": [],
"severity": "Low",
"start_line": 259
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:upsertLocalDaemon:272",
"entity_name": "upsertLocalDaemon",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx",
"issues": [],
"line_number": 273,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 278,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.11455398737843758,
"calculated_length": 147.06147499796518,
"difficulty": 11.478260869565219,
"effort": 3944.6416523357643,
"length": 67.0,
"n1": 12.0,
"n2": 23.0,
"n_1": 23.0,
"n_2": 44.0,
"time": 219.14675846309802,
"vocabulary": 35.0,
"volume": 343.66196213531276
},
"lines_of_code": 23.0,
"maintainability_index": 89.37876947060656,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 7.0,
"technical_debt_score": 9.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 273
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:anonymous_function_275:275",
"entity_name": "anonymous_function_275",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx",
"issues": [],
"line_number": 276,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 276
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:loadDaemonRegistryFromStorage:297",
"entity_name": "loadDaemonRegistryFromStorage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx",
"issues": [
{
"description": "Cyclomatic complexity of 24.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:loadDaemonRegistryFromStorage:297",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:298",
"metric_value": 24.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 89.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:loadDaemonRegistryFromStorage:297",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:298",
"metric_value": 89.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 298,
"metrics": {
"cognitive_complexity": 89.0,
"cyclomatic_complexity": 24.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 299,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 303,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 305,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 306,
"nesting_level": 3
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 306,
"nesting_level": 4
},
{
"column": 9,
"kind": "If",
"line": 313,
"nesting_level": 3
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 313,
"nesting_level": 4
},
{
"column": 11,
"kind": "If",
"line": 315,
"nesting_level": 4
},
{
"column": 13,
"kind": "If",
"line": 325,
"nesting_level": 3
},
{
"column": 19,
"kind": "Try",
"line": 328,
"nesting_level": 4
},
{
"column": 21,
"kind": "Catch",
"line": 330,
"nesting_level": 5
},
{
"column": 15,
"kind": "If",
"line": 335,
"nesting_level": 4
},
{
"column": 13,
"kind": "If",
"line": 340,
"nesting_level": 3
},
{
"column": 15,
"kind": "Try",
"line": 341,
"nesting_level": 4
},
{
"column": 17,
"kind": "Catch",
"line": 343,
"nesting_level": 5
},
{
"column": 9,
"kind": "If",
"line": 351,
"nesting_level": 3
},
{
"column": 26,
"kind": "ConditionalExpression",
"line": 352,
"nesting_level": 4
},
{
"column": 5,
"kind": "If",
"line": 360,
"nesting_level": 1
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 362,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 363,
"nesting_level": 2
},
{
"column": 24,
"kind": "ConditionalExpression",
"line": 366,
"nesting_level": 3
},
{
"column": 5,
"kind": "If",
"line": 372,
"nesting_level": 1
},
{
"column": 5,
"kind": "Catch",
"line": 379,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.5943654217369145,
"calculated_length": 349.7258342521432,
"difficulty": 21.673076923076923,
"effort": 38645.182517163616,
"length": 295.0,
"n1": 14.0,
"n2": 52.0,
"n_1": 134.0,
"n_2": 161.0,
"time": 2146.9545842868674,
"vocabulary": 66.0,
"volume": 1783.0962652107437
},
"lines_of_code": 85.0,
"maintainability_index": 54.58129528851197,
"max_nesting_depth": 5.0,
"parameter_count": 0.0,
"statement_count": 52.0,
"technical_debt_score": 97.00000000000001
},
"recommendations": [],
"severity": "Critical",
"start_line": 298
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:anonymous_function_309:309",
"entity_name": "anonymous_function_309",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx",
"issues": [],
"line_number": 310,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 310
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:anonymous_function_310:310",
"entity_name": "anonymous_function_310",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx",
"issues": [],
"line_number": 311,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 311
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:anonymous_function_323:323",
"entity_name": "anonymous_function_323",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx",
"issues": [
{
"description": "Cognitive complexity of 35.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:anonymous_function_323:323",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:324",
"metric_value": 35.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 324,
"metrics": {
"cognitive_complexity": 35.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 325,
"nesting_level": 3
},
{
"column": 19,
"kind": "Try",
"line": 328,
"nesting_level": 4
},
{
"column": 21,
"kind": "Catch",
"line": 330,
"nesting_level": 5
},
{
"column": 15,
"kind": "If",
"line": 335,
"nesting_level": 4
},
{
"column": 13,
"kind": "If",
"line": 340,
"nesting_level": 3
},
{
"column": 15,
"kind": "Try",
"line": 341,
"nesting_level": 4
},
{
"column": 17,
"kind": "Catch",
"line": 343,
"nesting_level": 5
}
],
"halstead": {
"bugs": 0.09442507585875273,
"calculated_length": 92.5293250129808,
"difficulty": 8.4375,
"effort": 2390.1347326746786,
"length": 61.0,
"n1": 9.0,
"n2": 16.0,
"n_1": 31.0,
"n_2": 30.0,
"time": 132.78526292637105,
"vocabulary": 25.0,
"volume": 283.2752275762582
},
"lines_of_code": 24.0,
"maintainability_index": 88.3141493530247,
"max_nesting_depth": 5.0,
"parameter_count": 1.0,
"statement_count": 13.0,
"technical_debt_score": 48.8
},
"recommendations": [],
"severity": "High",
"start_line": 324
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:anonymous_function_326:326",
"entity_name": "anonymous_function_326",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx",
"issues": [],
"line_number": 327,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 19,
"kind": "Try",
"line": 328,
"nesting_level": 4
},
{
"column": 21,
"kind": "Catch",
"line": 330,
"nesting_level": 5
}
],
"halstead": {
"bugs": 0.011,
"calculated_length": 16.0,
"difficulty": 2.5,
"effort": 82.5,
"length": 11.0,
"n1": 4.0,
"n2": 4.0,
"n_1": 6.0,
"n_2": 5.0,
"time": 4.583333333333333,
"vocabulary": 8.0,
"volume": 33.0
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 5.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 16.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 327
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:anonymous_function_333:333",
"entity_name": "anonymous_function_333",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx",
"issues": [],
"line_number": 334,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026416041678685932,
"calculated_length": 2.0,
"difficulty": 1.0,
"effort": 7.92481250360578,
"length": 5.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.44026736131143224,
"vocabulary": 3.0,
"volume": 7.92481250360578
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 334
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:anonymous_function_348:348",
"entity_name": "anonymous_function_348",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx",
"issues": [],
"line_number": 349,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004,
"calculated_length": 4.754887502163468,
"difficulty": 0.8333333333333334,
"effort": 10.0,
"length": 6.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 5.0,
"time": 0.5555555555555556,
"vocabulary": 4.0,
"volume": 12.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 349
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx:buildDirectDaemonWsUrl:384",
"entity_name": "buildDirectDaemonWsUrl",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/daemon-registry-context.tsx",
"issues": [],
"line_number": 385,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 387,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.029189475010096184,
"calculated_length": 57.05865002596162,
"difficulty": 6.0,
"effort": 525.4105501817313,
"length": 21.0,
"n1": 9.0,
"n2": 9.0,
"n_1": 9.0,
"n_2": 12.0,
"time": 29.189475010096185,
"vocabulary": 18.0,
"volume": 87.56842503028855
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 385
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/explorer-sidebar-animation-context.tsx:ExplorerSidebarAnimationProvider:27",
"entity_name": "ExplorerSidebarAnimationProvider",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/explorer-sidebar-animation-context.tsx",
"issues": [],
"line_number": 28,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 5,
"kind": "LogicalOr",
"line": 31,
"nesting_level": 0
},
{
"column": 18,
"kind": "ConditionalExpression",
"line": 36,
"nesting_level": 0
},
{
"column": 37,
"kind": "ConditionalExpression",
"line": 39,
"nesting_level": 0
},
{
"column": 42,
"kind": "ConditionalExpression",
"line": 40,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 50,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 56,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 60,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.44124077071316714,
"calculated_length": 358.4311565840994,
"difficulty": 12.946428571428573,
"effort": 17137.47636252033,
"length": 219.0,
"n1": 10.0,
"n2": 56.0,
"n_1": 74.0,
"n_2": 145.0,
"time": 952.0820201400184,
"vocabulary": 66.0,
"volume": 1323.7223121395014
},
"lines_of_code": 92.0,
"maintainability_index": 58.52836955338189,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 30.0,
"technical_debt_score": 40.0
},
"recommendations": [],
"severity": "Low",
"start_line": 28
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/explorer-sidebar-animation-context.tsx:anonymous_function_31:31",
"entity_name": "anonymous_function_31",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/explorer-sidebar-animation-context.tsx",
"issues": [],
"line_number": 32,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 32
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/explorer-sidebar-animation-context.tsx:anonymous_function_32:32",
"entity_name": "anonymous_function_32",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/explorer-sidebar-animation-context.tsx",
"issues": [],
"line_number": 33,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 8.0,
"length": 6.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 12.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 33
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/explorer-sidebar-animation-context.tsx:anonymous_function_47:47",
"entity_name": "anonymous_function_47",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/explorer-sidebar-animation-context.tsx",
"issues": [],
"line_number": 48,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 50,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 56,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 60,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.11003910001730774,
"calculated_length": 87.13268394710859,
"difficulty": 12.3,
"effort": 4060.442790638656,
"length": 72.0,
"n1": 9.0,
"n2": 15.0,
"n_1": 31.0,
"n_2": 41.0,
"time": 225.58015503548089,
"vocabulary": 24.0,
"volume": 330.1173000519232
},
"lines_of_code": 31.0,
"maintainability_index": 84.29227744811845,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 16.6
},
"recommendations": [],
"severity": "Low",
"start_line": 48
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/explorer-sidebar-animation-context.tsx:anonymous_function_80:80",
"entity_name": "anonymous_function_80",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/explorer-sidebar-animation-context.tsx",
"issues": [],
"line_number": 81,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.033859718495273826,
"calculated_length": 46.05374780501027,
"difficulty": 3.090909090909091,
"effort": 313.9719351379937,
"length": 26.0,
"n1": 4.0,
"n2": 11.0,
"n_1": 9.0,
"n_2": 17.0,
"time": 17.442885285444092,
"vocabulary": 15.0,
"volume": 101.57915548582149
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 81
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/explorer-sidebar-animation-context.tsx:anonymous_function_92:92",
"entity_name": "anonymous_function_92",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/explorer-sidebar-animation-context.tsx",
"issues": [],
"line_number": 93,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.033859718495273826,
"calculated_length": 46.05374780501027,
"difficulty": 3.090909090909091,
"effort": 313.9719351379937,
"length": 26.0,
"n1": 4.0,
"n2": 11.0,
"n_1": 9.0,
"n_2": 17.0,
"time": 17.442885285444092,
"vocabulary": 15.0,
"volume": 101.57915548582149
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 93
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/explorer-sidebar-animation-context.tsx:useExplorerSidebarAnimation:121",
"entity_name": "useExplorerSidebarAnimation",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/explorer-sidebar-animation-context.tsx",
"issues": [],
"line_number": 122,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 124,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01850219859070546,
"calculated_length": 35.161259458730164,
"difficulty": 4.666666666666666,
"effort": 259.0307802698764,
"length": 15.0,
"n1": 7.0,
"n2": 6.0,
"n_1": 7.0,
"n_2": 8.0,
"time": 14.390598903882022,
"vocabulary": 13.0,
"volume": 55.506595772116384
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 122
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/horizontal-scroll-context.tsx:HorizontalScrollProvider:13",
"entity_name": "HorizontalScrollProvider",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/horizontal-scroll-context.tsx",
"issues": [],
"line_number": 14,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 21,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.16196313801957316,
"calculated_length": 204.51875374383923,
"difficulty": 9.166666666666668,
"effort": 4453.986295538262,
"length": 89.0,
"n1": 11.0,
"n2": 33.0,
"n_1": 34.0,
"n_2": 55.0,
"time": 247.443683085459,
"vocabulary": 44.0,
"volume": 485.88941405871947
},
"lines_of_code": 42.0,
"maintainability_index": 77.82265069822759,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 16.0,
"technical_debt_score": 13.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 14
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/horizontal-scroll-context.tsx:anonymous_function_17:17",
"entity_name": "anonymous_function_17",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/horizontal-scroll-context.tsx",
"issues": [],
"line_number": 18,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 21,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03681537178317774,
"calculated_length": 61.74860596185444,
"difficulty": 5.8500000000000005,
"effort": 646.1097747947694,
"length": 26.0,
"n1": 9.0,
"n2": 10.0,
"n_1": 13.0,
"n_2": 13.0,
"time": 35.8949874885983,
"vocabulary": 19.0,
"volume": 110.44611534953322
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 18
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/horizontal-scroll-context.tsx:anonymous_function_29:29",
"entity_name": "anonymous_function_29",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/horizontal-scroll-context.tsx",
"issues": [],
"line_number": 30,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014792983340064124,
"calculated_length": 20.264662506490403,
"difficulty": 2.0,
"effort": 88.75790004038474,
"length": 14.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 4.930994446688041,
"vocabulary": 9.0,
"volume": 44.37895002019237
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 30
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/horizontal-scroll-context.tsx:anonymous_function_37:37",
"entity_name": "anonymous_function_37",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/horizontal-scroll-context.tsx",
"issues": [],
"line_number": 38,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 64.8,
"length": 12.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 6.0,
"n_2": 6.0,
"time": 3.5999999999999996,
"vocabulary": 8.0,
"volume": 36.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 38
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/horizontal-scroll-context.tsx:useHorizontalScroll:57",
"entity_name": "useHorizontalScroll",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/horizontal-scroll-context.tsx",
"issues": [],
"line_number": 58,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 60,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01850219859070546,
"calculated_length": 35.161259458730164,
"difficulty": 4.666666666666666,
"effort": 259.0307802698764,
"length": 15.0,
"n1": 7.0,
"n2": 6.0,
"n_1": 7.0,
"n_2": 8.0,
"time": 14.390598903882022,
"vocabulary": 13.0,
"volume": 55.506595772116384
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 58
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/horizontal-scroll-context.tsx:useHorizontalScrollOptional:65",
"entity_name": "useHorizontalScrollOptional",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/horizontal-scroll-context.tsx",
"issues": [],
"line_number": 66,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 66
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx:useRealtime:24",
"entity_name": "useRealtime",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx",
"issues": [],
"line_number": 25,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 27,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01850219859070546,
"calculated_length": 35.161259458730164,
"difficulty": 4.666666666666666,
"effort": 259.0307802698764,
"length": 15.0,
"n1": 7.0,
"n2": 6.0,
"n_1": 7.0,
"n_2": 8.0,
"time": 14.390598903882022,
"vocabulary": 13.0,
"volume": 55.506595772116384
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 25
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx:RealtimeProvider:36",
"entity_name": "RealtimeProvider",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx",
"issues": [
{
"description": "Cyclomatic complexity of 24.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx:RealtimeProvider:36",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx:37",
"metric_value": 24.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 37.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx:RealtimeProvider:36",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx:37",
"metric_value": 37.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 37,
"metrics": {
"cognitive_complexity": 37.0,
"cyclomatic_complexity": 24.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 43,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 64,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 64,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 65,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 72,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 73,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 79,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 96,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 97,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 108,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 115,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 129,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 141,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 141,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 155,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 159,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 166,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 169,
"nesting_level": 2
},
{
"column": 9,
"kind": "Catch",
"line": 180,
"nesting_level": 1
},
{
"column": 41,
"kind": "ConditionalExpression",
"line": 182,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 190,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 198,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 203,
"nesting_level": 1
}
],
"halstead": {
"bugs": 1.3142925894251456,
"calculated_length": 873.3195404925141,
"difficulty": 22.957264957264957,
"effort": 90517.68962040874,
"length": 558.0,
"n1": 17.0,
"n2": 117.0,
"n_1": 242.0,
"n_2": 316.0,
"time": 5028.760534467152,
"vocabulary": 134.0,
"volume": 3942.8777682754367
},
"lines_of_code": 190.0,
"maintainability_index": 37.423946135653026,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 83.0,
"technical_debt_score": 89.6
},
"recommendations": [],
"severity": "High",
"start_line": 37
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx:anonymous_function_37:37",
"entity_name": "anonymous_function_37",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx",
"issues": [],
"line_number": 38,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 38
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx:anonymous_function_41:41",
"entity_name": "anonymous_function_41",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx",
"issues": [],
"line_number": 42,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 43,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.024113247839698163,
"calculated_length": 39.302968908806456,
"difficulty": 5.0,
"effort": 361.69871759547243,
"length": 19.0,
"n1": 7.0,
"n2": 7.0,
"n_1": 9.0,
"n_2": 10.0,
"time": 20.094373199748468,
"vocabulary": 14.0,
"volume": 72.33974351909448
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 42
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx:anonymous_function_55:55",
"entity_name": "anonymous_function_55",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx",
"issues": [],
"line_number": 56,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 64,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 64,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 65,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 72,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 73,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 79,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.15262388523751017,
"calculated_length": 143.25838096618136,
"difficulty": 9.583333333333334,
"effort": 4387.936700578418,
"length": 90.0,
"n1": 10.0,
"n2": 24.0,
"n_1": 44.0,
"n_2": 46.0,
"time": 243.77426114324544,
"vocabulary": 34.0,
"volume": 457.8716557125305
},
"lines_of_code": 26.0,
"maintainability_index": 84.75057371491789,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 15.0,
"technical_debt_score": 27.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 56
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx:anonymous_function_73:73",
"entity_name": "anonymous_function_73",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx",
"issues": [],
"line_number": 74,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 74
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx:anonymous_function_82:82",
"entity_name": "anonymous_function_82",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx",
"issues": [],
"line_number": 83,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 83
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx:anonymous_function_85:85",
"entity_name": "anonymous_function_85",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx",
"issues": [],
"line_number": 86,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 96,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 97,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 108,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08558797503894243,
"calculated_length": 104.71062275542812,
"difficulty": 6.526315789473684,
"effort": 1675.7224586571886,
"length": 54.0,
"n1": 8.0,
"n2": 19.0,
"n_1": 23.0,
"n_2": 31.0,
"time": 93.09569214762159,
"vocabulary": 27.0,
"volume": 256.7639251168273
},
"lines_of_code": 25.0,
"maintainability_index": 89.08379480329528,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 17.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 86
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx:anonymous_function_103:103",
"entity_name": "anonymous_function_103",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx",
"issues": [],
"line_number": 104,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 104
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx:anonymous_function_111:111",
"entity_name": "anonymous_function_111",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx",
"issues": [],
"line_number": 112,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 115,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.029189721069108297,
"calculated_length": 40.13896548741762,
"difficulty": 3.611111111111111,
"effort": 316.2219782486732,
"length": 23.0,
"n1": 5.0,
"n2": 9.0,
"n_1": 10.0,
"n_2": 13.0,
"time": 17.567887680481846,
"vocabulary": 14.0,
"volume": 87.56916320732489
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 112
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx:anonymous_function_126:126",
"entity_name": "anonymous_function_126",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx",
"issues": [],
"line_number": 127,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 129,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.008422064766172813,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 47.374114309722074,
"length": 9.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 5.0,
"time": 2.6318952394290043,
"vocabulary": 7.0,
"volume": 25.26619429851844
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 127
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx:anonymous_function_133:133",
"entity_name": "anonymous_function_133",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx",
"issues": [],
"line_number": 134,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 134
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx:anonymous_function_139:139",
"entity_name": "anonymous_function_139",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx",
"issues": [],
"line_number": 140,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 141,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 141,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07086913731155987,
"calculated_length": 81.83229392178727,
"difficulty": 7.7142857142857135,
"effort": 1640.114320638957,
"length": 47.0,
"n1": 9.0,
"n2": 14.0,
"n_1": 23.0,
"n_2": 24.0,
"time": 91.11746225771984,
"vocabulary": 23.0,
"volume": 212.60741193467962
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 10.4
},
"recommendations": [],
"severity": "Low",
"start_line": 140
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx:anonymous_function_152:152",
"entity_name": "anonymous_function_152",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx",
"issues": [],
"line_number": 153,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 155,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 159,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 166,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 169,
"nesting_level": 2
},
{
"column": 9,
"kind": "Catch",
"line": 180,
"nesting_level": 1
},
{
"column": 41,
"kind": "ConditionalExpression",
"line": 182,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.20563859096867151,
"calculated_length": 199.48480779282735,
"difficulty": 13.96551724137931,
"effort": 8615.54786299779,
"length": 113.0,
"n1": 15.0,
"n2": 29.0,
"n_1": 59.0,
"n_2": 54.0,
"time": 478.64154794432164,
"vocabulary": 44.0,
"volume": 616.9157729060146
},
"lines_of_code": 32.0,
"maintainability_index": 79.83646935436555,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 19.0,
"technical_debt_score": 29.2
},
"recommendations": [],
"severity": "Low",
"start_line": 153
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx:anonymous_function_181:181",
"entity_name": "anonymous_function_181",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx",
"issues": [],
"line_number": 182,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 41,
"kind": "ConditionalExpression",
"line": 182,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 9.509775004326936,
"difficulty": 2.5,
"effort": 51.69925001442312,
"length": 8.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.87218055635684,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 182
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx:anonymous_function_188:188",
"entity_name": "anonymous_function_188",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/realtime-context.tsx",
"issues": [],
"line_number": 189,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 190,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 198,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 203,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10468033270631506,
"calculated_length": 119.65784284662087,
"difficulty": 7.5,
"effort": 2355.307485892089,
"length": 64.0,
"n1": 10.0,
"n2": 20.0,
"n_1": 34.0,
"n_2": 30.0,
"time": 130.85041588289383,
"vocabulary": 30.0,
"volume": 314.0409981189452
},
"lines_of_code": 18.0,
"maintainability_index": 93.35845508993917,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 15.600000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 189
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_55:55",
"entity_name": "anonymous_function_55",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 56,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "LogicalOr",
"line": 61,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 61,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 61,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 61,
"nesting_level": 0
},
{
"column": 6,
"kind": "ConditionalExpression",
"line": 62,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07203213491478938,
"calculated_length": 67.75720079023742,
"difficulty": 7.26923076923077,
"effort": 1570.8546344879069,
"length": 50.0,
"n1": 7.0,
"n2": 13.0,
"n_1": 23.0,
"n_2": 27.0,
"time": 87.26970191599483,
"vocabulary": 20.0,
"volume": 216.09640474436813
},
"lines_of_code": 16.0,
"maintainability_index": 96.7502946425668,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 19.2
},
"recommendations": [],
"severity": "Low",
"start_line": 56
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_75:75",
"entity_name": "anonymous_function_75",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 76,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007754887502163467,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 29.080828133113002,
"length": 9.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 5.0,
"time": 1.6156015629507223,
"vocabulary": 6.0,
"volume": 23.264662506490403
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 76
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_78:78",
"entity_name": "anonymous_function_78",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 79,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 80,
"nesting_level": 0
},
{
"column": 10,
"kind": "ConditionalExpression",
"line": 84,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05722447977750475,
"calculated_length": 52.87076540327685,
"difficulty": 8.4,
"effort": 1442.0568903931198,
"length": 42.0,
"n1": 7.0,
"n2": 10.0,
"n_1": 18.0,
"n_2": 24.0,
"time": 80.11427168850666,
"vocabulary": 17.0,
"volume": 171.67343933251425
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 8.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 79
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_86:86",
"entity_name": "anonymous_function_86",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 87,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 90,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 94,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03330395746326983,
"calculated_length": 35.60964047443681,
"difficulty": 5.0,
"effort": 499.55936194904746,
"length": 27.0,
"n1": 5.0,
"n2": 8.0,
"n_1": 11.0,
"n_2": 16.0,
"time": 27.753297886058192,
"vocabulary": 13.0,
"volume": 99.91187238980949
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 9.8
},
"recommendations": [],
"severity": "Low",
"start_line": 87
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_99:99",
"entity_name": "anonymous_function_99",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 100,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 101,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 103,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.014395021744511903,
"calculated_length": 23.21928094887362,
"difficulty": 3.5,
"effort": 151.14772831737497,
"length": 13.0,
"n1": 5.0,
"n2": 5.0,
"n_1": 6.0,
"n_2": 7.0,
"time": 8.397096017631943,
"vocabulary": 10.0,
"volume": 43.18506523353571
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 9.6
},
"recommendations": [],
"severity": "Low",
"start_line": 100
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_107:107",
"entity_name": "anonymous_function_107",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 108,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "For",
"line": 109,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 111,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.048981851742056784,
"calculated_length": 67.01955000865388,
"difficulty": 7.0,
"effort": 1028.6188865831923,
"length": 34.0,
"n1": 8.0,
"n2": 12.0,
"n_1": 13.0,
"n_2": 21.0,
"time": 57.145493699066236,
"vocabulary": 20.0,
"volume": 146.94555522617034
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 10.0
},
"recommendations": [],
"severity": "Low",
"start_line": 108
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_117:117",
"entity_name": "anonymous_function_117",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 118,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 14,
"kind": "ConditionalExpression",
"line": 124,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04447920001538466,
"calculated_length": 61.302968908806456,
"difficulty": 3.142857142857143,
"effort": 419.37531443076966,
"length": 32.0,
"n1": 4.0,
"n2": 14.0,
"n_1": 10.0,
"n_2": 22.0,
"time": 23.298628579487204,
"vocabulary": 18.0,
"volume": 133.437600046154
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 118
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_126:126",
"entity_name": "anonymous_function_126",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 127,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 131,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 137,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 141,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 146,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 146,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.12385490775967187,
"calculated_length": 123.730172764082,
"difficulty": 13.263157894736842,
"effort": 4928.121592963786,
"length": 75.0,
"n1": 12.0,
"n2": 19.0,
"n_1": 33.0,
"n_2": 42.0,
"time": 273.7845329424325,
"vocabulary": 31.0,
"volume": 371.5647232790156
},
"lines_of_code": 24.0,
"maintainability_index": 87.36336798196686,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 12.0,
"technical_debt_score": 21.599999999999998
},
"recommendations": [],
"severity": "Low",
"start_line": 127
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_152:152",
"entity_name": "anonymous_function_152",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 153,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 156,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 162,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 165,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 165,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 168,
"nesting_level": 0
},
{
"column": 24,
"kind": "ConditionalExpression",
"line": 172,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 173,
"nesting_level": 0
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 177,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 180,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalOr",
"line": 184,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.17339687086354064,
"calculated_length": 126.63682062300134,
"difficulty": 11.454545454545455,
"effort": 5958.547016947124,
"length": 105.0,
"n1": 9.0,
"n2": 22.0,
"n_1": 49.0,
"n_2": 56.0,
"time": 331.03038983039573,
"vocabulary": 31.0,
"volume": 520.1906125906219
},
"lines_of_code": 32.0,
"maintainability_index": 79.8032627778177,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 18.0,
"technical_debt_score": 37.2
},
"recommendations": [],
"severity": "Moderate",
"start_line": 153
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:getInitKey:208",
"entity_name": "getInitKey",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 209,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004,
"calculated_length": 4.754887502163468,
"difficulty": 0.8333333333333334,
"effort": 10.0,
"length": 6.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 5.0,
"time": 0.5555555555555556,
"vocabulary": 4.0,
"volume": 12.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 209
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_217:217",
"entity_name": "anonymous_function_217",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 218,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 218
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:loadPersistedSessionSnapshot:221",
"entity_name": "loadPersistedSessionSnapshot",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 222,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 225,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 229,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 233,
"nesting_level": 1
},
{
"column": 5,
"kind": "Catch",
"line": 237,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08995966091948951,
"calculated_length": 118.76437056043838,
"difficulty": 8.68421052631579,
"effort": 2343.6859029024895,
"length": 55.0,
"n1": 11.0,
"n2": 19.0,
"n_1": 25.0,
"n_2": 30.0,
"time": 130.20477238347164,
"vocabulary": 30.0,
"volume": 269.8789827584685
},
"lines_of_code": 22.0,
"maintainability_index": 90.66564929371376,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 20.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 222
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:persistSessionSnapshot:245",
"entity_name": "persistSessionSnapshot",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 246,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 250,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 259,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.0634660345935879,
"calculated_length": 94.71013448036484,
"difficulty": 4.861111111111111,
"effort": 925.5463378231568,
"length": 41.0,
"n1": 7.0,
"n2": 18.0,
"n_1": 16.0,
"n_2": 25.0,
"time": 51.41924099017538,
"vocabulary": 25.0,
"volume": 190.3981037807637
},
"lines_of_code": 19.0,
"maintainability_index": 95.31467928900393,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 12.2
},
"recommendations": [],
"severity": "Low",
"start_line": 246
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:normalizeAgentSnapshot:266",
"entity_name": "normalizeAgentSnapshot",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 267,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 29,
"kind": "ConditionalExpression",
"line": 273,
"nesting_level": 0
},
{
"column": 30,
"kind": "ConditionalExpression",
"line": 276,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2379803008409526,
"calculated_length": 221.64046153995463,
"difficulty": 7.0,
"effort": 4997.586317660004,
"length": 130.0,
"n1": 6.0,
"n2": 39.0,
"n_1": 39.0,
"n_2": 91.0,
"time": 277.64368431444467,
"vocabulary": 45.0,
"volume": 713.9409025228578
},
"lines_of_code": 37.0,
"maintainability_index": 77.64496883060511,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 15.0
},
"recommendations": [],
"severity": "Low",
"start_line": 267
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_305:305",
"entity_name": "anonymous_function_305",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 306,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.024113247839698163,
"calculated_length": 45.01955000865387,
"difficulty": 1.3333333333333333,
"effort": 96.45299135879264,
"length": 19.0,
"n1": 2.0,
"n2": 12.0,
"n_1": 3.0,
"n_2": 16.0,
"time": 5.358499519932924,
"vocabulary": 14.0,
"volume": 72.33974351909448
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 306
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_316:316",
"entity_name": "anonymous_function_316",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 317,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 29,
"kind": "ConditionalExpression",
"line": 318,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 320,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03776660909088234,
"calculated_length": 43.65148445440323,
"difficulty": 7.875,
"effort": 892.2361397720954,
"length": 29.0,
"n1": 7.0,
"n2": 8.0,
"n_1": 11.0,
"n_2": 18.0,
"time": 49.56867443178308,
"vocabulary": 15.0,
"volume": 113.29982727264704
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 9.0
},
"recommendations": [],
"severity": "Low",
"start_line": 317
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:SessionProvider:381",
"entity_name": "SessionProvider",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [
{
"description": "Cyclomatic complexity of 177.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:SessionProvider:381",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:382",
"metric_value": 177.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 228.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:SessionProvider:381",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:382",
"metric_value": 228.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 382,
"metrics": {
"cognitive_complexity": 228.0,
"cyclomatic_complexity": 177.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 492,
"nesting_level": 0
},
{
"column": 24,
"kind": "ConditionalExpression",
"line": 495,
"nesting_level": 0
},
{
"column": 31,
"kind": "LogicalOr",
"line": 496,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 497,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 503,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 503,
"nesting_level": 1
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 509,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 514,
"nesting_level": 0
},
{
"column": 14,
"kind": "If",
"line": 521,
"nesting_level": 1
},
{
"column": 10,
"kind": "ConditionalExpression",
"line": 533,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 581,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 589,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 594,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 613,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 633,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 638,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 638,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 657,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 693,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 696,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 700,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 709,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 712,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 721,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 724,
"nesting_level": 0
},
{
"column": 28,
"kind": "ConditionalExpression",
"line": 727,
"nesting_level": 0
},
{
"column": 28,
"kind": "LogicalAnd",
"line": 727,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 733,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 742,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 745,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 748,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 756,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 765,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 768,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 771,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 775,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 783,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 787,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 808,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 813,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 846,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 858,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 860,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 897,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 908,
"nesting_level": 0
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 914,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 917,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 928,
"nesting_level": 0
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 934,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 937,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 948,
"nesting_level": 0
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 954,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 966,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 984,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 997,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 997,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1000,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1000,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1007,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 1021,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1027,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1029,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1048,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1056,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 1059,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1070,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1086,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 1109,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1120,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1128,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1130,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1130,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1136,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1136,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1138,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1151,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1173,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 1186,
"nesting_level": 0
},
{
"column": 15,
"kind": "If",
"line": 1188,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 1189,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 1203,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1212,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1224,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1240,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 1251,
"nesting_level": 0
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 1253,
"nesting_level": 1
},
{
"column": 11,
"kind": "For",
"line": 1261,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 1290,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1299,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1306,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1309,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1309,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1313,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1313,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1338,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1338,
"nesting_level": 1
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 1346,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1346,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1354,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1355,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1355,
"nesting_level": 1
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 1366,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1366,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1374,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1376,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1389,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1417,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1425,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1429,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1444,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1451,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1451,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1451,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1454,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1471,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1478,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1488,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1500,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 1516,
"nesting_level": 0
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 1521,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1525,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1534,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1543,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1605,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1672,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1694,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1715,
"nesting_level": 0
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 1744,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1771,
"nesting_level": 0
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 1808,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1820,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 1820,
"nesting_level": 1
},
{
"column": 11,
"kind": "Try",
"line": 1825,
"nesting_level": 0
},
{
"column": 15,
"kind": "If",
"line": 1827,
"nesting_level": 1
},
{
"column": 17,
"kind": "If",
"line": 1828,
"nesting_level": 2
},
{
"column": 19,
"kind": "If",
"line": 1830,
"nesting_level": 3
},
{
"column": 17,
"kind": "If",
"line": 1836,
"nesting_level": 2
},
{
"column": 21,
"kind": "If",
"line": 1843,
"nesting_level": 2
},
{
"column": 21,
"kind": "If",
"line": 1848,
"nesting_level": 2
},
{
"column": 13,
"kind": "Catch",
"line": 1870,
"nesting_level": 1
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 1879,
"nesting_level": 0
},
{
"column": 31,
"kind": "LogicalOr",
"line": 1893,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1906,
"nesting_level": 0
},
{
"column": 15,
"kind": "ConditionalExpression",
"line": 1913,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1913,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1929,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1942,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1955,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1987,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 1993,
"nesting_level": 0
},
{
"column": 9,
"kind": "Catch",
"line": 2003,
"nesting_level": 1
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 2011,
"nesting_level": 0
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 2012,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 2012,
"nesting_level": 0
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 2013,
"nesting_level": 0
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 2014,
"nesting_level": 0
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 2015,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 2023,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 2036,
"nesting_level": 0
},
{
"column": 30,
"kind": "ConditionalExpression",
"line": 2077,
"nesting_level": 0
},
{
"column": 30,
"kind": "LogicalAnd",
"line": 2077,
"nesting_level": 0
},
{
"column": 18,
"kind": "ConditionalExpression",
"line": 2086,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 2105,
"nesting_level": 0
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 2105,
"nesting_level": 1
},
{
"column": 30,
"kind": "ConditionalExpression",
"line": 2128,
"nesting_level": 0
},
{
"column": 30,
"kind": "LogicalAnd",
"line": 2128,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 2147,
"nesting_level": 0
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 2147,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 2179,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 2179,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 2197,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 2214,
"nesting_level": 0
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 2214,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 2238,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 2242,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 2244,
"nesting_level": 1
}
],
"halstead": {
"bugs": 17.11197934845547,
"calculated_length": 6189.888744889649,
"difficulty": 62.59615384615385,
"effort": 3213432.2757243784,
"length": 5462.0,
"n1": 25.0,
"n2": 650.0,
"n_1": 2207.0,
"n_2": 3255.0,
"time": 178524.01531802103,
"vocabulary": 675.0,
"volume": 51335.93804536641
},
"lines_of_code": 1976.0,
"maintainability_index": 0.0,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 854.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 382
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_388:388",
"entity_name": "anonymous_function_388",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 389,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007754887502163467,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 29.080828133113002,
"length": 9.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 5.0,
"time": 1.6156015629507223,
"vocabulary": 6.0,
"volume": 23.264662506490403
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 389
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_394:394",
"entity_name": "anonymous_function_394",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 395,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 395
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_395:395",
"entity_name": "anonymous_function_395",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 396,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 396
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_396:396",
"entity_name": "anonymous_function_396",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 397,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 397
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_397:397",
"entity_name": "anonymous_function_397",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 398,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 398
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_399:399",
"entity_name": "anonymous_function_399",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 400,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 400
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_402:402",
"entity_name": "anonymous_function_402",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 403,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 403
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_405:405",
"entity_name": "anonymous_function_405",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 406,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 406
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_408:408",
"entity_name": "anonymous_function_408",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 409,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 409
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_411:411",
"entity_name": "anonymous_function_411",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 412,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 412
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_414:414",
"entity_name": "anonymous_function_414",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 415,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 415
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_416:416",
"entity_name": "anonymous_function_416",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 417,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 417
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_418:418",
"entity_name": "anonymous_function_418",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 419,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 419
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_421:421",
"entity_name": "anonymous_function_421",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 422,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 422
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_423:423",
"entity_name": "anonymous_function_423",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 424,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 424
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_424:424",
"entity_name": "anonymous_function_424",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 425,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 425
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_425:425",
"entity_name": "anonymous_function_425",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 426,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 426
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_426:426",
"entity_name": "anonymous_function_426",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 427,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 427
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_427:427",
"entity_name": "anonymous_function_427",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 428,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 428
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_428:428",
"entity_name": "anonymous_function_428",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 429,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 429
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_429:429",
"entity_name": "anonymous_function_429",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 430,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 430
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_431:431",
"entity_name": "anonymous_function_431",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 432,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 432
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_436:436",
"entity_name": "anonymous_function_436",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 437,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 53.99999999999999,
"length": 10.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 2.9999999999999996,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 437
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_447:447",
"entity_name": "anonymous_function_447",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 448,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 448
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_448:448",
"entity_name": "anonymous_function_448",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 449,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 449
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_472:472",
"entity_name": "anonymous_function_472",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 473,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02343611821489358,
"calculated_length": 35.60964047443681,
"difficulty": 3.125,
"effort": 219.71360826462734,
"length": 19.0,
"n1": 5.0,
"n2": 8.0,
"n_1": 9.0,
"n_2": 10.0,
"time": 12.206311570257075,
"vocabulary": 13.0,
"volume": 70.30835464468075
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 473
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_473:473",
"entity_name": "anonymous_function_473",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 474,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 9.509775004326936,
"difficulty": 2.0,
"effort": 36.18947501009619,
"length": 7.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 4.0,
"time": 2.0105263894497885,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 474
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_477:477",
"entity_name": "anonymous_function_477",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 478,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.5,
"effort": 17.414460711655217,
"length": 5.0,
"n1": 3.0,
"n2": 2.0,
"n_1": 3.0,
"n_2": 2.0,
"time": 0.9674700395364009,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 478
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_483:483",
"entity_name": "anonymous_function_483",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 484,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 492,
"nesting_level": 0
},
{
"column": 24,
"kind": "ConditionalExpression",
"line": 495,
"nesting_level": 0
},
{
"column": 31,
"kind": "LogicalOr",
"line": 496,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 497,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 503,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 503,
"nesting_level": 1
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 509,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 514,
"nesting_level": 0
},
{
"column": 14,
"kind": "If",
"line": 521,
"nesting_level": 1
},
{
"column": 10,
"kind": "ConditionalExpression",
"line": 533,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.4119183189246063,
"calculated_length": 366.08050057969047,
"difficulty": 14.063636363636363,
"effort": 17379.20834662816,
"length": 203.0,
"n1": 13.0,
"n2": 55.0,
"n_1": 84.0,
"n_2": 119.0,
"time": 965.5115748126755,
"vocabulary": 68.0,
"volume": 1235.7549567738188
},
"lines_of_code": 62.0,
"maintainability_index": 64.58934867297874,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 26.0,
"technical_debt_score": 44.00000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 484
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_558:558",
"entity_name": "anonymous_function_558",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 559,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.019603445838944685,
"calculated_length": 27.651484454403228,
"difficulty": 2.857142857142857,
"effort": 168.029535762383,
"length": 17.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 7.0,
"n_2": 10.0,
"time": 9.334974209021278,
"vocabulary": 11.0,
"volume": 58.81033751683405
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 559
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_559:559",
"entity_name": "anonymous_function_559",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 560,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 53.99999999999999,
"length": 10.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 2.9999999999999996,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 560
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_565:565",
"entity_name": "anonymous_function_565",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 566,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 566
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_570:570",
"entity_name": "anonymous_function_570",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 571,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 15.509775004326936,
"length": 6.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.861654166907052,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 571
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_574:574",
"entity_name": "anonymous_function_574",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 575,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 575
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_579:579",
"entity_name": "anonymous_function_579",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 580,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 581,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 589,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 594,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07613350199483186,
"calculated_length": 72.95445336320968,
"difficulty": 7.0,
"effort": 1598.803541891469,
"length": 52.0,
"n1": 7.0,
"n2": 14.0,
"n_1": 24.0,
"n_2": 28.0,
"time": 88.8224189939705,
"vocabulary": 21.0,
"volume": 228.40050598449557
},
"lines_of_code": 23.0,
"maintainability_index": 91.04327009770779,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 15.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 580
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_611:611",
"entity_name": "anonymous_function_611",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 612,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 613,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.014339850002884624,
"calculated_length": 31.26112492884004,
"difficulty": 3.5,
"effort": 150.56842503028855,
"length": 12.0,
"n1": 7.0,
"n2": 5.0,
"n_1": 7.0,
"n_2": 5.0,
"time": 8.364912501682698,
"vocabulary": 12.0,
"volume": 43.01955000865387
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 612
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_617:617",
"entity_name": "anonymous_function_617",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 618,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009509775004326936,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 42.793987519471216,
"length": 9.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 2.377443751081734,
"vocabulary": 9.0,
"volume": 28.52932501298081
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 618
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_618:618",
"entity_name": "anonymous_function_618",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 619,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008,
"calculated_length": 17.509775004326936,
"difficulty": 1.0,
"effort": 24.0,
"length": 8.0,
"n1": 2.0,
"n2": 6.0,
"n_1": 2.0,
"n_2": 6.0,
"time": 1.3333333333333333,
"vocabulary": 8.0,
"volume": 24.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 619
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_623:623",
"entity_name": "anonymous_function_623",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 624,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 19.60964047443681,
"difficulty": 2.4,
"effort": 83.68602003807705,
"length": 11.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 4.649223335448725,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 624
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_628:628",
"entity_name": "anonymous_function_628",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 629,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 633,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 638,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 638,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 657,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2582766528292996,
"calculated_length": 235.76932453692504,
"difficulty": 12.486486486486488,
"effort": 9674.903805984035,
"length": 138.0,
"n1": 12.0,
"n2": 37.0,
"n_1": 61.0,
"n_2": 77.0,
"time": 537.494655888002,
"vocabulary": 49.0,
"volume": 774.8299584878988
},
"lines_of_code": 48.0,
"maintainability_index": 72.5427969195313,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 29.0,
"technical_debt_score": 23.6
},
"recommendations": [],
"severity": "Low",
"start_line": 629
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_631:631",
"entity_name": "anonymous_function_631",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 632,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 633,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 638,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 638,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 657,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.23329273177046078,
"calculated_length": 222.5444556017277,
"difficulty": 12.17142857142857,
"effort": 8518.517462932825,
"length": 126.0,
"n1": 12.0,
"n2": 35.0,
"n_1": 55.0,
"n_2": 71.0,
"time": 473.2509701629347,
"vocabulary": 47.0,
"volume": 699.8781953113823
},
"lines_of_code": 38.0,
"maintainability_index": 76.85639138376936,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 24.0,
"technical_debt_score": 21.6
},
"recommendations": [],
"severity": "Low",
"start_line": 632
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_655:655",
"entity_name": "anonymous_function_655",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 656,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 657,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 19.60964047443681,
"difficulty": 3.75,
"effort": 142.64662506490404,
"length": 12.0,
"n1": 5.0,
"n2": 4.0,
"n_1": 6.0,
"n_2": 6.0,
"time": 7.92481250360578,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 656
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_673:673",
"entity_name": "anonymous_function_673",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 674,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 8.0,
"length": 4.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 2.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 674
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_679:679",
"entity_name": "anonymous_function_679",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 680,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04447920001538466,
"calculated_length": 58.529325012980806,
"difficulty": 5.0,
"effort": 667.18800023077,
"length": 32.0,
"n1": 6.0,
"n2": 12.0,
"n_1": 12.0,
"n_2": 20.0,
"time": 37.06600001282055,
"vocabulary": 18.0,
"volume": 133.437600046154
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 680
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_680:680",
"entity_name": "anonymous_function_680",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 681,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03255742163007099,
"calculated_length": 44.039100017307746,
"difficulty": 5.0,
"effort": 488.3613244510649,
"length": 25.0,
"n1": 6.0,
"n2": 9.0,
"n_1": 10.0,
"n_2": 15.0,
"time": 27.131184691725828,
"vocabulary": 15.0,
"volume": 97.67226489021297
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 681
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_691:691",
"entity_name": "anonymous_function_691",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 692,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 693,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 696,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 700,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06986442869198432,
"calculated_length": 76.2388309575275,
"difficulty": 10.0,
"effort": 2095.93286075953,
"length": 47.0,
"n1": 10.0,
"n2": 12.0,
"n_1": 23.0,
"n_2": 24.0,
"time": 116.44071448664054,
"vocabulary": 22.0,
"volume": 209.59328607595296
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 12.8
},
"recommendations": [],
"severity": "Low",
"start_line": 692
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_707:707",
"entity_name": "anonymous_function_707",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 708,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 709,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 712,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.034062190343752824,
"calculated_length": 52.529325012980806,
"difficulty": 6.1875,
"effort": 632.2794082559119,
"length": 25.0,
"n1": 9.0,
"n2": 8.0,
"n_1": 14.0,
"n_2": 11.0,
"time": 35.126633791995104,
"vocabulary": 17.0,
"volume": 102.18657103125848
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 708
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_719:719",
"entity_name": "anonymous_function_719",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 720,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 721,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 724,
"nesting_level": 0
},
{
"column": 28,
"kind": "ConditionalExpression",
"line": 727,
"nesting_level": 0
},
{
"column": 28,
"kind": "LogicalAnd",
"line": 727,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 733,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08582433091392043,
"calculated_length": 113.11239783097187,
"difficulty": 8.86111111111111,
"effort": 2281.4967967950515,
"length": 53.0,
"n1": 11.0,
"n2": 18.0,
"n_1": 24.0,
"n_2": 29.0,
"time": 126.74982204416953,
"vocabulary": 29.0,
"volume": 257.4729927417613
},
"lines_of_code": 17.0,
"maintainability_index": 94.8571866996451,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 19.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 720
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_740:740",
"entity_name": "anonymous_function_740",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 741,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 742,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 745,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 748,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 756,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07641604167868594,
"calculated_length": 87.13268394710859,
"difficulty": 7.5,
"effort": 1719.3609377704336,
"length": 50.0,
"n1": 9.0,
"n2": 15.0,
"n_1": 25.0,
"n_2": 25.0,
"time": 95.52005209835743,
"vocabulary": 24.0,
"volume": 229.24812503605781
},
"lines_of_code": 19.0,
"maintainability_index": 93.88910288893861,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 17.0
},
"recommendations": [],
"severity": "Low",
"start_line": 741
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_763:763",
"entity_name": "anonymous_function_763",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 764,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 765,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 768,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 771,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 775,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07388484528226455,
"calculated_length": 81.83229392178727,
"difficulty": 7.7142857142857135,
"effort": 1709.9064193895508,
"length": 49.0,
"n1": 9.0,
"n2": 14.0,
"n_1": 25.0,
"n_2": 24.0,
"time": 94.99480107719727,
"vocabulary": 23.0,
"volume": 221.65453584679364
},
"lines_of_code": 15.0,
"maintainability_index": 97.89376261221148,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 16.2
},
"recommendations": [],
"severity": "Low",
"start_line": 764
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_781:781",
"entity_name": "anonymous_function_781",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 782,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 783,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 787,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 808,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 813,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 846,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.27278638250577836,
"calculated_length": 242.44079551951012,
"difficulty": 12.0,
"effort": 9820.30977020802,
"length": 145.0,
"n1": 12.0,
"n2": 38.0,
"n_1": 69.0,
"n_2": 76.0,
"time": 545.5727650115566,
"vocabulary": 50.0,
"volume": 818.359147517335
},
"lines_of_code": 69.0,
"maintainability_index": 66.14950788689285,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 29.0,
"technical_debt_score": 29.799999999999997
},
"recommendations": [],
"severity": "Low",
"start_line": 782
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_797:797",
"entity_name": "anonymous_function_797",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 798,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 808,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 813,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.15965784284662088,
"calculated_length": 178.93519666370983,
"difficulty": 9.10344827586207,
"effort": 4360.310742569784,
"length": 90.0,
"n1": 11.0,
"n2": 29.0,
"n_1": 42.0,
"n_2": 48.0,
"time": 242.23948569832135,
"vocabulary": 40.0,
"volume": 478.9735285398626
},
"lines_of_code": 43.0,
"maintainability_index": 77.28600240001344,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 13.0,
"technical_debt_score": 16.2
},
"recommendations": [],
"severity": "Low",
"start_line": 798
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_811:811",
"entity_name": "anonymous_function_811",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 812,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 813,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08668840052241716,
"calculated_length": 120.76799089133478,
"difficulty": 6.428571428571429,
"effort": 1671.8477243609027,
"length": 53.0,
"n1": 9.0,
"n2": 21.0,
"n_1": 23.0,
"n_2": 30.0,
"time": 92.88042913116126,
"vocabulary": 30.0,
"volume": 260.0652015672515
},
"lines_of_code": 28.0,
"maintainability_index": 87.64143858601797,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 10.4
},
"recommendations": [],
"severity": "Low",
"start_line": 812
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_823:823",
"entity_name": "anonymous_function_823",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 824,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 1.0,
"effort": 4.754887502163468,
"length": 3.0,
"n1": 2.0,
"n2": 1.0,
"n_1": 2.0,
"n_2": 1.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 824
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_844:844",
"entity_name": "anonymous_function_844",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 845,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 846,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.018824259204361718,
"calculated_length": 23.509775004326936,
"difficulty": 6.0,
"effort": 338.83666567851094,
"length": 17.0,
"n1": 6.0,
"n2": 4.0,
"n_1": 9.0,
"n_2": 8.0,
"time": 18.82425920436172,
"vocabulary": 10.0,
"volume": 56.47277761308516
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 845
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_853:853",
"entity_name": "anonymous_function_853",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [
{
"description": "Cyclomatic complexity of 83.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_853:853",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:854",
"metric_value": 83.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 111.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_853:853",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:854",
"metric_value": 111.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 854,
"metrics": {
"cognitive_complexity": 111.0,
"cyclomatic_complexity": 83.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 858,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 860,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 897,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 908,
"nesting_level": 0
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 914,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 917,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 928,
"nesting_level": 0
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 934,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 937,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 948,
"nesting_level": 0
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 954,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 966,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 984,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 997,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 997,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1000,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1000,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1007,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 1021,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1027,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1029,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1048,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1056,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 1059,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1070,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1086,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 1109,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1120,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1128,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1130,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1130,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1136,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1136,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1138,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1151,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1173,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 1186,
"nesting_level": 0
},
{
"column": 15,
"kind": "If",
"line": 1188,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 1189,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 1203,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1212,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1224,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1240,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 1251,
"nesting_level": 0
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 1253,
"nesting_level": 1
},
{
"column": 11,
"kind": "For",
"line": 1261,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 1290,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1299,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1306,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1309,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1309,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1313,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1313,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1338,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1338,
"nesting_level": 1
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 1346,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1346,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1354,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1355,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1355,
"nesting_level": 1
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 1366,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1366,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1374,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1376,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1389,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1417,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1425,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1429,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1444,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1451,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1451,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1451,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1454,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1471,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1478,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1488,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1500,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 1516,
"nesting_level": 0
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 1521,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1525,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1534,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1543,
"nesting_level": 0
}
],
"halstead": {
"bugs": 6.181540323561046,
"calculated_length": 2559.351319115032,
"difficulty": 51.221476510067106,
"effort": 949882.8674379443,
"length": 2226.0,
"n1": 24.0,
"n2": 298.0,
"n_1": 954.0,
"n_2": 1272.0,
"time": 52771.27041321913,
"vocabulary": 322.0,
"volume": 18544.62097068314
},
"lines_of_code": 713.0,
"maintainability_index": 0.0,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 361.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 854
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_856:856",
"entity_name": "anonymous_function_856",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 857,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 858,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 860,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 897,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 908,
"nesting_level": 0
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 914,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 917,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 928,
"nesting_level": 0
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 934,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 937,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 948,
"nesting_level": 0
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 954,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.7018800925578289,
"calculated_length": 434.4734578555034,
"difficulty": 17.723076923076924,
"effort": 37318.424613536255,
"length": 336.0,
"n1": 12.0,
"n2": 65.0,
"n_1": 144.0,
"n_2": 192.0,
"time": 2073.2458118631253,
"vocabulary": 77.0,
"volume": 2105.6402776734867
},
"lines_of_code": 106.0,
"maintainability_index": 52.899937352516375,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 58.0,
"technical_debt_score": 52.800000000000004
},
"recommendations": [],
"severity": "Moderate",
"start_line": 857
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_895:895",
"entity_name": "anonymous_function_895",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 896,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 897,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 908,
"nesting_level": 0
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 914,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0915952911180257,
"calculated_length": 118.07820003461549,
"difficulty": 10.333333333333334,
"effort": 2839.4540246587967,
"length": 56.0,
"n1": 12.0,
"n2": 18.0,
"n_1": 25.0,
"n_2": 31.0,
"time": 157.74744581437758,
"vocabulary": 30.0,
"volume": 274.78587335407707
},
"lines_of_code": 19.0,
"maintainability_index": 93.17692934700823,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 14.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 896
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_901:901",
"entity_name": "anonymous_function_901",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 902,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 902
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_915:915",
"entity_name": "anonymous_function_915",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 916,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 917,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 928,
"nesting_level": 0
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 934,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0915952911180257,
"calculated_length": 118.07820003461549,
"difficulty": 10.333333333333334,
"effort": 2839.4540246587967,
"length": 56.0,
"n1": 12.0,
"n2": 18.0,
"n_1": 25.0,
"n_2": 31.0,
"time": 157.74744581437758,
"vocabulary": 30.0,
"volume": 274.78587335407707
},
"lines_of_code": 19.0,
"maintainability_index": 93.17692934700823,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 14.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 916
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_921:921",
"entity_name": "anonymous_function_921",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 922,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 922
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_935:935",
"entity_name": "anonymous_function_935",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 936,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 937,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 948,
"nesting_level": 0
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 954,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0915952911180257,
"calculated_length": 118.07820003461549,
"difficulty": 10.333333333333334,
"effort": 2839.4540246587967,
"length": 56.0,
"n1": 12.0,
"n2": 18.0,
"n_1": 25.0,
"n_2": 31.0,
"time": 157.74744581437758,
"vocabulary": 30.0,
"volume": 274.78587335407707
},
"lines_of_code": 19.0,
"maintainability_index": 93.17692934700823,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 14.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 936
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_941:941",
"entity_name": "anonymous_function_941",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 942,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 942
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_964:964",
"entity_name": "anonymous_function_964",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 965,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 966,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 984,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 997,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 997,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1000,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1000,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1007,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.474,
"calculated_length": 341.63353189685984,
"difficulty": 14.11320754716981,
"effort": 20068.98113207547,
"length": 237.0,
"n1": 11.0,
"n2": 53.0,
"n_1": 101.0,
"n_2": 136.0,
"time": 1114.943396226415,
"vocabulary": 64.0,
"volume": 1422.0
},
"lines_of_code": 53.0,
"maintainability_index": 67.09020902656705,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 33.0,
"technical_debt_score": 37.0
},
"recommendations": [],
"severity": "Low",
"start_line": 965
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_971:971",
"entity_name": "anonymous_function_971",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 972,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.018450301966065584,
"calculated_length": 27.11941547876375,
"difficulty": 4.166666666666667,
"effort": 230.62877457581985,
"length": 16.0,
"n1": 5.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 10.0,
"time": 12.812709698656658,
"vocabulary": 11.0,
"volume": 55.35090589819676
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 972
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_980:980",
"entity_name": "anonymous_function_980",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 981,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 984,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.09034286254110589,
"calculated_length": 103.58797503894242,
"difficulty": 8.5,
"effort": 2303.7429947982,
"length": 57.0,
"n1": 9.0,
"n2": 18.0,
"n_1": 23.0,
"n_2": 34.0,
"time": 127.98572193323334,
"vocabulary": 27.0,
"volume": 271.02858762331766
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 981
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1009:1009",
"entity_name": "anonymous_function_1009",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1010,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.019119800003846166,
"calculated_length": 31.26112492884004,
"difficulty": 3.5714285714285716,
"effort": 204.85500004120894,
"length": 16.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 10.0,
"time": 11.380833335622718,
"vocabulary": 12.0,
"volume": 57.3594000115385
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1010
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1019:1019",
"entity_name": "anonymous_function_1019",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1020,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 1021,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1027,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1029,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1048,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1056,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 1059,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1070,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.4024895847793861,
"calculated_length": 385.12968771735893,
"difficulty": 11.0,
"effort": 13282.15629771974,
"length": 197.0,
"n1": 11.0,
"n2": 59.0,
"n_1": 79.0,
"n_2": 118.0,
"time": 737.8975720955411,
"vocabulary": 70.0,
"volume": 1207.4687543381583
},
"lines_of_code": 61.0,
"maintainability_index": 65.66317955428175,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 32.0,
"technical_debt_score": 35.400000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1020
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1048:1048",
"entity_name": "anonymous_function_1048",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1049,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01614401422030739,
"calculated_length": 27.11941547876375,
"difficulty": 3.75,
"effort": 181.6201599784581,
"length": 14.0,
"n1": 5.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 9.0,
"time": 10.090008887692116,
"vocabulary": 11.0,
"volume": 48.432042660922164
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1049
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1056:1056",
"entity_name": "anonymous_function_1056",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1057,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 1059,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03891930001346158,
"calculated_length": 57.05865002596162,
"difficulty": 7.5,
"effort": 875.6842503028855,
"length": 28.0,
"n1": 9.0,
"n2": 9.0,
"n_1": 13.0,
"n_2": 15.0,
"time": 48.64912501682697,
"vocabulary": 18.0,
"volume": 116.75790004038474
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1057
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1067:1067",
"entity_name": "anonymous_function_1067",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1068,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1070,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.036,
"calculated_length": 48.0,
"difficulty": 8.0,
"effort": 864.0,
"length": 27.0,
"n1": 8.0,
"n2": 8.0,
"n_1": 11.0,
"n_2": 16.0,
"time": 48.0,
"vocabulary": 16.0,
"volume": 108.0
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 1068
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1084:1084",
"entity_name": "anonymous_function_1084",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1085,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1086,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 1109,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1120,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.213661354547593,
"calculated_length": 252.87891313821507,
"difficulty": 8.170731707317072,
"effort": 5237.308812690999,
"length": 113.0,
"n1": 10.0,
"n2": 41.0,
"n_1": 46.0,
"n_2": 67.0,
"time": 290.9616007050555,
"vocabulary": 51.0,
"volume": 640.984063642779
},
"lines_of_code": 39.0,
"maintainability_index": 77.12267743922038,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 20.0,
"technical_debt_score": 18.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1085
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1094:1094",
"entity_name": "anonymous_function_1094",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1095,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012684582601670089,
"calculated_length": 28.75488750216347,
"difficulty": 1.5,
"effort": 57.080621707515405,
"length": 11.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 3.0,
"n_2": 8.0,
"time": 3.1711456504175226,
"vocabulary": 11.0,
"volume": 38.05374780501027
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 1095
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1100:1100",
"entity_name": "anonymous_function_1100",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1101,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01614401422030739,
"calculated_length": 27.11941547876375,
"difficulty": 3.75,
"effort": 181.6201599784581,
"length": 14.0,
"n1": 5.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 9.0,
"time": 10.090008887692116,
"vocabulary": 11.0,
"volume": 48.432042660922164
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1101
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1107:1107",
"entity_name": "anonymous_function_1107",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1108,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 1109,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03125512476486815,
"calculated_length": 43.65148445440323,
"difficulty": 7.428571428571429,
"effort": 696.5427804742044,
"length": 24.0,
"n1": 8.0,
"n2": 7.0,
"n_1": 11.0,
"n_2": 13.0,
"time": 38.6968211374558,
"vocabulary": 15.0,
"volume": 93.76537429460444
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1108
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1126:1126",
"entity_name": "anonymous_function_1126",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1127,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 1128,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1130,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1130,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1136,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1136,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1138,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.14862588931160625,
"calculated_length": 126.63682062300134,
"difficulty": 9.409090909090908,
"effort": 4195.303511932158,
"length": 90.0,
"n1": 9.0,
"n2": 22.0,
"n_1": 44.0,
"n_2": 46.0,
"time": 233.0724173295643,
"vocabulary": 31.0,
"volume": 445.87766793481876
},
"lines_of_code": 19.0,
"maintainability_index": 89.96985647577868,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 24.999999999999996
},
"recommendations": [],
"severity": "Low",
"start_line": 1127
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1138:1138",
"entity_name": "anonymous_function_1138",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1139,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01614401422030739,
"calculated_length": 27.11941547876375,
"difficulty": 3.75,
"effort": 181.6201599784581,
"length": 14.0,
"n1": 5.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 9.0,
"time": 10.090008887692116,
"vocabulary": 11.0,
"volume": 48.432042660922164
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1139
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1149:1149",
"entity_name": "anonymous_function_1149",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1150,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1151,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08333333333333333,
"calculated_length": 134.03910001730776,
"difficulty": 5.333333333333333,
"effort": 1333.3333333333333,
"length": 50.0,
"n1": 8.0,
"n2": 24.0,
"n_1": 18.0,
"n_2": 32.0,
"time": 74.07407407407408,
"vocabulary": 32.0,
"volume": 250.0
},
"lines_of_code": 17.0,
"maintainability_index": 95.9303470534056,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 8.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1150
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1160:1160",
"entity_name": "anonymous_function_1160",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1161,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.028,
"calculated_length": 49.66338827944708,
"difficulty": 3.4090909090909087,
"effort": 286.3636363636363,
"length": 21.0,
"n1": 5.0,
"n2": 11.0,
"n_1": 6.0,
"n_2": 15.0,
"time": 15.909090909090907,
"vocabulary": 16.0,
"volume": 84.0
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1161
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1171:1171",
"entity_name": "anonymous_function_1171",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1172,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1173,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 1186,
"nesting_level": 0
},
{
"column": 15,
"kind": "If",
"line": 1188,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 1189,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.1275248167022437,
"calculated_length": 154.1501525493784,
"difficulty": 9.02,
"effort": 3450.8215399627143,
"length": 74.0,
"n1": 11.0,
"n2": 25.0,
"n_1": 33.0,
"n_2": 41.0,
"time": 191.71230777570634,
"vocabulary": 36.0,
"volume": 382.5744501067311
},
"lines_of_code": 27.0,
"maintainability_index": 85.53344174006199,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 13.0,
"technical_debt_score": 21.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1172
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1182:1182",
"entity_name": "anonymous_function_1182",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1183,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 1186,
"nesting_level": 0
},
{
"column": 15,
"kind": "If",
"line": 1188,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 1189,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.07183107917796477,
"calculated_length": 86.15946414084446,
"difficulty": 10.576923076923077,
"effort": 2279.255396993113,
"length": 47.0,
"n1": 11.0,
"n2": 13.0,
"n_1": 22.0,
"n_2": 25.0,
"time": 126.62529983295073,
"vocabulary": 24.0,
"volume": 215.49323753389433
},
"lines_of_code": 15.0,
"maintainability_index": 98.2703531929132,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 15.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1183
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1201:1201",
"entity_name": "anonymous_function_1201",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1202,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 1203,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1212,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1224,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1240,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 1251,
"nesting_level": 0
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 1253,
"nesting_level": 1
},
{
"column": 11,
"kind": "For",
"line": 1261,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 1290,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1299,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.7441007625814906,
"calculated_length": 557.6070446665628,
"difficulty": 28.39189189189189,
"effort": 63379.28522366399,
"length": 339.0,
"n1": 22.0,
"n2": 74.0,
"n_1": 148.0,
"n_2": 191.0,
"time": 3521.071401314666,
"vocabulary": 96.0,
"volume": 2232.302287744472
},
"lines_of_code": 101.0,
"maintainability_index": 53.83894613804908,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 55.0,
"technical_debt_score": 50.4
},
"recommendations": [],
"severity": "Moderate",
"start_line": 1202
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1233:1233",
"entity_name": "anonymous_function_1233",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1234,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0069657842846620865,
"calculated_length": 6.754887502163468,
"difficulty": 2.0,
"effort": 41.79470570797252,
"length": 9.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 2.321928094887362,
"vocabulary": 5.0,
"volume": 20.89735285398626
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1234
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1236:1236",
"entity_name": "anonymous_function_1236",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1237,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1237
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1238:1238",
"entity_name": "anonymous_function_1238",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1239,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1240,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05003910001730774,
"calculated_length": 57.70523225941349,
"difficulty": 5.409090909090909,
"effort": 811.9981230081302,
"length": 36.0,
"n1": 7.0,
"n2": 11.0,
"n_1": 19.0,
"n_2": 17.0,
"time": 45.11100683378501,
"vocabulary": 18.0,
"volume": 150.11730005192322
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1239
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1243:1243",
"entity_name": "anonymous_function_1243",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1244,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.022704762504567322,
"calculated_length": 32.0,
"difficulty": 2.5,
"effort": 170.28571878425493,
"length": 19.0,
"n1": 4.0,
"n2": 8.0,
"n_1": 9.0,
"n_2": 10.0,
"time": 9.460317710236385,
"vocabulary": 12.0,
"volume": 68.11428751370197
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1244
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1244:1244",
"entity_name": "anonymous_function_1244",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1245,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1245
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1281:1281",
"entity_name": "anonymous_function_1281",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1282,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 8.0,
"length": 4.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 2.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1282
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1304:1304",
"entity_name": "anonymous_function_1304",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [
{
"description": "Cyclomatic complexity of 18.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1304:1304",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:1305",
"metric_value": 18.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 26.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1304:1304",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:1305",
"metric_value": 26.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 1305,
"metrics": {
"cognitive_complexity": 26.0,
"cyclomatic_complexity": 18.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 1306,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1309,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1309,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1313,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1313,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1338,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1338,
"nesting_level": 1
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 1346,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1346,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1354,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1355,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1355,
"nesting_level": 1
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 1366,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1366,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1374,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1376,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1389,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.5661340442362816,
"calculated_length": 372.9821786662728,
"difficulty": 14.827586206896552,
"effort": 25183.20403671735,
"length": 279.0,
"n1": 10.0,
"n2": 58.0,
"n_1": 107.0,
"n_2": 172.0,
"time": 1399.0668909287417,
"vocabulary": 68.0,
"volume": 1698.4021327088446
},
"lines_of_code": 109.0,
"maintainability_index": 52.18545984414335,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 27.0,
"technical_debt_score": 76.8
},
"recommendations": [],
"severity": "High",
"start_line": 1305
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1323:1323",
"entity_name": "anonymous_function_1323",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1324,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01903677461028802,
"calculated_length": 45.01955000865387,
"difficulty": 1.0833333333333333,
"effort": 61.86951748343606,
"length": 15.0,
"n1": 2.0,
"n2": 12.0,
"n_1": 2.0,
"n_2": 13.0,
"time": 3.437195415746448,
"vocabulary": 14.0,
"volume": 57.11032383086406
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1324
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1343:1343",
"entity_name": "anonymous_function_1343",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1344,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 13,
"kind": "ConditionalExpression",
"line": 1346,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1346,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03125512476486815,
"calculated_length": 44.82892142331043,
"difficulty": 3.75,
"effort": 351.62015360476664,
"length": 24.0,
"n1": 5.0,
"n2": 10.0,
"n_1": 9.0,
"n_2": 15.0,
"time": 19.53445297804259,
"vocabulary": 15.0,
"volume": 93.76537429460444
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 10.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1344
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1344:1344",
"entity_name": "anonymous_function_1344",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1345,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 13,
"kind": "ConditionalExpression",
"line": 1346,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1346,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.022704762504567322,
"calculated_length": 32.0,
"difficulty": 3.0,
"effort": 204.3428625411059,
"length": 19.0,
"n1": 4.0,
"n2": 8.0,
"n_1": 7.0,
"n_2": 12.0,
"time": 11.35238125228366,
"vocabulary": 12.0,
"volume": 68.11428751370197
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 9.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1345
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1363:1363",
"entity_name": "anonymous_function_1363",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1364,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 13,
"kind": "ConditionalExpression",
"line": 1366,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1366,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03125512476486815,
"calculated_length": 44.82892142331043,
"difficulty": 3.75,
"effort": 351.62015360476664,
"length": 24.0,
"n1": 5.0,
"n2": 10.0,
"n_1": 9.0,
"n_2": 15.0,
"time": 19.53445297804259,
"vocabulary": 15.0,
"volume": 93.76537429460444
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 10.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1364
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1364:1364",
"entity_name": "anonymous_function_1364",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1365,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 13,
"kind": "ConditionalExpression",
"line": 1366,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1366,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.022704762504567322,
"calculated_length": 32.0,
"difficulty": 3.0,
"effort": 204.3428625411059,
"length": 19.0,
"n1": 4.0,
"n2": 8.0,
"n_1": 7.0,
"n_2": 12.0,
"time": 11.35238125228366,
"vocabulary": 12.0,
"volume": 68.11428751370197
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 9.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1365
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1376:1376",
"entity_name": "anonymous_function_1376",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1377,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.019735678496752493,
"calculated_length": 40.05374780501027,
"difficulty": 1.0909090909090908,
"effort": 64.58949326209905,
"length": 16.0,
"n1": 2.0,
"n2": 11.0,
"n_1": 4.0,
"n_2": 12.0,
"time": 3.5883051812277253,
"vocabulary": 13.0,
"volume": 59.207035490257475
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 1377
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1389:1389",
"entity_name": "anonymous_function_1389",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1390,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.019735678496752493,
"calculated_length": 40.05374780501027,
"difficulty": 1.0909090909090908,
"effort": 64.58949326209905,
"length": 16.0,
"n1": 2.0,
"n2": 11.0,
"n_1": 4.0,
"n_2": 12.0,
"time": 3.5883051812277253,
"vocabulary": 13.0,
"volume": 59.207035490257475
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 1390
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1402:1402",
"entity_name": "anonymous_function_1402",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1403,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02734823416925963,
"calculated_length": 50.105716335834195,
"difficulty": 1.2307692307692308,
"effort": 100.97809539418941,
"length": 21.0,
"n1": 2.0,
"n2": 13.0,
"n_1": 5.0,
"n_2": 16.0,
"time": 5.609894188566078,
"vocabulary": 15.0,
"volume": 82.0447025077789
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1403
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1415:1415",
"entity_name": "anonymous_function_1415",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1416,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 1417,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02734823416925963,
"calculated_length": 43.65148445440323,
"difficulty": 4.8125,
"effort": 394.8401308186859,
"length": 21.0,
"n1": 7.0,
"n2": 8.0,
"n_1": 10.0,
"n_2": 11.0,
"time": 21.935562823260327,
"vocabulary": 15.0,
"volume": 82.0447025077789
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1416
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1419:1419",
"entity_name": "anonymous_function_1419",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1420,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 25.84962500721156,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.43609027817842,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1420
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1423:1423",
"entity_name": "anonymous_function_1423",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1424,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 1425,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1429,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0792481250360578,
"calculated_length": 103.58797503894242,
"difficulty": 6.0,
"effort": 1426.4662506490404,
"length": 50.0,
"n1": 9.0,
"n2": 18.0,
"n_1": 26.0,
"n_2": 24.0,
"time": 79.2481250360578,
"vocabulary": 27.0,
"volume": 237.74437510817341
},
"lines_of_code": 15.0,
"maintainability_index": 97.98936732221219,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 10.6
},
"recommendations": [],
"severity": "Low",
"start_line": 1424
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1442:1442",
"entity_name": "anonymous_function_1442",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1443,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1444,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1451,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1451,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1451,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1454,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.13659615443544232,
"calculated_length": 184.0,
"difficulty": 5.75,
"effort": 2356.28366401138,
"length": 77.0,
"n1": 8.0,
"n2": 32.0,
"n_1": 31.0,
"n_2": 46.0,
"time": 130.90464800063222,
"vocabulary": 40.0,
"volume": 409.78846330632695
},
"lines_of_code": 24.0,
"maintainability_index": 86.85419431469063,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 22.4
},
"recommendations": [],
"severity": "Low",
"start_line": 1443
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1456:1456",
"entity_name": "anonymous_function_1456",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1457,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03953085680500885,
"calculated_length": 74.11313393845472,
"difficulty": 3.8,
"effort": 450.6517675771008,
"length": 27.0,
"n1": 6.0,
"n2": 15.0,
"n_1": 8.0,
"n_2": 19.0,
"time": 25.036209309838934,
"vocabulary": 21.0,
"volume": 118.59257041502654
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 1457
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1469:1469",
"entity_name": "anonymous_function_1469",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1470,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 1471,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1478,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1488,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1500,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 1516,
"nesting_level": 0
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 1521,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1525,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1534,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1543,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.44066404889975924,
"calculated_length": 222.5444556017277,
"difficulty": 21.771428571428572,
"effort": 28781.657593852848,
"length": 238.0,
"n1": 12.0,
"n2": 35.0,
"n_1": 111.0,
"n_2": 127.0,
"time": 1598.9809774362693,
"vocabulary": 47.0,
"volume": 1321.9921466992778
},
"lines_of_code": 80.0,
"maintainability_index": 60.33931410267594,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 50.0,
"technical_debt_score": 43.2
},
"recommendations": [],
"severity": "Moderate",
"start_line": 1470
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1476:1476",
"entity_name": "anonymous_function_1476",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1477,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1478,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.029189721069108297,
"calculated_length": 39.50977500432694,
"difficulty": 8.0,
"effort": 700.5533056585991,
"length": 23.0,
"n1": 8.0,
"n2": 6.0,
"n_1": 11.0,
"n_2": 12.0,
"time": 38.91962809214439,
"vocabulary": 14.0,
"volume": 87.56916320732489
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1477
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1486:1486",
"entity_name": "anonymous_function_1486",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1487,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1488,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03776660909088234,
"calculated_length": 43.65148445440323,
"difficulty": 9.142857142857142,
"effort": 1035.8841350642015,
"length": 29.0,
"n1": 8.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 16.0,
"time": 57.54911861467786,
"vocabulary": 15.0,
"volume": 113.29982727264704
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1487
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1498:1498",
"entity_name": "anonymous_function_1498",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1499,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1500,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.029189721069108297,
"calculated_length": 39.50977500432694,
"difficulty": 8.0,
"effort": 700.5533056585991,
"length": 23.0,
"n1": 8.0,
"n2": 6.0,
"n_1": 11.0,
"n_2": 12.0,
"time": 38.91962809214439,
"vocabulary": 14.0,
"volume": 87.56916320732489
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1499
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1511:1511",
"entity_name": "anonymous_function_1511",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1512,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 1516,
"nesting_level": 0
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 1521,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05428274347268416,
"calculated_length": 81.07329781366414,
"difficulty": 9.625,
"effort": 1567.4142177737551,
"length": 36.0,
"n1": 11.0,
"n2": 12.0,
"n_1": 15.0,
"n_2": 21.0,
"time": 87.07856765409751,
"vocabulary": 23.0,
"volume": 162.84823041805248
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 9.6
},
"recommendations": [],
"severity": "Low",
"start_line": 1512
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1523:1523",
"entity_name": "anonymous_function_1523",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1524,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1525,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.029189721069108297,
"calculated_length": 39.50977500432694,
"difficulty": 8.0,
"effort": 700.5533056585991,
"length": 23.0,
"n1": 8.0,
"n2": 6.0,
"n_1": 11.0,
"n_2": 12.0,
"time": 38.91962809214439,
"vocabulary": 14.0,
"volume": 87.56916320732489
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1524
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1532:1532",
"entity_name": "anonymous_function_1532",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1533,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1534,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.029189721069108297,
"calculated_length": 39.50977500432694,
"difficulty": 8.0,
"effort": 700.5533056585991,
"length": 23.0,
"n1": 8.0,
"n2": 6.0,
"n_1": 11.0,
"n_2": 12.0,
"time": 38.91962809214439,
"vocabulary": 14.0,
"volume": 87.56916320732489
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1533
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1541:1541",
"entity_name": "anonymous_function_1541",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1542,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1543,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.029189721069108297,
"calculated_length": 39.50977500432694,
"difficulty": 8.0,
"effort": 700.5533056585991,
"length": 23.0,
"n1": 8.0,
"n2": 6.0,
"n_1": 11.0,
"n_2": 12.0,
"time": 38.91962809214439,
"vocabulary": 14.0,
"volume": 87.56916320732489
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1542
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1551:1551",
"entity_name": "anonymous_function_1551",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1552,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05078957774291074,
"calculated_length": 50.105716335834195,
"difficulty": 1.0,
"effort": 152.36873322873222,
"length": 39.0,
"n1": 2.0,
"n2": 13.0,
"n_1": 26.0,
"n_2": 13.0,
"time": 8.464929623818456,
"vocabulary": 15.0,
"volume": 152.36873322873222
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 13.0,
"technical_debt_score": 4.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1552
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1591:1591",
"entity_name": "anonymous_function_1591",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1592,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 1605,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.18654030417917908,
"calculated_length": 146.21143267166838,
"difficulty": 10.0,
"effort": 5596.209125375372,
"length": 110.0,
"n1": 8.0,
"n2": 26.0,
"n_1": 45.0,
"n_2": 65.0,
"time": 310.90050696529846,
"vocabulary": 34.0,
"volume": 559.6209125375373
},
"lines_of_code": 33.0,
"maintainability_index": 80.99482751870575,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 22.0,
"technical_debt_score": 11.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 1592
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1592:1592",
"entity_name": "anonymous_function_1592",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1593,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01614401422030739,
"calculated_length": 27.11941547876375,
"difficulty": 3.75,
"effort": 181.6201599784581,
"length": 14.0,
"n1": 5.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 9.0,
"time": 10.090008887692116,
"vocabulary": 11.0,
"volume": 48.432042660922164
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1593
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1598:1598",
"entity_name": "anonymous_function_1598",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1599,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014395021744511903,
"calculated_length": 23.21928094887362,
"difficulty": 4.0,
"effort": 172.74026093414284,
"length": 13.0,
"n1": 5.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 9.596681163007936,
"vocabulary": 10.0,
"volume": 43.18506523353571
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1599
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1606:1606",
"entity_name": "anonymous_function_1606",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1607,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01614401422030739,
"calculated_length": 27.11941547876375,
"difficulty": 3.75,
"effort": 181.6201599784581,
"length": 14.0,
"n1": 5.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 9.0,
"time": 10.090008887692116,
"vocabulary": 11.0,
"volume": 48.432042660922164
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1607
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1616:1616",
"entity_name": "anonymous_function_1616",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1617,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03823134762099227,
"calculated_length": 64.91260938324326,
"difficulty": 3.0357142857142856,
"effort": 348.1783444054653,
"length": 27.0,
"n1": 5.0,
"n2": 14.0,
"n_1": 10.0,
"n_2": 17.0,
"time": 19.34324135585918,
"vocabulary": 19.0,
"volume": 114.6940428629768
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1617
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1618:1618",
"entity_name": "anonymous_function_1618",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1619,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01614401422030739,
"calculated_length": 27.11941547876375,
"difficulty": 3.75,
"effort": 181.6201599784581,
"length": 14.0,
"n1": 5.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 9.0,
"time": 10.090008887692116,
"vocabulary": 11.0,
"volume": 48.432042660922164
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1619
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1629:1629",
"entity_name": "anonymous_function_1629",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1630,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1295461598700686,
"calculated_length": 121.64874049174456,
"difficulty": 5.104166666666666,
"effort": 1983.675573010425,
"length": 80.0,
"n1": 5.0,
"n2": 24.0,
"n_1": 31.0,
"n_2": 49.0,
"time": 110.20419850057917,
"vocabulary": 29.0,
"volume": 388.63847961020576
},
"lines_of_code": 24.0,
"maintainability_index": 88.27975027188594,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 15.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1630
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1630:1630",
"entity_name": "anonymous_function_1630",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1631,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01614401422030739,
"calculated_length": 27.11941547876375,
"difficulty": 3.75,
"effort": 181.6201599784581,
"length": 14.0,
"n1": 5.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 9.0,
"time": 10.090008887692116,
"vocabulary": 11.0,
"volume": 48.432042660922164
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1631
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1636:1636",
"entity_name": "anonymous_function_1636",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1637,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014395021744511903,
"calculated_length": 23.21928094887362,
"difficulty": 4.0,
"effort": 172.74026093414284,
"length": 13.0,
"n1": 5.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 9.596681163007936,
"vocabulary": 10.0,
"volume": 43.18506523353571
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1637
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1645:1645",
"entity_name": "anonymous_function_1645",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1646,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03823134762099227,
"calculated_length": 64.91260938324326,
"difficulty": 3.0357142857142856,
"effort": 348.1783444054653,
"length": 27.0,
"n1": 5.0,
"n2": 14.0,
"n_1": 10.0,
"n_2": 17.0,
"time": 19.34324135585918,
"vocabulary": 19.0,
"volume": 114.6940428629768
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1646
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1647:1647",
"entity_name": "anonymous_function_1647",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1648,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01614401422030739,
"calculated_length": 27.11941547876375,
"difficulty": 3.75,
"effort": 181.6201599784581,
"length": 14.0,
"n1": 5.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 9.0,
"time": 10.090008887692116,
"vocabulary": 11.0,
"volume": 48.432042660922164
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1648
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1666:1666",
"entity_name": "anonymous_function_1666",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1667,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 1672,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1694,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1715,
"nesting_level": 0
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 1744,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.47633570483095,
"calculated_length": 325.2123594973901,
"difficulty": 16.68,
"effort": 23835.838669740737,
"length": 240.0,
"n1": 12.0,
"n2": 50.0,
"n_1": 101.0,
"n_2": 139.0,
"time": 1324.213259430041,
"vocabulary": 62.0,
"volume": 1429.00711449285
},
"lines_of_code": 81.0,
"maintainability_index": 60.88330088014834,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 46.0,
"technical_debt_score": 29.400000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1667
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1678:1678",
"entity_name": "anonymous_function_1678",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1679,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.00861654166907052,
"calculated_length": 10.0,
"difficulty": 1.5,
"effort": 38.77443751081734,
"length": 10.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 2.1541354172676304,
"vocabulary": 6.0,
"volume": 25.84962500721156
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 1679
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1691:1691",
"entity_name": "anonymous_function_1691",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1692,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1694,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03333333333333333,
"calculated_length": 48.18080946738404,
"difficulty": 5.055555555555555,
"effort": 505.55555555555554,
"length": 25.0,
"n1": 7.0,
"n2": 9.0,
"n_1": 12.0,
"n_2": 13.0,
"time": 28.086419753086417,
"vocabulary": 16.0,
"volume": 100.0
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1692
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1700:1700",
"entity_name": "anonymous_function_1700",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1701,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01614401422030739,
"calculated_length": 27.11941547876375,
"difficulty": 3.75,
"effort": 181.6201599784581,
"length": 14.0,
"n1": 5.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 9.0,
"time": 10.090008887692116,
"vocabulary": 11.0,
"volume": 48.432042660922164
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1701
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1707:1707",
"entity_name": "anonymous_function_1707",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1708,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014395021744511903,
"calculated_length": 23.21928094887362,
"difficulty": 4.0,
"effort": 172.74026093414284,
"length": 13.0,
"n1": 5.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 9.596681163007936,
"vocabulary": 10.0,
"volume": 43.18506523353571
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1708
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1718:1718",
"entity_name": "anonymous_function_1718",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1719,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01614401422030739,
"calculated_length": 27.11941547876375,
"difficulty": 3.75,
"effort": 181.6201599784581,
"length": 14.0,
"n1": 5.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 9.0,
"time": 10.090008887692116,
"vocabulary": 11.0,
"volume": 48.432042660922164
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1719
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1729:1729",
"entity_name": "anonymous_function_1729",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1730,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 8.0,
"length": 4.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 2.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1730
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1734:1734",
"entity_name": "anonymous_function_1734",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1735,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 27,
"kind": "ConditionalExpression",
"line": 1744,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08505277032388099,
"calculated_length": 123.69340944371453,
"difficulty": 4.565217391304348,
"effort": 1164.8531587835876,
"length": 52.0,
"n1": 7.0,
"n2": 23.0,
"n_1": 22.0,
"n_2": 30.0,
"time": 64.71406437686598,
"vocabulary": 30.0,
"volume": 255.15831097164298
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1735
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1738:1738",
"entity_name": "anonymous_function_1738",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1739,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01614401422030739,
"calculated_length": 27.11941547876375,
"difficulty": 3.75,
"effort": 181.6201599784581,
"length": 14.0,
"n1": 5.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 9.0,
"time": 10.090008887692116,
"vocabulary": 11.0,
"volume": 48.432042660922164
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1739
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1752:1752",
"entity_name": "anonymous_function_1752",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1753,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 1771,
"nesting_level": 0
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 1808,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.32957253004473513,
"calculated_length": 219.33658100079685,
"difficulty": 16.38888888888889,
"effort": 16203.982727199476,
"length": 179.0,
"n1": 10.0,
"n2": 36.0,
"n_1": 61.0,
"n_2": 118.0,
"time": 900.2212626221931,
"vocabulary": 46.0,
"volume": 988.7175901342054
},
"lines_of_code": 61.0,
"maintainability_index": 67.85251795281198,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 23.0,
"technical_debt_score": 19.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1753
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1755:1755",
"entity_name": "anonymous_function_1755",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1756,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04754120904376099,
"calculated_length": 68.81274391313339,
"difficulty": 5.357142857142858,
"effort": 764.0551453461588,
"length": 33.0,
"n1": 6.0,
"n2": 14.0,
"n_1": 8.0,
"n_2": 25.0,
"time": 42.447508074786604,
"vocabulary": 20.0,
"volume": 142.62362713128297
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 4.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1756
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1776:1776",
"entity_name": "anonymous_function_1776",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1777,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04754120904376099,
"calculated_length": 68.81274391313339,
"difficulty": 5.357142857142858,
"effort": 764.0551453461588,
"length": 33.0,
"n1": 6.0,
"n2": 14.0,
"n_1": 8.0,
"n_2": 25.0,
"time": 42.447508074786604,
"vocabulary": 20.0,
"volume": 142.62362713128297
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 4.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1777
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1795:1795",
"entity_name": "anonymous_function_1795",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1796,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 22,
"kind": "ConditionalExpression",
"line": 1808,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08906298491067215,
"calculated_length": 117.75898006442377,
"difficulty": 5.886363636363637,
"effort": 1572.7713471725515,
"length": 55.0,
"n1": 7.0,
"n2": 22.0,
"n_1": 18.0,
"n_2": 37.0,
"time": 87.37618595403063,
"vocabulary": 29.0,
"volume": 267.18895473201644
},
"lines_of_code": 17.0,
"maintainability_index": 95.58457208690726,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 8.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1796
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1797:1797",
"entity_name": "anonymous_function_1797",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1798,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 22,
"kind": "ConditionalExpression",
"line": 1808,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06418947501009618,
"calculated_length": 89.138352755659,
"difficulty": 6.1764705882352935,
"effort": 1189.3932134223703,
"length": 42.0,
"n1": 7.0,
"n2": 17.0,
"n_1": 12.0,
"n_2": 30.0,
"time": 66.07740074568724,
"vocabulary": 24.0,
"volume": 192.56842503028855
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 7.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1798
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1818:1818",
"entity_name": "anonymous_function_1818",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1819,
"metrics": {
"cognitive_complexity": 25.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 1820,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 1820,
"nesting_level": 1
},
{
"column": 11,
"kind": "Try",
"line": 1825,
"nesting_level": 0
},
{
"column": 15,
"kind": "If",
"line": 1827,
"nesting_level": 1
},
{
"column": 17,
"kind": "If",
"line": 1828,
"nesting_level": 2
},
{
"column": 19,
"kind": "If",
"line": 1830,
"nesting_level": 3
},
{
"column": 17,
"kind": "If",
"line": 1836,
"nesting_level": 2
},
{
"column": 21,
"kind": "If",
"line": 1843,
"nesting_level": 2
},
{
"column": 21,
"kind": "If",
"line": 1848,
"nesting_level": 2
},
{
"column": 13,
"kind": "Catch",
"line": 1870,
"nesting_level": 1
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 1879,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.4325919178054835,
"calculated_length": 405.6792988464764,
"difficulty": 13.601694915254237,
"effort": 17651.94986638477,
"length": 209.0,
"n1": 15.0,
"n2": 59.0,
"n_1": 102.0,
"n_2": 107.0,
"time": 980.6638814658205,
"vocabulary": 74.0,
"volume": 1297.7757534164505
},
"lines_of_code": 61.0,
"maintainability_index": 64.3681263806703,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 37.0,
"technical_debt_score": 56.2
},
"recommendations": [],
"severity": "High",
"start_line": 1819
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1823:1823",
"entity_name": "anonymous_function_1823",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1824,
"metrics": {
"cognitive_complexity": 21.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 11,
"kind": "Try",
"line": 1825,
"nesting_level": 0
},
{
"column": 15,
"kind": "If",
"line": 1827,
"nesting_level": 1
},
{
"column": 17,
"kind": "If",
"line": 1828,
"nesting_level": 2
},
{
"column": 19,
"kind": "If",
"line": 1830,
"nesting_level": 3
},
{
"column": 17,
"kind": "If",
"line": 1836,
"nesting_level": 2
},
{
"column": 21,
"kind": "If",
"line": 1843,
"nesting_level": 2
},
{
"column": 21,
"kind": "If",
"line": 1848,
"nesting_level": 2
},
{
"column": 13,
"kind": "Catch",
"line": 1870,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.3242136411201045,
"calculated_length": 314.3686449376554,
"difficulty": 12.063829787234042,
"effort": 11733.77454351697,
"length": 164.0,
"n1": 14.0,
"n2": 47.0,
"n_1": 83.0,
"n_2": 81.0,
"time": 651.8763635287206,
"vocabulary": 61.0,
"volume": 972.6409233603134
},
"lines_of_code": 50.0,
"maintainability_index": 69.77914945072696,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 32.0,
"technical_debt_score": 44.800000000000004
},
"recommendations": [],
"severity": "Moderate",
"start_line": 1824
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1825:1825",
"entity_name": "anonymous_function_1825",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1826,
"metrics": {
"cognitive_complexity": 18.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 15,
"kind": "If",
"line": 1827,
"nesting_level": 1
},
{
"column": 17,
"kind": "If",
"line": 1828,
"nesting_level": 2
},
{
"column": 19,
"kind": "If",
"line": 1830,
"nesting_level": 3
},
{
"column": 17,
"kind": "If",
"line": 1836,
"nesting_level": 2
},
{
"column": 21,
"kind": "If",
"line": 1843,
"nesting_level": 2
},
{
"column": 21,
"kind": "If",
"line": 1848,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.2606315833669873,
"calculated_length": 229.1368500605771,
"difficulty": 11.333333333333332,
"effort": 8861.473834477567,
"length": 140.0,
"n1": 12.0,
"n2": 36.0,
"n_1": 72.0,
"n_2": 68.0,
"time": 492.3041019154204,
"vocabulary": 48.0,
"volume": 781.8947501009618
},
"lines_of_code": 39.0,
"maintainability_index": 75.3993566004178,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 27.0,
"technical_debt_score": 36.199999999999996
},
"recommendations": [],
"severity": "Moderate",
"start_line": 1826
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1839:1839",
"entity_name": "anonymous_function_1839",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1840,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 21,
"kind": "If",
"line": 1843,
"nesting_level": 2
},
{
"column": 21,
"kind": "If",
"line": 1848,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.11335288988631002,
"calculated_length": 113.92990370430175,
"difficulty": 8.947368421052632,
"effort": 3042.6302022114796,
"length": 70.0,
"n1": 10.0,
"n2": 19.0,
"n_1": 36.0,
"n_2": 34.0,
"time": 169.0350112339711,
"vocabulary": 29.0,
"volume": 340.05866965893006
},
"lines_of_code": 20.0,
"maintainability_index": 91.4677227335955,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 13.0,
"technical_debt_score": 14.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 1840
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1841:1841",
"entity_name": "anonymous_function_1841",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1842,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 21,
"kind": "If",
"line": 1843,
"nesting_level": 2
},
{
"column": 21,
"kind": "If",
"line": 1848,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.05710012649612389,
"calculated_length": 71.54887502163469,
"difficulty": 6.75,
"effort": 1156.2775615465089,
"length": 39.0,
"n1": 9.0,
"n2": 12.0,
"n_1": 21.0,
"n_2": 18.0,
"time": 64.23764230813939,
"vocabulary": 21.0,
"volume": 171.30037948837168
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 13.0
},
"recommendations": [],
"severity": "Low",
"start_line": 1842
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1853:1853",
"entity_name": "anonymous_function_1853",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1854,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01107309364962454,
"calculated_length": 23.21928094887362,
"difficulty": 2.5,
"effort": 83.04820237218406,
"length": 10.0,
"n1": 5.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 5.0,
"time": 4.613789020676893,
"vocabulary": 10.0,
"volume": 33.219280948873624
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1854
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1876:1876",
"entity_name": "anonymous_function_1876",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1877,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005417832221403845,
"calculated_length": 8.0,
"difficulty": 0.75,
"effort": 12.190122498158651,
"length": 7.0,
"n1": 1.0,
"n2": 4.0,
"n_1": 1.0,
"n_2": 6.0,
"time": 0.6772290276754807,
"vocabulary": 5.0,
"volume": 16.253496664211536
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1877
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1884:1884",
"entity_name": "anonymous_function_1884",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1885,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 31,
"kind": "LogicalOr",
"line": 1893,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1906,
"nesting_level": 0
},
{
"column": 15,
"kind": "ConditionalExpression",
"line": 1913,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1913,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.17218443521953306,
"calculated_length": 237.4749933158665,
"difficulty": 8.25,
"effort": 4261.564771683443,
"length": 92.0,
"n1": 11.0,
"n2": 38.0,
"n_1": 35.0,
"n_2": 57.0,
"time": 236.75359842685793,
"vocabulary": 49.0,
"volume": 516.5533056585991
},
"lines_of_code": 35.0,
"maintainability_index": 79.76803326227308,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 13.0,
"technical_debt_score": 20.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1885
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1891:1891",
"entity_name": "anonymous_function_1891",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1892,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 31,
"kind": "LogicalOr",
"line": 1893,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04756727059879784,
"calculated_length": 79.50977500432694,
"difficulty": 4.3125,
"effort": 615.4015633719471,
"length": 32.0,
"n1": 6.0,
"n2": 16.0,
"n_1": 9.0,
"n_2": 23.0,
"time": 34.18897574288595,
"vocabulary": 22.0,
"volume": 142.7018117963935
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1892
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1916:1916",
"entity_name": "anonymous_function_1916",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1917,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1917
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1927:1927",
"entity_name": "anonymous_function_1927",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1928,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 1929,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04087462841250339,
"calculated_length": 52.87076540327685,
"difficulty": 4.8999999999999995,
"effort": 600.8570376637997,
"length": 30.0,
"n1": 7.0,
"n2": 10.0,
"n_1": 16.0,
"n_2": 14.0,
"time": 33.38094653687776,
"vocabulary": 17.0,
"volume": 122.62388523751017
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 1928
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1932:1932",
"entity_name": "anonymous_function_1932",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1933,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1933
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1940:1940",
"entity_name": "anonymous_function_1940",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1941,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 1942,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04087462841250339,
"calculated_length": 52.87076540327685,
"difficulty": 4.8999999999999995,
"effort": 600.8570376637997,
"length": 30.0,
"n1": 7.0,
"n2": 10.0,
"n_1": 16.0,
"n_2": 14.0,
"time": 33.38094653687776,
"vocabulary": 17.0,
"volume": 122.62388523751017
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 1941
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1945:1945",
"entity_name": "anonymous_function_1945",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1946,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1946
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1953:1953",
"entity_name": "anonymous_function_1953",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1954,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 1955,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04087462841250339,
"calculated_length": 52.87076540327685,
"difficulty": 4.8999999999999995,
"effort": 600.8570376637997,
"length": 30.0,
"n1": 7.0,
"n2": 10.0,
"n_1": 16.0,
"n_2": 14.0,
"time": 33.38094653687776,
"vocabulary": 17.0,
"volume": 122.62388523751017
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 1954
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1958:1958",
"entity_name": "anonymous_function_1958",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1959,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1959
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1966:1966",
"entity_name": "anonymous_function_1966",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1967,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 1987,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 1993,
"nesting_level": 0
},
{
"column": 9,
"kind": "Catch",
"line": 2003,
"nesting_level": 1
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 2011,
"nesting_level": 0
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 2012,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 2012,
"nesting_level": 0
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 2013,
"nesting_level": 0
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 2014,
"nesting_level": 0
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 2015,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.25099277010610527,
"calculated_length": 302.1895663144568,
"difficulty": 10.880434782608697,
"effort": 8192.731398137328,
"length": 128.0,
"n1": 13.0,
"n2": 46.0,
"n_1": 51.0,
"n_2": 77.0,
"time": 455.1517443409627,
"vocabulary": 59.0,
"volume": 752.9783103183157
},
"lines_of_code": 50.0,
"maintainability_index": 70.88023791232418,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 11.0,
"technical_debt_score": 38.0
},
"recommendations": [],
"severity": "Moderate",
"start_line": 1967
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_1997:1997",
"entity_name": "anonymous_function_1997",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 1998,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014792983340064124,
"calculated_length": 20.264662506490403,
"difficulty": 2.25,
"effort": 99.85263754543283,
"length": 14.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 9.0,
"time": 5.547368752524046,
"vocabulary": 9.0,
"volume": 44.37895002019237
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 1998
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2021:2021",
"entity_name": "anonymous_function_2021",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2022,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 2023,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04447920001538466,
"calculated_length": 57.70523225941349,
"difficulty": 5.090909090909091,
"effort": 679.3186911440566,
"length": 32.0,
"n1": 7.0,
"n2": 11.0,
"n_1": 16.0,
"n_2": 16.0,
"time": 37.73992728578092,
"vocabulary": 18.0,
"volume": 133.437600046154
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 2022
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2026:2026",
"entity_name": "anonymous_function_2026",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2027,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 2027
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2034:2034",
"entity_name": "anonymous_function_2034",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2035,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 2036,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.048143178485693966,
"calculated_length": 62.6710344630571,
"difficulty": 5.25,
"effort": 758.2550611496799,
"length": 34.0,
"n1": 7.0,
"n2": 12.0,
"n_1": 16.0,
"n_2": 18.0,
"time": 42.12528117498222,
"vocabulary": 19.0,
"volume": 144.4295354570819
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 5.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 2035
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2041:2041",
"entity_name": "anonymous_function_2041",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2042,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 2042
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2049:2049",
"entity_name": "anonymous_function_2049",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2050,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014,
"calculated_length": 16.36452797660028,
"difficulty": 2.4000000000000004,
"effort": 100.80000000000001,
"length": 14.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 5.6000000000000005,
"vocabulary": 8.0,
"volume": 42.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 2050
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2057:2057",
"entity_name": "anonymous_function_2057",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2058,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.06771020681990202,
"calculated_length": 72.0,
"difficulty": 3.375,
"effort": 685.565844051508,
"length": 47.0,
"n1": 4.0,
"n2": 16.0,
"n_1": 20.0,
"n_2": 27.0,
"time": 38.086991336194885,
"vocabulary": 20.0,
"volume": 203.13062045970605
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 4.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 2058
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2060:2060",
"entity_name": "anonymous_function_2060",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2061,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.021509775004326936,
"calculated_length": 32.0,
"difficulty": 2.75,
"effort": 177.45564378569722,
"length": 18.0,
"n1": 4.0,
"n2": 8.0,
"n_1": 7.0,
"n_2": 11.0,
"time": 9.85864687698318,
"vocabulary": 12.0,
"volume": 64.5293250129808
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 2061
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2061:2061",
"entity_name": "anonymous_function_2061",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2062,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.013736341672916685,
"calculated_length": 20.264662506490403,
"difficulty": 2.0,
"effort": 82.41805003750011,
"length": 13.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 4.578780557638895,
"vocabulary": 9.0,
"volume": 41.209025018750054
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 2062
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2065:2065",
"entity_name": "anonymous_function_2065",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2066,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.019119800003846166,
"calculated_length": 32.0,
"difficulty": 2.5,
"effort": 143.39850002884623,
"length": 16.0,
"n1": 4.0,
"n2": 8.0,
"n_1": 6.0,
"n_2": 10.0,
"time": 7.966583334935901,
"vocabulary": 12.0,
"volume": 57.3594000115385
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 2066
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2066:2066",
"entity_name": "anonymous_function_2066",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2067,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 61.021056277764515,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 4.0,
"n_2": 7.0,
"time": 3.3900586820980285,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 2067
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2075:2075",
"entity_name": "anonymous_function_2075",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2076,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 30,
"kind": "ConditionalExpression",
"line": 2077,
"nesting_level": 0
},
{
"column": 30,
"kind": "LogicalAnd",
"line": 2077,
"nesting_level": 0
},
{
"column": 18,
"kind": "ConditionalExpression",
"line": 2086,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 2105,
"nesting_level": 0
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 2105,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.2760580333092794,
"calculated_length": 250.93087160050476,
"difficulty": 13.475000000000001,
"effort": 11159.64599652762,
"length": 146.0,
"n1": 11.0,
"n2": 40.0,
"n_1": 48.0,
"n_2": 98.0,
"time": 619.9803331404233,
"vocabulary": 51.0,
"volume": 828.1740999278383
},
"lines_of_code": 46.0,
"maintainability_index": 72.6560477078181,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 12.0,
"technical_debt_score": 26.0
},
"recommendations": [],
"severity": "Low",
"start_line": 2076
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2079:2079",
"entity_name": "anonymous_function_2079",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2080,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 18,
"kind": "ConditionalExpression",
"line": 2086,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.039647323458806796,
"calculated_length": 66.60335893412778,
"difficulty": 3.066666666666667,
"effort": 364.75537582102254,
"length": 28.0,
"n1": 4.0,
"n2": 15.0,
"n_1": 5.0,
"n_2": 23.0,
"time": 20.264187545612362,
"vocabulary": 19.0,
"volume": 118.94197037642039
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 2080
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2093:2093",
"entity_name": "anonymous_function_2093",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2094,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 2105,
"nesting_level": 0
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 2105,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10095445336320968,
"calculated_length": 108.27793097483524,
"difficulty": 10.833333333333332,
"effort": 3281.0197343043146,
"length": 63.0,
"n1": 10.0,
"n2": 18.0,
"n_1": 24.0,
"n_2": 39.0,
"time": 182.2788741280175,
"vocabulary": 28.0,
"volume": 302.86336008962905
},
"lines_of_code": 19.0,
"maintainability_index": 92.90102345311477,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 12.2
},
"recommendations": [],
"severity": "Low",
"start_line": 2094
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2094:2094",
"entity_name": "anonymous_function_2094",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2095,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 2105,
"nesting_level": 0
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 2105,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09087516788406111,
"calculated_length": 97.21928094887363,
"difficulty": 11.25,
"effort": 3067.0369160870628,
"length": 58.0,
"n1": 10.0,
"n2": 16.0,
"n_1": 22.0,
"n_2": 36.0,
"time": 170.3909397826146,
"vocabulary": 26.0,
"volume": 272.62550365218334
},
"lines_of_code": 17.0,
"maintainability_index": 95.24982865221409,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 11.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 2095
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2113:2113",
"entity_name": "anonymous_function_2113",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2114,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.020305892917640556,
"calculated_length": 41.219280948873624,
"difficulty": 2.4,
"effort": 146.202429007012,
"length": 16.0,
"n1": 4.0,
"n2": 10.0,
"n_1": 4.0,
"n_2": 12.0,
"time": 8.122357167056222,
"vocabulary": 14.0,
"volume": 60.91767875292167
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 2114
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2114:2114",
"entity_name": "anonymous_function_2114",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2115,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012180403014586996,
"calculated_length": 26.0,
"difficulty": 1.125,
"effort": 41.10886017423111,
"length": 11.0,
"n1": 2.0,
"n2": 8.0,
"n_1": 2.0,
"n_2": 9.0,
"time": 2.2838255652350616,
"vocabulary": 10.0,
"volume": 36.541209043760986
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 2115
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2126:2126",
"entity_name": "anonymous_function_2126",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2127,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 30,
"kind": "ConditionalExpression",
"line": 2128,
"nesting_level": 0
},
{
"column": 30,
"kind": "LogicalAnd",
"line": 2128,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 2147,
"nesting_level": 0
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 2147,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.19771830550188788,
"calculated_length": 191.6338334270034,
"difficulty": 12.596774193548388,
"effort": 7471.838545014893,
"length": 110.0,
"n1": 11.0,
"n2": 31.0,
"n_1": 39.0,
"n_2": 71.0,
"time": 415.1021413897163,
"vocabulary": 42.0,
"volume": 593.1549165056637
},
"lines_of_code": 36.0,
"maintainability_index": 78.5926240412381,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 11.0,
"technical_debt_score": 21.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 2127
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2128:2128",
"entity_name": "anonymous_function_2128",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2129,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.010566416671474373,
"calculated_length": 24.0,
"difficulty": 0.5625,
"effort": 17.830828133113005,
"length": 10.0,
"n1": 1.0,
"n2": 8.0,
"n_1": 1.0,
"n_2": 9.0,
"time": 0.9906015629507225,
"vocabulary": 9.0,
"volume": 31.69925001442312
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 2129
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2136:2136",
"entity_name": "anonymous_function_2136",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2137,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 2147,
"nesting_level": 0
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 2147,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09034286254110589,
"calculated_length": 102.70614925012939,
"difficulty": 10.294117647058822,
"effort": 2790.0001667106226,
"length": 57.0,
"n1": 10.0,
"n2": 17.0,
"n_1": 22.0,
"n_2": 35.0,
"time": 155.00000926170125,
"vocabulary": 27.0,
"volume": 271.02858762331766
},
"lines_of_code": 18.0,
"maintainability_index": 94.35441113763683,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 12.0
},
"recommendations": [],
"severity": "Low",
"start_line": 2137
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2137:2137",
"entity_name": "anonymous_function_2137",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2138,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 2147,
"nesting_level": 0
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 2147,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08049350728942856,
"calculated_length": 91.82263988300141,
"difficulty": 10.666666666666666,
"effort": 2575.7922332617136,
"length": 52.0,
"n1": 10.0,
"n2": 15.0,
"n_1": 20.0,
"n_2": 32.0,
"time": 143.09956851453964,
"vocabulary": 25.0,
"volume": 241.48052186828568
},
"lines_of_code": 16.0,
"maintainability_index": 96.86276086145479,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 11.6
},
"recommendations": [],
"severity": "Low",
"start_line": 2138
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2155:2155",
"entity_name": "anonymous_function_2155",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2156,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01383772647454919,
"calculated_length": 28.75488750216347,
"difficulty": 1.6875,
"effort": 70.05349027740527,
"length": 12.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 3.0,
"n_2": 9.0,
"time": 3.89186057096696,
"vocabulary": 11.0,
"volume": 41.51317942364757
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 2156
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2156:2156",
"entity_name": "anonymous_function_2156",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2157,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 11.60964047443681,
"difficulty": 0.6,
"effort": 10.856842503028856,
"length": 7.0,
"n1": 1.0,
"n2": 5.0,
"n_1": 1.0,
"n_2": 6.0,
"time": 0.6031579168349365,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 2157
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2167:2167",
"entity_name": "anonymous_function_2167",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2168,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009509775004326936,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 42.793987519471216,
"length": 9.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 2.377443751081734,
"vocabulary": 9.0,
"volume": 28.52932501298081
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 2168
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2174:2174",
"entity_name": "anonymous_function_2174",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2175,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 2179,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 2179,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 2197,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 2214,
"nesting_level": 0
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 2214,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.3122933758342014,
"calculated_length": 244.18443434063795,
"difficulty": 14.666666666666666,
"effort": 13740.908536704863,
"length": 166.0,
"n1": 11.0,
"n2": 39.0,
"n_1": 62.0,
"n_2": 104.0,
"time": 763.3838075947147,
"vocabulary": 50.0,
"volume": 936.8801275026043
},
"lines_of_code": 57.0,
"maintainability_index": 68.54128168358169,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 19.0,
"technical_debt_score": 28.999999999999996
},
"recommendations": [],
"severity": "Low",
"start_line": 2175
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2177:2177",
"entity_name": "anonymous_function_2177",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2178,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 2179,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 2179,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09068231190904802,
"calculated_length": 113.92990370430175,
"difficulty": 9.473684210526315,
"effort": 2577.286759520312,
"length": 56.0,
"n1": 10.0,
"n2": 19.0,
"n_1": 20.0,
"n_2": 36.0,
"time": 143.18259775112844,
"vocabulary": 29.0,
"volume": 272.04693572714405
},
"lines_of_code": 17.0,
"maintainability_index": 95.26087585829333,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 11.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 2178
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2202:2202",
"entity_name": "anonymous_function_2202",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2203,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 2214,
"nesting_level": 0
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 2214,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10095445336320968,
"calculated_length": 108.27793097483524,
"difficulty": 10.833333333333332,
"effort": 3281.0197343043146,
"length": 63.0,
"n1": 10.0,
"n2": 18.0,
"n_1": 24.0,
"n_2": 39.0,
"time": 182.2788741280175,
"vocabulary": 28.0,
"volume": 302.86336008962905
},
"lines_of_code": 19.0,
"maintainability_index": 92.90102345311477,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 12.2
},
"recommendations": [],
"severity": "Low",
"start_line": 2203
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2203:2203",
"entity_name": "anonymous_function_2203",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2204,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 2214,
"nesting_level": 0
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 2214,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09087516788406111,
"calculated_length": 97.21928094887363,
"difficulty": 11.25,
"effort": 3067.0369160870628,
"length": 58.0,
"n1": 10.0,
"n2": 16.0,
"n_1": 22.0,
"n_2": 36.0,
"time": 170.3909397826146,
"vocabulary": 26.0,
"volume": 272.62550365218334
},
"lines_of_code": 17.0,
"maintainability_index": 95.24982865221409,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 11.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 2204
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2222:2222",
"entity_name": "anonymous_function_2222",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2223,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.020305892917640556,
"calculated_length": 41.219280948873624,
"difficulty": 2.4,
"effort": 146.202429007012,
"length": 16.0,
"n1": 4.0,
"n2": 10.0,
"n_1": 4.0,
"n_2": 12.0,
"time": 8.122357167056222,
"vocabulary": 14.0,
"volume": 60.91767875292167
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 2223
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2223:2223",
"entity_name": "anonymous_function_2223",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2224,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012180403014586996,
"calculated_length": 26.0,
"difficulty": 1.125,
"effort": 41.10886017423111,
"length": 11.0,
"n1": 2.0,
"n2": 8.0,
"n_1": 2.0,
"n_2": 9.0,
"time": 2.2838255652350616,
"vocabulary": 10.0,
"volume": 36.541209043760986
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 2224
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2235:2235",
"entity_name": "anonymous_function_2235",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2236,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 2238,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 2242,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 2244,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04531122681006491,
"calculated_length": 61.74860596185444,
"difficulty": 6.3,
"effort": 856.3821867102267,
"length": 32.0,
"n1": 9.0,
"n2": 10.0,
"n_1": 18.0,
"n_2": 14.0,
"time": 47.57678815056815,
"vocabulary": 19.0,
"volume": 135.93368043019473
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 13.4
},
"recommendations": [],
"severity": "Low",
"start_line": 2236
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2249:2249",
"entity_name": "anonymous_function_2249",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2250,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.5,
"effort": 17.414460711655217,
"length": 5.0,
"n1": 3.0,
"n2": 2.0,
"n_1": 3.0,
"n_2": 2.0,
"time": 0.9674700395364009,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 2250
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2250:2250",
"entity_name": "anonymous_function_2250",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2251,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 8.0,
"length": 4.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 2.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 2251
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2256:2256",
"entity_name": "anonymous_function_2256",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2257,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.032702498536673515,
"calculated_length": 92.23866587835397,
"difficulty": 0.5,
"effort": 49.05374780501027,
"length": 22.0,
"n1": 1.0,
"n2": 21.0,
"n_1": 1.0,
"n_2": 21.0,
"time": 2.725208211389459,
"vocabulary": 22.0,
"volume": 98.10749561002054
},
"lines_of_code": 22.0,
"maintainability_index": 96.8475806437863,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 2257
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2306:2306",
"entity_name": "anonymous_function_2306",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2307,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 2307
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2308:2308",
"entity_name": "anonymous_function_2308",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2309,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02690354091847604,
"calculated_length": 75.05865002596161,
"difficulty": 0.5,
"effort": 40.35531137771406,
"length": 19.0,
"n1": 1.0,
"n2": 18.0,
"n_1": 1.0,
"n_2": 18.0,
"time": 2.241961743206337,
"vocabulary": 19.0,
"volume": 80.71062275542812
},
"lines_of_code": 19.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 2309
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx:anonymous_function_2350:2350",
"entity_name": "anonymous_function_2350",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/session-context.tsx",
"issues": [],
"line_number": 2351,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 2351
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/sidebar-animation-context.tsx:SidebarAnimationProvider:25",
"entity_name": "SidebarAnimationProvider",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/sidebar-animation-context.tsx",
"issues": [],
"line_number": 26,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 5,
"kind": "LogicalOr",
"line": 29,
"nesting_level": 0
},
{
"column": 18,
"kind": "ConditionalExpression",
"line": 34,
"nesting_level": 0
},
{
"column": 37,
"kind": "ConditionalExpression",
"line": 37,
"nesting_level": 0
},
{
"column": 42,
"kind": "ConditionalExpression",
"line": 38,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 47,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 53,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 57,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.430364154491994,
"calculated_length": 334.47661314834704,
"difficulty": 14.807692307692308,
"effort": 19118.09993993281,
"length": 216.0,
"n1": 11.0,
"n2": 52.0,
"n_1": 76.0,
"n_2": 140.0,
"time": 1062.1166633296007,
"vocabulary": 63.0,
"volume": 1291.092463475982
},
"lines_of_code": 90.0,
"maintainability_index": 59.01421448930236,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 29.0,
"technical_debt_score": 39.6
},
"recommendations": [],
"severity": "Low",
"start_line": 26
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/sidebar-animation-context.tsx:anonymous_function_29:29",
"entity_name": "anonymous_function_29",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/sidebar-animation-context.tsx",
"issues": [],
"line_number": 30,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 30
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/sidebar-animation-context.tsx:anonymous_function_30:30",
"entity_name": "anonymous_function_30",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/sidebar-animation-context.tsx",
"issues": [],
"line_number": 31,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 8.0,
"length": 6.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 12.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/sidebar-animation-context.tsx:anonymous_function_44:44",
"entity_name": "anonymous_function_44",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/sidebar-animation-context.tsx",
"issues": [],
"line_number": 45,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 47,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 53,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 57,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.11300050061785163,
"calculated_length": 91.82263988300141,
"difficulty": 13.666666666666668,
"effort": 4633.020525331917,
"length": 73.0,
"n1": 10.0,
"n2": 15.0,
"n_1": 32.0,
"n_2": 41.0,
"time": 257.3900291851065,
"vocabulary": 25.0,
"volume": 339.0015018535549
},
"lines_of_code": 31.0,
"maintainability_index": 84.15418369173167,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 16.6
},
"recommendations": [],
"severity": "Low",
"start_line": 45
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/sidebar-animation-context.tsx:anonymous_function_77:77",
"entity_name": "anonymous_function_77",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/sidebar-animation-context.tsx",
"issues": [],
"line_number": 78,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.033859718495273826,
"calculated_length": 46.05374780501027,
"difficulty": 3.090909090909091,
"effort": 313.9719351379937,
"length": 26.0,
"n1": 4.0,
"n2": 11.0,
"n_1": 9.0,
"n_2": 17.0,
"time": 17.442885285444092,
"vocabulary": 15.0,
"volume": 101.57915548582149
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 78
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/sidebar-animation-context.tsx:anonymous_function_89:89",
"entity_name": "anonymous_function_89",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/sidebar-animation-context.tsx",
"issues": [],
"line_number": 90,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.036,
"calculated_length": 49.66338827944708,
"difficulty": 3.8636363636363633,
"effort": 417.27272727272725,
"length": 27.0,
"n1": 5.0,
"n2": 11.0,
"n_1": 10.0,
"n_2": 17.0,
"time": 23.18181818181818,
"vocabulary": 16.0,
"volume": 108.0
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 90
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/sidebar-animation-context.tsx:useSidebarAnimation:117",
"entity_name": "useSidebarAnimation",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/sidebar-animation-context.tsx",
"issues": [],
"line_number": 118,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 120,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01850219859070546,
"calculated_length": 35.161259458730164,
"difficulty": 4.666666666666666,
"effort": 259.0307802698764,
"length": 15.0,
"n1": 7.0,
"n2": 6.0,
"n_1": 7.0,
"n_2": 8.0,
"time": 14.390598903882022,
"vocabulary": 13.0,
"volume": 55.506595772116384
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 118
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/toast-context.tsx:useToast:53",
"entity_name": "useToast",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/toast-context.tsx",
"issues": [],
"line_number": 54,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 56,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.020305892917640556,
"calculated_length": 39.302968908806456,
"difficulty": 4.5,
"effort": 274.1295543881475,
"length": 16.0,
"n1": 7.0,
"n2": 7.0,
"n_1": 7.0,
"n_2": 9.0,
"time": 15.229419688230415,
"vocabulary": 14.0,
"volume": 60.91767875292167
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 54
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/toast-context.tsx:ToastProvider:61",
"entity_name": "ToastProvider",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/toast-context.tsx",
"issues": [],
"line_number": 62,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 69,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 75,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 75,
"nesting_level": 1
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 77,
"nesting_level": 1
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 104,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.29662789625955865,
"calculated_length": 436.9837596826682,
"difficulty": 8.25,
"effort": 7341.540432424076,
"length": 142.0,
"n1": 11.0,
"n2": 66.0,
"n_1": 43.0,
"n_2": 99.0,
"time": 407.8633573568931,
"vocabulary": 77.0,
"volume": 889.883688778676
},
"lines_of_code": 51.0,
"maintainability_index": 70.61075275927988,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 16.0,
"technical_debt_score": 27.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 62
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/toast-context.tsx:anonymous_function_66:66",
"entity_name": "anonymous_function_66",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/toast-context.tsx",
"issues": [],
"line_number": 67,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 69,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 75,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 75,
"nesting_level": 1
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 77,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.1501266582134247,
"calculated_length": 199.6842868877026,
"difficulty": 7.575757575757576,
"effort": 3411.9695048505614,
"length": 83.0,
"n1": 10.0,
"n2": 33.0,
"n_1": 33.0,
"n_2": 50.0,
"time": 189.55386138058674,
"vocabulary": 43.0,
"volume": 450.3799746402741
},
"lines_of_code": 29.0,
"maintainability_index": 83.52733115851339,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 12.0,
"technical_debt_score": 20.6
},
"recommendations": [],
"severity": "Low",
"start_line": 67
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/toast-context.tsx:anonymous_function_100:100",
"entity_name": "anonymous_function_100",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/toast-context.tsx",
"issues": [],
"line_number": 101,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 14,
"kind": "ConditionalExpression",
"line": 104,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02734823416925963,
"calculated_length": 47.77443751081734,
"difficulty": 2.125,
"effort": 174.34499282903016,
"length": 21.0,
"n1": 3.0,
"n2": 12.0,
"n_1": 4.0,
"n_2": 17.0,
"time": 9.68583293494612,
"vocabulary": 15.0,
"volume": 82.0447025077789
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 101
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/toast-context.tsx:anonymous_function_102:102",
"entity_name": "anonymous_function_102",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/toast-context.tsx",
"issues": [],
"line_number": 103,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 14,
"kind": "ConditionalExpression",
"line": 104,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.008422064766172813,
"calculated_length": 13.60964047443681,
"difficulty": 1.4,
"effort": 35.372672017925815,
"length": 9.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 2.0,
"n_2": 7.0,
"time": 1.965148445440323,
"vocabulary": 7.0,
"volume": 25.26619429851844
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 103
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/toast-context.tsx:anonymous_function_104:104",
"entity_name": "anonymous_function_104",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/toast-context.tsx",
"issues": [],
"line_number": 105,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 15.509775004326936,
"difficulty": 0.5833333333333334,
"effort": 13.100989636268821,
"length": 8.0,
"n1": 1.0,
"n2": 6.0,
"n_1": 1.0,
"n_2": 7.0,
"time": 0.72783275757049,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 105
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/toast-context.tsx:anonymous_function_112:112",
"entity_name": "anonymous_function_112",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/toast-context.tsx",
"issues": [],
"line_number": 113,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 113
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/toast-context.tsx:anonymous_function_130:130",
"entity_name": "anonymous_function_130",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/toast-context.tsx",
"issues": [],
"line_number": 131,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 132,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.018824259204361718,
"calculated_length": 23.509775004326936,
"difficulty": 6.0,
"effort": 338.83666567851094,
"length": 17.0,
"n1": 6.0,
"n2": 4.0,
"n_1": 9.0,
"n_2": 8.0,
"time": 18.82425920436172,
"vocabulary": 10.0,
"volume": 56.47277761308516
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 131
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/toast-context.tsx:anonymous_function_137:137",
"entity_name": "anonymous_function_137",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/toast-context.tsx",
"issues": [],
"line_number": 138,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 154,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08774154140530038,
"calculated_length": 103.84830635279079,
"difficulty": 4.166666666666667,
"effort": 1096.769267566255,
"length": 56.0,
"n1": 5.0,
"n2": 21.0,
"n_1": 21.0,
"n_2": 35.0,
"time": 60.93162597590305,
"vocabulary": 26.0,
"volume": 263.22462421590114
},
"lines_of_code": 20.0,
"maintainability_index": 93.02949685736873,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 8.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 138
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/toast-context.tsx:anonymous_function_152:152",
"entity_name": "anonymous_function_152",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/toast-context.tsx",
"issues": [],
"line_number": 153,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 154,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.00655049481813441,
"calculated_length": 12.754887502163468,
"difficulty": 2.0,
"effort": 39.302968908806456,
"length": 7.0,
"n1": 4.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 3.0,
"time": 2.1834982727114696,
"vocabulary": 7.0,
"volume": 19.651484454403228
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 153
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/toast-context.tsx:anonymous_function_159:159",
"entity_name": "anonymous_function_159",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/toast-context.tsx",
"issues": [],
"line_number": 160,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 161,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.16619045281417774,
"calculated_length": 146.21143267166838,
"difficulty": 8.153846153846153,
"effort": 4065.274153454501,
"length": 98.0,
"n1": 8.0,
"n2": 26.0,
"n_1": 45.0,
"n_2": 53.0,
"time": 225.84856408080563,
"vocabulary": 34.0,
"volume": 498.5713584425332
},
"lines_of_code": 34.0,
"maintainability_index": 81.11187652871453,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 13.0,
"technical_debt_score": 11.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 160
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/toast-context.tsx:anonymous_function_186:186",
"entity_name": "anonymous_function_186",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/toast-context.tsx",
"issues": [],
"line_number": 187,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 1.0,
"effort": 4.754887502163468,
"length": 3.0,
"n1": 2.0,
"n2": 1.0,
"n_1": 2.0,
"n_2": 1.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 187
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/toast-context.tsx:anonymous_function_190:190",
"entity_name": "anonymous_function_190",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/toast-context.tsx",
"issues": [],
"line_number": 191,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 1.0,
"effort": 4.754887502163468,
"length": 3.0,
"n1": 2.0,
"n2": 1.0,
"n_1": 2.0,
"n_2": 1.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 191
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/contexts/toast-context.tsx:anonymous_function_236:236",
"entity_name": "anonymous_function_236",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/contexts/toast-context.tsx",
"issues": [],
"line_number": 237,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.23331560056658965,
"calculated_length": 315.51881261899075,
"difficulty": 2.5833333333333335,
"effort": 1808.1959043910697,
"length": 120.0,
"n1": 3.0,
"n2": 54.0,
"n_1": 27.0,
"n_2": 93.0,
"time": 100.45532802172609,
"vocabulary": 57.0,
"volume": 699.9468016997689
},
"lines_of_code": 40.0,
"maintainability_index": 76.94493030351909,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 10.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 237
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts:startDictationStream:15",
"entity_name": "startDictationStream",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts",
"issues": [],
"line_number": 16,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01383772647454919,
"calculated_length": 28.75488750216347,
"difficulty": 1.5,
"effort": 62.26976913547136,
"length": 12.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 4.0,
"n_2": 8.0,
"time": 3.4594316186372978,
"vocabulary": 11.0,
"volume": 41.51317942364757
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 16
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts:sendDictationStreamChunk:19",
"entity_name": "sendDictationStreamChunk",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts",
"issues": [],
"line_number": 20,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01903677461028802,
"calculated_length": 42.80863530717374,
"difficulty": 1.5,
"effort": 85.6654857462961,
"length": 15.0,
"n1": 3.0,
"n2": 11.0,
"n_1": 4.0,
"n_2": 11.0,
"time": 4.759193652572005,
"vocabulary": 14.0,
"volume": 57.11032383086406
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 4.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts:finishDictationStream:23",
"entity_name": "finishDictationStream",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts",
"issues": [],
"line_number": 24,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02344134357365111,
"calculated_length": 46.05374780501027,
"difficulty": 2.3636363636363638,
"effort": 166.22043624952607,
"length": 18.0,
"n1": 4.0,
"n2": 11.0,
"n_1": 5.0,
"n_2": 13.0,
"time": 9.234468680529226,
"vocabulary": 15.0,
"volume": 70.32403072095333
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 24
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts:cancelDictationStream:28",
"entity_name": "cancelDictationStream",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts",
"issues": [],
"line_number": 29,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008422064766172813,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 47.374114309722074,
"length": 9.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 5.0,
"time": 2.6318952394290043,
"vocabulary": 7.0,
"volume": 25.26619429851844
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 29
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts:anonymous_function_33:33",
"entity_name": "anonymous_function_33",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts",
"issues": [],
"line_number": 34,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.010339850002884624,
"calculated_length": 10.0,
"difficulty": 4.0,
"effort": 124.07820003461549,
"length": 12.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 8.0,
"n_2": 4.0,
"time": 6.893233335256416,
"vocabulary": 6.0,
"volume": 31.019550008653873
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts:anonymous_function_38:38",
"entity_name": "anonymous_function_38",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts",
"issues": [],
"line_number": 39,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.705917165923421,
"calculated_length": 313.29369244054624,
"difficulty": 16.627450980392158,
"effort": 35212.809217827125,
"length": 360.0,
"n1": 8.0,
"n2": 51.0,
"n_1": 148.0,
"n_2": 212.0,
"time": 1956.2671787681736,
"vocabulary": 59.0,
"volume": 2117.751497770263
},
"lines_of_code": 86.0,
"maintainability_index": 58.78740080979455,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 43.0,
"technical_debt_score": 19.2
},
"recommendations": [],
"severity": "Low",
"start_line": 39
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts:anonymous_function_39:39",
"entity_name": "anonymous_function_39",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts",
"issues": [],
"line_number": 40,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.12333333333333334,
"calculated_length": 135.74788919877133,
"difficulty": 6.859999999999999,
"effort": 2538.2,
"length": 74.0,
"n1": 7.0,
"n2": 25.0,
"n_1": 25.0,
"n_2": 49.0,
"time": 141.0111111111111,
"vocabulary": 32.0,
"volume": 370.0
},
"lines_of_code": 19.0,
"maintainability_index": 92.31987290818468,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 40
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts:anonymous_function_45:45",
"entity_name": "anonymous_function_45",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts",
"issues": [],
"line_number": 46,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 46
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts:anonymous_function_60:60",
"entity_name": "anonymous_function_60",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts",
"issues": [],
"line_number": 61,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1703016990363956,
"calculated_length": 186.1164903932322,
"difficulty": 5.9393939393939394,
"effort": 3034.4666373757764,
"length": 96.0,
"n1": 7.0,
"n2": 33.0,
"n_1": 40.0,
"n_2": 56.0,
"time": 168.5814798542098,
"vocabulary": 40.0,
"volume": 510.90509710918684
},
"lines_of_code": 21.0,
"maintainability_index": 89.02058047321432,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 61
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts:anonymous_function_66:66",
"entity_name": "anonymous_function_66",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts",
"issues": [],
"line_number": 67,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 67
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts:anonymous_function_75:75",
"entity_name": "anonymous_function_75",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts",
"issues": [],
"line_number": 76,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 76
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts:anonymous_function_76:76",
"entity_name": "anonymous_function_76",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts",
"issues": [],
"line_number": 77,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 77
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts:anonymous_function_77:77",
"entity_name": "anonymous_function_77",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts",
"issues": [],
"line_number": 78,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004666666666666667,
"calculated_length": 4.754887502163468,
"difficulty": 0.8333333333333334,
"effort": 11.666666666666668,
"length": 7.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 5.0,
"time": 0.6481481481481483,
"vocabulary": 4.0,
"volume": 14.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 78
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts:anonymous_function_83:83",
"entity_name": "anonymous_function_83",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts",
"issues": [],
"line_number": 84,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.15078796268847527,
"calculated_length": 186.1164903932322,
"difficulty": 5.303030303030303,
"effort": 2398.899406407561,
"length": 85.0,
"n1": 7.0,
"n2": 33.0,
"n_1": 35.0,
"n_2": 50.0,
"time": 133.2721892448645,
"vocabulary": 40.0,
"volume": 452.36388806542584
},
"lines_of_code": 18.0,
"maintainability_index": 92.15064554829901,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 84
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts:anonymous_function_89:89",
"entity_name": "anonymous_function_89",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts",
"issues": [],
"line_number": 90,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 90
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts:anonymous_function_99:99",
"entity_name": "anonymous_function_99",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts",
"issues": [],
"line_number": 100,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 100
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts:anonymous_function_103:103",
"entity_name": "anonymous_function_103",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts",
"issues": [],
"line_number": 104,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1556885162321597,
"calculated_length": 171.20671786825557,
"difficulty": 6.533333333333333,
"effort": 3051.49491815033,
"length": 89.0,
"n1": 8.0,
"n2": 30.0,
"n_1": 40.0,
"n_2": 49.0,
"time": 169.5274954527961,
"vocabulary": 38.0,
"volume": 467.0655486964791
},
"lines_of_code": 20.0,
"maintainability_index": 90.27749520134658,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 11.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 104
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts:anonymous_function_110:110",
"entity_name": "anonymous_function_110",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts",
"issues": [],
"line_number": 111,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 111
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts:anonymous_function_122:122",
"entity_name": "anonymous_function_122",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.test.ts",
"issues": [],
"line_number": 123,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 123
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts:constructor:36",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts",
"issues": [],
"line_number": 37,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02998174069485658,
"calculated_length": 27.651484454403228,
"difficulty": 3.7142857142857144,
"effort": 334.0822534569733,
"length": 26.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 13.0,
"time": 18.560125192054073,
"vocabulary": 11.0,
"volume": 89.94522208456974
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 37
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts:setClient:42",
"entity_name": "setClient",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts",
"issues": [],
"line_number": 43,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.010566416671474373,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 55.473687525240464,
"length": 10.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 3.0,
"n_2": 7.0,
"time": 3.0818715291800256,
"vocabulary": 9.0,
"volume": 31.69925001442312
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 43
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts:getDictationId:46",
"entity_name": "getDictationId",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts",
"issues": [],
"line_number": 47,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 15.509775004326936,
"length": 6.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.861654166907052,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 47
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts:getSegmentCount:50",
"entity_name": "getSegmentCount",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts",
"issues": [],
"line_number": 51,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 13.931568569324174,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 0.7739760316291208,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 51
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts:getFinalSeq:54",
"entity_name": "getFinalSeq",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts",
"issues": [],
"line_number": 55,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.5,
"effort": 33.68825906469125,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 1.871569948038403,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 55
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts:hasSegments:58",
"entity_name": "hasSegments",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts",
"issues": [],
"line_number": 59,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.5,
"effort": 33.68825906469125,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 1.871569948038403,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 59
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts:clearAll:62",
"entity_name": "clearAll",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts",
"issues": [],
"line_number": 63,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03906890595608519,
"calculated_length": 46.05374780501027,
"difficulty": 2.1818181818181817,
"effort": 255.72374807619394,
"length": 30.0,
"n1": 4.0,
"n2": 11.0,
"n_1": 18.0,
"n_2": 12.0,
"time": 14.206874893121885,
"vocabulary": 15.0,
"volume": 117.20671786825557
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 63
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts:resetStreamForReplay:71",
"entity_name": "resetStreamForReplay",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts",
"issues": [],
"line_number": 72,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03299707599116591,
"calculated_length": 41.219280948873624,
"difficulty": 2.2,
"effort": 217.78070154169498,
"length": 26.0,
"n1": 4.0,
"n2": 10.0,
"n_1": 15.0,
"n_2": 11.0,
"time": 12.098927863427498,
"vocabulary": 14.0,
"volume": 98.99122797349771
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 72
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts:enqueueSegment:79",
"entity_name": "enqueueSegment",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts",
"issues": [],
"line_number": 80,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 84,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 88,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04864912501682698,
"calculated_length": 57.70523225941349,
"difficulty": 4.136363636363637,
"effort": 603.6914149815348,
"length": 35.0,
"n1": 7.0,
"n2": 11.0,
"n_1": 22.0,
"n_2": 13.0,
"time": 33.538411943418595,
"vocabulary": 18.0,
"volume": 145.94737505048093
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 12.0
},
"recommendations": [],
"severity": "Low",
"start_line": 80
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts:flush:95",
"entity_name": "flush",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts",
"issues": [],
"line_number": 96,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 99,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 99,
"nesting_level": 2
},
{
"column": 9,
"kind": "LogicalOr",
"line": 99,
"nesting_level": 2
},
{
"column": 5,
"kind": "While",
"line": 104,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10631596290485124,
"calculated_length": 117.59258463708997,
"difficulty": 12.235294117647058,
"effort": 3902.4212266251275,
"length": 65.0,
"n1": 13.0,
"n2": 17.0,
"n_1": 33.0,
"n_2": 32.0,
"time": 216.8011792569515,
"vocabulary": 30.0,
"volume": 318.9478887145537
},
"lines_of_code": 16.0,
"maintainability_index": 94.95591849758556,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 21.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 96
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts:restartStream:113",
"entity_name": "restartStream",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts",
"issues": [],
"line_number": 114,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 116,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 130,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 133,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 140,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 140,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 146,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.22216226473577846,
"calculated_length": 165.23098268032226,
"difficulty": 11.769230769230768,
"effort": 7844.0368856709465,
"length": 127.0,
"n1": 12.0,
"n2": 26.0,
"n_1": 76.0,
"n_2": 51.0,
"time": 435.7798269817192,
"vocabulary": 38.0,
"volume": 666.4867942073354
},
"lines_of_code": 40.0,
"maintainability_index": 75.8196471492979,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 26.0,
"technical_debt_score": 32.4
},
"recommendations": [],
"severity": "Low",
"start_line": 114
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts:anonymous_function_127:127",
"entity_name": "anonymous_function_127",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts",
"issues": [],
"line_number": 128,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 130,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 133,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04531122681006491,
"calculated_length": 61.74860596185444,
"difficulty": 4.95,
"effort": 672.8717181294639,
"length": 32.0,
"n1": 9.0,
"n2": 10.0,
"n_1": 21.0,
"n_2": 11.0,
"time": 37.381762118303556,
"vocabulary": 19.0,
"volume": 135.93368043019473
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 11.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 128
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts:anonymous_function_137:137",
"entity_name": "anonymous_function_137",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts",
"issues": [],
"line_number": 138,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 140,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 140,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.03125512476486815,
"calculated_length": 43.65148445440323,
"difficulty": 4.375,
"effort": 410.22351253889445,
"length": 24.0,
"n1": 7.0,
"n2": 8.0,
"n_1": 14.0,
"n_2": 10.0,
"time": 22.790195141049693,
"vocabulary": 15.0,
"volume": 93.76537429460444
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 11.4
},
"recommendations": [],
"severity": "Low",
"start_line": 138
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts:anonymous_function_144:144",
"entity_name": "anonymous_function_144",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts",
"issues": [],
"line_number": 145,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 146,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 4.0,
"effort": 139.47670006346175,
"length": 11.0,
"n1": 6.0,
"n2": 3.0,
"n_1": 7.0,
"n_2": 4.0,
"time": 7.748705559081208,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 145
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts:finish:155",
"entity_name": "finish",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts",
"issues": [],
"line_number": 156,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 158,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 161,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 165,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 168,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 173,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 173,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.11449411389753211,
"calculated_length": 118.76437056043838,
"difficulty": 8.394736842105264,
"effort": 2883.4438684194274,
"length": 70.0,
"n1": 11.0,
"n2": 19.0,
"n_1": 41.0,
"n_2": 29.0,
"time": 160.1913260233015,
"vocabulary": 30.0,
"volume": 343.4823416925963
},
"lines_of_code": 23.0,
"maintainability_index": 88.23148804461843,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 14.0,
"technical_debt_score": 28.999999999999996
},
"recommendations": [],
"severity": "Low",
"start_line": 156
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts:cancel:180",
"entity_name": "cancel",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/dictation/dictation-stream-sender.ts",
"issues": [],
"line_number": 181,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 184,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 184,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.030458839376460836,
"calculated_length": 39.50977500432694,
"difficulty": 4.5,
"effort": 411.19433158222125,
"length": 24.0,
"n1": 6.0,
"n2": 8.0,
"n_1": 12.0,
"n_2": 12.0,
"time": 22.844129532345626,
"vocabulary": 14.0,
"volume": 91.3765181293825
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 11.4
},
"recommendations": [],
"severity": "Low",
"start_line": 181
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/checkout-status-revalidation.ts:checkoutStatusRevalidationKey:7",
"entity_name": "checkoutStatusRevalidationKey",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/checkout-status-revalidation.ts",
"issues": [],
"line_number": 8,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 9,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 10,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 11,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04933333333333333,
"calculated_length": 48.72905595320056,
"difficulty": 5.699999999999999,
"effort": 843.5999999999999,
"length": 37.0,
"n1": 6.0,
"n2": 10.0,
"n_1": 18.0,
"n_2": 19.0,
"time": 46.86666666666666,
"vocabulary": 16.0,
"volume": 148.0
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 11.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 8
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/checkout-status-revalidation.ts:nextCheckoutStatusRefetchDecision:14",
"entity_name": "nextCheckoutStatusRefetchDecision",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/checkout-status-revalidation.ts",
"issues": [],
"line_number": 15,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 19,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 20,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04441914075733872,
"calculated_length": 40.13896548741762,
"difficulty": 7.222222222222222,
"effort": 962.4147164090056,
"length": 35.0,
"n1": 5.0,
"n2": 9.0,
"n_1": 9.0,
"n_2": 26.0,
"time": 53.46748424494476,
"vocabulary": 14.0,
"volume": 133.25742227201616
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 9.0
},
"recommendations": [],
"severity": "Low",
"start_line": 15
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-commands-query.ts:commandsQueryKey:11",
"entity_name": "commandsQueryKey",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-commands-query.ts",
"issues": [],
"line_number": 12,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.5,
"effort": 31.019550008653873,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 6.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 12
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-commands-query.ts:useAgentCommandsQuery:21",
"entity_name": "useAgentCommandsQuery",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-commands-query.ts",
"issues": [],
"line_number": 22,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 37,
"nesting_level": 0
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 43,
"nesting_level": 0
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 43,
"nesting_level": 0
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 43,
"nesting_level": 0
},
{
"column": 21,
"kind": "LogicalOr",
"line": 51,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.23022892400162584,
"calculated_length": 323.22649869747937,
"difficulty": 9.551020408163266,
"effort": 6596.7634550669945,
"length": 116.0,
"n1": 13.0,
"n2": 49.0,
"n_1": 44.0,
"n_2": 72.0,
"time": 366.486858614833,
"vocabulary": 62.0,
"volume": 690.6867720048775
},
"lines_of_code": 37.0,
"maintainability_index": 77.12716040863069,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 23.4
},
"recommendations": [],
"severity": "Low",
"start_line": 22
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-commands-query.ts:anonymous_function_27:27",
"entity_name": "anonymous_function_27",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-commands-query.ts",
"issues": [],
"line_number": 28,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 53.99999999999999,
"length": 10.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 2.9999999999999996,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 28
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-commands-query.ts:anonymous_function_30:30",
"entity_name": "anonymous_function_30",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-commands-query.ts",
"issues": [],
"line_number": 31,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 66.56842503028855,
"length": 12.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 3.6982458350160305,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-commands-query.ts:anonymous_function_35:35",
"entity_name": "anonymous_function_35",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-commands-query.ts",
"issues": [],
"line_number": 36,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 37,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.029189475010096184,
"calculated_length": 57.219280948873624,
"difficulty": 6.25,
"effort": 547.3026564393034,
"length": 21.0,
"n1": 10.0,
"n2": 8.0,
"n_1": 11.0,
"n_2": 10.0,
"time": 30.405703135516855,
"vocabulary": 18.0,
"volume": 87.56842503028855
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 36
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-commands-query.ts:anonymous_function_45:45",
"entity_name": "anonymous_function_45",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-commands-query.ts",
"issues": [],
"line_number": 46,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 61.021056277764515,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 4.0,
"n_2": 7.0,
"time": 3.3900586820980285,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 46
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.test.ts:anonymous_function_3:3",
"entity_name": "anonymous_function_3",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.test.ts",
"issues": [],
"line_number": 4,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.23225948819213654,
"calculated_length": 133.1368500605771,
"difficulty": 4.333333333333333,
"effort": 3019.373346497775,
"length": 142.0,
"n1": 3.0,
"n2": 27.0,
"n_1": 64.0,
"n_2": 78.0,
"time": 167.74296369432082,
"vocabulary": 30.0,
"volume": 696.7784645764096
},
"lines_of_code": 34.0,
"maintainability_index": 79.60132840301898,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 16.0,
"technical_debt_score": 8.8
},
"recommendations": [],
"severity": "Low",
"start_line": 4
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.test.ts:anonymous_function_4:4",
"entity_name": "anonymous_function_4",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.test.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.22113832641464978,
"calculated_length": 120.85129224653159,
"difficulty": 4.5600000000000005,
"effort": 3025.1723053524092,
"length": 138.0,
"n1": 3.0,
"n2": 25.0,
"n_1": 62.0,
"n_2": 76.0,
"time": 168.06512807513386,
"vocabulary": 28.0,
"volume": 663.4149792439493
},
"lines_of_code": 32.0,
"maintainability_index": 80.83859470467404,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 15.0,
"technical_debt_score": 8.4
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.test.ts:anonymous_function_5:5",
"entity_name": "anonymous_function_5",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.test.ts",
"issues": [],
"line_number": 6,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011,
"calculated_length": 16.36452797660028,
"difficulty": 1.5,
"effort": 49.5,
"length": 11.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 6.0,
"n_2": 5.0,
"time": 2.75,
"vocabulary": 8.0,
"volume": 33.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 6
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.test.ts:anonymous_function_9:9",
"entity_name": "anonymous_function_9",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.test.ts",
"issues": [],
"line_number": 10,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04,
"calculated_length": 52.860603837997665,
"difficulty": 1.8461538461538463,
"effort": 221.53846153846155,
"length": 30.0,
"n1": 3.0,
"n2": 13.0,
"n_1": 14.0,
"n_2": 16.0,
"time": 12.307692307692308,
"vocabulary": 16.0,
"volume": 120.0
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 10
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.test.ts:anonymous_function_15:15",
"entity_name": "anonymous_function_15",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.test.ts",
"issues": [],
"line_number": 16,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.013736341672916685,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 72.1157937828126,
"length": 13.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 7.0,
"time": 4.0064329879340335,
"vocabulary": 9.0,
"volume": 41.209025018750054
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 16
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.test.ts:anonymous_function_21:21",
"entity_name": "anonymous_function_21",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.test.ts",
"issues": [],
"line_number": 22,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0472591500163462,
"calculated_length": 63.35824643629125,
"difficulty": 2.0,
"effort": 283.5549000980772,
"length": 34.0,
"n1": 3.0,
"n2": 15.0,
"n_1": 14.0,
"n_2": 20.0,
"time": 15.753050005448735,
"vocabulary": 18.0,
"volume": 141.7774500490386
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 22
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.test.ts:anonymous_function_27:27",
"entity_name": "anonymous_function_27",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.test.ts",
"issues": [],
"line_number": 28,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03459431618637297,
"calculated_length": 28.75488750216347,
"difficulty": 3.375,
"effort": 350.26745138702637,
"length": 30.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 12.0,
"n_2": 18.0,
"time": 19.4593028548348,
"vocabulary": 11.0,
"volume": 103.78294855911892
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 28
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_89:89",
"entity_name": "anonymous_function_89",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 90,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026416041678685932,
"calculated_length": 2.0,
"difficulty": 1.0,
"effort": 7.92481250360578,
"length": 5.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.44026736131143224,
"vocabulary": 3.0,
"volume": 7.92481250360578
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 90
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:resolveFormState:102",
"entity_name": "resolveFormState",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [
{
"description": "Cyclomatic complexity of 30.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:resolveFormState:102",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:103",
"metric_value": 30.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 83.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:resolveFormState:102",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:103",
"metric_value": 83.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 103,
"metrics": {
"cognitive_complexity": 83.0,
"cyclomatic_complexity": 30.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 115,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 116,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 116,
"nesting_level": 2
},
{
"column": 12,
"kind": "If",
"line": 118,
"nesting_level": 2
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 119,
"nesting_level": 3
},
{
"column": 3,
"kind": "If",
"line": 131,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 134,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 135,
"nesting_level": 2
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 135,
"nesting_level": 2
},
{
"column": 12,
"kind": "If",
"line": 140,
"nesting_level": 2
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 141,
"nesting_level": 3
},
{
"column": 3,
"kind": "If",
"line": 151,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 155,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 156,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 161,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalOr",
"line": 161,
"nesting_level": 3
},
{
"column": 14,
"kind": "If",
"line": 163,
"nesting_level": 3
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 163,
"nesting_level": 4
},
{
"column": 12,
"kind": "If",
"line": 168,
"nesting_level": 2
},
{
"column": 16,
"kind": "LogicalAnd",
"line": 168,
"nesting_level": 3
},
{
"column": 7,
"kind": "If",
"line": 171,
"nesting_level": 3
},
{
"column": 11,
"kind": "LogicalOr",
"line": 171,
"nesting_level": 4
},
{
"column": 3,
"kind": "If",
"line": 183,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 184,
"nesting_level": 1
},
{
"column": 12,
"kind": "If",
"line": 186,
"nesting_level": 2
},
{
"column": 16,
"kind": "LogicalAnd",
"line": 186,
"nesting_level": 3
},
{
"column": 3,
"kind": "If",
"line": 193,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 194,
"nesting_level": 1
},
{
"column": 12,
"kind": "If",
"line": 196,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.7485542184844751,
"calculated_length": 290.1529393434892,
"difficulty": 25.06666666666667,
"effort": 56291.27723003254,
"length": 385.0,
"n1": 12.0,
"n2": 45.0,
"n_1": 197.0,
"n_2": 188.0,
"time": 3127.293179446252,
"vocabulary": 57.0,
"volume": 2245.6626554534255
},
"lines_of_code": 100.0,
"maintainability_index": 49.36911217132791,
"max_nesting_depth": 4.0,
"parameter_count": 6.0,
"statement_count": 39.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 103
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_131:131",
"entity_name": "anonymous_function_131",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 132,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 132
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_151:151",
"entity_name": "anonymous_function_151",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 152,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.013736341672916685,
"calculated_length": 20.264662506490403,
"difficulty": 2.0,
"effort": 82.41805003750011,
"length": 13.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 4.578780557638895,
"vocabulary": 9.0,
"volume": 41.209025018750054
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 152
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_152:152",
"entity_name": "anonymous_function_152",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 153,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 153
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:combineInitialValues:204",
"entity_name": "combineInitialValues",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 205,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 31,
"kind": "ConditionalExpression",
"line": 210,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 213,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 213,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 213,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 217,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 221,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06812438068750565,
"calculated_length": 52.87076540327685,
"difficulty": 10.15,
"effort": 2074.3873919345474,
"length": 50.0,
"n1": 7.0,
"n2": 10.0,
"n_1": 21.0,
"n_2": 29.0,
"time": 115.24374399636375,
"vocabulary": 17.0,
"volume": 204.37314206251696
},
"lines_of_code": 21.0,
"maintainability_index": 92.40500976480067,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 9.0,
"technical_debt_score": 24.6
},
"recommendations": [],
"severity": "Low",
"start_line": 205
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:useAgentFormState:227",
"entity_name": "useAgentFormState",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [
{
"description": "Cyclomatic complexity of 34.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:useAgentFormState:227",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:228",
"metric_value": 34.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 45.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:useAgentFormState:227",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:228",
"metric_value": 45.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 228,
"metrics": {
"cognitive_complexity": 45.0,
"cyclomatic_complexity": 34.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 275,
"nesting_level": 0
},
{
"column": 5,
"kind": "ConditionalExpression",
"line": 283,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 303,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 303,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 308,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 308,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 308,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 322,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 323,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 323,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 323,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 323,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 346,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 346,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 347,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 348,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 350,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 351,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 435,
"nesting_level": 0
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 440,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 465,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 469,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 480,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 480,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 486,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 492,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 492,
"nesting_level": 1
},
{
"column": 15,
"kind": "ConditionalExpression",
"line": 501,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 505,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 524,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 524,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 524,
"nesting_level": 1
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 530,
"nesting_level": 0
}
],
"halstead": {
"bugs": 2.453690372464797,
"calculated_length": 1221.3517488243403,
"difficulty": 28.11320754716981,
"effort": 206943.32009278573,
"length": 989.0,
"n1": 15.0,
"n2": 159.0,
"n_1": 393.0,
"n_2": 596.0,
"time": 11496.851116265874,
"vocabulary": 174.0,
"volume": 7361.071117394392
},
"lines_of_code": 376.0,
"maintainability_index": 20.820060063461938,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 126.0,
"technical_debt_score": 96.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 228
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_249:249",
"entity_name": "anonymous_function_249",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 250,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 53.99999999999999,
"length": 10.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 2.9999999999999996,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 250
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_249:249",
"entity_name": "anonymous_function_249",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 250,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 250
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_257:257",
"entity_name": "anonymous_function_257",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 258,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012180403014586996,
"calculated_length": 28.52932501298081,
"difficulty": 0.5555555555555556,
"effort": 20.300671690978326,
"length": 11.0,
"n1": 1.0,
"n2": 9.0,
"n_1": 1.0,
"n_2": 10.0,
"time": 1.1278150939432403,
"vocabulary": 10.0,
"volume": 36.541209043760986
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 258
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_265:265",
"entity_name": "anonymous_function_265",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 266,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 266
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_273:273",
"entity_name": "anonymous_function_273",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 274,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 275,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01726871868465843,
"calculated_length": 35.161259458730164,
"difficulty": 3.5,
"effort": 181.32154618891352,
"length": 14.0,
"n1": 7.0,
"n2": 6.0,
"n_1": 8.0,
"n_2": 6.0,
"time": 10.073419232717418,
"vocabulary": 13.0,
"volume": 51.80615605397529
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 274
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_281:281",
"entity_name": "anonymous_function_281",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 282,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "ConditionalExpression",
"line": 283,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 12.754887502163468,
"difficulty": 2.625,
"effort": 88.43168004481454,
"length": 12.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 4.912871113600808,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 282
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_287:287",
"entity_name": "anonymous_function_287",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 288,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 19.60964047443681,
"difficulty": 2.4,
"effort": 83.68602003807705,
"length": 11.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 4.649223335448725,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 288
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_296:296",
"entity_name": "anonymous_function_296",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 297,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.00655049481813441,
"calculated_length": 13.60964047443681,
"difficulty": 1.0,
"effort": 19.651484454403228,
"length": 7.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 2.0,
"n_2": 5.0,
"time": 1.0917491363557348,
"vocabulary": 7.0,
"volume": 19.651484454403228
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 297
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_301:301",
"entity_name": "anonymous_function_301",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 302,
"metrics": {
"cognitive_complexity": 17.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 303,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 303,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 308,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 308,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 308,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 322,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 323,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 323,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 323,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 323,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.14897808385057887,
"calculated_length": 114.96788691072805,
"difficulty": 10.125,
"effort": 4525.209296961333,
"length": 92.0,
"n1": 9.0,
"n2": 20.0,
"n_1": 47.0,
"n_2": 45.0,
"time": 251.40051649785184,
"vocabulary": 29.0,
"volume": 446.9342515517366
},
"lines_of_code": 31.0,
"maintainability_index": 81.10686751051244,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 41.800000000000004
},
"recommendations": [],
"severity": "Moderate",
"start_line": 302
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_344:344",
"entity_name": "anonymous_function_344",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 345,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 346,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 346,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 347,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 348,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 350,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 351,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05559900001923083,
"calculated_length": 57.219280948873624,
"difficulty": 5.6,
"effort": 934.0632003230778,
"length": 40.0,
"n1": 8.0,
"n2": 10.0,
"n_1": 26.0,
"n_2": 14.0,
"time": 51.892400017948766,
"vocabulary": 18.0,
"volume": 166.7970000576925
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 21.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 345
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_369:369",
"entity_name": "anonymous_function_369",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 370,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03299707599116591,
"calculated_length": 40.13896548741762,
"difficulty": 4.444444444444445,
"effort": 439.9610132155454,
"length": 26.0,
"n1": 5.0,
"n2": 9.0,
"n_1": 10.0,
"n_2": 16.0,
"time": 24.442278511974745,
"vocabulary": 14.0,
"volume": 98.99122797349771
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 370
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_370:370",
"entity_name": "anonymous_function_370",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 371,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 371
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_371:371",
"entity_name": "anonymous_function_371",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 372,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 372
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_378:378",
"entity_name": "anonymous_function_378",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 379,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.09034286254110589,
"calculated_length": 106.09004635215048,
"difficulty": 6.125,
"effort": 1660.0500991928207,
"length": 57.0,
"n1": 7.0,
"n2": 20.0,
"n_1": 22.0,
"n_2": 35.0,
"time": 92.22500551071226,
"vocabulary": 27.0,
"volume": 271.02858762331766
},
"lines_of_code": 16.0,
"maintainability_index": 96.72249631527025,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 379
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_379:379",
"entity_name": "anonymous_function_379",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 380,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 380
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_380:380",
"entity_name": "anonymous_function_380",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 381,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 381
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_388:388",
"entity_name": "anonymous_function_388",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 389,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.023899750004807704,
"calculated_length": 33.284212515144276,
"difficulty": 2.1666666666666665,
"effort": 155.34837503125007,
"length": 20.0,
"n1": 3.0,
"n2": 9.0,
"n_1": 7.0,
"n_2": 13.0,
"time": 8.630465279513892,
"vocabulary": 12.0,
"volume": 71.69925001442311
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 389
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_399:399",
"entity_name": "anonymous_function_399",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 400,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03333333333333333,
"calculated_length": 49.66338827944708,
"difficulty": 3.4090909090909087,
"effort": 340.9090909090909,
"length": 25.0,
"n1": 5.0,
"n2": 11.0,
"n_1": 10.0,
"n_2": 15.0,
"time": 18.939393939393938,
"vocabulary": 16.0,
"volume": 100.0
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 400
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_400:400",
"entity_name": "anonymous_function_400",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 401,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 401
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_401:401",
"entity_name": "anonymous_function_401",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 402,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 402
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_408:408",
"entity_name": "anonymous_function_408",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 409,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03299707599116591,
"calculated_length": 40.13896548741762,
"difficulty": 4.444444444444445,
"effort": 439.9610132155454,
"length": 26.0,
"n1": 5.0,
"n2": 9.0,
"n_1": 10.0,
"n_2": 16.0,
"time": 24.442278511974745,
"vocabulary": 14.0,
"volume": 98.99122797349771
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 409
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_409:409",
"entity_name": "anonymous_function_409",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 410,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 410
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_410:410",
"entity_name": "anonymous_function_410",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 411,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 411
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_416:416",
"entity_name": "anonymous_function_416",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 417,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008422064766172813,
"calculated_length": 12.754887502163468,
"difficulty": 2.25,
"effort": 56.848937171666485,
"length": 9.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 3.158274287314805,
"vocabulary": 7.0,
"volume": 25.26619429851844
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 417
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_417:417",
"entity_name": "anonymous_function_417",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 418,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 418
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_421:421",
"entity_name": "anonymous_function_421",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 422,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02652230907621928,
"calculated_length": 27.651484454403228,
"difficulty": 4.0,
"effort": 318.2677089146313,
"length": 23.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 9.0,
"n_2": 14.0,
"time": 17.681539384146184,
"vocabulary": 11.0,
"volume": 79.56692722865783
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 422
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_422:422",
"entity_name": "anonymous_function_422",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 423,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 423
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_423:423",
"entity_name": "anonymous_function_423",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 424,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 424
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_429:429",
"entity_name": "anonymous_function_429",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 430,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 2.0,
"effort": 69.73835003173087,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 3.0,
"n_2": 8.0,
"time": 3.874352779540604,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 430
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_430:430",
"entity_name": "anonymous_function_430",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 431,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 431
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_433:433",
"entity_name": "anonymous_function_433",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 434,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 435,
"nesting_level": 0
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 440,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.036139350012500036,
"calculated_length": 57.05865002596162,
"difficulty": 6.5,
"effort": 704.7173252437507,
"length": 26.0,
"n1": 9.0,
"n2": 9.0,
"n_1": 13.0,
"n_2": 13.0,
"time": 39.15096251354171,
"vocabulary": 18.0,
"volume": 108.41805003750011
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 434
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_443:443",
"entity_name": "anonymous_function_443",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 444,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04061178583528111,
"calculated_length": 40.13896548741762,
"difficulty": 5.277777777777778,
"effort": 643.019942391951,
"length": 32.0,
"n1": 5.0,
"n2": 9.0,
"n_1": 13.0,
"n_2": 19.0,
"time": 35.72333013288616,
"vocabulary": 14.0,
"volume": 121.83535750584333
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 444
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_463:463",
"entity_name": "anonymous_function_463",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 464,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 465,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 469,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04133333333333333,
"calculated_length": 48.18080946738404,
"difficulty": 6.222222222222221,
"effort": 771.5555555555554,
"length": 31.0,
"n1": 7.0,
"n2": 9.0,
"n_1": 15.0,
"n_2": 16.0,
"time": 42.86419753086419,
"vocabulary": 16.0,
"volume": 124.0
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 464
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_475:475",
"entity_name": "anonymous_function_475",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 476,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 480,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 480,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 486,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 492,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 492,
"nesting_level": 1
},
{
"column": 15,
"kind": "ConditionalExpression",
"line": 501,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 505,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.21141608875448994,
"calculated_length": 174.1007298075732,
"difficulty": 10.689655172413792,
"effort": 6779.89526005778,
"length": 120.0,
"n1": 10.0,
"n2": 29.0,
"n_1": 58.0,
"n_2": 62.0,
"time": 376.6608477809878,
"vocabulary": 39.0,
"volume": 634.2482662634699
},
"lines_of_code": 34.0,
"maintainability_index": 78.48026908346083,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 19.0,
"technical_debt_score": 30.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 476
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_497:497",
"entity_name": "anonymous_function_497",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 498,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 15,
"kind": "ConditionalExpression",
"line": 501,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.036,
"calculated_length": 49.66338827944708,
"difficulty": 3.1818181818181817,
"effort": 343.6363636363636,
"length": 27.0,
"n1": 5.0,
"n2": 11.0,
"n_1": 13.0,
"n_2": 14.0,
"time": 19.09090909090909,
"vocabulary": 16.0,
"volume": 108.0
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 498
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_513:513",
"entity_name": "anonymous_function_513",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 514,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02214618729924908,
"calculated_length": 23.509775004326936,
"difficulty": 3.0,
"effort": 199.31568569324173,
"length": 20.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 11.0,
"n_2": 9.0,
"time": 11.073093649624541,
"vocabulary": 10.0,
"volume": 66.43856189774725
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 514
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_514:514",
"entity_name": "anonymous_function_514",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 515,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02007619167580131,
"calculated_length": 20.264662506490403,
"difficulty": 2.25,
"effort": 135.51429381165886,
"length": 19.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 10.0,
"n_2": 9.0,
"time": 7.528571878425492,
"vocabulary": 9.0,
"volume": 60.228575027403934
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 515
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_515:515",
"entity_name": "anonymous_function_515",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 516,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.0,
"difficulty": 1.5,
"effort": 15.0,
"length": 5.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.8333333333333334,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 516
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_522:522",
"entity_name": "anonymous_function_522",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 523,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 524,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 524,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 524,
"nesting_level": 1
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 530,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07388484528226455,
"calculated_length": 81.83229392178727,
"difficulty": 7.7142857142857135,
"effort": 1709.9064193895508,
"length": 49.0,
"n1": 9.0,
"n2": 14.0,
"n_1": 25.0,
"n_2": 24.0,
"time": 94.99480107719727,
"vocabulary": 23.0,
"volume": 221.65453584679364
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 17.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 523
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_532:532",
"entity_name": "anonymous_function_532",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 533,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 533
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts:anonymous_function_552:552",
"entity_name": "anonymous_function_552",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-agent-form-state.ts",
"issues": [],
"line_number": 553,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.07062151767101835,
"calculated_length": 151.96160537041902,
"difficulty": 1.75,
"effort": 370.7629677728463,
"length": 42.0,
"n1": 3.0,
"n2": 30.0,
"n_1": 7.0,
"n_2": 35.0,
"time": 20.597942654047017,
"vocabulary": 33.0,
"volume": 211.86455301305503
},
"lines_of_code": 25.0,
"maintainability_index": 90.77328635518369,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 553
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-aggregated-agents.ts:useAggregatedAgents:21",
"entity_name": "useAggregatedAgents",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-aggregated-agents.ts",
"issues": [
{
"description": "Cyclomatic complexity of 23.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-aggregated-agents.ts:useAggregatedAgents:21",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-aggregated-agents.ts:22",
"metric_value": 23.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 32.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-aggregated-agents.ts:useAggregatedAgents:21",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-aggregated-agents.ts:22",
"metric_value": 32.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 22,
"metrics": {
"cognitive_complexity": 32.0,
"cyclomatic_complexity": 23.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 48,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 60,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 60,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 67,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 92,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 92,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 95,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 95,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 112,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 112,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 116,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 116,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 122,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 122,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 126,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 126,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 126,
"nesting_level": 1
},
{
"column": 27,
"kind": "LogicalAnd",
"line": 135,
"nesting_level": 0
},
{
"column": 28,
"kind": "LogicalAnd",
"line": 138,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 143,
"nesting_level": 0
},
{
"column": 36,
"kind": "ConditionalExpression",
"line": 145,
"nesting_level": 1
},
{
"column": 28,
"kind": "ConditionalExpression",
"line": 157,
"nesting_level": 1
}
],
"halstead": {
"bugs": 1.1066077282308742,
"calculated_length": 785.8378077365192,
"difficulty": 16.81651376146789,
"effort": 55827.85227102364,
"length": 479.0,
"n1": 13.0,
"n2": 109.0,
"n_1": 197.0,
"n_2": 282.0,
"time": 3101.5473483902024,
"vocabulary": 122.0,
"volume": 3319.823184692623
},
"lines_of_code": 155.0,
"maintainability_index": 41.846645730986324,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 64.0,
"technical_debt_score": 85.60000000000001
},
"recommendations": [],
"severity": "High",
"start_line": 22
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-aggregated-agents.ts:anonymous_function_25:25",
"entity_name": "anonymous_function_25",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-aggregated-agents.ts",
"issues": [],
"line_number": 26,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03681537178317774,
"calculated_length": 62.6710344630571,
"difficulty": 4.958333333333334,
"effort": 547.6286552747689,
"length": 26.0,
"n1": 7.0,
"n2": 12.0,
"n_1": 9.0,
"n_2": 17.0,
"time": 30.423814181931604,
"vocabulary": 19.0,
"volume": 110.44611534953322
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 26
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-aggregated-agents.ts:anonymous_function_35:35",
"entity_name": "anonymous_function_35",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-aggregated-agents.ts",
"issues": [],
"line_number": 36,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04538728003538052,
"calculated_length": 72.10571633583419,
"difficulty": 6.153846153846154,
"effort": 837.9190160377943,
"length": 31.0,
"n1": 8.0,
"n2": 13.0,
"n_1": 11.0,
"n_2": 20.0,
"time": 46.55105644654413,
"vocabulary": 21.0,
"volume": 136.16184010614157
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 36
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-aggregated-agents.ts:anonymous_function_44:44",
"entity_name": "anonymous_function_44",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-aggregated-agents.ts",
"issues": [],
"line_number": 45,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 48,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03906890595608519,
"calculated_length": 44.039100017307746,
"difficulty": 5.0,
"effort": 586.0335893412778,
"length": 30.0,
"n1": 6.0,
"n2": 9.0,
"n_1": 15.0,
"n_2": 15.0,
"time": 32.55742163007099,
"vocabulary": 15.0,
"volume": 117.20671786825557
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 45
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-aggregated-agents.ts:anonymous_function_54:54",
"entity_name": "anonymous_function_54",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-aggregated-agents.ts",
"issues": [
{
"description": "Cyclomatic complexity of 22.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-aggregated-agents.ts:anonymous_function_54:54",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-aggregated-agents.ts:55",
"metric_value": 22.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 31.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-aggregated-agents.ts:anonymous_function_54:54",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-aggregated-agents.ts:55",
"metric_value": 31.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 55,
"metrics": {
"cognitive_complexity": 31.0,
"cyclomatic_complexity": 22.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 60,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 60,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 67,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 92,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 92,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 95,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 95,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 112,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 112,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 116,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 116,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 122,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 122,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 126,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 126,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 126,
"nesting_level": 1
},
{
"column": 27,
"kind": "LogicalAnd",
"line": 135,
"nesting_level": 0
},
{
"column": 28,
"kind": "LogicalAnd",
"line": 138,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 143,
"nesting_level": 0
},
{
"column": 36,
"kind": "ConditionalExpression",
"line": 145,
"nesting_level": 1
},
{
"column": 28,
"kind": "ConditionalExpression",
"line": 157,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.7993324323469321,
"calculated_length": 575.0084113184262,
"difficulty": 13.81547619047619,
"effort": 33129.474562093375,
"length": 365.0,
"n1": 11.0,
"n2": 84.0,
"n_1": 154.0,
"n_2": 211.0,
"time": 1840.526364560743,
"vocabulary": 95.0,
"volume": 2397.997297040796
},
"lines_of_code": 116.0,
"maintainability_index": 48.463415020321435,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 45.0,
"technical_debt_score": 84.80000000000001
},
"recommendations": [],
"severity": "High",
"start_line": 55
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-aggregated-agents.ts:anonymous_function_88:88",
"entity_name": "anonymous_function_88",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-aggregated-agents.ts",
"issues": [],
"line_number": 89,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 92,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 92,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 95,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 95,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.06810877502355776,
"calculated_length": 57.70523225941349,
"difficulty": 8.272727272727273,
"effort": 1690.3359619482974,
"length": 49.0,
"n1": 7.0,
"n2": 11.0,
"n_1": 23.0,
"n_2": 26.0,
"time": 93.90755344157208,
"vocabulary": 18.0,
"volume": 204.3263250706733
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 9.0,
"technical_debt_score": 17.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 89
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-aggregated-agents.ts:anonymous_function_107:107",
"entity_name": "anonymous_function_107",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-aggregated-agents.ts",
"issues": [],
"line_number": 108,
"metrics": {
"cognitive_complexity": 14.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 112,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 112,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 116,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 116,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 122,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 122,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 126,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 126,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 126,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.14173827462311975,
"calculated_length": 82.60335893412778,
"difficulty": 12.266666666666667,
"effort": 5215.968506130807,
"length": 94.0,
"n1": 8.0,
"n2": 15.0,
"n_1": 48.0,
"n_2": 46.0,
"time": 289.7760281183782,
"vocabulary": 23.0,
"volume": 425.21482386935924
},
"lines_of_code": 24.0,
"maintainability_index": 85.74203650080179,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 14.0,
"technical_debt_score": 36.00000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 108
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-aggregated-agents.ts:anonymous_function_143:143",
"entity_name": "anonymous_function_143",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-aggregated-agents.ts",
"issues": [],
"line_number": 144,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 36,
"kind": "ConditionalExpression",
"line": 145,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04359960364000362,
"calculated_length": 54.62919048309068,
"difficulty": 4.375,
"effort": 572.2447977750475,
"length": 32.0,
"n1": 5.0,
"n2": 12.0,
"n_1": 11.0,
"n_2": 21.0,
"time": 31.791377654169303,
"vocabulary": 17.0,
"volume": 130.79881092001085
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 144
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts:resamplePcm24kTo16k:19",
"entity_name": "resamplePcm24kTo16k",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts",
"issues": [],
"line_number": 20,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "For",
"line": 28,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 30,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.1771214144313843,
"calculated_length": 159.11595475302198,
"difficulty": 14.64,
"effort": 7779.172521826398,
"length": 102.0,
"n1": 12.0,
"n2": 25.0,
"n_1": 41.0,
"n_2": 61.0,
"time": 432.17625121257765,
"vocabulary": 37.0,
"volume": 531.3642432941529
},
"lines_of_code": 23.0,
"maintainability_index": 86.8826654366824,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 13.0
},
"recommendations": [],
"severity": "Low",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts:useAudioPlayer:52",
"entity_name": "useAudioPlayer",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts",
"issues": [
{
"description": "Cyclomatic complexity of 42.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts:useAudioPlayer:52",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts:53",
"metric_value": 42.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 65.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts:useAudioPlayer:52",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts:53",
"metric_value": 65.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 53,
"metrics": {
"cognitive_complexity": 65.0,
"cyclomatic_complexity": 42.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 66,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalAnd",
"line": 66,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalAnd",
"line": 67,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 69,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 83,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 91,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 99,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalAnd",
"line": 99,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalAnd",
"line": 100,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 102,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 102,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 113,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 119,
"nesting_level": 1
},
{
"column": 14,
"kind": "If",
"line": 122,
"nesting_level": 1
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 122,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 124,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 133,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 133,
"nesting_level": 1
},
{
"column": 5,
"kind": "While",
"line": 139,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 142,
"nesting_level": 1
},
{
"column": 10,
"kind": "LogicalAnd",
"line": 142,
"nesting_level": 1
},
{
"column": 10,
"kind": "LogicalAnd",
"line": 143,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 145,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 155,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 158,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 167,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 169,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 172,
"nesting_level": 2
},
{
"column": 7,
"kind": "Try",
"line": 182,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 188,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 228,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 239,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 243,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 255,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 262,
"nesting_level": 1
},
{
"column": 5,
"kind": "While",
"line": 271,
"nesting_level": 0
},
{
"column": 5,
"kind": "While",
"line": 277,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 283,
"nesting_level": 0
},
{
"column": 5,
"kind": "While",
"line": 293,
"nesting_level": 0
},
{
"column": 5,
"kind": "While",
"line": 299,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 305,
"nesting_level": 0
}
],
"halstead": {
"bugs": 1.8156353443377584,
"calculated_length": 747.5380097838928,
"difficulty": 36.08910891089109,
"effort": 196573.98505280583,
"length": 790.0,
"n1": 18.0,
"n2": 101.0,
"n_1": 385.0,
"n_2": 405.0,
"time": 10920.7769473781,
"vocabulary": 119.0,
"volume": 5446.906033013275
},
"lines_of_code": 264.0,
"maintainability_index": 26.275048793362274,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 126.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 53
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts:play:61",
"entity_name": "play",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts",
"issues": [],
"line_number": 62,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 66,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalAnd",
"line": 66,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalAnd",
"line": 67,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 69,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 83,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.11938399415815006,
"calculated_length": 138.56842503028855,
"difficulty": 6.75,
"effort": 2417.5258817025388,
"length": 71.0,
"n1": 9.0,
"n2": 24.0,
"n_1": 35.0,
"n_2": 36.0,
"time": 134.30699342791883,
"vocabulary": 33.0,
"volume": 358.15198247445016
},
"lines_of_code": 25.0,
"maintainability_index": 86.89323300964234,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 21.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 62
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts:anonymous_function_62:62",
"entity_name": "anonymous_function_62",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts",
"issues": [],
"line_number": 63,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 66,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalAnd",
"line": 66,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalAnd",
"line": 67,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 69,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 83,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.10143760004615399,
"calculated_length": 104.71062275542812,
"difficulty": 6.526315789473684,
"effort": 1986.0414324825938,
"length": 64.0,
"n1": 8.0,
"n2": 19.0,
"n_1": 33.0,
"n_2": 31.0,
"time": 110.33563513792188,
"vocabulary": 27.0,
"volume": 304.31280013846197
},
"lines_of_code": 23.0,
"maintainability_index": 89.09110187677183,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 9.0,
"technical_debt_score": 20.6
},
"recommendations": [],
"severity": "Low",
"start_line": 63
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts:startCheckingForClearFlags:88",
"entity_name": "startCheckingForClearFlags",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts",
"issues": [],
"line_number": 89,
"metrics": {
"cognitive_complexity": 19.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 91,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 99,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalAnd",
"line": 99,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalAnd",
"line": 100,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 102,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 102,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 113,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 119,
"nesting_level": 1
},
{
"column": 14,
"kind": "If",
"line": 122,
"nesting_level": 1
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 122,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 124,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.23166666666666666,
"calculated_length": 131.32677655889415,
"difficulty": 14.545454545454547,
"effort": 10109.09090909091,
"length": 139.0,
"n1": 10.0,
"n2": 22.0,
"n_1": 75.0,
"n_2": 64.0,
"time": 561.6161616161617,
"vocabulary": 32.0,
"volume": 695.0
},
"lines_of_code": 41.0,
"maintainability_index": 74.0517909224533,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 19.0,
"technical_debt_score": 47.400000000000006
},
"recommendations": [],
"severity": "Moderate",
"start_line": 89
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts:anonymous_function_96:96",
"entity_name": "anonymous_function_96",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts",
"issues": [],
"line_number": 97,
"metrics": {
"cognitive_complexity": 18.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 99,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalAnd",
"line": 99,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalAnd",
"line": 100,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 102,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 102,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 113,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 119,
"nesting_level": 1
},
{
"column": 14,
"kind": "If",
"line": 122,
"nesting_level": 1
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 122,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 124,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.18385565008365412,
"calculated_length": 103.58797503894242,
"difficulty": 13.25,
"effort": 7308.262090825251,
"length": 116.0,
"n1": 9.0,
"n2": 18.0,
"n_1": 63.0,
"n_2": 53.0,
"time": 406.0145606014028,
"vocabulary": 27.0,
"volume": 551.5669502509623
},
"lines_of_code": 32.0,
"maintainability_index": 79.49870958918568,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 15.0,
"technical_debt_score": 42.8
},
"recommendations": [],
"severity": "Moderate",
"start_line": 97
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts:processQueue:131",
"entity_name": "processQueue",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts",
"issues": [],
"line_number": 132,
"metrics": {
"cognitive_complexity": 17.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 133,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 133,
"nesting_level": 1
},
{
"column": 5,
"kind": "While",
"line": 139,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 142,
"nesting_level": 1
},
{
"column": 10,
"kind": "LogicalAnd",
"line": 142,
"nesting_level": 1
},
{
"column": 10,
"kind": "LogicalAnd",
"line": 143,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 145,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 155,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 158,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.2120978186292979,
"calculated_length": 186.98532149254143,
"difficulty": 15.555555555555555,
"effort": 9897.89820270057,
"length": 118.0,
"n1": 15.0,
"n2": 27.0,
"n_1": 62.0,
"n_2": 56.0,
"time": 549.883233483365,
"vocabulary": 42.0,
"volume": 636.2934558878937
},
"lines_of_code": 32.0,
"maintainability_index": 78.98564707377061,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 17.0,
"technical_debt_score": 40.0
},
"recommendations": [],
"severity": "Moderate",
"start_line": 132
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts:processNextInQueue:165",
"entity_name": "processNextInQueue",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts",
"issues": [],
"line_number": 166,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 167,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 169,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 172,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.08178150992680865,
"calculated_length": 117.59258463708997,
"difficulty": 9.558823529411764,
"effort": 2345.205064077601,
"length": 50.0,
"n1": 13.0,
"n2": 17.0,
"n_1": 25.0,
"n_2": 25.0,
"time": 130.2891702265334,
"vocabulary": 30.0,
"volume": 245.34452978042594
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 15.2
},
"recommendations": [],
"severity": "Low",
"start_line": 166
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts:playAudio:179",
"entity_name": "playAudio",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts",
"issues": [],
"line_number": 180,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 182,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 188,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 228,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 239,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 243,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.36916017124398626,
"calculated_length": 323.22649869747937,
"difficulty": 13.132653061224488,
"effort": 14544.157358908478,
"length": 186.0,
"n1": 13.0,
"n2": 49.0,
"n_1": 87.0,
"n_2": 99.0,
"time": 808.0087421615822,
"vocabulary": 62.0,
"volume": 1107.4805137319588
},
"lines_of_code": 72.0,
"maintainability_index": 63.886825755851476,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 32.0,
"technical_debt_score": 33.599999999999994
},
"recommendations": [],
"severity": "Low",
"start_line": 180
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts:anonymous_function_180:180",
"entity_name": "anonymous_function_180",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts",
"issues": [],
"line_number": 181,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 182,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 188,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 228,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 239,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 243,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.34802910417849625,
"calculated_length": 290.1529393434892,
"difficulty": 12.533333333333335,
"effort": 13085.89431711146,
"length": 179.0,
"n1": 12.0,
"n2": 45.0,
"n_1": 85.0,
"n_2": 94.0,
"time": 726.9941287284145,
"vocabulary": 57.0,
"volume": 1044.0873125354888
},
"lines_of_code": 70.0,
"maintainability_index": 64.64970541105993,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 31.0,
"technical_debt_score": 33.199999999999996
},
"recommendations": [],
"severity": "Low",
"start_line": 181
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts:anonymous_function_232:232",
"entity_name": "anonymous_function_232",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts",
"issues": [],
"line_number": 233,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.025382366147050694,
"calculated_length": 41.219280948873624,
"difficulty": 2.0,
"effort": 152.29419688230416,
"length": 20.0,
"n1": 4.0,
"n2": 10.0,
"n_1": 10.0,
"n_2": 10.0,
"time": 8.460788715683565,
"vocabulary": 14.0,
"volume": 76.14709844115208
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 233
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts:stop:253",
"entity_name": "stop",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts",
"issues": [],
"line_number": 254,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 255,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 262,
"nesting_level": 1
},
{
"column": 5,
"kind": "While",
"line": 271,
"nesting_level": 0
},
{
"column": 5,
"kind": "While",
"line": 277,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 283,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.18484448323209565,
"calculated_length": 143.25838096618136,
"difficulty": 10.833333333333332,
"effort": 6007.445705043108,
"length": 109.0,
"n1": 10.0,
"n2": 24.0,
"n_1": 57.0,
"n_2": 52.0,
"time": 333.746983613506,
"vocabulary": 34.0,
"volume": 554.533449696287
},
"lines_of_code": 35.0,
"maintainability_index": 79.16910033286327,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 17.0,
"technical_debt_score": 23.799999999999997
},
"recommendations": [],
"severity": "Low",
"start_line": 254
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts:clearQueue:290",
"entity_name": "clearQueue",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts",
"issues": [],
"line_number": 291,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "While",
"line": 293,
"nesting_level": 0
},
{
"column": 5,
"kind": "While",
"line": 299,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 305,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1069824583501603,
"calculated_length": 86.52224985768008,
"difficulty": 12.142857142857142,
"effort": 3897.218125612982,
"length": 70.0,
"n1": 10.0,
"n2": 14.0,
"n_1": 36.0,
"n_2": 34.0,
"time": 216.5121180896101,
"vocabulary": 24.0,
"volume": 320.9473750504809
},
"lines_of_code": 18.0,
"maintainability_index": 93.24533624308678,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 14.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 291
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts:anonymous_function_313:313",
"entity_name": "anonymous_function_313",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.native.ts",
"issues": [],
"line_number": 314,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 314
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.web.ts:useAudioPlayer:11",
"entity_name": "useAudioPlayer",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.web.ts",
"issues": [],
"line_number": 12,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03681537178317774,
"calculated_length": 64.91260938324326,
"difficulty": 2.8571428571428568,
"effort": 315.56032957009484,
"length": 26.0,
"n1": 5.0,
"n2": 14.0,
"n_1": 10.0,
"n_2": 16.0,
"time": 17.531129420560823,
"vocabulary": 19.0,
"volume": 110.44611534953322
},
"lines_of_code": 15.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 5.0
},
"recommendations": [],
"severity": "Low",
"start_line": 12
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.web.ts:anonymous_function_13:13",
"entity_name": "anonymous_function_13",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.web.ts",
"issues": [],
"line_number": 14,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.026045937304056792,
"calculated_length": 44.82892142331043,
"difficulty": 3.0,
"effort": 234.41343573651113,
"length": 20.0,
"n1": 5.0,
"n2": 10.0,
"n_1": 8.0,
"n_2": 12.0,
"time": 13.022968652028396,
"vocabulary": 15.0,
"volume": 78.13781191217038
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 14
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.web.ts:anonymous_function_14:14",
"entity_name": "anonymous_function_14",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.web.ts",
"issues": [],
"line_number": 15,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008,
"calculated_length": 16.0,
"difficulty": 2.0,
"effort": 48.0,
"length": 8.0,
"n1": 4.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 2.6666666666666665,
"vocabulary": 8.0,
"volume": 24.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 15
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.web.ts:anonymous_function_18:18",
"entity_name": "anonymous_function_18",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.web.ts",
"issues": [],
"line_number": 19,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 19
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.web.ts:anonymous_function_21:21",
"entity_name": "anonymous_function_21",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.web.ts",
"issues": [],
"line_number": 22,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 22
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.web.ts:anonymous_function_22:22",
"entity_name": "anonymous_function_22",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-player.web.ts",
"issues": [],
"line_number": 23,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 23
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts:getActualRecordingUri:18",
"entity_name": "getActualRecordingUri",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts",
"issues": [],
"line_number": 19,
"metrics": {
"cognitive_complexity": 22.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 20,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 27,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 35,
"nesting_level": 1
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 46,
"nesting_level": 1
},
{
"column": 20,
"kind": "LogicalAnd",
"line": 50,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 54,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 63,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 63,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 69,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 75,
"nesting_level": 1
},
{
"column": 5,
"kind": "Catch",
"line": 87,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.5612107600051216,
"calculated_length": 398.3662566515269,
"difficulty": 19.784482758620687,
"effort": 33309.79381582122,
"length": 272.0,
"n1": 15.0,
"n2": 58.0,
"n_1": 119.0,
"n_2": 153.0,
"time": 1850.5441008789567,
"vocabulary": 73.0,
"volume": 1683.6322800153648
},
"lines_of_code": 72.0,
"maintainability_index": 60.328723060345396,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 39.0,
"technical_debt_score": 56.00000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 19
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts:anonymous_function_40:40",
"entity_name": "anonymous_function_40",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts",
"issues": [],
"line_number": 41,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 25,
"kind": "ConditionalExpression",
"line": 46,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05003910001730774,
"calculated_length": 58.529325012980806,
"difficulty": 5.5,
"effort": 825.6451502855778,
"length": 36.0,
"n1": 6.0,
"n2": 12.0,
"n_1": 14.0,
"n_2": 22.0,
"time": 45.86917501586543,
"vocabulary": 18.0,
"volume": 150.11730005192322
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 41
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts:anonymous_function_49:49",
"entity_name": "anonymous_function_49",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts",
"issues": [],
"line_number": 50,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 20,
"kind": "LogicalAnd",
"line": 50,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.007739760316291207,
"calculated_length": 6.754887502163468,
"difficulty": 2.0,
"effort": 46.43856189774724,
"length": 10.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 2.579920105430402,
"vocabulary": 5.0,
"volume": 23.21928094887362
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 50
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts:uriToBlob:96",
"entity_name": "uriToBlob",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts",
"issues": [],
"line_number": 97,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "For",
"line": 112,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.10600518235019599,
"calculated_length": 147.06147499796518,
"difficulty": 10.695652173913043,
"effort": 3401.3836771497663,
"length": 62.0,
"n1": 12.0,
"n2": 23.0,
"n_1": 21.0,
"n_2": 41.0,
"time": 188.9657598416537,
"vocabulary": 35.0,
"volume": 318.01554705058794
},
"lines_of_code": 23.0,
"maintainability_index": 89.7820722892051,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 11.0,
"technical_debt_score": 9.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 97
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts:anonymous_function_107:107",
"entity_name": "anonymous_function_107",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts",
"issues": [],
"line_number": 108,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "For",
"line": 112,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.048981851742056784,
"calculated_length": 66.43856189774725,
"difficulty": 10.0,
"effort": 1469.4555522617034,
"length": 34.0,
"n1": 10.0,
"n2": 10.0,
"n_1": 14.0,
"n_2": 20.0,
"time": 81.63641957009463,
"vocabulary": 20.0,
"volume": 146.94555522617034
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 108
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts:useAudioRecorder:128",
"entity_name": "useAudioRecorder",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts",
"issues": [
{
"description": "Cyclomatic complexity of 28.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts:useAudioRecorder:128",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts:129",
"metric_value": 28.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 46.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts:useAudioRecorder:128",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts:129",
"metric_value": 46.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 129,
"metrics": {
"cognitive_complexity": 46.0,
"cyclomatic_complexity": 28.0,
"decision_points": [
{
"column": 17,
"kind": "LogicalOr",
"line": 143,
"nesting_level": 0
},
{
"column": 23,
"kind": "LogicalOr",
"line": 144,
"nesting_level": 0
},
{
"column": 14,
"kind": "LogicalOr",
"line": 145,
"nesting_level": 0
},
{
"column": 19,
"kind": "LogicalOr",
"line": 152,
"nesting_level": 0
},
{
"column": 19,
"kind": "LogicalOr",
"line": 158,
"nesting_level": 0
},
{
"column": 22,
"kind": "LogicalOr",
"line": 165,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 182,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 182,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 186,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 186,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 202,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 206,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 215,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 248,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 250,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 254,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 266,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 270,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 273,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 284,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 284,
"nesting_level": 2
},
{
"column": 36,
"kind": "LogicalOr",
"line": 284,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 287,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 293,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalOr",
"line": 293,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 304,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 327,
"nesting_level": 1
}
],
"halstead": {
"bugs": 1.6571963921428396,
"calculated_length": 1096.469200207693,
"difficulty": 21.444444444444443,
"effort": 106612.96789452268,
"length": 679.0,
"n1": 16.0,
"n2": 144.0,
"n_1": 293.0,
"n_2": 386.0,
"time": 5922.942660806815,
"vocabulary": 160.0,
"volume": 4971.589176428519
},
"lines_of_code": 224.0,
"maintainability_index": 32.63156088664621,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 99.0,
"technical_debt_score": 96.8
},
"recommendations": [],
"severity": "Critical",
"start_line": 129
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts:anonymous_function_135:135",
"entity_name": "anonymous_function_135",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts",
"issues": [],
"line_number": 136,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 136
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts:anonymous_function_140:140",
"entity_name": "anonymous_function_140",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts",
"issues": [],
"line_number": 141,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 17,
"kind": "LogicalOr",
"line": 143,
"nesting_level": 0
},
{
"column": 23,
"kind": "LogicalOr",
"line": 144,
"nesting_level": 0
},
{
"column": 14,
"kind": "LogicalOr",
"line": 145,
"nesting_level": 0
},
{
"column": 19,
"kind": "LogicalOr",
"line": 152,
"nesting_level": 0
},
{
"column": 19,
"kind": "LogicalOr",
"line": 158,
"nesting_level": 0
},
{
"column": 22,
"kind": "LogicalOr",
"line": 165,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1223548917008014,
"calculated_length": 168.0,
"difficulty": 3.375,
"effort": 1238.8432784706142,
"length": 71.0,
"n1": 4.0,
"n2": 32.0,
"n_1": 17.0,
"n_2": 54.0,
"time": 68.82462658170078,
"vocabulary": 36.0,
"volume": 367.0646751024042
},
"lines_of_code": 26.0,
"maintainability_index": 85.90003817743093,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 24.0
},
"recommendations": [],
"severity": "Low",
"start_line": 141
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts:anonymous_function_173:173",
"entity_name": "anonymous_function_173",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts",
"issues": [],
"line_number": 174,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 174
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts:anonymous_function_179:179",
"entity_name": "anonymous_function_179",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts",
"issues": [],
"line_number": 180,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 182,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 182,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 186,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 186,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09774955008183794,
"calculated_length": 110.43856189774725,
"difficulty": 6.4,
"effort": 1876.7913615712887,
"length": 61.0,
"n1": 8.0,
"n2": 20.0,
"n_1": 29.0,
"n_2": 32.0,
"time": 104.26618675396048,
"vocabulary": 28.0,
"volume": 293.24865024551383
},
"lines_of_code": 16.0,
"maintainability_index": 95.39275409886137,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 18.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 180
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts:anonymous_function_183:183",
"entity_name": "anonymous_function_183",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts",
"issues": [],
"line_number": 184,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 186,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 186,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05330377983694414,
"calculated_length": 68.81274391313339,
"difficulty": 4.285714285714286,
"effort": 685.3343121892818,
"length": 37.0,
"n1": 6.0,
"n2": 14.0,
"n_1": 17.0,
"n_2": 20.0,
"time": 38.0741284549601,
"vocabulary": 20.0,
"volume": 159.91133951083242
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 10.2
},
"recommendations": [],
"severity": "Low",
"start_line": 184
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts:anonymous_function_194:194",
"entity_name": "anonymous_function_194",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts",
"issues": [],
"line_number": 195,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 195
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts:anonymous_function_197:197",
"entity_name": "anonymous_function_197",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts",
"issues": [],
"line_number": 198,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 202,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 206,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 215,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 248,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 250,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 254,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.4117850134553289,
"calculated_length": 302.1895663144568,
"difficulty": 15.119565217391305,
"effort": 18678.031099446605,
"length": 210.0,
"n1": 13.0,
"n2": 46.0,
"n_1": 103.0,
"n_2": 107.0,
"time": 1037.6683944137003,
"vocabulary": 59.0,
"volume": 1235.3550403659867
},
"lines_of_code": 61.0,
"maintainability_index": 65.77445221330368,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 33.0,
"technical_debt_score": 34.199999999999996
},
"recommendations": [],
"severity": "Low",
"start_line": 198
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts:anonymous_function_260:260",
"entity_name": "anonymous_function_260",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts",
"issues": [],
"line_number": 261,
"metrics": {
"cognitive_complexity": 24.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 266,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 270,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 273,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 284,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 284,
"nesting_level": 2
},
{
"column": 36,
"kind": "LogicalOr",
"line": 284,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 287,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 293,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalOr",
"line": 293,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 304,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 327,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.4052670514001306,
"calculated_length": 311.13338933483533,
"difficulty": 18.31111111111111,
"effort": 22262.670023580504,
"length": 205.0,
"n1": 16.0,
"n2": 45.0,
"n_1": 102.0,
"n_2": 103.0,
"time": 1236.815001310028,
"vocabulary": 61.0,
"volume": 1215.8011542003917
},
"lines_of_code": 73.0,
"maintainability_index": 61.7981327252251,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 37.0,
"technical_debt_score": 57.8
},
"recommendations": [],
"severity": "Moderate",
"start_line": 261
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts:anonymous_function_266:266",
"entity_name": "anonymous_function_266",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts",
"issues": [],
"line_number": 267,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 267
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts:anonymous_function_270:270",
"entity_name": "anonymous_function_270",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts",
"issues": [],
"line_number": 271,
"metrics": {
"cognitive_complexity": 20.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 273,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 284,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 284,
"nesting_level": 2
},
{
"column": 36,
"kind": "LogicalOr",
"line": 284,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 287,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 293,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalOr",
"line": 293,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 304,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.25322568855276456,
"calculated_length": 196.59963563064701,
"difficulty": 13.935483870967744,
"effort": 10586.467495625257,
"length": 140.0,
"n1": 12.0,
"n2": 31.0,
"n_1": 68.0,
"n_2": 72.0,
"time": 588.137083090292,
"vocabulary": 43.0,
"volume": 759.6770656582937
},
"lines_of_code": 53.0,
"maintainability_index": 70.12022516772383,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 25.0,
"technical_debt_score": 44.60000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 271
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts:anonymous_function_335:335",
"entity_name": "anonymous_function_335",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts",
"issues": [],
"line_number": 336,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.754887502163468,
"difficulty": 0.5,
"effort": 4.0,
"length": 4.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.2222222222222222,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 336
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts:anonymous_function_341:341",
"entity_name": "anonymous_function_341",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts",
"issues": [],
"line_number": 342,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 342
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts:anonymous_function_346:346",
"entity_name": "anonymous_function_346",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.native.ts",
"issues": [],
"line_number": 347,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 8.0,
"difficulty": 0.5,
"effort": 5.804820237218405,
"length": 5.0,
"n1": 1.0,
"n2": 4.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.32249001317880027,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 347
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts:useAudioRecorder:19",
"entity_name": "useAudioRecorder",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts",
"issues": [
{
"description": "Cyclomatic complexity of 57.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts:useAudioRecorder:19",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts:20",
"metric_value": 57.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 80.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts:useAudioRecorder:19",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts:20",
"metric_value": 80.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 20,
"metrics": {
"cognitive_complexity": 80.0,
"cyclomatic_complexity": 57.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 38,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 42,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 42,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 56,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 64,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 72,
"nesting_level": 0
},
{
"column": 9,
"kind": "Try",
"line": 74,
"nesting_level": 1
},
{
"column": 11,
"kind": "Catch",
"line": 76,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 94,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 99,
"nesting_level": 0
},
{
"column": 8,
"kind": "LogicalAnd",
"line": 99,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalOr",
"line": 100,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 105,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 110,
"nesting_level": 0
},
{
"column": 9,
"kind": "For",
"line": 125,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 136,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 144,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 144,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 149,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 149,
"nesting_level": 0
},
{
"column": 7,
"kind": "ConditionalExpression",
"line": 154,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 154,
"nesting_level": 0
},
{
"column": 7,
"kind": "ConditionalExpression",
"line": 158,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 158,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 160,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 164,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 182,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 184,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 188,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 190,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 191,
"nesting_level": 1
},
{
"column": 11,
"kind": "Try",
"line": 193,
"nesting_level": 2
},
{
"column": 13,
"kind": "Catch",
"line": 195,
"nesting_level": 3
},
{
"column": 5,
"kind": "If",
"line": 208,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 211,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 216,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 218,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 227,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 227,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 229,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 229,
"nesting_level": 2
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 240,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 245,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 256,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 260,
"nesting_level": 0
},
{
"column": 24,
"kind": "LogicalOr",
"line": 266,
"nesting_level": 1
},
{
"column": 24,
"kind": "LogicalOr",
"line": 266,
"nesting_level": 1
},
{
"column": 26,
"kind": "LogicalOr",
"line": 282,
"nesting_level": 0
},
{
"column": 26,
"kind": "LogicalOr",
"line": 282,
"nesting_level": 0
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 299,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 299,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 299,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 308,
"nesting_level": 0
},
{
"column": 9,
"kind": "Catch",
"line": 310,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 321,
"nesting_level": 0
},
{
"column": 9,
"kind": "Catch",
"line": 323,
"nesting_level": 1
}
],
"halstead": {
"bugs": 2.690260610205323,
"calculated_length": 1369.5562036871147,
"difficulty": 34.79651162790698,
"effort": 280835.053815329,
"length": 1063.0,
"n1": 21.0,
"n2": 172.0,
"n_1": 493.0,
"n_2": 570.0,
"time": 15601.947434184944,
"vocabulary": 193.0,
"volume": 8070.78183061597
},
"lines_of_code": 320.0,
"maintainability_index": 17.663970552160478,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 176.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts:anonymous_function_32:32",
"entity_name": "anonymous_function_32",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts",
"issues": [],
"line_number": 33,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 33
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts:anonymous_function_36:36",
"entity_name": "anonymous_function_36",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts",
"issues": [],
"line_number": 37,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 38,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 42,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 42,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08491813684038937,
"calculated_length": 71.54887502163469,
"difficulty": 10.875,
"effort": 2770.4542144177035,
"length": 58.0,
"n1": 9.0,
"n2": 12.0,
"n_1": 29.0,
"n_2": 29.0,
"time": 153.91412302320575,
"vocabulary": 21.0,
"volume": 254.75441052116813
},
"lines_of_code": 16.0,
"maintainability_index": 96.3545027772576,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 14.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 37
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts:anonymous_function_46:46",
"entity_name": "anonymous_function_46",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts",
"issues": [],
"line_number": 47,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 25.84962500721156,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.43609027817842,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 47
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts:anonymous_function_54:54",
"entity_name": "anonymous_function_54",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts",
"issues": [],
"line_number": 55,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 56,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 64,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0735743311425061,
"calculated_length": 52.529325012980806,
"difficulty": 10.666666666666666,
"effort": 2354.378596560195,
"length": 54.0,
"n1": 8.0,
"n2": 9.0,
"n_1": 30.0,
"n_2": 24.0,
"time": 130.79881092001085,
"vocabulary": 17.0,
"volume": 220.7229934275183
},
"lines_of_code": 14.0,
"maintainability_index": 99.49334710224508,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 10.4
},
"recommendations": [],
"severity": "Low",
"start_line": 55
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts:anonymous_function_65:65",
"entity_name": "anonymous_function_65",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts",
"issues": [],
"line_number": 66,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 66
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts:anonymous_function_70:70",
"entity_name": "anonymous_function_70",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts",
"issues": [],
"line_number": 71,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 72,
"nesting_level": 0
},
{
"column": 9,
"kind": "Try",
"line": 74,
"nesting_level": 1
},
{
"column": 11,
"kind": "Catch",
"line": 76,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.03776660909088234,
"calculated_length": 43.65148445440323,
"difficulty": 6.857142857142857,
"effort": 776.9131012981511,
"length": 29.0,
"n1": 8.0,
"n2": 7.0,
"n_1": 17.0,
"n_2": 12.0,
"time": 43.16183896100839,
"vocabulary": 15.0,
"volume": 113.29982727264704
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 15.0
},
"recommendations": [],
"severity": "Low",
"start_line": 71
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts:anonymous_function_72:72",
"entity_name": "anonymous_function_72",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts",
"issues": [],
"line_number": 73,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "Try",
"line": 74,
"nesting_level": 1
},
{
"column": 11,
"kind": "Catch",
"line": 76,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 13.60964047443681,
"difficulty": 3.75,
"effort": 84.22064766172812,
"length": 8.0,
"n1": 5.0,
"n2": 2.0,
"n_1": 5.0,
"n_2": 3.0,
"time": 4.678924870096007,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 11.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 73
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts:anonymous_function_83:83",
"entity_name": "anonymous_function_83",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts",
"issues": [],
"line_number": 84,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.025094737505048093,
"calculated_length": 32.0,
"difficulty": 2.25,
"effort": 169.38947815907463,
"length": 21.0,
"n1": 4.0,
"n2": 8.0,
"n_1": 12.0,
"n_2": 9.0,
"time": 9.410526564393034,
"vocabulary": 12.0,
"volume": 75.28421251514428
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 84
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts:anonymous_function_91:91",
"entity_name": "anonymous_function_91",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts",
"issues": [],
"line_number": 92,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 94,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 99,
"nesting_level": 0
},
{
"column": 8,
"kind": "LogicalAnd",
"line": 99,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalOr",
"line": 100,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 105,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 110,
"nesting_level": 0
},
{
"column": 9,
"kind": "For",
"line": 125,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 136,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.35732715690635497,
"calculated_length": 337.5650683358713,
"difficulty": 17.177083333333336,
"effort": 18413.515054330608,
"length": 178.0,
"n1": 17.0,
"n2": 48.0,
"n_1": 81.0,
"n_2": 97.0,
"time": 1022.9730585739227,
"vocabulary": 65.0,
"volume": 1071.9814707190649
},
"lines_of_code": 47.0,
"maintainability_index": 70.27583575743434,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 29.0,
"technical_debt_score": 35.4
},
"recommendations": [],
"severity": "Low",
"start_line": 92
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts:anonymous_function_121:121",
"entity_name": "anonymous_function_121",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts",
"issues": [],
"line_number": 122,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "For",
"line": 125,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.115,
"calculated_length": 131.32677655889415,
"difficulty": 9.09090909090909,
"effort": 3136.363636363636,
"length": 69.0,
"n1": 10.0,
"n2": 22.0,
"n_1": 29.0,
"n_2": 40.0,
"time": 174.24242424242422,
"vocabulary": 32.0,
"volume": 345.0
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 7.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 122
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts:anonymous_function_140:140",
"entity_name": "anonymous_function_140",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts",
"issues": [
{
"description": "Cyclomatic complexity of 28.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts:anonymous_function_140:140",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts:141",
"metric_value": 28.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 41.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts:anonymous_function_140:140",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts:141",
"metric_value": 41.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 141,
"metrics": {
"cognitive_complexity": 41.0,
"cyclomatic_complexity": 28.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 144,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 144,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 149,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 149,
"nesting_level": 0
},
{
"column": 7,
"kind": "ConditionalExpression",
"line": 154,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 154,
"nesting_level": 0
},
{
"column": 7,
"kind": "ConditionalExpression",
"line": 158,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 158,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 160,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 164,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 182,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 184,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 188,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 190,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 191,
"nesting_level": 1
},
{
"column": 11,
"kind": "Try",
"line": 193,
"nesting_level": 2
},
{
"column": 13,
"kind": "Catch",
"line": 195,
"nesting_level": 3
},
{
"column": 5,
"kind": "If",
"line": 208,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 211,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 216,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 218,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 227,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 227,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 229,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 229,
"nesting_level": 2
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 240,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 245,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.7441007625814906,
"calculated_length": 567.4855474072469,
"difficulty": 18.613924050632914,
"effort": 41551.9052421297,
"length": 339.0,
"n1": 17.0,
"n2": 79.0,
"n_1": 166.0,
"n_2": 173.0,
"time": 2308.439180118317,
"vocabulary": 96.0,
"volume": 2232.302287744472
},
"lines_of_code": 109.0,
"maintainability_index": 48.464062818765385,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 52.0,
"technical_debt_score": 92.8
},
"recommendations": [],
"severity": "Critical",
"start_line": 141
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts:anonymous_function_191:191",
"entity_name": "anonymous_function_191",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts",
"issues": [],
"line_number": 192,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 11,
"kind": "Try",
"line": 193,
"nesting_level": 2
},
{
"column": 13,
"kind": "Catch",
"line": 195,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 13.60964047443681,
"difficulty": 3.75,
"effort": 84.22064766172812,
"length": 8.0,
"n1": 5.0,
"n2": 2.0,
"n_1": 5.0,
"n_2": 3.0,
"time": 4.678924870096007,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 12.8
},
"recommendations": [],
"severity": "Low",
"start_line": 192
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts:anonymous_function_225:225",
"entity_name": "anonymous_function_225",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts",
"issues": [],
"line_number": 226,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 227,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 227,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 229,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 229,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.05466666666666667,
"calculated_length": 48.72905595320056,
"difficulty": 6.0,
"effort": 984.0,
"length": 41.0,
"n1": 6.0,
"n2": 10.0,
"n_1": 21.0,
"n_2": 20.0,
"time": 54.666666666666664,
"vocabulary": 16.0,
"volume": 164.0
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 17.8
},
"recommendations": [],
"severity": "Low",
"start_line": 226
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts:anonymous_function_234:234",
"entity_name": "anonymous_function_234",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts",
"issues": [],
"line_number": 235,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.021509775004326936,
"calculated_length": 31.019550008653873,
"difficulty": 5.5,
"effort": 354.91128757139444,
"length": 18.0,
"n1": 6.0,
"n2": 6.0,
"n_1": 7.0,
"n_2": 11.0,
"time": 19.71729375396636,
"vocabulary": 12.0,
"volume": 64.5293250129808
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 235
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts:anonymous_function_251:251",
"entity_name": "anonymous_function_251",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts",
"issues": [],
"line_number": 252,
"metrics": {
"cognitive_complexity": 14.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 256,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 260,
"nesting_level": 0
},
{
"column": 24,
"kind": "LogicalOr",
"line": 266,
"nesting_level": 1
},
{
"column": 24,
"kind": "LogicalOr",
"line": 266,
"nesting_level": 1
},
{
"column": 26,
"kind": "LogicalOr",
"line": 282,
"nesting_level": 0
},
{
"column": 26,
"kind": "LogicalOr",
"line": 282,
"nesting_level": 0
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 299,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 299,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 299,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 308,
"nesting_level": 0
},
{
"column": 9,
"kind": "Catch",
"line": 310,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.4763526844901205,
"calculated_length": 283.65963218934144,
"difficulty": 25.170731707317074,
"effort": 35970.436858083245,
"length": 245.0,
"n1": 16.0,
"n2": 41.0,
"n_1": 116.0,
"n_2": 129.0,
"time": 1998.357603226847,
"vocabulary": 57.0,
"volume": 1429.0580534703615
},
"lines_of_code": 64.0,
"maintainability_index": 63.089285877372234,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 42.0,
"technical_debt_score": 48.0
},
"recommendations": [],
"severity": "Moderate",
"start_line": 252
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts:anonymous_function_271:271",
"entity_name": "anonymous_function_271",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts",
"issues": [],
"line_number": 272,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 26,
"kind": "LogicalOr",
"line": 282,
"nesting_level": 0
},
{
"column": 26,
"kind": "LogicalOr",
"line": 282,
"nesting_level": 0
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 299,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 299,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 299,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 308,
"nesting_level": 0
},
{
"column": 9,
"kind": "Catch",
"line": 310,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.314866244189568,
"calculated_length": 209.48455594748285,
"difficulty": 16.727272727272727,
"effort": 15800.560617512867,
"length": 172.0,
"n1": 12.0,
"n2": 33.0,
"n_1": 80.0,
"n_2": 92.0,
"time": 877.8089231951593,
"vocabulary": 45.0,
"volume": 944.598732568704
},
"lines_of_code": 43.0,
"maintainability_index": 72.6046050041449,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 28.0,
"technical_debt_score": 31.000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 272
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts:anonymous_function_272:272",
"entity_name": "anonymous_function_272",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts",
"issues": [],
"line_number": 273,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 26,
"kind": "LogicalOr",
"line": 282,
"nesting_level": 0
},
{
"column": 26,
"kind": "LogicalOr",
"line": 282,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.09486655151509803,
"calculated_length": 123.69340944371453,
"difficulty": 4.717391304347826,
"effort": 1342.5679355723655,
"length": 58.0,
"n1": 7.0,
"n2": 23.0,
"n_1": 27.0,
"n_2": 31.0,
"time": 74.58710753179808,
"vocabulary": 30.0,
"volume": 284.5996545452941
},
"lines_of_code": 13.0,
"maintainability_index": 99.37218635560905,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 10.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 273
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts:anonymous_function_287:287",
"entity_name": "anonymous_function_287",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts",
"issues": [],
"line_number": 288,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 11,
"kind": "ConditionalExpression",
"line": 299,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 299,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 299,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.11097667062588598,
"calculated_length": 137.26120593818493,
"difficulty": 7.391304347826086,
"effort": 2460.7870443131237,
"length": 66.0,
"n1": 10.0,
"n2": 23.0,
"n_1": 32.0,
"n_2": 34.0,
"time": 136.71039135072908,
"vocabulary": 33.0,
"volume": 332.93001187765793
},
"lines_of_code": 15.0,
"maintainability_index": 96.00833881672884,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 13.4
},
"recommendations": [],
"severity": "Low",
"start_line": 288
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts:anonymous_function_317:317",
"entity_name": "anonymous_function_317",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts",
"issues": [],
"line_number": 318,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 321,
"nesting_level": 0
},
{
"column": 9,
"kind": "Catch",
"line": 323,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.025903078026987644,
"calculated_length": 35.161259458730164,
"difficulty": 4.083333333333334,
"effort": 317.31270583059865,
"length": 21.0,
"n1": 7.0,
"n2": 6.0,
"n_1": 14.0,
"n_2": 7.0,
"time": 17.62848365725548,
"vocabulary": 13.0,
"volume": 77.70923408096293
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 10.4
},
"recommendations": [],
"severity": "Low",
"start_line": 318
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts:anonymous_function_318:318",
"entity_name": "anonymous_function_318",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts",
"issues": [],
"line_number": 319,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 321,
"nesting_level": 0
},
{
"column": 9,
"kind": "Catch",
"line": 323,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.023899750004807704,
"calculated_length": 31.019550008653873,
"difficulty": 3.5,
"effort": 250.9473750504809,
"length": 20.0,
"n1": 6.0,
"n2": 6.0,
"n_1": 13.0,
"n_2": 7.0,
"time": 13.941520836137828,
"vocabulary": 12.0,
"volume": 71.69925001442311
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 10.0
},
"recommendations": [],
"severity": "Low",
"start_line": 319
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts:anonymous_function_329:329",
"entity_name": "anonymous_function_329",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts",
"issues": [],
"line_number": 330,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 0.0,
"difficulty": 0.5,
"effort": 1.0,
"length": 2.0,
"n1": 1.0,
"n2": 1.0,
"n_1": 1.0,
"n_2": 1.0,
"time": 0.05555555555555555,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 330
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts:anonymous_function_336:336",
"entity_name": "anonymous_function_336",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-audio-recorder.web.ts",
"issues": [],
"line_number": 337,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 337
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-diff-query.ts:checkoutDiffQueryKey:9",
"entity_name": "checkoutDiffQueryKey",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-diff-query.ts",
"issues": [],
"line_number": 10,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.022844129532345624,
"calculated_length": 42.80863530717374,
"difficulty": 2.0454545454545454,
"effort": 140.17988576666633,
"length": 18.0,
"n1": 3.0,
"n2": 11.0,
"n_1": 3.0,
"n_2": 15.0,
"time": 7.787771431481463,
"vocabulary": 14.0,
"volume": 68.53238859703687
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 4.0,
"statement_count": 1.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 10
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-diff-query.ts:useCheckoutDiffQuery:31",
"entity_name": "useCheckoutDiffQuery",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-diff-query.ts",
"issues": [],
"line_number": 32,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 5,
"kind": "LogicalOr",
"line": 47,
"nesting_level": 0
},
{
"column": 18,
"kind": "ConditionalExpression",
"line": 51,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 56,
"nesting_level": 0
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 61,
"nesting_level": 0
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 61,
"nesting_level": 0
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 61,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 68,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 68,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 68,
"nesting_level": 1
},
{
"column": 14,
"kind": "LogicalOr",
"line": 88,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.44769644457757946,
"calculated_length": 497.5375690126529,
"difficulty": 12.930555555555557,
"effort": 17366.891245905274,
"length": 209.0,
"n1": 14.0,
"n2": 72.0,
"n_1": 76.0,
"n_2": 133.0,
"time": 964.8272914391819,
"vocabulary": 86.0,
"volume": 1343.0893337327384
},
"lines_of_code": 60.0,
"maintainability_index": 64.68743398775729,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 21.0,
"technical_debt_score": 43.60000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 32
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-diff-query.ts:anonymous_function_40:40",
"entity_name": "anonymous_function_40",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-diff-query.ts",
"issues": [],
"line_number": 41,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 53.99999999999999,
"length": 10.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 2.9999999999999996,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 41
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-diff-query.ts:anonymous_function_43:43",
"entity_name": "anonymous_function_43",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-diff-query.ts",
"issues": [],
"line_number": 44,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 66.56842503028855,
"length": 12.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 3.6982458350160305,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 44
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-diff-query.ts:anonymous_function_47:47",
"entity_name": "anonymous_function_47",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-diff-query.ts",
"issues": [],
"line_number": 48,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 48
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-diff-query.ts:anonymous_function_48:48",
"entity_name": "anonymous_function_48",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-diff-query.ts",
"issues": [],
"line_number": 49,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 8.0,
"length": 6.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 12.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 49
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-diff-query.ts:anonymous_function_49:49",
"entity_name": "anonymous_function_49",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-diff-query.ts",
"issues": [],
"line_number": 50,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 50
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-diff-query.ts:anonymous_function_54:54",
"entity_name": "anonymous_function_54",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-diff-query.ts",
"issues": [],
"line_number": 55,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 56,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02266666666666667,
"calculated_length": 48.18080946738404,
"difficulty": 5.142857142857142,
"effort": 349.71428571428567,
"length": 17.0,
"n1": 9.0,
"n2": 7.0,
"n_1": 9.0,
"n_2": 8.0,
"time": 19.428571428571427,
"vocabulary": 16.0,
"volume": 68.0
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 55
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-diff-query.ts:anonymous_function_66:66",
"entity_name": "anonymous_function_66",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-diff-query.ts",
"issues": [],
"line_number": 67,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 68,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 68,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 68,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03398342010754868,
"calculated_length": 62.05374780501027,
"difficulty": 4.363636363636363,
"effort": 444.8738632260918,
"length": 24.0,
"n1": 8.0,
"n2": 11.0,
"n_1": 12.0,
"n_2": 12.0,
"time": 24.71521462367177,
"vocabulary": 19.0,
"volume": 101.95026032264605
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 13.400000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 67
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-diff-query.ts:anonymous_function_75:75",
"entity_name": "anonymous_function_75",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-diff-query.ts",
"issues": [],
"line_number": 76,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.5,
"effort": 17.414460711655217,
"length": 5.0,
"n1": 3.0,
"n2": 2.0,
"n_1": 3.0,
"n_2": 2.0,
"time": 0.9674700395364009,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 76
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-pr-status-query.ts:checkoutPrStatusQueryKey:6",
"entity_name": "checkoutPrStatusQueryKey",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-pr-status-query.ts",
"issues": [],
"line_number": 7,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.5,
"effort": 31.019550008653873,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 6.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 7
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-pr-status-query.ts:useCheckoutPrStatusQuery:18",
"entity_name": "useCheckoutPrStatusQuery",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-pr-status-query.ts",
"issues": [],
"line_number": 19,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 34,
"nesting_level": 0
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 39,
"nesting_level": 0
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 39,
"nesting_level": 0
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 39,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2138423636370261,
"calculated_length": 262.6791821979953,
"difficulty": 10.24390243902439,
"effort": 6571.7409312842165,
"length": 112.0,
"n1": 12.0,
"n2": 41.0,
"n_1": 42.0,
"n_2": 70.0,
"time": 365.0967184046787,
"vocabulary": 53.0,
"volume": 641.5270909110783
},
"lines_of_code": 34.0,
"maintainability_index": 79.11093214979792,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 20.0
},
"recommendations": [],
"severity": "Low",
"start_line": 19
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-pr-status-query.ts:anonymous_function_24:24",
"entity_name": "anonymous_function_24",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-pr-status-query.ts",
"issues": [],
"line_number": 25,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 53.99999999999999,
"length": 10.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 2.9999999999999996,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 25
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-pr-status-query.ts:anonymous_function_27:27",
"entity_name": "anonymous_function_27",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-pr-status-query.ts",
"issues": [],
"line_number": 28,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 66.56842503028855,
"length": 12.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 3.6982458350160305,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 28
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-pr-status-query.ts:anonymous_function_32:32",
"entity_name": "anonymous_function_32",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-pr-status-query.ts",
"issues": [],
"line_number": 33,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 34,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01903677461028802,
"calculated_length": 40.13896548741762,
"difficulty": 5.3999999999999995,
"effort": 308.3957486866659,
"length": 15.0,
"n1": 9.0,
"n2": 5.0,
"n_1": 9.0,
"n_2": 6.0,
"time": 17.133097149259218,
"vocabulary": 14.0,
"volume": 57.11032383086406
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 33
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.test.ts:anonymous_function_3:3",
"entity_name": "anonymous_function_3",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.test.ts",
"issues": [],
"line_number": 4,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.2526773211154335,
"calculated_length": 158.3349731241566,
"difficulty": 4.596774193548387,
"effort": 3484.5017669950907,
"length": 149.0,
"n1": 3.0,
"n2": 31.0,
"n_1": 54.0,
"n_2": 95.0,
"time": 193.58343149972725,
"vocabulary": 34.0,
"volume": 758.0319633463005
},
"lines_of_code": 70.0,
"maintainability_index": 67.46460420446729,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 16.0,
"technical_debt_score": 15.999999999999998
},
"recommendations": [],
"severity": "Low",
"start_line": 4
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.test.ts:anonymous_function_4:4",
"entity_name": "anonymous_function_4",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.test.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.09067510957895837,
"calculated_length": 85.46551025759159,
"difficulty": 3.1578947368421053,
"effort": 859.0273539059214,
"length": 61.0,
"n1": 3.0,
"n2": 19.0,
"n_1": 21.0,
"n_2": 40.0,
"time": 47.7237418836623,
"vocabulary": 22.0,
"volume": 272.0253287368751
},
"lines_of_code": 33.0,
"maintainability_index": 84.97592255619607,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 8.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.test.ts:anonymous_function_5:5",
"entity_name": "anonymous_function_5",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.test.ts",
"issues": [],
"line_number": 6,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.020305892917640556,
"calculated_length": 42.80863530717374,
"difficulty": 1.5,
"effort": 91.3765181293825,
"length": 16.0,
"n1": 3.0,
"n2": 11.0,
"n_1": 5.0,
"n_2": 11.0,
"time": 5.076473229410139,
"vocabulary": 14.0,
"volume": 60.91767875292167
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 6
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.test.ts:anonymous_function_16:16",
"entity_name": "anonymous_function_16",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.test.ts",
"issues": [],
"line_number": 17,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.020305892917640556,
"calculated_length": 42.80863530717374,
"difficulty": 1.5,
"effort": 91.3765181293825,
"length": 16.0,
"n1": 3.0,
"n2": 11.0,
"n_1": 5.0,
"n_2": 11.0,
"time": 5.076473229410139,
"vocabulary": 14.0,
"volume": 60.91767875292167
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 17
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.test.ts:anonymous_function_27:27",
"entity_name": "anonymous_function_27",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.test.ts",
"issues": [],
"line_number": 28,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02213904670844827,
"calculated_length": 47.77443751081734,
"difficulty": 1.5,
"effort": 99.62571018801722,
"length": 17.0,
"n1": 3.0,
"n2": 12.0,
"n_1": 5.0,
"n_2": 12.0,
"time": 5.534761677112068,
"vocabulary": 15.0,
"volume": 66.41714012534482
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 28
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.test.ts:anonymous_function_39:39",
"entity_name": "anonymous_function_39",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.test.ts",
"issues": [],
"line_number": 40,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10899900910000904,
"calculated_length": 58.057856410969926,
"difficulty": 5.464285714285714,
"effort": 1786.805184889434,
"length": 80.0,
"n1": 3.0,
"n2": 14.0,
"n_1": 29.0,
"n_2": 51.0,
"time": 99.26695471607967,
"vocabulary": 17.0,
"volume": 326.9970273000271
},
"lines_of_code": 33.0,
"maintainability_index": 84.01883188808533,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 8.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 40
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.test.ts:anonymous_function_40:40",
"entity_name": "anonymous_function_40",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.test.ts",
"issues": [],
"line_number": 41,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.07154183455072778,
"calculated_length": 37.974168451037094,
"difficulty": 5.699999999999999,
"effort": 1223.365370817445,
"length": 58.0,
"n1": 3.0,
"n2": 10.0,
"n_1": 20.0,
"n_2": 38.0,
"time": 67.96474282319139,
"vocabulary": 13.0,
"volume": 214.62550365218334
},
"lines_of_code": 22.0,
"maintainability_index": 92.77685999303907,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 41
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.test.ts:anonymous_function_64:64",
"entity_name": "anonymous_function_64",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.test.ts",
"issues": [],
"line_number": 65,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01614401422030739,
"calculated_length": 28.75488750216347,
"difficulty": 1.6875,
"effort": 81.72907199030615,
"length": 14.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 5.0,
"n_2": 9.0,
"time": 4.540503999461453,
"vocabulary": 11.0,
"volume": 48.432042660922164
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 65
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.ts:checkoutStatusQueryKey:13",
"entity_name": "checkoutStatusQueryKey",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.ts",
"issues": [],
"line_number": 14,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.5,
"effort": 31.019550008653873,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 6.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 14
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.ts:fetchCheckoutStatus:24",
"entity_name": "fetchCheckoutStatus",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.ts",
"issues": [],
"line_number": 25,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01584962500721156,
"calculated_length": 20.264662506490403,
"difficulty": 3.0,
"effort": 142.64662506490407,
"length": 15.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 3.0,
"n_2": 12.0,
"time": 7.924812503605782,
"vocabulary": 9.0,
"volume": 47.548875021634686
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 25
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.ts:useCheckoutStatusQuery:31",
"entity_name": "useCheckoutStatusQuery",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.ts",
"issues": [],
"line_number": 32,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 5,
"kind": "LogicalOr",
"line": 40,
"nesting_level": 0
},
{
"column": 18,
"kind": "ConditionalExpression",
"line": 44,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 49,
"nesting_level": 0
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 54,
"nesting_level": 0
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 54,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 70,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.4198492973072037,
"calculated_length": 497.5375690126529,
"difficulty": 12.25,
"effort": 15429.461676039737,
"length": 196.0,
"n1": 14.0,
"n2": 72.0,
"n_1": 70.0,
"n_2": 126.0,
"time": 857.1923153355409,
"vocabulary": 86.0,
"volume": 1259.5478919216112
},
"lines_of_code": 50.0,
"maintainability_index": 68.89498509003765,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 20.0,
"technical_debt_score": 28.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 32
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.ts:anonymous_function_33:33",
"entity_name": "anonymous_function_33",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.ts",
"issues": [],
"line_number": 34,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 53.99999999999999,
"length": 10.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 2.9999999999999996,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.ts:anonymous_function_36:36",
"entity_name": "anonymous_function_36",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.ts",
"issues": [],
"line_number": 37,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 66.56842503028855,
"length": 12.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 3.6982458350160305,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 37
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.ts:anonymous_function_40:40",
"entity_name": "anonymous_function_40",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.ts",
"issues": [],
"line_number": 41,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 41
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.ts:anonymous_function_41:41",
"entity_name": "anonymous_function_41",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.ts",
"issues": [],
"line_number": 42,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 8.0,
"length": 6.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 12.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 42
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.ts:anonymous_function_42:42",
"entity_name": "anonymous_function_42",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.ts",
"issues": [],
"line_number": 43,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 43
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.ts:anonymous_function_47:47",
"entity_name": "anonymous_function_47",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.ts",
"issues": [],
"line_number": 48,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 49,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01726871868465843,
"calculated_length": 35.60964047443681,
"difficulty": 4.8,
"effort": 248.6695490590814,
"length": 14.0,
"n1": 8.0,
"n2": 5.0,
"n_1": 8.0,
"n_2": 6.0,
"time": 13.814974947726745,
"vocabulary": 13.0,
"volume": 51.80615605397529
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 48
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.ts:anonymous_function_62:62",
"entity_name": "anonymous_function_62",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.ts",
"issues": [],
"line_number": 63,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 11.60964047443681,
"difficulty": 0.5,
"effort": 7.754887502163468,
"length": 6.0,
"n1": 1.0,
"n2": 5.0,
"n_1": 1.0,
"n_2": 5.0,
"time": 0.430827083453526,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 63
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.ts:anonymous_function_66:66",
"entity_name": "anonymous_function_66",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.ts",
"issues": [],
"line_number": 67,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 70,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.038149653185003164,
"calculated_length": 52.529325012980806,
"difficulty": 5.777777777777778,
"effort": 661.2606552067215,
"length": 28.0,
"n1": 8.0,
"n2": 9.0,
"n_1": 15.0,
"n_2": 13.0,
"time": 36.73670306704008,
"vocabulary": 17.0,
"volume": 114.4489595550095
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 67
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.ts:useCheckoutStatusCacheOnly:88",
"entity_name": "useCheckoutStatusCacheOnly",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.ts",
"issues": [],
"line_number": 89,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 97,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07461612167167163,
"calculated_length": 142.09567279432156,
"difficulty": 6.695652173913044,
"effort": 1498.8107918396652,
"length": 44.0,
"n1": 11.0,
"n2": 23.0,
"n_1": 16.0,
"n_2": 28.0,
"time": 83.26726621331473,
"vocabulary": 34.0,
"volume": 223.8483650150149
},
"lines_of_code": 16.0,
"maintainability_index": 97.48702451992388,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 8.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 89
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.ts:anonymous_function_90:90",
"entity_name": "anonymous_function_90",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.ts",
"issues": [],
"line_number": 91,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 53.99999999999999,
"length": 10.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 2.9999999999999996,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 91
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.ts:anonymous_function_95:95",
"entity_name": "anonymous_function_95",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-checkout-status-query.ts",
"issues": [],
"line_number": 96,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 97,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01726871868465843,
"calculated_length": 35.60964047443681,
"difficulty": 4.8,
"effort": 248.6695490590814,
"length": 14.0,
"n1": 8.0,
"n2": 5.0,
"n_1": 8.0,
"n_2": 6.0,
"time": 13.814974947726745,
"vocabulary": 13.0,
"volume": 51.80615605397529
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 96
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-client-activity.ts:useClientActivity:17",
"entity_name": "useClientActivity",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-client-activity.ts",
"issues": [],
"line_number": 18,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 22,
"kind": "ConditionalExpression",
"line": 24,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 31,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 56,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 66,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 79,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 88,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 96,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 103,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.6353395064305798,
"calculated_length": 419.58818518914865,
"difficulty": 16.0,
"effort": 30496.296308667832,
"length": 306.0,
"n1": 12.0,
"n2": 63.0,
"n_1": 138.0,
"n_2": 168.0,
"time": 1694.2386838148796,
"vocabulary": 75.0,
"volume": 1906.0185192917395
},
"lines_of_code": 94.0,
"maintainability_index": 56.054211164732536,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 50.0,
"technical_debt_score": 43.2
},
"recommendations": [],
"severity": "Low",
"start_line": 18
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-client-activity.ts:anonymous_function_25:25",
"entity_name": "anonymous_function_25",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-client-activity.ts",
"issues": [],
"line_number": 26,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.00655049481813441,
"calculated_length": 12.754887502163468,
"difficulty": 2.0,
"effort": 39.302968908806456,
"length": 7.0,
"n1": 4.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 3.0,
"time": 2.1834982727114696,
"vocabulary": 7.0,
"volume": 19.651484454403228
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 26
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-client-activity.ts:anonymous_function_29:29",
"entity_name": "anonymous_function_29",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-client-activity.ts",
"issues": [],
"line_number": 30,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 31,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08823326760571977,
"calculated_length": 92.5293250129808,
"difficulty": 8.71875,
"effort": 2307.8514058121077,
"length": 57.0,
"n1": 9.0,
"n2": 16.0,
"n_1": 26.0,
"n_2": 31.0,
"time": 128.21396698956153,
"vocabulary": 25.0,
"volume": 264.6998028171593
},
"lines_of_code": 18.0,
"maintainability_index": 94.70727642770511,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 8.4
},
"recommendations": [],
"severity": "Low",
"start_line": 30
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-client-activity.ts:anonymous_function_50:50",
"entity_name": "anonymous_function_50",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-client-activity.ts",
"issues": [],
"line_number": 51,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 56,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06634557535550285,
"calculated_length": 82.60335893412778,
"difficulty": 6.133333333333334,
"effort": 1220.7585865412527,
"length": 44.0,
"n1": 8.0,
"n2": 15.0,
"n_1": 21.0,
"n_2": 23.0,
"time": 67.81992147451405,
"vocabulary": 23.0,
"volume": 199.03672606650858
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 51
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-client-activity.ts:anonymous_function_52:52",
"entity_name": "anonymous_function_52",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-client-activity.ts",
"issues": [],
"line_number": 53,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 56,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03125512476486815,
"calculated_length": 43.65148445440323,
"difficulty": 5.25,
"effort": 492.26821504667333,
"length": 24.0,
"n1": 7.0,
"n2": 8.0,
"n_1": 12.0,
"n_2": 12.0,
"time": 27.34823416925963,
"vocabulary": 15.0,
"volume": 93.76537429460444
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 53
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-client-activity.ts:anonymous_function_60:60",
"entity_name": "anonymous_function_60",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-client-activity.ts",
"issues": [],
"line_number": 61,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 8.0,
"length": 4.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 2.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 61
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-client-activity.ts:anonymous_function_64:64",
"entity_name": "anonymous_function_64",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-client-activity.ts",
"issues": [],
"line_number": 65,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 66,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03516201536047667,
"calculated_length": 43.65148445440323,
"difficulty": 6.125,
"effort": 646.1020322487587,
"length": 27.0,
"n1": 7.0,
"n2": 8.0,
"n_1": 13.0,
"n_2": 14.0,
"time": 35.89455734715327,
"vocabulary": 15.0,
"volume": 105.48604608143
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 65
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-client-activity.ts:anonymous_function_73:73",
"entity_name": "anonymous_function_73",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-client-activity.ts",
"issues": [],
"line_number": 74,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 79,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 88,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 96,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 103,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.17669966840379853,
"calculated_length": 126.63682062300134,
"difficulty": 10.431818181818183,
"effort": 5529.896440727968,
"length": 107.0,
"n1": 9.0,
"n2": 22.0,
"n_1": 56.0,
"n_2": 51.0,
"time": 307.21646892933154,
"vocabulary": 31.0,
"volume": 530.0990052113956
},
"lines_of_code": 37.0,
"maintainability_index": 78.73319809995402,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 22.0,
"technical_debt_score": 20.6
},
"recommendations": [],
"severity": "Low",
"start_line": 74
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-client-activity.ts:anonymous_function_76:76",
"entity_name": "anonymous_function_76",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-client-activity.ts",
"issues": [],
"line_number": 77,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 79,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03776660909088234,
"calculated_length": 44.039100017307746,
"difficulty": 4.666666666666667,
"effort": 528.7325272723529,
"length": 29.0,
"n1": 6.0,
"n2": 9.0,
"n_1": 15.0,
"n_2": 14.0,
"time": 29.374029292908492,
"vocabulary": 15.0,
"volume": 113.29982727264704
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 77
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-client-activity.ts:anonymous_function_85:85",
"entity_name": "anonymous_function_85",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-client-activity.ts",
"issues": [],
"line_number": 86,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 88,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.028370037839081708,
"calculated_length": 35.161259458730164,
"difficulty": 4.714285714285714,
"effort": 401.23339229558417,
"length": 23.0,
"n1": 6.0,
"n2": 7.0,
"n_1": 12.0,
"n_2": 11.0,
"time": 22.290744016421343,
"vocabulary": 13.0,
"volume": 85.11011351724513
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 86
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-client-activity.ts:anonymous_function_93:93",
"entity_name": "anonymous_function_93",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-client-activity.ts",
"issues": [],
"line_number": 94,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 96,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03125512476486815,
"calculated_length": 43.65148445440323,
"difficulty": 4.8125,
"effort": 451.2458637927839,
"length": 24.0,
"n1": 7.0,
"n2": 8.0,
"n_1": 13.0,
"n_2": 11.0,
"time": 25.06921465515466,
"vocabulary": 15.0,
"volume": 93.76537429460444
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 94
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-client-activity.ts:anonymous_function_106:106",
"entity_name": "anonymous_function_106",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-client-activity.ts",
"issues": [],
"line_number": 107,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 12.0,
"length": 6.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 0.6666666666666666,
"vocabulary": 4.0,
"volume": 12.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 107
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-color-scheme.web.ts:useColorScheme:6",
"entity_name": "useColorScheme",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-color-scheme.web.ts",
"issues": [],
"line_number": 7,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 16,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02995282789966531,
"calculated_length": 44.82892142331043,
"difficulty": 3.25,
"effort": 292.04007202173676,
"length": 23.0,
"n1": 5.0,
"n2": 10.0,
"n_1": 10.0,
"n_2": 13.0,
"time": 16.224448445652044,
"vocabulary": 15.0,
"volume": 89.85848369899593
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 7.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 7
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-color-scheme.web.ts:anonymous_function_9:9",
"entity_name": "anonymous_function_9",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-color-scheme.web.ts",
"issues": [],
"line_number": 10,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 8.0,
"length": 4.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 2.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 10
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-daemon-client.ts:runDaemonRequest:5",
"entity_name": "runDaemonRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-daemon-client.ts",
"issues": [],
"line_number": 6,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.021509775004326936,
"calculated_length": 32.0,
"difficulty": 2.75,
"effort": 177.45564378569722,
"length": 18.0,
"n1": 4.0,
"n2": 8.0,
"n_1": 7.0,
"n_2": 11.0,
"time": 9.85864687698318,
"vocabulary": 12.0,
"volume": 64.5293250129808
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 6
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-daemon-client.ts:anonymous_function_6:6",
"entity_name": "anonymous_function_6",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-daemon-client.ts",
"issues": [],
"line_number": 7,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 7
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-daemon-client.ts:useDaemonClient:11",
"entity_name": "useDaemonClient",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-daemon-client.ts",
"issues": [],
"line_number": 12,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 13,
"kind": "ConditionalExpression",
"line": 19,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 37,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.12310279240667919,
"calculated_length": 150.7407576846492,
"difficulty": 6.75,
"effort": 2492.831546235254,
"length": 72.0,
"n1": 9.0,
"n2": 26.0,
"n_1": 33.0,
"n_2": 39.0,
"time": 138.4906414575141,
"vocabulary": 35.0,
"volume": 369.3083772200376
},
"lines_of_code": 37.0,
"maintainability_index": 81.07264338577187,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 15.0,
"technical_debt_score": 15.0
},
"recommendations": [],
"severity": "Low",
"start_line": 12
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-daemon-client.ts:anonymous_function_13:13",
"entity_name": "anonymous_function_13",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-daemon-client.ts",
"issues": [],
"line_number": 14,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 13,
"kind": "ConditionalExpression",
"line": 19,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.016729825003365395,
"calculated_length": 31.26112492884004,
"difficulty": 3.2142857142857144,
"effort": 161.32331253245204,
"length": 14.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 5.0,
"n_2": 9.0,
"time": 8.962406251802891,
"vocabulary": 12.0,
"volume": 50.18947501009619
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 14
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-daemon-client.ts:anonymous_function_26:26",
"entity_name": "anonymous_function_26",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-daemon-client.ts",
"issues": [],
"line_number": 27,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.018824259204361718,
"calculated_length": 23.509775004326936,
"difficulty": 2.6666666666666665,
"effort": 150.59407363489373,
"length": 17.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 9.0,
"n_2": 8.0,
"time": 8.366337424160763,
"vocabulary": 10.0,
"volume": 56.47277761308516
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 27
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-daemon-client.ts:anonymous_function_29:29",
"entity_name": "anonymous_function_29",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-daemon-client.ts",
"issues": [],
"line_number": 30,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.5,
"effort": 33.68825906469125,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 1.871569948038403,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 30
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-daemon-client.ts:anonymous_function_34:34",
"entity_name": "anonymous_function_34",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-daemon-client.ts",
"issues": [],
"line_number": 35,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 37,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.032,
"calculated_length": 48.18080946738404,
"difficulty": 4.277777777777779,
"effort": 410.66666666666674,
"length": 24.0,
"n1": 7.0,
"n2": 9.0,
"n_1": 13.0,
"n_2": 11.0,
"time": 22.81481481481482,
"vocabulary": 16.0,
"volume": 96.0
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 35
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-daemon-client.ts:anonymous_function_35:35",
"entity_name": "anonymous_function_35",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-daemon-client.ts",
"issues": [],
"line_number": 36,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 37,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01383772647454919,
"calculated_length": 27.651484454403228,
"difficulty": 4.375,
"effort": 181.62015997845813,
"length": 12.0,
"n1": 7.0,
"n2": 4.0,
"n_1": 7.0,
"n_2": 5.0,
"time": 10.090008887692118,
"vocabulary": 11.0,
"volume": 41.51317942364757
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 36
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-daemon-client.ts:anonymous_function_42:42",
"entity_name": "anonymous_function_42",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-daemon-client.ts",
"issues": [],
"line_number": 43,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.5,
"effort": 17.414460711655217,
"length": 5.0,
"n1": 3.0,
"n2": 2.0,
"n_1": 3.0,
"n_2": 2.0,
"time": 0.9674700395364009,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 43
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.native.ts:useDictationAudioSource:6",
"entity_name": "useDictationAudioSource",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.native.ts",
"issues": [],
"line_number": 7,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1732275148159847,
"calculated_length": 195.03468059740075,
"difficulty": 5.314285714285714,
"effort": 2761.741521923413,
"length": 97.0,
"n1": 6.0,
"n2": 35.0,
"n_1": 35.0,
"n_2": 62.0,
"time": 153.43008455130072,
"vocabulary": 41.0,
"volume": 519.6825444479541
},
"lines_of_code": 36.0,
"maintainability_index": 80.20025890175309,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 13.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 7
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.native.ts:anonymous_function_10:10",
"entity_name": "anonymous_function_10",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.native.ts",
"issues": [],
"line_number": 11,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.016906266674359,
"calculated_length": 20.264662506490403,
"difficulty": 2.0,
"effort": 101.43760004615399,
"length": 16.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 8.0,
"n_2": 8.0,
"time": 5.635422224786333,
"vocabulary": 9.0,
"volume": 50.718800023076994
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 11
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.native.ts:anonymous_function_17:17",
"entity_name": "anonymous_function_17",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.native.ts",
"issues": [],
"line_number": 18,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.00655049481813441,
"calculated_length": 12.754887502163468,
"difficulty": 1.5,
"effort": 29.47722668160484,
"length": 7.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 4.0,
"time": 1.6376237045336022,
"vocabulary": 7.0,
"volume": 19.651484454403228
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 18
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.native.ts:anonymous_function_20:20",
"entity_name": "anonymous_function_20",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.native.ts",
"issues": [],
"line_number": 21,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 9.509775004326936,
"difficulty": 2.0,
"effort": 36.18947501009619,
"length": 7.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 4.0,
"time": 2.0105263894497885,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 21
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.native.ts:anonymous_function_29:29",
"entity_name": "anonymous_function_29",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.native.ts",
"issues": [],
"line_number": 30,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 30
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.native.ts:anonymous_function_33:33",
"entity_name": "anonymous_function_33",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.native.ts",
"issues": [],
"line_number": 34,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:anonymous_function_4:4",
"entity_name": "anonymous_function_4",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 6,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 10,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04297579655169371,
"calculated_length": 43.65148445440323,
"difficulty": 8.3125,
"effort": 1071.7089265078619,
"length": 33.0,
"n1": 7.0,
"n2": 8.0,
"n_1": 14.0,
"n_2": 19.0,
"time": 59.53938480599233,
"vocabulary": 15.0,
"volume": 128.92738965508113
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:anonymous_function_14:14",
"entity_name": "anonymous_function_14",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts",
"issues": [],
"line_number": 15,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 10,
"kind": "ConditionalExpression",
"line": 17,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.044,
"calculated_length": 48.72905595320056,
"difficulty": 5.699999999999999,
"effort": 752.3999999999999,
"length": 33.0,
"n1": 6.0,
"n2": 10.0,
"n_1": 14.0,
"n_2": 19.0,
"time": 41.79999999999999,
"vocabulary": 16.0,
"volume": 132.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 15
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:anonymous_function_19:19",
"entity_name": "anonymous_function_19",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts",
"issues": [],
"line_number": 20,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 21,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 24,
"nesting_level": 0
},
{
"column": 5,
"kind": "For",
"line": 26,
"nesting_level": 1
},
{
"column": 3,
"kind": "For",
"line": 35,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.22747670006346174,
"calculated_length": 153.0586500259616,
"difficulty": 19.75,
"effort": 13477.994478760109,
"length": 132.0,
"n1": 12.0,
"n2": 24.0,
"n_1": 53.0,
"n_2": 79.0,
"time": 748.7774710422283,
"vocabulary": 36.0,
"volume": 682.4301001903852
},
"lines_of_code": 24.0,
"maintainability_index": 84.43209540490795,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 20.0,
"technical_debt_score": 18.8
},
"recommendations": [],
"severity": "Low",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:anonymous_function_45:45",
"entity_name": "anonymous_function_45",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts",
"issues": [],
"line_number": 46,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 47,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 50,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.068,
"calculated_length": 48.0,
"difficulty": 14.5,
"effort": 2958.0,
"length": 51.0,
"n1": 8.0,
"n2": 8.0,
"n_1": 22.0,
"n_2": 29.0,
"time": 164.33333333333334,
"vocabulary": 16.0,
"volume": 204.0
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 8.0,
"technical_debt_score": 9.8
},
"recommendations": [],
"severity": "Low",
"start_line": 46
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:anonymous_function_58:58",
"entity_name": "anonymous_function_58",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts",
"issues": [],
"line_number": 59,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "For",
"line": 62,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.061918082530329654,
"calculated_length": 91.82263988300141,
"difficulty": 8.333333333333334,
"effort": 1547.9520632582414,
"length": 40.0,
"n1": 10.0,
"n2": 15.0,
"n_1": 15.0,
"n_2": 25.0,
"time": 85.99733684768007,
"vocabulary": 25.0,
"volume": 185.75424759098897
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 59
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:useDictationAudioSource:75",
"entity_name": "useDictationAudioSource",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts",
"issues": [
{
"description": "Cyclomatic complexity of 62.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:useDictationAudioSource:75",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:76",
"metric_value": 62.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 105.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:useDictationAudioSource:75",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:76",
"metric_value": 105.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 76,
"metrics": {
"cognitive_complexity": 105.0,
"cyclomatic_complexity": 62.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 117,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 117,
"nesting_level": 1
},
{
"column": 5,
"kind": "While",
"line": 129,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 134,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 141,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 141,
"nesting_level": 0
},
{
"column": 7,
"kind": "ConditionalExpression",
"line": 146,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 146,
"nesting_level": 0
},
{
"column": 7,
"kind": "ConditionalExpression",
"line": 150,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 150,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 152,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 155,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 160,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 177,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 190,
"nesting_level": 1
},
{
"column": 9,
"kind": "For",
"line": 196,
"nesting_level": 1
},
{
"column": 9,
"kind": "While",
"line": 207,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 229,
"nesting_level": 1
},
{
"column": 26,
"kind": "ConditionalExpression",
"line": 234,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 235,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 251,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 259,
"nesting_level": 0
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 260,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 262,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 272,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 274,
"nesting_level": 1
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 275,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 299,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 300,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 302,
"nesting_level": 2
},
{
"column": 7,
"kind": "Try",
"line": 305,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 307,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 311,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 312,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 314,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 318,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 319,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 321,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 325,
"nesting_level": 0
},
{
"column": 9,
"kind": "Try",
"line": 327,
"nesting_level": 1
},
{
"column": 11,
"kind": "Catch",
"line": 329,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 335,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 335,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 336,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 337,
"nesting_level": 2
},
{
"column": 9,
"kind": "Catch",
"line": 340,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 345,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 345,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 345,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 346,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 349,
"nesting_level": 2
},
{
"column": 9,
"kind": "Catch",
"line": 355,
"nesting_level": 2
},
{
"column": 30,
"kind": "ConditionalExpression",
"line": 356,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 360,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 361,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 363,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 368,
"nesting_level": 0
},
{
"column": 30,
"kind": "ConditionalExpression",
"line": 394,
"nesting_level": 0
},
{
"column": 9,
"kind": "Try",
"line": 402,
"nesting_level": 0
},
{
"column": 11,
"kind": "Catch",
"line": 404,
"nesting_level": 1
},
{
"column": 30,
"kind": "ConditionalExpression",
"line": 405,
"nesting_level": 1
}
],
"halstead": {
"bugs": 2.6725614941200706,
"calculated_length": 1467.6117362843338,
"difficulty": 35.40163934426229,
"effort": 283839.17442060454,
"length": 1045.0,
"n1": 21.0,
"n2": 183.0,
"n_1": 428.0,
"n_2": 617.0,
"time": 15768.843023366919,
"vocabulary": 204.0,
"volume": 8017.684482360212
},
"lines_of_code": 339.0,
"maintainability_index": 15.613892565867445,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 141.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 76
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:anonymous_function_81:81",
"entity_name": "anonymous_function_81",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts",
"issues": [],
"line_number": 82,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.016906266674359,
"calculated_length": 20.264662506490403,
"difficulty": 2.0,
"effort": 101.43760004615399,
"length": 16.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 8.0,
"n_2": 8.0,
"time": 5.635422224786333,
"vocabulary": 9.0,
"volume": 50.718800023076994
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 82
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:anonymous_function_114:114",
"entity_name": "anonymous_function_114",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts",
"issues": [],
"line_number": 115,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 117,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 117,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07030275834439105,
"calculated_length": 86.15946414084446,
"difficulty": 11.846153846153845,
"effort": 2498.4518734698972,
"length": 46.0,
"n1": 11.0,
"n2": 13.0,
"n_1": 18.0,
"n_2": 28.0,
"time": 138.80288185943874,
"vocabulary": 24.0,
"volume": 210.90827503317317
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 10.0
},
"recommendations": [],
"severity": "Low",
"start_line": 115
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:anonymous_function_119:119",
"entity_name": "anonymous_function_119",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts",
"issues": [],
"line_number": 120,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.36452797660028,
"difficulty": 2.0999999999999996,
"effort": 62.999999999999986,
"length": 10.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 3.0,
"n_2": 7.0,
"time": 3.499999999999999,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 120
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:anonymous_function_124:124",
"entity_name": "anonymous_function_124",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts",
"issues": [],
"line_number": 125,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "While",
"line": 129,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 134,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07759760780242476,
"calculated_length": 72.10571633583419,
"difficulty": 9.538461538461538,
"effort": 2220.485392500155,
"length": 53.0,
"n1": 8.0,
"n2": 13.0,
"n_1": 22.0,
"n_2": 31.0,
"time": 123.36029958334194,
"vocabulary": 21.0,
"volume": 232.7928234072743
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 10.0
},
"recommendations": [],
"severity": "Low",
"start_line": 125
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:anonymous_function_138:138",
"entity_name": "anonymous_function_138",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts",
"issues": [
{
"description": "Cyclomatic complexity of 24.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:anonymous_function_138:138",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:139",
"metric_value": 24.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 31.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:anonymous_function_138:138",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:139",
"metric_value": 31.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 139,
"metrics": {
"cognitive_complexity": 31.0,
"cyclomatic_complexity": 24.0,
"decision_points": [
{
"column": 7,
"kind": "LogicalOr",
"line": 141,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 141,
"nesting_level": 0
},
{
"column": 7,
"kind": "ConditionalExpression",
"line": 146,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 146,
"nesting_level": 0
},
{
"column": 7,
"kind": "ConditionalExpression",
"line": 150,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 150,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 152,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 155,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 160,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 177,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 190,
"nesting_level": 1
},
{
"column": 9,
"kind": "For",
"line": 196,
"nesting_level": 1
},
{
"column": 9,
"kind": "While",
"line": 207,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 229,
"nesting_level": 1
},
{
"column": 26,
"kind": "ConditionalExpression",
"line": 234,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 235,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 251,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 259,
"nesting_level": 0
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 260,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 262,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 272,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 274,
"nesting_level": 1
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 275,
"nesting_level": 1
}
],
"halstead": {
"bugs": 1.2470416362189893,
"calculated_length": 921.0655373513762,
"difficulty": 26.5125,
"effort": 99186.57414076786,
"length": 524.0,
"n1": 21.0,
"n2": 120.0,
"n_1": 221.0,
"n_2": 303.0,
"time": 5510.365230042658,
"vocabulary": 141.0,
"volume": 3741.124908656968
},
"lines_of_code": 151.0,
"maintainability_index": 41.41893020451931,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 68.0,
"technical_debt_score": 84.80000000000001
},
"recommendations": [],
"severity": "High",
"start_line": 139
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:anonymous_function_188:188",
"entity_name": "anonymous_function_188",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts",
"issues": [],
"line_number": 189,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 190,
"nesting_level": 1
},
{
"column": 9,
"kind": "For",
"line": 196,
"nesting_level": 1
},
{
"column": 9,
"kind": "While",
"line": 207,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.26291720564607485,
"calculated_length": 219.76797484763543,
"difficulty": 17.181818181818183,
"effort": 13552.186872847677,
"length": 142.0,
"n1": 14.0,
"n2": 33.0,
"n_1": 61.0,
"n_2": 81.0,
"time": 752.8992707137598,
"vocabulary": 47.0,
"volume": 788.7516169382245
},
"lines_of_code": 23.0,
"maintainability_index": 84.59864608990574,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 17.0,
"technical_debt_score": 17.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 189
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:anonymous_function_248:248",
"entity_name": "anonymous_function_248",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts",
"issues": [],
"line_number": 249,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 251,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.022202638308846556,
"calculated_length": 35.60964047443681,
"difficulty": 3.4375,
"effort": 228.9647075599801,
"length": 18.0,
"n1": 5.0,
"n2": 8.0,
"n_1": 7.0,
"n_2": 11.0,
"time": 12.720261531110005,
"vocabulary": 13.0,
"volume": 66.60791492653966
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 249
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:anonymous_function_254:254",
"entity_name": "anonymous_function_254",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts",
"issues": [],
"line_number": 255,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 9.509775004326936,
"difficulty": 2.0,
"effort": 36.18947501009619,
"length": 7.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 4.0,
"time": 2.0105263894497885,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 255
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:anonymous_function_257:257",
"entity_name": "anonymous_function_257",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts",
"issues": [],
"line_number": 258,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 259,
"nesting_level": 0
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 260,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 262,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05618506523353571,
"calculated_length": 67.01955000865388,
"difficulty": 7.333333333333333,
"effort": 1236.0714351377856,
"length": 39.0,
"n1": 8.0,
"n2": 12.0,
"n_1": 17.0,
"n_2": 22.0,
"time": 68.67063528543252,
"vocabulary": 20.0,
"volume": 168.55519570060713
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 13.400000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 258
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:anonymous_function_266:266",
"entity_name": "anonymous_function_266",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts",
"issues": [],
"line_number": 267,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014,
"calculated_length": 16.36452797660028,
"difficulty": 2.4000000000000004,
"effort": 100.80000000000001,
"length": 14.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 5.6000000000000005,
"vocabulary": 8.0,
"volume": 42.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 267
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:anonymous_function_291:291",
"entity_name": "anonymous_function_291",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts",
"issues": [
{
"description": "Cyclomatic complexity of 31.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:anonymous_function_291:291",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:292",
"metric_value": 31.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 63.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:anonymous_function_291:291",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:292",
"metric_value": 63.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 292,
"metrics": {
"cognitive_complexity": 63.0,
"cyclomatic_complexity": 31.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 299,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 300,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 302,
"nesting_level": 2
},
{
"column": 7,
"kind": "Try",
"line": 305,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 307,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 311,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 312,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 314,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 318,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 319,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 321,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 325,
"nesting_level": 0
},
{
"column": 9,
"kind": "Try",
"line": 327,
"nesting_level": 1
},
{
"column": 11,
"kind": "Catch",
"line": 329,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 335,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 335,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 336,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 337,
"nesting_level": 2
},
{
"column": 9,
"kind": "Catch",
"line": 340,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 345,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 345,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 345,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 346,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 349,
"nesting_level": 2
},
{
"column": 9,
"kind": "Catch",
"line": 355,
"nesting_level": 2
},
{
"column": 30,
"kind": "ConditionalExpression",
"line": 356,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 360,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 361,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 363,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 368,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.4979986791059911,
"calculated_length": 449.4475257693246,
"difficulty": 11.104477611940299,
"effort": 16590.045548724956,
"length": 237.0,
"n1": 12.0,
"n2": 67.0,
"n_1": 113.0,
"n_2": 124.0,
"time": 921.6691971513865,
"vocabulary": 79.0,
"volume": 1493.9960373179733
},
"lines_of_code": 97.0,
"maintainability_index": 51.75179163912868,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 38.0,
"technical_debt_score": 99.4
},
"recommendations": [],
"severity": "Critical",
"start_line": 292
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:anonymous_function_325:325",
"entity_name": "anonymous_function_325",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts",
"issues": [],
"line_number": 326,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "Try",
"line": 327,
"nesting_level": 1
},
{
"column": 11,
"kind": "Catch",
"line": 329,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 13.60964047443681,
"difficulty": 3.75,
"effort": 84.22064766172812,
"length": 8.0,
"n1": 5.0,
"n2": 2.0,
"n_1": 5.0,
"n_2": 3.0,
"time": 4.678924870096007,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 11.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 326
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:anonymous_function_390:390",
"entity_name": "anonymous_function_390",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts",
"issues": [],
"line_number": 391,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 30,
"kind": "ConditionalExpression",
"line": 394,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03125512476486815,
"calculated_length": 43.65148445440323,
"difficulty": 6.285714285714286,
"effort": 589.3823527089422,
"length": 24.0,
"n1": 8.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 11.0,
"time": 32.74346403938568,
"vocabulary": 15.0,
"volume": 93.76537429460444
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 391
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:anonymous_function_391:391",
"entity_name": "anonymous_function_391",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts",
"issues": [],
"line_number": 392,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 30,
"kind": "ConditionalExpression",
"line": 394,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.029189721069108297,
"calculated_length": 39.302968908806456,
"difficulty": 5.5,
"effort": 481.6303976402869,
"length": 23.0,
"n1": 7.0,
"n2": 7.0,
"n_1": 12.0,
"n_2": 11.0,
"time": 26.757244313349272,
"vocabulary": 14.0,
"volume": 87.56916320732489
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 392
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:anonymous_function_392:392",
"entity_name": "anonymous_function_392",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts",
"issues": [],
"line_number": 393,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 30,
"kind": "ConditionalExpression",
"line": 394,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.018450301966065584,
"calculated_length": 27.11941547876375,
"difficulty": 5.4,
"effort": 298.8948918502625,
"length": 16.0,
"n1": 6.0,
"n2": 5.0,
"n_1": 7.0,
"n_2": 9.0,
"time": 16.60527176945903,
"vocabulary": 11.0,
"volume": 55.35090589819676
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 393
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:anonymous_function_399:399",
"entity_name": "anonymous_function_399",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts",
"issues": [],
"line_number": 400,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "Try",
"line": 402,
"nesting_level": 0
},
{
"column": 11,
"kind": "Catch",
"line": 404,
"nesting_level": 1
},
{
"column": 30,
"kind": "ConditionalExpression",
"line": 405,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04392317422778761,
"calculated_length": 71.27302875388389,
"difficulty": 8.8,
"effort": 1159.571799613593,
"length": 30.0,
"n1": 11.0,
"n2": 10.0,
"n_1": 14.0,
"n_2": 16.0,
"time": 64.4206555340885,
"vocabulary": 21.0,
"volume": 131.76952268336282
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 14.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 400
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts:anonymous_function_400:400",
"entity_name": "anonymous_function_400",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation-audio-source.web.ts",
"issues": [],
"line_number": 401,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "Try",
"line": 402,
"nesting_level": 0
},
{
"column": 11,
"kind": "Catch",
"line": 404,
"nesting_level": 1
},
{
"column": 30,
"kind": "ConditionalExpression",
"line": 405,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03542467795750294,
"calculated_length": 52.87076540327685,
"difficulty": 9.285714285714286,
"effort": 986.8303145304392,
"length": 26.0,
"n1": 10.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 13.0,
"time": 54.82390636280218,
"vocabulary": 17.0,
"volume": 106.27403387250882
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 13.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 401
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.shared.ts:anonymous_function_33:33",
"entity_name": "anonymous_function_33",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.shared.ts",
"issues": [],
"line_number": 34,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 35,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 38,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 38,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.042666666666666665,
"calculated_length": 48.0,
"difficulty": 7.5,
"effort": 960.0,
"length": 32.0,
"n1": 8.0,
"n2": 8.0,
"n_1": 17.0,
"n_2": 15.0,
"time": 53.333333333333336,
"vocabulary": 16.0,
"volume": 128.0
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 12.8
},
"recommendations": [],
"severity": "Low",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:useDictation:15",
"entity_name": "useDictation",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [
{
"description": "Cyclomatic complexity of 58.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:useDictation:15",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:16",
"metric_value": 58.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 84.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:useDictation:15",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:16",
"metric_value": 84.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 16,
"metrics": {
"cognitive_complexity": 84.0,
"cyclomatic_complexity": 58.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 77,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 89,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 96,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 99,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 108,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 117,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 120,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 152,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 156,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 159,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 167,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 171,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 175,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 178,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 211,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 228,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 241,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 241,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 241,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 244,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 244,
"nesting_level": 1
},
{
"column": 26,
"kind": "ConditionalExpression",
"line": 247,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 248,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 260,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 262,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 267,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 270,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 293,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 296,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 296,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 304,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 305,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 307,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 311,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 325,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 328,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 328,
"nesting_level": 1
},
{
"column": 28,
"kind": "ConditionalExpression",
"line": 331,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 332,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 344,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 353,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 361,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 362,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 362,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 380,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 388,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 389,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 396,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 397,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 397,
"nesting_level": 2
},
{
"column": 5,
"kind": "ConditionalExpression",
"line": 433,
"nesting_level": 0
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 436,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 440,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 440,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 443,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 448,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 454,
"nesting_level": 2
}
],
"halstead": {
"bugs": 3.494300390782321,
"calculated_length": 1393.5705876355926,
"difficulty": 38.971590909090914,
"effort": 408535.3360291354,
"length": 1378.0,
"n1": 19.0,
"n2": 176.0,
"n_1": 656.0,
"n_2": 722.0,
"time": 22696.40755717419,
"vocabulary": 195.0,
"volume": 10482.901172346963
},
"lines_of_code": 471.0,
"maintainability_index": 9.812294982200285,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 262.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 16
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_36:36",
"entity_name": "anonymous_function_36",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 37,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 37
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_41:41",
"entity_name": "anonymous_function_41",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 42,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 42
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_46:46",
"entity_name": "anonymous_function_46",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 47,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 47
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_51:51",
"entity_name": "anonymous_function_51",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 52,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 52
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_56:56",
"entity_name": "anonymous_function_56",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 57,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 57
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_61:61",
"entity_name": "anonymous_function_61",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 62,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 62
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_83:83",
"entity_name": "anonymous_function_83",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 84,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.5,
"effort": 33.68825906469125,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 1.871569948038403,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 84
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_87:87",
"entity_name": "anonymous_function_87",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 88,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 89,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.018824259204361718,
"calculated_length": 23.509775004326936,
"difficulty": 6.0,
"effort": 338.83666567851094,
"length": 17.0,
"n1": 6.0,
"n2": 4.0,
"n_1": 9.0,
"n_2": 8.0,
"time": 18.82425920436172,
"vocabulary": 10.0,
"volume": 56.47277761308516
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 88
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_94:94",
"entity_name": "anonymous_function_94",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 95,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 96,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 99,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03542467795750294,
"calculated_length": 52.529325012980806,
"difficulty": 6.1875,
"effort": 657.5705845861484,
"length": 26.0,
"n1": 9.0,
"n2": 8.0,
"n_1": 15.0,
"n_2": 11.0,
"time": 36.531699143674906,
"vocabulary": 17.0,
"volume": 106.27403387250882
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 9.6
},
"recommendations": [],
"severity": "Low",
"start_line": 95
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_101:101",
"entity_name": "anonymous_function_101",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 102,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 9.509775004326936,
"difficulty": 2.0,
"effort": 36.18947501009619,
"length": 7.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 4.0,
"time": 2.0105263894497885,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 102
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_102:102",
"entity_name": "anonymous_function_102",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 103,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 103
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_106:106",
"entity_name": "anonymous_function_106",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 107,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 108,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 19.60964047443681,
"difficulty": 2.5,
"effort": 87.1729375396636,
"length": 11.0,
"n1": 5.0,
"n2": 4.0,
"n_1": 7.0,
"n_2": 4.0,
"time": 4.842940974425755,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 107
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_114:114",
"entity_name": "anonymous_function_114",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 115,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 117,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 120,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06442065553408849,
"calculated_length": 72.10571633583419,
"difficulty": 7.076923076923077,
"effort": 1367.7000713391094,
"length": 44.0,
"n1": 8.0,
"n2": 13.0,
"n_1": 21.0,
"n_2": 23.0,
"time": 75.9833372966172,
"vocabulary": 21.0,
"volume": 193.26196660226546
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 8.0,
"technical_debt_score": 10.0
},
"recommendations": [],
"severity": "Low",
"start_line": 115
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_130:130",
"entity_name": "anonymous_function_130",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 131,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011,
"calculated_length": 16.36452797660028,
"difficulty": 1.5,
"effort": 49.5,
"length": 11.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 6.0,
"n_2": 5.0,
"time": 2.75,
"vocabulary": 8.0,
"volume": 33.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 131
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_136:136",
"entity_name": "anonymous_function_136",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 137,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.0,
"difficulty": 2.5,
"effort": 75.0,
"length": 10.0,
"n1": 4.0,
"n2": 4.0,
"n_1": 5.0,
"n_2": 5.0,
"time": 4.166666666666667,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 137
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_143:143",
"entity_name": "anonymous_function_143",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 144,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.019119800003846166,
"calculated_length": 31.26112492884004,
"difficulty": 3.2142857142857144,
"effort": 184.36950003708805,
"length": 16.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 7.0,
"n_2": 9.0,
"time": 10.242750002060447,
"vocabulary": 12.0,
"volume": 57.3594000115385
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 144
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_150:150",
"entity_name": "anonymous_function_150",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 151,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 152,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 156,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 159,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.042237116026253504,
"calculated_length": 52.529325012980806,
"difficulty": 4.888888888888889,
"effort": 619.4777017183848,
"length": 31.0,
"n1": 8.0,
"n2": 9.0,
"n_1": 20.0,
"n_2": 11.0,
"time": 34.4154278732436,
"vocabulary": 17.0,
"volume": 126.71134807876051
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 13.0
},
"recommendations": [],
"severity": "Low",
"start_line": 151
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_154:154",
"entity_name": "anonymous_function_154",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 155,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 156,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 159,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02734823416925963,
"calculated_length": 43.65148445440323,
"difficulty": 4.571428571428571,
"effort": 375.06149717841777,
"length": 21.0,
"n1": 8.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 8.0,
"time": 20.836749843245432,
"vocabulary": 15.0,
"volume": 82.0447025077789
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 155
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_165:165",
"entity_name": "anonymous_function_165",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 166,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 167,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 171,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 175,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 178,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.09870923408096294,
"calculated_length": 99.05865002596161,
"difficulty": 6.444444444444445,
"effort": 1908.3785255652836,
"length": 63.0,
"n1": 8.0,
"n2": 18.0,
"n_1": 34.0,
"n_2": 29.0,
"time": 106.0210291980713,
"vocabulary": 26.0,
"volume": 296.1277022428888
},
"lines_of_code": 19.0,
"maintainability_index": 92.55797644103386,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 13.0,
"technical_debt_score": 17.0
},
"recommendations": [],
"severity": "Low",
"start_line": 166
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_169:169",
"entity_name": "anonymous_function_169",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 170,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 171,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 175,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 178,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07947268334583336,
"calculated_length": 88.0,
"difficulty": 6.25,
"effort": 1490.1128127343757,
"length": 52.0,
"n1": 8.0,
"n2": 16.0,
"n_1": 27.0,
"n_2": 25.0,
"time": 82.78404515190977,
"vocabulary": 24.0,
"volume": 238.4180500375001
},
"lines_of_code": 14.0,
"maintainability_index": 98.86233790327071,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 13.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 170
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_187:187",
"entity_name": "anonymous_function_187",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 188,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008422064766172813,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 47.374114309722074,
"length": 9.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 5.0,
"time": 2.6318952394290043,
"vocabulary": 7.0,
"volume": 25.26619429851844
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 188
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_190:190",
"entity_name": "anonymous_function_190",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 191,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 9.509775004326936,
"difficulty": 2.0,
"effort": 36.18947501009619,
"length": 7.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 4.0,
"time": 2.0105263894497885,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 191
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_195:195",
"entity_name": "anonymous_function_195",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 196,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.5,
"effort": 33.68825906469125,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 1.871569948038403,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 196
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_200:200",
"entity_name": "anonymous_function_200",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 201,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 211,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06810989078336262,
"calculated_length": 93.48686830125577,
"difficulty": 5.176470588235294,
"effort": 1057.7065392239842,
"length": 44.0,
"n1": 8.0,
"n2": 17.0,
"n_1": 22.0,
"n_2": 22.0,
"time": 58.76147440133246,
"vocabulary": 25.0,
"volume": 204.32967235008786
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 10.0,
"technical_debt_score": 7.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 201
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_219:219",
"entity_name": "anonymous_function_219",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 220,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 228,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.09192782504182706,
"calculated_length": 106.09004635215048,
"difficulty": 5.425,
"effort": 1496.1253525557354,
"length": 58.0,
"n1": 7.0,
"n2": 20.0,
"n_1": 27.0,
"n_2": 31.0,
"time": 83.1180751419853,
"vocabulary": 27.0,
"volume": 275.7834751254812
},
"lines_of_code": 16.0,
"maintainability_index": 96.4020592531685,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 11.0,
"technical_debt_score": 8.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 220
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_239:239",
"entity_name": "anonymous_function_239",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 240,
"metrics": {
"cognitive_complexity": 17.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 241,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 241,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 241,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 244,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 244,
"nesting_level": 1
},
{
"column": 26,
"kind": "ConditionalExpression",
"line": 247,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 248,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 260,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 262,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 267,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 270,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.24946165836554496,
"calculated_length": 226.276705511318,
"difficulty": 12.352941176470587,
"effort": 9244.755574723136,
"length": 134.0,
"n1": 14.0,
"n2": 34.0,
"n_1": 74.0,
"n_2": 60.0,
"time": 513.5975319290632,
"vocabulary": 48.0,
"volume": 748.3849750966349
},
"lines_of_code": 38.0,
"maintainability_index": 74.89793311797428,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 27.0,
"technical_debt_score": 45.2
},
"recommendations": [],
"severity": "Moderate",
"start_line": 240
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_290:290",
"entity_name": "anonymous_function_290",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 291,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 293,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 296,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 296,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 304,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 305,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 307,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 311,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.18367746297052545,
"calculated_length": 164.20212108020232,
"difficulty": 11.700000000000001,
"effort": 6447.078950265444,
"length": 105.0,
"n1": 13.0,
"n2": 25.0,
"n_1": 60.0,
"n_2": 45.0,
"time": 358.1710527925247,
"vocabulary": 38.0,
"volume": 551.0323889115764
},
"lines_of_code": 31.0,
"maintainability_index": 80.70808062204986,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 21.0,
"technical_debt_score": 31.8
},
"recommendations": [],
"severity": "Low",
"start_line": 291
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_323:323",
"entity_name": "anonymous_function_323",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 324,
"metrics": {
"cognitive_complexity": 16.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 325,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 328,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 328,
"nesting_level": 1
},
{
"column": 28,
"kind": "ConditionalExpression",
"line": 331,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 332,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 344,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 353,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 361,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 362,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 362,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.30063854312448923,
"calculated_length": 246.05274343707762,
"difficulty": 13.81081081081081,
"effort": 12456.186124590324,
"length": 159.0,
"n1": 14.0,
"n2": 37.0,
"n_1": 86.0,
"n_2": 73.0,
"time": 692.010340255018,
"vocabulary": 51.0,
"volume": 901.9156293734677
},
"lines_of_code": 45.0,
"maintainability_index": 71.41855857800043,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 30.0,
"technical_debt_score": 43.800000000000004
},
"recommendations": [],
"severity": "Moderate",
"start_line": 324
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_378:378",
"entity_name": "anonymous_function_378",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 379,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 380,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 388,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 389,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 396,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 397,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 397,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.14446766064890146,
"calculated_length": 169.39937365317456,
"difficulty": 10.36,
"effort": 4490.054892967857,
"length": 82.0,
"n1": 14.0,
"n2": 25.0,
"n_1": 45.0,
"n_2": 37.0,
"time": 249.44749405376984,
"vocabulary": 39.0,
"volume": 433.4029819467044
},
"lines_of_code": 23.0,
"maintainability_index": 87.02232026088294,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 16.0,
"technical_debt_score": 27.399999999999995
},
"recommendations": [],
"severity": "Low",
"start_line": 379
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_403:403",
"entity_name": "anonymous_function_403",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 404,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03255742163007099,
"calculated_length": 46.05374780501027,
"difficulty": 2.1818181818181817,
"effort": 213.1031233968283,
"length": 25.0,
"n1": 4.0,
"n2": 11.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 11.839062410934906,
"vocabulary": 15.0,
"volume": 97.67226489021297
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 404
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_412:412",
"entity_name": "anonymous_function_412",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 413,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05281905001826929,
"calculated_length": 61.302968908806456,
"difficulty": 2.5714285714285716,
"effort": 407.4612429980774,
"length": 38.0,
"n1": 4.0,
"n2": 14.0,
"n_1": 20.0,
"n_2": 18.0,
"time": 22.63673572211541,
"vocabulary": 18.0,
"volume": 158.45715005480787
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 413
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_425:425",
"entity_name": "anonymous_function_425",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 426,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009,
"calculated_length": 16.36452797660028,
"difficulty": 2.5,
"effort": 67.5,
"length": 9.0,
"n1": 5.0,
"n2": 3.0,
"n_1": 6.0,
"n_2": 3.0,
"time": 3.75,
"vocabulary": 8.0,
"volume": 27.0
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 426
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_426:426",
"entity_name": "anonymous_function_426",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 427,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.754887502163468,
"difficulty": 1.5,
"effort": 12.0,
"length": 4.0,
"n1": 3.0,
"n2": 1.0,
"n_1": 3.0,
"n_2": 1.0,
"time": 0.6666666666666666,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 427
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_434:434",
"entity_name": "anonymous_function_434",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 435,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 25,
"kind": "ConditionalExpression",
"line": 436,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 440,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 440,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 443,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 448,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 454,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.16496602324491674,
"calculated_length": 160.26518047667867,
"difficulty": 9.307692307692308,
"effort": 4606.3589567619065,
"length": 95.0,
"n1": 11.0,
"n2": 26.0,
"n_1": 51.0,
"n_2": 44.0,
"time": 255.90883093121704,
"vocabulary": 37.0,
"volume": 494.89806973475027
},
"lines_of_code": 27.0,
"maintainability_index": 83.73481329821988,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 18.0,
"technical_debt_score": 28.199999999999996
},
"recommendations": [],
"severity": "Low",
"start_line": 435
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_463:463",
"entity_name": "anonymous_function_463",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 464,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02306287745758198,
"calculated_length": 27.11941547876375,
"difficulty": 2.916666666666667,
"effort": 201.80017775384235,
"length": 20.0,
"n1": 5.0,
"n2": 6.0,
"n_1": 13.0,
"n_2": 7.0,
"time": 11.211120986324575,
"vocabulary": 11.0,
"volume": 69.18863237274594
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 464
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_464:464",
"entity_name": "anonymous_function_464",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 465,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.021038877934286628,
"calculated_length": 23.509775004326936,
"difficulty": 2.3333333333333335,
"effort": 147.2721455400064,
"length": 19.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 12.0,
"n_2": 7.0,
"time": 8.181785863333689,
"vocabulary": 10.0,
"volume": 63.11663380285988
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 465
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts:anonymous_function_467:467",
"entity_name": "anonymous_function_467",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-dictation.ts",
"issues": [],
"line_number": 468,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 468
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-favicon-status.ts:deriveFaviconStatus:22",
"entity_name": "deriveFaviconStatus",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-favicon-status.ts",
"issues": [],
"line_number": 23,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 27,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 31,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05797261104228486,
"calculated_length": 79.50977500432694,
"difficulty": 4.6875,
"effort": 815.2398427821308,
"length": 39.0,
"n1": 6.0,
"n2": 16.0,
"n_1": 14.0,
"n_2": 25.0,
"time": 45.29110237678505,
"vocabulary": 22.0,
"volume": 173.9178331268546
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 10.0
},
"recommendations": [],
"severity": "Low",
"start_line": 23
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-favicon-status.ts:anonymous_function_25:25",
"entity_name": "anonymous_function_25",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-favicon-status.ts",
"issues": [],
"line_number": 26,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 26
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-favicon-status.ts:anonymous_function_29:29",
"entity_name": "anonymous_function_29",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-favicon-status.ts",
"issues": [],
"line_number": 30,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 30
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-favicon-status.ts:getFaviconUri:36",
"entity_name": "getFaviconUri",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-favicon-status.ts",
"issues": [],
"line_number": 37,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 39,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 39,
"nesting_level": 1
},
{
"column": 18,
"kind": "ConditionalExpression",
"line": 42,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05124370326575221,
"calculated_length": 72.10571633583419,
"difficulty": 6.769230769230769,
"effort": 1040.6413586275833,
"length": 35.0,
"n1": 8.0,
"n2": 13.0,
"n_1": 13.0,
"n_2": 22.0,
"time": 57.813408812643516,
"vocabulary": 21.0,
"volume": 153.73110979725664
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 12.600000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 37
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-favicon-status.ts:getOrCreateFaviconLink:45",
"entity_name": "getOrCreateFaviconLink",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-favicon-status.ts",
"issues": [],
"line_number": 46,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 47,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 50,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08304110168715928,
"calculated_length": 98.01619331423657,
"difficulty": 7.411764705882352,
"effort": 1846.443319867424,
"length": 53.0,
"n1": 9.0,
"n2": 17.0,
"n_1": 25.0,
"n_2": 28.0,
"time": 102.58018443707911,
"vocabulary": 26.0,
"volume": 249.12330506147785
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 9.8
},
"recommendations": [],
"severity": "Low",
"start_line": 46
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-favicon-status.ts:updateFavicon:58",
"entity_name": "updateFavicon",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-favicon-status.ts",
"issues": [],
"line_number": 59,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 61,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 64,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04389525097225038,
"calculated_length": 61.74860596185444,
"difficulty": 8.1,
"effort": 1066.6545986256842,
"length": 31.0,
"n1": 9.0,
"n2": 10.0,
"n_1": 13.0,
"n_2": 18.0,
"time": 59.258588812538015,
"vocabulary": 19.0,
"volume": 131.68575291675114
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 6.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 59
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-favicon-status.ts:getSystemColorScheme:68",
"entity_name": "getSystemColorScheme",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-favicon-status.ts",
"issues": [],
"line_number": 69,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 70,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 70,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 70,
"nesting_level": 1
},
{
"column": 10,
"kind": "ConditionalExpression",
"line": 73,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04977959745815929,
"calculated_length": 72.10571633583419,
"difficulty": 5.230769230769231,
"effort": 781.1567601126534,
"length": 34.0,
"n1": 8.0,
"n2": 13.0,
"n_1": 17.0,
"n_2": 17.0,
"time": 43.3975977840363,
"vocabulary": 21.0,
"volume": 149.33879237447786
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 15.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 69
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-favicon-status.ts:useFaviconStatus:75",
"entity_name": "useFaviconStatus",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-favicon-status.ts",
"issues": [],
"line_number": 76,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 82,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 82,
"nesting_level": 1
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 86,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 95,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.14094405916965996,
"calculated_length": 175.7360428812364,
"difficulty": 6.9,
"effort": 2917.5420248119613,
"length": 80.0,
"n1": 9.0,
"n2": 30.0,
"n_1": 34.0,
"n_2": 46.0,
"time": 162.08566804510895,
"vocabulary": 39.0,
"volume": 422.8321775089799
},
"lines_of_code": 24.0,
"maintainability_index": 86.92125609276837,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 15.0,
"technical_debt_score": 18.8
},
"recommendations": [],
"severity": "Low",
"start_line": 76
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-favicon-status.ts:anonymous_function_80:80",
"entity_name": "anonymous_function_80",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-favicon-status.ts",
"issues": [],
"line_number": 81,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 82,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 82,
"nesting_level": 1
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 86,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07132331253245203,
"calculated_length": 103.58797503894242,
"difficulty": 6.25,
"effort": 1337.3121099834755,
"length": 45.0,
"n1": 9.0,
"n2": 18.0,
"n_1": 20.0,
"n_2": 25.0,
"time": 74.2951172213042,
"vocabulary": 27.0,
"volume": 213.96993759735608
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 13.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 81
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-favicon-status.ts:anonymous_function_84:84",
"entity_name": "anonymous_function_84",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-favicon-status.ts",
"issues": [],
"line_number": 85,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 22,
"kind": "ConditionalExpression",
"line": 86,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.012180403014586996,
"calculated_length": 23.509775004326936,
"difficulty": 2.3333333333333335,
"effort": 85.26282110210897,
"length": 11.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 4.0,
"n_2": 7.0,
"time": 4.736823394561609,
"vocabulary": 10.0,
"volume": 36.541209043760986
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 85
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-favicon-status.ts:anonymous_function_89:89",
"entity_name": "anonymous_function_89",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-favicon-status.ts",
"issues": [],
"line_number": 90,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 15.509775004326936,
"length": 6.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.861654166907052,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 90
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-favicon-status.ts:anonymous_function_93:93",
"entity_name": "anonymous_function_93",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-favicon-status.ts",
"issues": [],
"line_number": 94,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 95,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02213904670844827,
"calculated_length": 43.65148445440323,
"difficulty": 3.9375,
"effort": 261.5174892435452,
"length": 17.0,
"n1": 7.0,
"n2": 8.0,
"n_1": 8.0,
"n_2": 9.0,
"time": 14.528749402419177,
"vocabulary": 15.0,
"volume": 66.41714012534482
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 94
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-file-drop-zone.ts:isImageFile:16",
"entity_name": "isImageFile",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-file-drop-zone.ts",
"issues": [],
"line_number": 17,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 61.021056277764515,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 4.0,
"n_2": 7.0,
"time": 3.3900586820980285,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 17
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-file-drop-zone.ts:fileToImageAttachment:20",
"entity_name": "fileToImageAttachment",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-file-drop-zone.ts",
"issues": [],
"line_number": 21,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 25,
"nesting_level": 0
},
{
"column": 21,
"kind": "LogicalOr",
"line": 28,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.1042508118000747,
"calculated_length": 136.1612434150308,
"difficulty": 8.5,
"effort": 2658.395700901905,
"length": 62.0,
"n1": 11.0,
"n2": 22.0,
"n_1": 28.0,
"n_2": 34.0,
"time": 147.68865005010582,
"vocabulary": 33.0,
"volume": 312.7524354002241
},
"lines_of_code": 16.0,
"maintainability_index": 95.51792063060309,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 11.6
},
"recommendations": [],
"severity": "Low",
"start_line": 21
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-file-drop-zone.ts:anonymous_function_21:21",
"entity_name": "anonymous_function_21",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-file-drop-zone.ts",
"issues": [],
"line_number": 22,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 25,
"nesting_level": 0
},
{
"column": 21,
"kind": "LogicalOr",
"line": 28,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08558797503894243,
"calculated_length": 102.70614925012939,
"difficulty": 8.235294117647058,
"effort": 2114.5264421385773,
"length": 54.0,
"n1": 10.0,
"n2": 17.0,
"n_1": 26.0,
"n_2": 28.0,
"time": 117.47369122992096,
"vocabulary": 27.0,
"volume": 256.7639251168273
},
"lines_of_code": 14.0,
"maintainability_index": 98.70685442639294,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 7.0,
"technical_debt_score": 11.2
},
"recommendations": [],
"severity": "Low",
"start_line": 22
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-file-drop-zone.ts:anonymous_function_23:23",
"entity_name": "anonymous_function_23",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-file-drop-zone.ts",
"issues": [],
"line_number": 24,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 25,
"nesting_level": 0
},
{
"column": 21,
"kind": "LogicalOr",
"line": 28,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04099496261260177,
"calculated_length": 71.54887502163469,
"difficulty": 5.25,
"effort": 645.6706611484778,
"length": 28.0,
"n1": 9.0,
"n2": 12.0,
"n_1": 14.0,
"n_2": 14.0,
"time": 35.87059228602655,
"vocabulary": 21.0,
"volume": 122.9848878378053
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 10.2
},
"recommendations": [],
"severity": "Low",
"start_line": 24
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-file-drop-zone.ts:anonymous_function_33:33",
"entity_name": "anonymous_function_33",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-file-drop-zone.ts",
"issues": [],
"line_number": 34,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-file-drop-zone.ts:useFileDropZone:38",
"entity_name": "useFileDropZone",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-file-drop-zone.ts",
"issues": [],
"line_number": 39,
"metrics": {
"cognitive_complexity": 14.0,
"cyclomatic_complexity": 14.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 55,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 63,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 66,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 72,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 75,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 84,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 86,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 95,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 98,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 110,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 115,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 117,
"nesting_level": 0
},
{
"column": 9,
"kind": "Catch",
"line": 122,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.6496568713853714,
"calculated_length": 429.87160408930123,
"difficulty": 18.0,
"effort": 35081.471054810056,
"length": 311.0,
"n1": 14.0,
"n2": 63.0,
"n_1": 149.0,
"n_2": 162.0,
"time": 1948.9706141561142,
"vocabulary": 77.0,
"volume": 1948.9706141561142
},
"lines_of_code": 105.0,
"maintainability_index": 52.995547893056624,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 64.0,
"technical_debt_score": 59.20000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 39
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-file-drop-zone.ts:anonymous_function_48:48",
"entity_name": "anonymous_function_48",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-file-drop-zone.ts",
"issues": [],
"line_number": 49,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 49
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-file-drop-zone.ts:anonymous_function_53:53",
"entity_name": "anonymous_function_53",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-file-drop-zone.ts",
"issues": [],
"line_number": 54,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 55,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01553483750312501,
"calculated_length": 31.019550008653873,
"difficulty": 3.0,
"effort": 139.8135375281251,
"length": 13.0,
"n1": 6.0,
"n2": 6.0,
"n_1": 7.0,
"n_2": 6.0,
"time": 7.767418751562506,
"vocabulary": 12.0,
"volume": 46.60451250937503
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 54
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-file-drop-zone.ts:anonymous_function_61:61",
"entity_name": "anonymous_function_61",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-file-drop-zone.ts",
"issues": [],
"line_number": 62,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 13.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 63,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 66,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 72,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 75,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 84,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 86,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 95,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 98,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 110,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 115,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 117,
"nesting_level": 0
},
{
"column": 9,
"kind": "Catch",
"line": 122,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.49422811146357387,
"calculated_length": 316.1839163704497,
"difficulty": 16.65625,
"effort": 24695.960944695456,
"length": 250.0,
"n1": 13.0,
"n2": 48.0,
"n_1": 127.0,
"n_2": 123.0,
"time": 1371.9978302608588,
"vocabulary": 61.0,
"volume": 1482.6843343907217
},
"lines_of_code": 76.0,
"maintainability_index": 59.88375067782647,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 52.0,
"technical_debt_score": 51.6
},
"recommendations": [],
"severity": "Moderate",
"start_line": 62
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-file-drop-zone.ts:handleDragEnter:67",
"entity_name": "handleDragEnter",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-file-drop-zone.ts",
"issues": [],
"line_number": 68,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 72,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 75,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05417191488093805,
"calculated_length": 72.95445336320968,
"difficulty": 4.25,
"effort": 690.6919147319602,
"length": 37.0,
"n1": 7.0,
"n2": 14.0,
"n_1": 20.0,
"n_2": 17.0,
"time": 38.37177304066446,
"vocabulary": 21.0,
"volume": 162.51574464281416
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 9.6
},
"recommendations": [],
"severity": "Low",
"start_line": 68
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-file-drop-zone.ts:handleDragOver:79",
"entity_name": "handleDragOver",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-file-drop-zone.ts",
"issues": [],
"line_number": 80,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 84,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 86,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04,
"calculated_length": 48.18080946738404,
"difficulty": 5.444444444444445,
"effort": 653.3333333333334,
"length": 30.0,
"n1": 7.0,
"n2": 9.0,
"n_1": 16.0,
"n_2": 14.0,
"time": 36.2962962962963,
"vocabulary": 16.0,
"volume": 120.0
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 80
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-file-drop-zone.ts:handleDragLeave:90",
"entity_name": "handleDragLeave",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-file-drop-zone.ts",
"issues": [],
"line_number": 91,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 95,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 98,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04672720264787944,
"calculated_length": 62.05374780501027,
"difficulty": 5.454545454545454,
"effort": 764.6269524198453,
"length": 33.0,
"n1": 8.0,
"n2": 11.0,
"n_1": 18.0,
"n_2": 15.0,
"time": 42.47927513443585,
"vocabulary": 19.0,
"volume": 140.1816079436383
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 9.6
},
"recommendations": [],
"severity": "Low",
"start_line": 91
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-file-drop-zone.ts:handleDrop:102",
"entity_name": "handleDrop",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-file-drop-zone.ts",
"issues": [],
"line_number": 103,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 110,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 115,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 117,
"nesting_level": 0
},
{
"column": 9,
"kind": "Catch",
"line": 122,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.1410822027882762,
"calculated_length": 185.26046567326583,
"difficulty": 7.333333333333333,
"effort": 3103.8084613420765,
"length": 79.0,
"n1": 11.0,
"n2": 30.0,
"n_1": 39.0,
"n_2": 40.0,
"time": 172.43380340789315,
"vocabulary": 41.0,
"volume": 423.2466083648286
},
"lines_of_code": 22.0,
"maintainability_index": 88.32574621572641,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 14.0,
"technical_debt_score": 18.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 103
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-file-drop-zone.ts:anonymous_function_131:131",
"entity_name": "anonymous_function_131",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-file-drop-zone.ts",
"issues": [],
"line_number": 132,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03453743736931686,
"calculated_length": 37.974168451037094,
"difficulty": 2.4000000000000004,
"effort": 248.66954905908145,
"length": 28.0,
"n1": 3.0,
"n2": 10.0,
"n_1": 12.0,
"n_2": 16.0,
"time": 13.814974947726746,
"vocabulary": 13.0,
"volume": 103.61231210795059
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 132
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-form-preferences.ts:loadFormPreferences:26",
"entity_name": "loadFormPreferences",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-form-preferences.ts",
"issues": [],
"line_number": 27,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 29,
"nesting_level": 0
},
{
"column": 10,
"kind": "ConditionalExpression",
"line": 31,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05277488948733182,
"calculated_length": 82.60335893412778,
"difficulty": 5.333333333333333,
"effort": 844.3982317973091,
"length": 35.0,
"n1": 8.0,
"n2": 15.0,
"n_1": 15.0,
"n_2": 20.0,
"time": 46.91101287762828,
"vocabulary": 23.0,
"volume": 158.32466846199546
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 8.6
},
"recommendations": [],
"severity": "Low",
"start_line": 27
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-form-preferences.ts:useFormPreferences:44",
"entity_name": "useFormPreferences",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-form-preferences.ts",
"issues": [],
"line_number": 45,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.25841993388906287,
"calculated_length": 266.7848737892386,
"difficulty": 7.622222222222222,
"effort": 5909.202488263237,
"length": 136.0,
"n1": 7.0,
"n2": 45.0,
"n_1": 38.0,
"n_2": 98.0,
"time": 328.2890271257354,
"vocabulary": 52.0,
"volume": 775.2598016671885
},
"lines_of_code": 58.0,
"maintainability_index": 70.39419258324773,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 16.0,
"technical_debt_score": 13.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 45
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-form-preferences.ts:anonymous_function_56:56",
"entity_name": "anonymous_function_56",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-form-preferences.ts",
"issues": [],
"line_number": 57,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.010566416671474373,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 55.473687525240464,
"length": 10.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 3.0,
"n_2": 7.0,
"time": 3.0818715291800256,
"vocabulary": 9.0,
"volume": 31.69925001442312
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 57
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-form-preferences.ts:anonymous_function_63:63",
"entity_name": "anonymous_function_63",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-form-preferences.ts",
"issues": [],
"line_number": 64,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05042249444035256,
"calculated_length": 70.2129994085646,
"difficulty": 3.8333333333333335,
"effort": 579.8586860640545,
"length": 35.0,
"n1": 5.0,
"n2": 15.0,
"n_1": 12.0,
"n_2": 23.0,
"time": 32.21437144800303,
"vocabulary": 20.0,
"volume": 151.26748332105768
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 64
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-form-preferences.ts:anonymous_function_75:75",
"entity_name": "anonymous_function_75",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-form-preferences.ts",
"issues": [],
"line_number": 76,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.07677384872963783,
"calculated_length": 101.94833690207419,
"difficulty": 5.1,
"effort": 1174.6398855634586,
"length": 49.0,
"n1": 6.0,
"n2": 20.0,
"n_1": 15.0,
"n_2": 34.0,
"time": 65.25777142019214,
"vocabulary": 26.0,
"volume": 230.3215461889135
},
"lines_of_code": 16.0,
"maintainability_index": 97.56878563030646,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 76
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-git-diff-query.ts:gitDiffQueryKey:8",
"entity_name": "gitDiffQueryKey",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-git-diff-query.ts",
"issues": [],
"line_number": 9,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.5,
"effort": 31.019550008653873,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 6.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 9
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-git-diff-query.ts:useGitDiffQuery:17",
"entity_name": "useGitDiffQuery",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-git-diff-query.ts",
"issues": [],
"line_number": 18,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 5,
"kind": "LogicalOr",
"line": 27,
"nesting_level": 0
},
{
"column": 18,
"kind": "ConditionalExpression",
"line": 31,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 36,
"nesting_level": 0
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 42,
"nesting_level": 0
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 42,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 49,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 49,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 49,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.375516023238721,
"calculated_length": 402.5191520723453,
"difficulty": 12.241666666666667,
"effort": 13790.82595344203,
"length": 182.0,
"n1": 13.0,
"n2": 60.0,
"n_1": 69.0,
"n_2": 113.0,
"time": 766.1569974134461,
"vocabulary": 73.0,
"volume": 1126.5480697161631
},
"lines_of_code": 52.0,
"maintainability_index": 68.37990191932622,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 20.0,
"technical_debt_score": 36.4
},
"recommendations": [],
"severity": "Low",
"start_line": 18
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-git-diff-query.ts:anonymous_function_20:20",
"entity_name": "anonymous_function_20",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-git-diff-query.ts",
"issues": [],
"line_number": 21,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 53.99999999999999,
"length": 10.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 2.9999999999999996,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 21
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-git-diff-query.ts:anonymous_function_23:23",
"entity_name": "anonymous_function_23",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-git-diff-query.ts",
"issues": [],
"line_number": 24,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 66.56842503028855,
"length": 12.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 3.6982458350160305,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 24
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-git-diff-query.ts:anonymous_function_27:27",
"entity_name": "anonymous_function_27",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-git-diff-query.ts",
"issues": [],
"line_number": 28,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 28
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-git-diff-query.ts:anonymous_function_28:28",
"entity_name": "anonymous_function_28",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-git-diff-query.ts",
"issues": [],
"line_number": 29,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 8.0,
"length": 6.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 12.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 29
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-git-diff-query.ts:anonymous_function_29:29",
"entity_name": "anonymous_function_29",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-git-diff-query.ts",
"issues": [],
"line_number": 30,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 30
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-git-diff-query.ts:anonymous_function_34:34",
"entity_name": "anonymous_function_34",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-git-diff-query.ts",
"issues": [],
"line_number": 35,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 36,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.025333333333333333,
"calculated_length": 48.18080946738404,
"difficulty": 5.7857142857142865,
"effort": 439.7142857142858,
"length": 19.0,
"n1": 9.0,
"n2": 7.0,
"n_1": 10.0,
"n_2": 9.0,
"time": 24.42857142857143,
"vocabulary": 16.0,
"volume": 76.0
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 35
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-git-diff-query.ts:anonymous_function_47:47",
"entity_name": "anonymous_function_47",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-git-diff-query.ts",
"issues": [],
"line_number": 48,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 49,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 49,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 49,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029974727502502484,
"calculated_length": 52.529325012980806,
"difficulty": 4.444444444444445,
"effort": 399.66303336669984,
"length": 22.0,
"n1": 8.0,
"n2": 9.0,
"n_1": 12.0,
"n_2": 10.0,
"time": 22.203501853705546,
"vocabulary": 17.0,
"volume": 89.92418250750745
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 13.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 48
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-git-diff-query.ts:anonymous_function_57:57",
"entity_name": "anonymous_function_57",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-git-diff-query.ts",
"issues": [],
"line_number": 58,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.5,
"effort": 17.414460711655217,
"length": 5.0,
"n1": 3.0,
"n2": 2.0,
"n_1": 3.0,
"n_2": 2.0,
"time": 0.9674700395364009,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 58
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-image-attachment-picker.ts:useImageAttachmentPicker:10",
"entity_name": "useImageAttachmentPicker",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-image-attachment-picker.ts",
"issues": [],
"line_number": 11,
"metrics": {
"cognitive_complexity": 22.0,
"cyclomatic_complexity": 13.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 18,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 18,
"nesting_level": 1
},
{
"column": 12,
"kind": "If",
"line": 20,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 24,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 33,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 39,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 41,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 46,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 46,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 46,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 56,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 61,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.32881690982220757,
"calculated_length": 305.73674826896314,
"difficulty": 14.333333333333334,
"effort": 14139.127122354925,
"length": 167.0,
"n1": 15.0,
"n2": 45.0,
"n_1": 81.0,
"n_2": 86.0,
"time": 785.5070623530514,
"vocabulary": 60.0,
"volume": 986.4507294666226
},
"lines_of_code": 60.0,
"maintainability_index": 65.83222851897963,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 32.0,
"technical_debt_score": 55.60000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 11
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-image-attachment-picker.ts:anonymous_function_14:14",
"entity_name": "anonymous_function_14",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-image-attachment-picker.ts",
"issues": [],
"line_number": 15,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 18,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 18,
"nesting_level": 1
},
{
"column": 12,
"kind": "If",
"line": 20,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 24,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07237699129691222,
"calculated_length": 81.07329781366414,
"difficulty": 9.166666666666668,
"effort": 1990.3672606650862,
"length": 48.0,
"n1": 11.0,
"n2": 12.0,
"n_1": 28.0,
"n_2": 20.0,
"time": 110.57595892583812,
"vocabulary": 23.0,
"volume": 217.13097389073664
},
"lines_of_code": 15.0,
"maintainability_index": 98.0009829056657,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 17.8
},
"recommendations": [],
"severity": "Low",
"start_line": 15
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-image-attachment-picker.ts:anonymous_function_31:31",
"entity_name": "anonymous_function_31",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-image-attachment-picker.ts",
"issues": [],
"line_number": 32,
"metrics": {
"cognitive_complexity": 16.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 33,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 39,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 41,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 46,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 46,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 46,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 56,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 61,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.17470181179639352,
"calculated_length": 200.50968677706203,
"difficulty": 11.433333333333334,
"effort": 5992.272144616298,
"length": 96.0,
"n1": 14.0,
"n2": 30.0,
"n_1": 47.0,
"n_2": 49.0,
"time": 332.90400803423876,
"vocabulary": 44.0,
"volume": 524.1054353891806
},
"lines_of_code": 36.0,
"maintainability_index": 78.31619023840359,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 18.0,
"technical_debt_score": 38.00000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 32
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-recent-paths.ts:useRecentPaths:13",
"entity_name": "useRecentPaths",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-recent-paths.ts",
"issues": [],
"line_number": 14,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 24,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 26,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 30,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 39,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 46,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 53,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 56,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.25823406720410147,
"calculated_length": 274.5830480925421,
"difficulty": 11.761904761904763,
"effort": 9111.973514201867,
"length": 134.0,
"n1": 13.0,
"n2": 42.0,
"n_1": 58.0,
"n_2": 76.0,
"time": 506.22075078899263,
"vocabulary": 55.0,
"volume": 774.7022016123044
},
"lines_of_code": 54.0,
"maintainability_index": 69.94556920813407,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 27.0,
"technical_debt_score": 35.60000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 14
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-recent-paths.ts:anonymous_function_18:18",
"entity_name": "anonymous_function_18",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-recent-paths.ts",
"issues": [],
"line_number": 19,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 1.0,
"effort": 4.754887502163468,
"length": 3.0,
"n1": 2.0,
"n2": 1.0,
"n_1": 2.0,
"n_2": 1.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 19
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-recent-paths.ts:loadRecentPaths:22",
"entity_name": "loadRecentPaths",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-recent-paths.ts",
"issues": [],
"line_number": 23,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 24,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 26,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 30,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.057274226340554936,
"calculated_length": 91.82263988300141,
"difficulty": 6.333333333333333,
"effort": 1088.2103004705436,
"length": 37.0,
"n1": 10.0,
"n2": 15.0,
"n_1": 18.0,
"n_2": 19.0,
"time": 60.45612780391909,
"vocabulary": 25.0,
"volume": 171.8226790216648
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 14.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 23
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-recent-paths.ts:anonymous_function_37:37",
"entity_name": "anonymous_function_37",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-recent-paths.ts",
"issues": [],
"line_number": 38,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 39,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 46,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07290827503317318,
"calculated_length": 104.71062275542812,
"difficulty": 5.684210526315789,
"effort": 1243.277953197269,
"length": 46.0,
"n1": 8.0,
"n2": 19.0,
"n_1": 19.0,
"n_2": 27.0,
"time": 69.07099739984828,
"vocabulary": 27.0,
"volume": 218.72482509951953
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 10.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 38
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-recent-paths.ts:anonymous_function_40:40",
"entity_name": "anonymous_function_40",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-recent-paths.ts",
"issues": [],
"line_number": 41,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 41
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-recent-paths.ts:anonymous_function_51:51",
"entity_name": "anonymous_function_51",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-recent-paths.ts",
"issues": [],
"line_number": 52,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 53,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 56,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.02865053103446247,
"calculated_length": 43.65148445440323,
"difficulty": 4.375,
"effort": 376.0382198273199,
"length": 22.0,
"n1": 7.0,
"n2": 8.0,
"n_1": 12.0,
"n_2": 10.0,
"time": 20.891012212628883,
"vocabulary": 15.0,
"volume": 85.95159310338741
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 10.0
},
"recommendations": [],
"severity": "Low",
"start_line": 52
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-session-directory.ts:useSessionDirectory:4",
"entity_name": "useSessionDirectory",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-session-directory.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02995282789966531,
"calculated_length": 46.05374780501027,
"difficulty": 2.727272727272727,
"effort": 245.0685919063525,
"length": 23.0,
"n1": 4.0,
"n2": 11.0,
"n_1": 8.0,
"n_2": 15.0,
"time": 13.614921772575139,
"vocabulary": 15.0,
"volume": 89.85848369899593
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-session-directory.ts:anonymous_function_5:5",
"entity_name": "anonymous_function_5",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-session-directory.ts",
"issues": [],
"line_number": 6,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 6
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-session-directory.ts:anonymous_function_7:7",
"entity_name": "anonymous_function_7",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-session-directory.ts",
"issues": [],
"line_number": 8,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009509775004326936,
"calculated_length": 19.60964047443681,
"difficulty": 2.0,
"effort": 57.05865002596162,
"length": 9.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 5.0,
"time": 3.169925001442312,
"vocabulary": 9.0,
"volume": 28.52932501298081
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 8
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-session-directory.ts:useSessionForServer:21",
"entity_name": "useSessionForServer",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-session-directory.ts",
"issues": [],
"line_number": 22,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 8,
"kind": "ConditionalExpression",
"line": 29,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 33,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.09985263754543283,
"calculated_length": 104.71062275542812,
"difficulty": 9.68421052631579,
"effort": 2900.981890793628,
"length": 63.0,
"n1": 8.0,
"n2": 19.0,
"n_1": 17.0,
"n_2": 46.0,
"time": 161.165660599646,
"vocabulary": 27.0,
"volume": 299.5579126362985
},
"lines_of_code": 20.0,
"maintainability_index": 92.12713679948372,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 5.0,
"technical_debt_score": 11.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 22
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-session-directory.ts:anonymous_function_27:27",
"entity_name": "anonymous_function_27",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-session-directory.ts",
"issues": [],
"line_number": 28,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 8,
"kind": "ConditionalExpression",
"line": 29,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.019119800003846166,
"calculated_length": 31.26112492884004,
"difficulty": 3.5714285714285716,
"effort": 204.85500004120894,
"length": 16.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 10.0,
"time": 11.380833335622718,
"vocabulary": 12.0,
"volume": 57.3594000115385
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 28
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-session-directory.ts:anonymous_function_34:34",
"entity_name": "anonymous_function_34",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-session-directory.ts",
"issues": [],
"line_number": 35,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 17.509775004326936,
"difficulty": 1.1666666666666667,
"effort": 35.0,
"length": 10.0,
"n1": 2.0,
"n2": 6.0,
"n_1": 3.0,
"n_2": 7.0,
"time": 1.9444444444444444,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 35
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-settings.ts:useAppSettings:28",
"entity_name": "useAppSettings",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-settings.ts",
"issues": [],
"line_number": 29,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 40,
"nesting_level": 0
},
{
"column": 9,
"kind": "Catch",
"line": 45,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 54,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 58,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.22911681818252794,
"calculated_length": 268.7443162330219,
"difficulty": 8.181818181818182,
"effort": 5623.776446298413,
"length": 120.0,
"n1": 9.0,
"n2": 44.0,
"n_1": 40.0,
"n_2": 80.0,
"time": 312.43202479435627,
"vocabulary": 53.0,
"volume": 687.3504545475838
},
"lines_of_code": 42.0,
"maintainability_index": 75.32896190065702,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 18.0,
"technical_debt_score": 23.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 29
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-settings.ts:anonymous_function_38:38",
"entity_name": "anonymous_function_38",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-settings.ts",
"issues": [],
"line_number": 39,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 40,
"nesting_level": 0
},
{
"column": 9,
"kind": "Catch",
"line": 45,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07449323753389434,
"calculated_length": 104.71062275542812,
"difficulty": 6.105263157894737,
"effort": 1364.4024558839596,
"length": 47.0,
"n1": 8.0,
"n2": 19.0,
"n_1": 18.0,
"n_2": 29.0,
"time": 75.80013643799776,
"vocabulary": 27.0,
"volume": 223.47971260168302
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 10.4
},
"recommendations": [],
"severity": "Low",
"start_line": 39
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-settings.ts:anonymous_function_52:52",
"entity_name": "anonymous_function_52",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-settings.ts",
"issues": [],
"line_number": 53,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 54,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 58,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.050540225011222704,
"calculated_length": 78.25484338853101,
"difficulty": 4.433333333333334,
"effort": 672.184992649262,
"length": 34.0,
"n1": 7.0,
"n2": 15.0,
"n_1": 15.0,
"n_2": 19.0,
"time": 37.343610702736775,
"vocabulary": 22.0,
"volume": 151.6206750336681
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 10.2
},
"recommendations": [],
"severity": "Low",
"start_line": 53
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-settings.ts:loadSettingsFromStorage:72",
"entity_name": "loadSettingsFromStorage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-settings.ts",
"issues": [],
"line_number": 73,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 74,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 76,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 82,
"nesting_level": 1
},
{
"column": 5,
"kind": "Catch",
"line": 94,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.15509775004326937,
"calculated_length": 153.0586500259616,
"difficulty": 12.75,
"effort": 5932.488939155053,
"length": 90.0,
"n1": 12.0,
"n2": 24.0,
"n_1": 39.0,
"n_2": 51.0,
"time": 329.5827188419474,
"vocabulary": 36.0,
"volume": 465.2932501298081
},
"lines_of_code": 25.0,
"maintainability_index": 85.76233880541157,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 15.0,
"technical_debt_score": 20.6
},
"recommendations": [],
"severity": "Low",
"start_line": 73
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-settings.ts:pickAppSettingsFromLegacy:99",
"entity_name": "pickAppSettingsFromLegacy",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-settings.ts",
"issues": [],
"line_number": 100,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 102,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 105,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 108,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 108,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 108,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.1010233007239115,
"calculated_length": 72.10571633583419,
"difficulty": 11.076923076923077,
"effort": 3357.0819932869053,
"length": 69.0,
"n1": 8.0,
"n2": 13.0,
"n_1": 33.0,
"n_2": 36.0,
"time": 186.50455518260586,
"vocabulary": 21.0,
"volume": 303.0699021717345
},
"lines_of_code": 12.0,
"maintainability_index": 99.65190218191208,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 20.0
},
"recommendations": [],
"severity": "Low",
"start_line": 100
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts:uint8ArrayToBase64:37",
"entity_name": "uint8ArrayToBase64",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts",
"issues": [],
"line_number": 38,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 41,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 43,
"nesting_level": 1
},
{
"column": 5,
"kind": "For",
"line": 45,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07934702292041701,
"calculated_length": 113.11239783097187,
"difficulty": 8.555555555555555,
"effort": 2036.5735882907031,
"length": 49.0,
"n1": 11.0,
"n2": 18.0,
"n_1": 21.0,
"n_2": 28.0,
"time": 113.14297712726129,
"vocabulary": 29.0,
"volume": 238.041068761251
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 14.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 38
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts:concatenateUint8Arrays:51",
"entity_name": "concatenateUint8Arrays",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts",
"issues": [],
"line_number": 52,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.06002833811130973,
"calculated_length": 72.10571633583419,
"difficulty": 8.615384615384615,
"effort": 1551.5016619538515,
"length": 41.0,
"n1": 8.0,
"n2": 13.0,
"n_1": 13.0,
"n_2": 28.0,
"time": 86.19453677521398,
"vocabulary": 21.0,
"volume": 180.0850143339292
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 52
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts:anonymous_function_52:52",
"entity_name": "anonymous_function_52",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts",
"issues": [],
"line_number": 53,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005417832221403845,
"calculated_length": 6.754887502163468,
"difficulty": 1.6666666666666667,
"effort": 27.089161107019226,
"length": 7.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 5.0,
"time": 1.5049533948344014,
"vocabulary": 5.0,
"volume": 16.253496664211536
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 53
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts:useSpeechmaticsAudio:65",
"entity_name": "useSpeechmaticsAudio",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts",
"issues": [
{
"description": "Cyclomatic complexity of 47.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts:useSpeechmaticsAudio:65",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts:66",
"metric_value": 47.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 104.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts:useSpeechmaticsAudio:65",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts:66",
"metric_value": 104.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 66,
"metrics": {
"cognitive_complexity": 104.0,
"cyclomatic_complexity": 47.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 101,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 127,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 127,
"nesting_level": 1
},
{
"column": 23,
"kind": "LogicalOr",
"line": 132,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 146,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 146,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 150,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 153,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 161,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 161,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 165,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 166,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 182,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 187,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 188,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 194,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 195,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 195,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 200,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 217,
"nesting_level": 2
},
{
"column": 16,
"kind": "If",
"line": 232,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 233,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 233,
"nesting_level": 2
},
{
"column": 16,
"kind": "If",
"line": 239,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 240,
"nesting_level": 3
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 240,
"nesting_level": 3
},
{
"column": 11,
"kind": "If",
"line": 245,
"nesting_level": 3
},
{
"column": 13,
"kind": "If",
"line": 249,
"nesting_level": 4
},
{
"column": 16,
"kind": "If",
"line": 263,
"nesting_level": 3
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 264,
"nesting_level": 4
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 264,
"nesting_level": 4
},
{
"column": 11,
"kind": "If",
"line": 269,
"nesting_level": 4
},
{
"column": 13,
"kind": "If",
"line": 273,
"nesting_level": 5
},
{
"column": 5,
"kind": "If",
"line": 310,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 311,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 313,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 318,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 326,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 331,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 335,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 349,
"nesting_level": 1
},
{
"column": 19,
"kind": "ConditionalExpression",
"line": 351,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 362,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 366,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 371,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 399,
"nesting_level": 0
}
],
"halstead": {
"bugs": 2.4181820921844768,
"calculated_length": 1127.8387029922014,
"difficulty": 30.414965986394556,
"effort": 220646.77824809786,
"length": 986.0,
"n1": 17.0,
"n2": 147.0,
"n_1": 460.0,
"n_2": 526.0,
"time": 12258.154347116548,
"vocabulary": 164.0,
"volume": 7254.54627655343
},
"lines_of_code": 361.0,
"maintainability_index": 18.56538223047309,
"max_nesting_depth": 5.0,
"parameter_count": 1.0,
"statement_count": 180.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 66
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts:anonymous_function_99:99",
"entity_name": "anonymous_function_99",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts",
"issues": [],
"line_number": 100,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 101,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06837795148577189,
"calculated_length": 77.30296890880646,
"difficulty": 7.142857142857143,
"effort": 1465.2418175522548,
"length": 46.0,
"n1": 8.0,
"n2": 14.0,
"n_1": 21.0,
"n_2": 25.0,
"time": 81.40232319734749,
"vocabulary": 22.0,
"volume": 205.13385445731566
},
"lines_of_code": 16.0,
"maintainability_index": 97.9410165836265,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 8.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 100
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts:anonymous_function_125:125",
"entity_name": "anonymous_function_125",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts",
"issues": [],
"line_number": 126,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 127,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 127,
"nesting_level": 1
},
{
"column": 23,
"kind": "LogicalOr",
"line": 132,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05945908824849729,
"calculated_length": 77.30296890880646,
"difficulty": 5.714285714285714,
"effort": 1019.2986556885251,
"length": 40.0,
"n1": 8.0,
"n2": 14.0,
"n_1": 20.0,
"n_2": 20.0,
"time": 56.62770309380695,
"vocabulary": 22.0,
"volume": 178.37726474549189
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 13.8
},
"recommendations": [],
"severity": "Low",
"start_line": 126
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts:anonymous_function_132:132",
"entity_name": "anonymous_function_132",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts",
"issues": [],
"line_number": 133,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 19.60964047443681,
"difficulty": 2.4,
"effort": 83.68602003807705,
"length": 11.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 4.649223335448725,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 133
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts:anonymous_function_137:137",
"entity_name": "anonymous_function_137",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts",
"issues": [],
"line_number": 138,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 138
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts:anonymous_function_144:144",
"entity_name": "anonymous_function_144",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts",
"issues": [],
"line_number": 145,
"metrics": {
"cognitive_complexity": 14.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 146,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 146,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 150,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 153,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 161,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 161,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 165,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 166,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.13781084109898464,
"calculated_length": 109.23994776840892,
"difficulty": 9.710526315789474,
"effort": 4014.647397278316,
"length": 86.0,
"n1": 9.0,
"n2": 19.0,
"n_1": 45.0,
"n_2": 41.0,
"time": 223.035966515462,
"vocabulary": 28.0,
"volume": 413.43252329695395
},
"lines_of_code": 27.0,
"maintainability_index": 84.21007232305871,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 14.0,
"technical_debt_score": 34.6
},
"recommendations": [],
"severity": "Low",
"start_line": 145
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts:anonymous_function_180:180",
"entity_name": "anonymous_function_180",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts",
"issues": [
{
"description": "Cyclomatic complexity of 22.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts:anonymous_function_180:180",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts:181",
"metric_value": 22.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 66.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts:anonymous_function_180:180",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts:181",
"metric_value": 66.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 181,
"metrics": {
"cognitive_complexity": 66.0,
"cyclomatic_complexity": 22.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 182,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 187,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 188,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 194,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 195,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 195,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 200,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 217,
"nesting_level": 2
},
{
"column": 16,
"kind": "If",
"line": 232,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 233,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 233,
"nesting_level": 2
},
{
"column": 16,
"kind": "If",
"line": 239,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 240,
"nesting_level": 3
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 240,
"nesting_level": 3
},
{
"column": 11,
"kind": "If",
"line": 245,
"nesting_level": 3
},
{
"column": 13,
"kind": "If",
"line": 249,
"nesting_level": 4
},
{
"column": 16,
"kind": "If",
"line": 263,
"nesting_level": 3
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 264,
"nesting_level": 4
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 264,
"nesting_level": 4
},
{
"column": 11,
"kind": "If",
"line": 269,
"nesting_level": 4
},
{
"column": 13,
"kind": "If",
"line": 273,
"nesting_level": 5
}
],
"halstead": {
"bugs": 0.6552279782578393,
"calculated_length": 294.2849569777226,
"difficulty": 16.914893617021278,
"effort": 33249.33464138185,
"length": 337.0,
"n1": 10.0,
"n2": 47.0,
"n_1": 178.0,
"n_2": 159.0,
"time": 1847.1852578545472,
"vocabulary": 57.0,
"volume": 1965.6839347735179
},
"lines_of_code": 111.0,
"maintainability_index": 50.21091402353939,
"max_nesting_depth": 5.0,
"parameter_count": 1.0,
"statement_count": 53.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 181
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts:anonymous_function_306:306",
"entity_name": "anonymous_function_306",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts",
"issues": [],
"line_number": 307,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 310,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 311,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 313,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 318,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04465992364716941,
"calculated_length": 67.01955000865388,
"difficulty": 9.75,
"effort": 1306.3027666797052,
"length": 31.0,
"n1": 12.0,
"n2": 8.0,
"n_1": 18.0,
"n_2": 13.0,
"time": 72.5723759266503,
"vocabulary": 20.0,
"volume": 133.97977094150824
},
"lines_of_code": 16.0,
"maintainability_index": 99.46608080747039,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 18.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 307
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts:start:324",
"entity_name": "start",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts",
"issues": [],
"line_number": 325,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 326,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 331,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 335,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 349,
"nesting_level": 1
},
{
"column": 19,
"kind": "ConditionalExpression",
"line": 351,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.16497977094150826,
"calculated_length": 175.51440158047484,
"difficulty": 11.846153846153847,
"effort": 5863.127244228986,
"length": 93.0,
"n1": 14.0,
"n2": 26.0,
"n_1": 49.0,
"n_2": 44.0,
"time": 325.72929134605477,
"vocabulary": 40.0,
"volume": 494.93931282452473
},
"lines_of_code": 31.0,
"maintainability_index": 81.7263444829102,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 19.0,
"technical_debt_score": 24.6
},
"recommendations": [],
"severity": "Low",
"start_line": 325
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts:stop:357",
"entity_name": "stop",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts",
"issues": [],
"line_number": 358,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 362,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 366,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 371,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.18233086779701327,
"calculated_length": 169.08986062632007,
"difficulty": 4.935483870967742,
"effort": 2699.6731715751316,
"length": 105.0,
"n1": 6.0,
"n2": 31.0,
"n_1": 54.0,
"n_2": 51.0,
"time": 149.9818428652851,
"vocabulary": 37.0,
"volume": 546.9926033910398
},
"lines_of_code": 34.0,
"maintainability_index": 80.16989604421192,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 22.0,
"technical_debt_score": 17.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 358
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts:toggleMute:393",
"entity_name": "toggleMute",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts",
"issues": [],
"line_number": 394,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 399,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.11056916320732489,
"calculated_length": 110.43856189774725,
"difficulty": 7.0,
"effort": 2321.9524273538227,
"length": 69.0,
"n1": 8.0,
"n2": 20.0,
"n_1": 34.0,
"n_2": 35.0,
"time": 128.99735707521236,
"vocabulary": 28.0,
"volume": 331.7074896219747
},
"lines_of_code": 20.0,
"maintainability_index": 91.82701883736665,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 14.0,
"technical_debt_score": 8.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 394
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts:anonymous_function_394:394",
"entity_name": "anonymous_function_394",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.native.ts",
"issues": [],
"line_number": 395,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 399,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.10184286055972365,
"calculated_length": 99.05865002596161,
"difficulty": 7.333333333333333,
"effort": 2240.54293231392,
"length": 65.0,
"n1": 8.0,
"n2": 18.0,
"n_1": 32.0,
"n_2": 33.0,
"time": 124.47460735077334,
"vocabulary": 26.0,
"volume": 305.52858167917094
},
"lines_of_code": 18.0,
"maintainability_index": 93.96135219939099,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 13.0,
"technical_debt_score": 8.4
},
"recommendations": [],
"severity": "Low",
"start_line": 395
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.web.ts:useSpeechmaticsAudio:30",
"entity_name": "useSpeechmaticsAudio",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.web.ts",
"issues": [],
"line_number": 31,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.11201504169791676,
"calculated_length": 162.7164928725825,
"difficulty": 4.7,
"effort": 1579.4120879406264,
"length": 65.0,
"n1": 6.0,
"n2": 30.0,
"n_1": 18.0,
"n_2": 47.0,
"time": 87.74511599670147,
"vocabulary": 36.0,
"volume": 336.0451250937503
},
"lines_of_code": 33.0,
"maintainability_index": 83.87690115477953,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 8.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.web.ts:anonymous_function_36:36",
"entity_name": "anonymous_function_36",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.web.ts",
"issues": [],
"line_number": 37,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.36452797660028,
"difficulty": 1.5,
"effort": 45.0,
"length": 10.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 5.0,
"time": 2.5,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 37
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.web.ts:anonymous_function_41:41",
"entity_name": "anonymous_function_41",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.web.ts",
"issues": [],
"line_number": 42,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 8.0,
"length": 4.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 2.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 42
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.web.ts:anonymous_function_45:45",
"entity_name": "anonymous_function_45",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.web.ts",
"issues": [],
"line_number": 46,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 2.25,
"effort": 31.34602928097939,
"length": 6.0,
"n1": 3.0,
"n2": 2.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.7414460711655217,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 46
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.web.ts:anonymous_function_46:46",
"entity_name": "anonymous_function_46",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.web.ts",
"issues": [],
"line_number": 47,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001,
"calculated_length": 0.0,
"difficulty": 1.0,
"effort": 3.0,
"length": 3.0,
"n1": 1.0,
"n2": 1.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.16666666666666666,
"vocabulary": 2.0,
"volume": 3.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 47
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.web.ts:anonymous_function_50:50",
"entity_name": "anonymous_function_50",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-speechmatics-audio.web.ts",
"issues": [],
"line_number": 51,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.016729825003365395,
"calculated_length": 38.05374780501027,
"difficulty": 0.5909090909090909,
"effort": 29.657417051420477,
"length": 14.0,
"n1": 1.0,
"n2": 11.0,
"n_1": 1.0,
"n_2": 13.0,
"time": 1.647634280634471,
"vocabulary": 12.0,
"volume": 50.18947501009619
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 51
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-theme-color.ts:useThemeColor:8",
"entity_name": "useThemeColor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/hooks/use-theme-color.ts",
"issues": [],
"line_number": 9,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 16,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04447920001538466,
"calculated_length": 57.219280948873624,
"difficulty": 8.0,
"effort": 1067.500800369232,
"length": 32.0,
"n1": 8.0,
"n2": 10.0,
"n_1": 12.0,
"n_2": 20.0,
"time": 59.305600020512884,
"vocabulary": 18.0,
"volume": 133.437600046154
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 9
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/polyfills/crypto.ts:polyfillCrypto:8",
"entity_name": "polyfillCrypto",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/polyfills/crypto.ts",
"issues": [],
"line_number": 9,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 10,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 14,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 19,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.10405340443487027,
"calculated_length": 76.2388309575275,
"difficulty": 13.333333333333332,
"effort": 4162.13617739481,
"length": 70.0,
"n1": 10.0,
"n2": 12.0,
"n_1": 38.0,
"n_2": 32.0,
"time": 231.22978763304502,
"vocabulary": 22.0,
"volume": 312.1602133046108
},
"lines_of_code": 15.0,
"maintainability_index": 96.3433006291418,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 13.4
},
"recommendations": [],
"severity": "Low",
"start_line": 9
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/polyfills/crypto.ts:anonymous_function_14:14",
"entity_name": "anonymous_function_14",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/polyfills/crypto.ts",
"issues": [],
"line_number": 15,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 15
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/polyfills/crypto.ts:anonymous_function_19:19",
"entity_name": "anonymous_function_19",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/polyfills/crypto.ts",
"issues": [],
"line_number": 20,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014792983340064124,
"calculated_length": 19.60964047443681,
"difficulty": 3.6,
"effort": 159.76422007269252,
"length": 14.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 9.0,
"time": 8.875790004038473,
"vocabulary": 9.0,
"volume": 44.37895002019237
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_90:90",
"entity_name": "anonymous_function_90",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 91,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "ConditionalExpression",
"line": 92,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.011,
"calculated_length": 16.0,
"difficulty": 3.0,
"effort": 99.0,
"length": 11.0,
"n1": 4.0,
"n2": 4.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 5.5,
"vocabulary": 8.0,
"volume": 33.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 91
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_106:106",
"entity_name": "anonymous_function_106",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 107,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 110,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 110,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.06973835003173086,
"calculated_length": 104.71062275542812,
"difficulty": 6.526315789473684,
"effort": 1365.4034848317833,
"length": 44.0,
"n1": 8.0,
"n2": 19.0,
"n_1": 13.0,
"n_2": 31.0,
"time": 75.8557491573213,
"vocabulary": 27.0,
"volume": 209.2150500951926
},
"lines_of_code": 21.0,
"maintainability_index": 93.20325062079993,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 12.6
},
"recommendations": [],
"severity": "Low",
"start_line": 107
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_133:133",
"entity_name": "anonymous_function_133",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 134,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 135,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 135,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.028,
"calculated_length": 48.18080946738404,
"difficulty": 4.666666666666666,
"effort": 391.99999999999994,
"length": 21.0,
"n1": 7.0,
"n2": 9.0,
"n_1": 9.0,
"n_2": 12.0,
"time": 21.777777777777775,
"vocabulary": 16.0,
"volume": 84.0
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 10.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 134
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_187:187",
"entity_name": "anonymous_function_187",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 188,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 188
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_191:191",
"entity_name": "anonymous_function_191",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 192,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 48.599999999999994,
"length": 9.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 2.6999999999999997,
"vocabulary": 8.0,
"volume": 27.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 192
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_198:198",
"entity_name": "anonymous_function_198",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 199,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 199
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_199:199",
"entity_name": "anonymous_function_199",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 200,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 8.0,
"length": 6.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 12.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 200
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_200:200",
"entity_name": "anonymous_function_200",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 201,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 201
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_201:201",
"entity_name": "anonymous_function_201",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 202,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 202
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_202:202",
"entity_name": "anonymous_function_202",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 203,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 203
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_203:203",
"entity_name": "anonymous_function_203",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 204,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 204
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_217:217",
"entity_name": "anonymous_function_217",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 218,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 219,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.024743640438853954,
"calculated_length": 44.039100017307746,
"difficulty": 3.666666666666667,
"effort": 272.1800448273935,
"length": 19.0,
"n1": 6.0,
"n2": 9.0,
"n_1": 8.0,
"n_2": 11.0,
"time": 15.121113601521861,
"vocabulary": 15.0,
"volume": 74.23092131656186
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 218
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_228:228",
"entity_name": "anonymous_function_228",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 229,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 18,
"kind": "LogicalAnd",
"line": 231,
"nesting_level": 0
},
{
"column": 30,
"kind": "LogicalOr",
"line": 254,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 255,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.21662896521542788,
"calculated_length": 227.95057052383706,
"difficulty": 6.86842105263158,
"effort": 4463.696835886317,
"length": 117.0,
"n1": 9.0,
"n2": 38.0,
"n_1": 59.0,
"n_2": 58.0,
"time": 247.98315754923982,
"vocabulary": 47.0,
"volume": 649.8868956462836
},
"lines_of_code": 35.0,
"maintainability_index": 78.8040100304077,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 11.0,
"technical_debt_score": 17.4
},
"recommendations": [],
"severity": "Low",
"start_line": 229
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_235:235",
"entity_name": "anonymous_function_235",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 236,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 236
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_238:238",
"entity_name": "anonymous_function_238",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 239,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04672720264787944,
"calculated_length": 64.91260938324326,
"difficulty": 3.75,
"effort": 525.6810297886436,
"length": 33.0,
"n1": 5.0,
"n2": 14.0,
"n_1": 12.0,
"n_2": 21.0,
"time": 29.204501654924645,
"vocabulary": 19.0,
"volume": 140.1816079436383
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 239
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_250:250",
"entity_name": "anonymous_function_250",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 251,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 30,
"kind": "LogicalOr",
"line": 254,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 255,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05729845144338883,
"calculated_length": 81.83229392178727,
"difficulty": 5.4642857142857135,
"effort": 939.2853290184097,
"length": 38.0,
"n1": 9.0,
"n2": 14.0,
"n_1": 21.0,
"n_2": 17.0,
"time": 52.182518278800536,
"vocabulary": 23.0,
"volume": 171.8953543301665
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 9.6
},
"recommendations": [],
"severity": "Low",
"start_line": 251
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_261:261",
"entity_name": "anonymous_function_261",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 262,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 262
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_278:278",
"entity_name": "anonymous_function_278",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 279,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 280,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 283,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04106329929662132,
"calculated_length": 62.6710344630571,
"difficulty": 3.7916666666666665,
"effort": 467.09502949906755,
"length": 29.0,
"n1": 7.0,
"n2": 12.0,
"n_1": 16.0,
"n_2": 13.0,
"time": 25.949723861059308,
"vocabulary": 19.0,
"volume": 123.18989788986397
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 10.0
},
"recommendations": [],
"severity": "Low",
"start_line": 279
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_281:281",
"entity_name": "anonymous_function_281",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 282,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 283,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.010566416671474373,
"calculated_length": 19.60964047443681,
"difficulty": 2.5,
"effort": 79.2481250360578,
"length": 10.0,
"n1": 5.0,
"n2": 4.0,
"n_1": 6.0,
"n_2": 4.0,
"time": 4.402673613114322,
"vocabulary": 9.0,
"volume": 31.69925001442312
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 282
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_289:289",
"entity_name": "anonymous_function_289",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 290,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 8.0,
"length": 4.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 2.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 290
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_295:295",
"entity_name": "anonymous_function_295",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 296,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "ConditionalExpression",
"line": 297,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.015502331109474358,
"calculated_length": 23.509775004326936,
"difficulty": 2.6666666666666665,
"effort": 124.01864887579485,
"length": 14.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 6.8899249375441585,
"vocabulary": 10.0,
"volume": 46.50699332842307
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 296
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_302:302",
"entity_name": "anonymous_function_302",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 303,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "ConditionalExpression",
"line": 304,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.015502331109474358,
"calculated_length": 23.509775004326936,
"difficulty": 2.6666666666666665,
"effort": 124.01864887579485,
"length": 14.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 6.8899249375441585,
"vocabulary": 10.0,
"volume": 46.50699332842307
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 303
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_309:309",
"entity_name": "anonymous_function_309",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 310,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 310
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_310:310",
"entity_name": "anonymous_function_310",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 311,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 311
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_317:317",
"entity_name": "anonymous_function_317",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 318,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "ConditionalExpression",
"line": 319,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02031478750408655,
"calculated_length": 31.26112492884004,
"difficulty": 3.5714285714285716,
"effort": 217.6584375437845,
"length": 17.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 7.0,
"n_2": 10.0,
"time": 12.092135419099138,
"vocabulary": 12.0,
"volume": 60.94436251225965
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 318
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_325:325",
"entity_name": "anonymous_function_325",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 326,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 25.84962500721156,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.43609027817842,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 326
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_327:327",
"entity_name": "anonymous_function_327",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 328,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 329,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 329,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 332,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04586917501586544,
"calculated_length": 57.219280948873624,
"difficulty": 10.0,
"effort": 1376.075250475963,
"length": 33.0,
"n1": 10.0,
"n2": 8.0,
"n_1": 17.0,
"n_2": 16.0,
"time": 76.44862502644239,
"vocabulary": 18.0,
"volume": 137.6075250475963
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 13.0
},
"recommendations": [],
"severity": "Low",
"start_line": 328
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_339:339",
"entity_name": "anonymous_function_339",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 340,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 53.99999999999999,
"length": 10.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 2.9999999999999996,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 340
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_342:342",
"entity_name": "anonymous_function_342",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 343,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 66.56842503028855,
"length": 12.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 3.6982458350160305,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 343
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_346:346",
"entity_name": "anonymous_function_346",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 347,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 25.84962500721156,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.43609027817842,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 347
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_349:349",
"entity_name": "anonymous_function_349",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 350,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014395021744511903,
"calculated_length": 24.406371956566694,
"difficulty": 1.7142857142857142,
"effort": 74.03154040034693,
"length": 13.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 4.112863355574829,
"vocabulary": 10.0,
"volume": 43.18506523353571
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 350
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_358:358",
"entity_name": "anonymous_function_358",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 359,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.5,
"effort": 33.68825906469125,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 1.871569948038403,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 359
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_362:362",
"entity_name": "anonymous_function_362",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 363,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.036139350012500036,
"calculated_length": 58.529325012980806,
"difficulty": 4.0,
"effort": 433.67220015000044,
"length": 26.0,
"n1": 6.0,
"n2": 12.0,
"n_1": 10.0,
"n_2": 16.0,
"time": 24.09290000833336,
"vocabulary": 18.0,
"volume": 108.41805003750011
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 363
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_376:376",
"entity_name": "anonymous_function_376",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 377,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 378,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 384,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06149244391890265,
"calculated_length": 71.27302875388389,
"difficulty": 10.0,
"effort": 1844.7733175670794,
"length": 42.0,
"n1": 10.0,
"n2": 11.0,
"n_1": 20.0,
"n_2": 22.0,
"time": 102.4874065315044,
"vocabulary": 21.0,
"volume": 184.47733175670794
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 10.4
},
"recommendations": [],
"severity": "Low",
"start_line": 377
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_420:420",
"entity_name": "anonymous_function_420",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 421,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 422,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.019019550008653872,
"calculated_length": 20.264662506490403,
"difficulty": 7.0,
"effort": 399.4105501817313,
"length": 18.0,
"n1": 6.0,
"n2": 3.0,
"n_1": 11.0,
"n_2": 7.0,
"time": 22.189475010096185,
"vocabulary": 9.0,
"volume": 57.05865002596162
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 421
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_427:427",
"entity_name": "anonymous_function_427",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 428,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 8.0,
"length": 4.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 2.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 428
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_434:434",
"entity_name": "anonymous_function_434",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 435,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 436,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 436,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03542467795750294,
"calculated_length": 52.87076540327685,
"difficulty": 5.25,
"effort": 557.9386778306713,
"length": 26.0,
"n1": 7.0,
"n2": 10.0,
"n_1": 11.0,
"n_2": 15.0,
"time": 30.99659321281507,
"vocabulary": 17.0,
"volume": 106.27403387250882
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 10.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 435
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_448:448",
"entity_name": "anonymous_function_448",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 449,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 450,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 454,
"nesting_level": 0
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 458,
"nesting_level": 0
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 460,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06338827872501465,
"calculated_length": 66.58307281799108,
"difficulty": 9.818181818181817,
"effort": 1867.0729369913402,
"length": 44.0,
"n1": 9.0,
"n2": 11.0,
"n_1": 20.0,
"n_2": 24.0,
"time": 103.72627427729668,
"vocabulary": 20.0,
"volume": 190.16483617504394
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 15.6
},
"recommendations": [],
"severity": "Low",
"start_line": 449
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_457:457",
"entity_name": "anonymous_function_457",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 458,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 17,
"kind": "LogicalAnd",
"line": 458,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01310098963626882,
"calculated_length": 13.60964047443681,
"difficulty": 1.6,
"effort": 62.884750254090335,
"length": 14.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 3.493597236338352,
"vocabulary": 7.0,
"volume": 39.302968908806456
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 458
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_464:464",
"entity_name": "anonymous_function_464",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 465,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 466,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 466,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.1114412267374277,
"calculated_length": 201.62707505625016,
"difficulty": 4.5,
"effort": 1504.4565609552742,
"length": 62.0,
"n1": 6.0,
"n2": 36.0,
"n_1": 8.0,
"n_2": 54.0,
"time": 83.58092005307078,
"vocabulary": 42.0,
"volume": 334.32368021228314
},
"lines_of_code": 36.0,
"maintainability_index": 82.0340231411242,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 15.599999999999998
},
"recommendations": [],
"severity": "Low",
"start_line": 465
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_509:509",
"entity_name": "anonymous_function_509",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 510,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 511,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 513,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.017962908341506434,
"calculated_length": 19.60964047443681,
"difficulty": 5.0,
"effort": 269.44362512259653,
"length": 17.0,
"n1": 5.0,
"n2": 4.0,
"n_1": 9.0,
"n_2": 8.0,
"time": 14.969090284588695,
"vocabulary": 9.0,
"volume": 53.8887250245193
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 9.0
},
"recommendations": [],
"severity": "Low",
"start_line": 510
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_518:518",
"entity_name": "anonymous_function_518",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 519,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 520,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 520,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 525,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalOr",
"line": 526,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 528,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 528,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.06442065553408849,
"calculated_length": 72.10571633583419,
"difficulty": 6.153846153846154,
"effort": 1189.3044098600951,
"length": 44.0,
"n1": 8.0,
"n2": 13.0,
"n_1": 24.0,
"n_2": 20.0,
"time": 66.07246721444973,
"vocabulary": 21.0,
"volume": 193.26196660226546
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 22.799999999999997
},
"recommendations": [],
"severity": "Low",
"start_line": 519
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_523:523",
"entity_name": "anonymous_function_523",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 524,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalAnd",
"line": 525,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalOr",
"line": 526,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.025468115394136442,
"calculated_length": 24.406371956566694,
"difficulty": 2.571428571428571,
"effort": 196.4683187547668,
"length": 23.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 11.0,
"n_2": 12.0,
"time": 10.914906597487045,
"vocabulary": 10.0,
"volume": 76.40434618240933
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 8.0
},
"recommendations": [],
"severity": "Low",
"start_line": 524
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_541:541",
"entity_name": "anonymous_function_541",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 542,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 543,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 543,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 548,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04169925001442312,
"calculated_length": 57.219280948873624,
"difficulty": 5.2,
"effort": 650.5083002250008,
"length": 30.0,
"n1": 8.0,
"n2": 10.0,
"n_1": 17.0,
"n_2": 13.0,
"time": 36.139350012500046,
"vocabulary": 18.0,
"volume": 125.09775004326937
},
"lines_of_code": 18.0,
"maintainability_index": 98.14468127544556,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 14.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 542
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_553:553",
"entity_name": "anonymous_function_553",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 554,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01107309364962454,
"calculated_length": 24.406371956566694,
"difficulty": 1.5,
"effort": 49.82892142331043,
"length": 10.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 3.0,
"n_2": 7.0,
"time": 2.7682734124061352,
"vocabulary": 10.0,
"volume": 33.219280948873624
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 554
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_561:561",
"entity_name": "anonymous_function_561",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 562,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 563,
"nesting_level": 0
},
{
"column": 19,
"kind": "LogicalOr",
"line": 566,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.026045937304056792,
"calculated_length": 43.65148445440323,
"difficulty": 4.375,
"effort": 341.8529271157454,
"length": 20.0,
"n1": 7.0,
"n2": 8.0,
"n_1": 10.0,
"n_2": 10.0,
"time": 18.991829284208077,
"vocabulary": 15.0,
"volume": 78.13781191217038
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 8.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 562
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_573:573",
"entity_name": "anonymous_function_573",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 574,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 575,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 575,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 575,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 585,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 585,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.0576257079318315,
"calculated_length": 66.58307281799108,
"difficulty": 7.7727272727272725,
"effort": 1343.726734955889,
"length": 40.0,
"n1": 9.0,
"n2": 11.0,
"n_1": 21.0,
"n_2": 19.0,
"time": 74.65148527532716,
"vocabulary": 20.0,
"volume": 172.8771237954945
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 21.2
},
"recommendations": [],
"severity": "Low",
"start_line": 574
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_589:589",
"entity_name": "anonymous_function_589",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 590,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005417832221403845,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 16.253496664211536,
"length": 7.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 3.0,
"time": 0.9029720369006409,
"vocabulary": 5.0,
"volume": 16.253496664211536
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 590
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_594:594",
"entity_name": "anonymous_function_594",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 595,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005417832221403845,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 16.253496664211536,
"length": 7.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 3.0,
"time": 0.9029720369006409,
"vocabulary": 5.0,
"volume": 16.253496664211536
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 595
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_599:599",
"entity_name": "anonymous_function_599",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 600,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 601,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 601,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.014395021744511903,
"calculated_length": 24.406371956566694,
"difficulty": 5.833333333333334,
"effort": 251.91288052895834,
"length": 13.0,
"n1": 7.0,
"n2": 3.0,
"n_1": 8.0,
"n_2": 5.0,
"time": 13.995160029386575,
"vocabulary": 10.0,
"volume": 43.18506523353571
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 600
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_638:638",
"entity_name": "anonymous_function_638",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 639,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 19,
"kind": "If",
"line": 651,
"nesting_level": 0
},
{
"column": 23,
"kind": "LogicalAnd",
"line": 651,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05013802366017164,
"calculated_length": 101.94833690207419,
"difficulty": 3.5999999999999996,
"effort": 541.4906555298537,
"length": 32.0,
"n1": 6.0,
"n2": 20.0,
"n_1": 8.0,
"n_2": 24.0,
"time": 30.082814196102984,
"vocabulary": 26.0,
"volume": 150.41407098051494
},
"lines_of_code": 15.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 11.399999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 639
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_651:651",
"entity_name": "anonymous_function_651",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 652,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 652
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx:anonymous_function_888:888",
"entity_name": "anonymous_function_888",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/agent-ready-screen.tsx",
"issues": [],
"line_number": 889,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.5986353967642606,
"calculated_length": 403.6848993798214,
"difficulty": 5.068181818181818,
"effort": 9101.979100802053,
"length": 294.0,
"n1": 3.0,
"n2": 66.0,
"n_1": 71.0,
"n_2": 223.0,
"time": 505.66550560011405,
"vocabulary": 69.0,
"volume": 1795.9061902927817
},
"lines_of_code": 113.0,
"maintainability_index": 55.22133925926791,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 889
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_58:58",
"entity_name": "anonymous_function_58",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 59,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026416041678685932,
"calculated_length": 2.0,
"difficulty": 1.0,
"effort": 7.92481250360578,
"length": 5.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.44026736131143224,
"vocabulary": 3.0,
"volume": 7.92481250360578
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 59
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:getParamValue:61",
"entity_name": "getParamValue",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 62,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 63,
"nesting_level": 0
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 65,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 67,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 70,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.06771020681990202,
"calculated_length": 66.58307281799108,
"difficulty": 9.818181818181817,
"effort": 1994.3733645134773,
"length": 47.0,
"n1": 9.0,
"n2": 11.0,
"n_1": 23.0,
"n_2": 24.0,
"time": 110.79852025074874,
"vocabulary": 20.0,
"volume": 203.13062045970605
},
"lines_of_code": 14.0,
"maintainability_index": 99.46525530241811,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 17.6
},
"recommendations": [],
"severity": "Low",
"start_line": 62
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:getValidProvider:77",
"entity_name": "getValidProvider",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 78,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 79,
"nesting_level": 0
},
{
"column": 10,
"kind": "ConditionalExpression",
"line": 82,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02665148445440323,
"calculated_length": 39.50977500432694,
"difficulty": 6.666666666666667,
"effort": 533.0296890880646,
"length": 21.0,
"n1": 8.0,
"n2": 6.0,
"n_1": 11.0,
"n_2": 10.0,
"time": 29.612760504892478,
"vocabulary": 14.0,
"volume": 79.9544533632097
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 9.0
},
"recommendations": [],
"severity": "Low",
"start_line": 78
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:getValidMode:86",
"entity_name": "getValidMode",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 87,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 91,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 91,
"nesting_level": 1
},
{
"column": 10,
"kind": "ConditionalExpression",
"line": 96,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05563602068853097,
"calculated_length": 72.10571633583419,
"difficulty": 6.769230769230769,
"effort": 1129.8391893670903,
"length": 38.0,
"n1": 8.0,
"n2": 13.0,
"n_1": 16.0,
"n_2": 22.0,
"time": 62.76884385372724,
"vocabulary": 21.0,
"volume": 166.9080620655929
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 13.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 87
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_95:95",
"entity_name": "anonymous_function_95",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 96,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 10,
"kind": "ConditionalExpression",
"line": 96,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 96
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_125:125",
"entity_name": "anonymous_function_125",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 126,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.5,
"effort": 33.68825906469125,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 1.871569948038403,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 126
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_129:129",
"entity_name": "anonymous_function_129",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 130,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.036139350012500036,
"calculated_length": 58.529325012980806,
"difficulty": 4.0,
"effort": 433.67220015000044,
"length": 26.0,
"n1": 6.0,
"n2": 12.0,
"n_1": 10.0,
"n_2": 16.0,
"time": 24.09290000833336,
"vocabulary": 18.0,
"volume": 108.41805003750011
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 130
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_144:144",
"entity_name": "anonymous_function_144",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 145,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 147,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 150,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 153,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 156,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05466666666666667,
"calculated_length": 48.72905595320056,
"difficulty": 6.0,
"effort": 984.0,
"length": 41.0,
"n1": 6.0,
"n2": 10.0,
"n_1": 21.0,
"n_2": 20.0,
"time": 54.666666666666664,
"vocabulary": 16.0,
"volume": 164.0
},
"lines_of_code": 15.0,
"maintainability_index": 99.46028131745837,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 16.2
},
"recommendations": [],
"severity": "Low",
"start_line": 145
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_200:200",
"entity_name": "anonymous_function_200",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 201,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 201
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_201:201",
"entity_name": "anonymous_function_201",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 202,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 202
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_202:202",
"entity_name": "anonymous_function_202",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 203,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 203
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:assertNever:220",
"entity_name": "assertNever",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 221,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.010566416671474373,
"calculated_length": 19.60964047443681,
"difficulty": 2.4,
"effort": 76.07820003461549,
"length": 10.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 4.22656666858975,
"vocabulary": 9.0,
"volume": 31.69925001442312
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 221
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_225:225",
"entity_name": "anonymous_function_225",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 226,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 229,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 235,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 244,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1191923088708846,
"calculated_length": 94.71013448036484,
"difficulty": 9.13888888888889,
"effort": 3267.8558015434196,
"length": 77.0,
"n1": 7.0,
"n2": 18.0,
"n_1": 30.0,
"n_2": 47.0,
"time": 181.54754453018998,
"vocabulary": 25.0,
"volume": 357.5769266126538
},
"lines_of_code": 26.0,
"maintainability_index": 86.7262133887755,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 12.0,
"technical_debt_score": 15.600000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 226
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_255:255",
"entity_name": "anonymous_function_255",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 256,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 256
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_259:259",
"entity_name": "anonymous_function_259",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 260,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 48.599999999999994,
"length": 9.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 2.6999999999999997,
"vocabulary": 8.0,
"volume": 27.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 260
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_262:262",
"entity_name": "anonymous_function_262",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 263,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 22.61842188131012,
"length": 7.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 5.0,
"time": 1.2565789934061178,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 263
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_265:265",
"entity_name": "anonymous_function_265",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 266,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 8.0,
"length": 4.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 2.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 266
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_268:268",
"entity_name": "anonymous_function_268",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 269,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "ConditionalExpression",
"line": 270,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.009357849740192013,
"calculated_length": 12.754887502163468,
"difficulty": 2.25,
"effort": 63.16548574629609,
"length": 10.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 3.509193652572005,
"vocabulary": 7.0,
"volume": 28.07354922057604
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 269
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_271:271",
"entity_name": "anonymous_function_271",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 272,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 273,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 273,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 278,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05618506523353571,
"calculated_length": 66.58307281799108,
"difficulty": 6.954545454545454,
"effort": 1172.2247700996768,
"length": 39.0,
"n1": 9.0,
"n2": 11.0,
"n_1": 22.0,
"n_2": 17.0,
"time": 65.12359833887093,
"vocabulary": 20.0,
"volume": 168.55519570060713
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 13.4
},
"recommendations": [],
"severity": "Low",
"start_line": 272
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_276:276",
"entity_name": "anonymous_function_276",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 277,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 278,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.014792983340064124,
"calculated_length": 19.60964047443681,
"difficulty": 4.375,
"effort": 194.15790633834163,
"length": 14.0,
"n1": 5.0,
"n2": 4.0,
"n_1": 7.0,
"n_2": 7.0,
"time": 10.78655035213009,
"vocabulary": 9.0,
"volume": 44.37895002019237
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 277
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_284:284",
"entity_name": "anonymous_function_284",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 285,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "ConditionalExpression",
"line": 286,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.013736341672916685,
"calculated_length": 19.60964047443681,
"difficulty": 3.2,
"effort": 131.86888006000018,
"length": 13.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 7.326048892222232,
"vocabulary": 9.0,
"volume": 41.209025018750054
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 285
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_287:287",
"entity_name": "anonymous_function_287",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 288,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "ConditionalExpression",
"line": 289,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01660964047443681,
"calculated_length": 23.509775004326936,
"difficulty": 3.0,
"effort": 149.4867642699313,
"length": 15.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 9.0,
"time": 8.304820237218406,
"vocabulary": 10.0,
"volume": 49.82892142331043
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 288
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_313:313",
"entity_name": "anonymous_function_313",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 314,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 316,
"nesting_level": 0
},
{
"column": 14,
"kind": "LogicalOr",
"line": 320,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 322,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08930835464468073,
"calculated_length": 97.21928094887363,
"difficulty": 10.3125,
"effort": 2762.9772218198104,
"length": 57.0,
"n1": 10.0,
"n2": 16.0,
"n_1": 24.0,
"n_2": 33.0,
"time": 153.49873454554503,
"vocabulary": 26.0,
"volume": 267.9250639340422
},
"lines_of_code": 18.0,
"maintainability_index": 94.18429941010866,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 14.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 314
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_382:382",
"entity_name": "anonymous_function_382",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 383,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 385,
"nesting_level": 0
},
{
"column": 19,
"kind": "LogicalOr",
"line": 389,
"nesting_level": 0
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 390,
"nesting_level": 0
},
{
"column": 45,
"kind": "LogicalOr",
"line": 390,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 392,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06418947501009618,
"calculated_length": 86.15946414084446,
"difficulty": 8.884615384615385,
"effort": 1710.896391615256,
"length": 42.0,
"n1": 11.0,
"n2": 13.0,
"n_1": 21.0,
"n_2": 21.0,
"time": 95.04979953418089,
"vocabulary": 24.0,
"volume": 192.56842503028855
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 18.6
},
"recommendations": [],
"severity": "Low",
"start_line": 383
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_407:407",
"entity_name": "anonymous_function_407",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 408,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03255742163007099,
"calculated_length": 44.82892142331043,
"difficulty": 3.25,
"effort": 317.43486089319214,
"length": 25.0,
"n1": 5.0,
"n2": 10.0,
"n_1": 12.0,
"n_2": 13.0,
"time": 17.635270049621784,
"vocabulary": 15.0,
"volume": 97.67226489021297
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 408
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_408:408",
"entity_name": "anonymous_function_408",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 409,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017716949839399265,
"calculated_length": 24.406371956566694,
"difficulty": 2.142857142857143,
"effort": 113.89467753899527,
"length": 16.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 10.0,
"time": 6.327482085499737,
"vocabulary": 10.0,
"volume": 53.150849518197795
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 409
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_432:432",
"entity_name": "anonymous_function_432",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 433,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 435,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 435,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 438,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 441,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05906635063012729,
"calculated_length": 68.81274391313339,
"difficulty": 4.5,
"effort": 797.3957335067184,
"length": 41.0,
"n1": 6.0,
"n2": 14.0,
"n_1": 20.0,
"n_2": 21.0,
"time": 44.29976297259547,
"vocabulary": 20.0,
"volume": 177.19905189038187
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 16.2
},
"recommendations": [],
"severity": "Low",
"start_line": 433
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_448:448",
"entity_name": "anonymous_function_448",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 449,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 450,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 453,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 459,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 465,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 465,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 468,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.10239749584943915,
"calculated_length": 89.138352755659,
"difficulty": 7.8235294117647065,
"effort": 2403.329461407425,
"length": 67.0,
"n1": 7.0,
"n2": 17.0,
"n_1": 29.0,
"n_2": 38.0,
"time": 133.5183034115236,
"vocabulary": 24.0,
"volume": 307.19248754831744
},
"lines_of_code": 23.0,
"maintainability_index": 88.81212606077605,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 11.0,
"technical_debt_score": 24.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 449
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_475:475",
"entity_name": "anonymous_function_475",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 476,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 477,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 477,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 480,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 484,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.042666666666666665,
"calculated_length": 48.18080946738404,
"difficulty": 5.444444444444445,
"effort": 696.8888888888889,
"length": 32.0,
"n1": 7.0,
"n2": 9.0,
"n_1": 18.0,
"n_2": 14.0,
"time": 38.71604938271605,
"vocabulary": 16.0,
"volume": 128.0
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 16.8
},
"recommendations": [],
"severity": "Low",
"start_line": 476
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_496:496",
"entity_name": "anonymous_function_496",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 497,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 498,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 498,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 501,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 505,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 509,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06881297295686725,
"calculated_length": 72.95445336320968,
"difficulty": 5.5,
"effort": 1135.4140537883097,
"length": 47.0,
"n1": 7.0,
"n2": 14.0,
"n_1": 25.0,
"n_2": 22.0,
"time": 63.07855854379498,
"vocabulary": 21.0,
"volume": 206.43891887060175
},
"lines_of_code": 16.0,
"maintainability_index": 96.98803890320666,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 11.0,
"technical_debt_score": 20.0
},
"recommendations": [],
"severity": "Low",
"start_line": 497
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_507:507",
"entity_name": "anonymous_function_507",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 508,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 508
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_514:514",
"entity_name": "anonymous_function_514",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 515,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.0,
"difficulty": 1.5,
"effort": 15.0,
"length": 5.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.8333333333333334,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 515
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_519:519",
"entity_name": "anonymous_function_519",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 520,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0069657842846620865,
"calculated_length": 6.754887502163468,
"difficulty": 1.6666666666666667,
"effort": 34.82892142331043,
"length": 9.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 5.0,
"time": 1.9349400790728017,
"vocabulary": 5.0,
"volume": 20.89735285398626
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 520
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_526:526",
"entity_name": "anonymous_function_526",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 527,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 528,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 528,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 531,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 535,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03333333333333333,
"calculated_length": 48.0,
"difficulty": 5.0,
"effort": 500.0,
"length": 25.0,
"n1": 8.0,
"n2": 8.0,
"n_1": 15.0,
"n_2": 10.0,
"time": 27.77777777777778,
"vocabulary": 16.0,
"volume": 100.0
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 16.2
},
"recommendations": [],
"severity": "Low",
"start_line": 527
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_539:539",
"entity_name": "anonymous_function_539",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 540,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 541,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 541,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.017297158093186486,
"calculated_length": 27.11941547876375,
"difficulty": 2.916666666666667,
"effort": 151.35013331538178,
"length": 15.0,
"n1": 5.0,
"n2": 6.0,
"n_1": 8.0,
"n_2": 7.0,
"time": 8.408340739743432,
"vocabulary": 11.0,
"volume": 51.89147427955946
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 540
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_546:546",
"entity_name": "anonymous_function_546",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 547,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "ConditionalExpression",
"line": 548,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.009357849740192013,
"calculated_length": 12.754887502163468,
"difficulty": 2.25,
"effort": 63.16548574629609,
"length": 10.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 3.509193652572005,
"vocabulary": 7.0,
"volume": 28.07354922057604
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 547
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_554:554",
"entity_name": "anonymous_function_554",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 555,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 556,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04,
"calculated_length": 49.66338827944708,
"difficulty": 4.090909090909091,
"effort": 490.9090909090909,
"length": 30.0,
"n1": 5.0,
"n2": 11.0,
"n_1": 12.0,
"n_2": 18.0,
"time": 27.27272727272727,
"vocabulary": 16.0,
"volume": 120.0
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 555
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_568:568",
"entity_name": "anonymous_function_568",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 569,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 570,
"nesting_level": 0
},
{
"column": 17,
"kind": "LogicalOr",
"line": 575,
"nesting_level": 0
},
{
"column": 18,
"kind": "ConditionalExpression",
"line": 575,
"nesting_level": 0
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 575,
"nesting_level": 0
},
{
"column": 19,
"kind": "LogicalOr",
"line": 577,
"nesting_level": 0
},
{
"column": 20,
"kind": "ConditionalExpression",
"line": 578,
"nesting_level": 0
},
{
"column": 20,
"kind": "LogicalAnd",
"line": 578,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.16765943169221514,
"calculated_length": 287.7296844890187,
"difficulty": 4.666666666666666,
"effort": 2347.2320436910118,
"length": 87.0,
"n1": 7.0,
"n2": 48.0,
"n_1": 23.0,
"n_2": 64.0,
"time": 130.4017802050562,
"vocabulary": 55.0,
"volume": 502.9782950766454
},
"lines_of_code": 35.0,
"maintainability_index": 79.21651690908773,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 28.6
},
"recommendations": [],
"severity": "Low",
"start_line": 569
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_617:617",
"entity_name": "anonymous_function_617",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [
{
"description": "Cyclomatic complexity of 31.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_617:617",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:618",
"metric_value": 31.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 38.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_617:617",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:618",
"metric_value": 38.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 618,
"metrics": {
"cognitive_complexity": 38.0,
"cyclomatic_complexity": 31.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 625,
"nesting_level": 0
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 632,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 632,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 635,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 639,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 646,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 650,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 654,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 658,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 658,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 663,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 668,
"nesting_level": 0
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 685,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 685,
"nesting_level": 0
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 690,
"nesting_level": 0
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 691,
"nesting_level": 0
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 695,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 695,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 696,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 696,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 696,
"nesting_level": 1
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 700,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 700,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 700,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 711,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 718,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 727,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 727,
"nesting_level": 2
},
{
"column": 9,
"kind": "Catch",
"line": 740,
"nesting_level": 1
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 741,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.8925333576084227,
"calculated_length": 771.7629271178268,
"difficulty": 16.132075471698112,
"effort": 43195.24645784158,
"length": 387.0,
"n1": 15.0,
"n2": 106.0,
"n_1": 159.0,
"n_2": 228.0,
"time": 2399.735914324532,
"vocabulary": 121.0,
"volume": 2677.600072825268
},
"lines_of_code": 129.0,
"maintainability_index": 44.09912292844649,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 64.0,
"technical_debt_score": 90.40000000000002
},
"recommendations": [],
"severity": "Critical",
"start_line": 618
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx:anonymous_function_939:939",
"entity_name": "anonymous_function_939",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/draft-agent-screen.tsx",
"issues": [],
"line_number": 940,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.7881867543254943,
"calculated_length": 541.7095510155793,
"difficulty": 4.678571428571429,
"effort": 11062.764087497118,
"length": 367.0,
"n1": 3.0,
"n2": 84.0,
"n_1": 105.0,
"n_2": 262.0,
"time": 614.598004860951,
"vocabulary": 87.0,
"volume": 2364.560262976483
},
"lines_of_code": 114.0,
"maintainability_index": 53.64817892473779,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 940
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/legacy-agent-id-screen.tsx:LegacyAgentIdScreen:16",
"entity_name": "LegacyAgentIdScreen",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/legacy-agent-id-screen.tsx",
"issues": [],
"line_number": 17,
"metrics": {
"cognitive_complexity": 22.0,
"cyclomatic_complexity": 13.0,
"decision_points": [
{
"column": 27,
"kind": "ConditionalExpression",
"line": 22,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 25,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 31,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 35,
"nesting_level": 0
},
{
"column": 33,
"kind": "LogicalAnd",
"line": 46,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 49,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 69,
"nesting_level": 0
},
{
"column": 10,
"kind": "If",
"line": 81,
"nesting_level": 1
},
{
"column": 14,
"kind": "LogicalOr",
"line": 81,
"nesting_level": 2
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 86,
"nesting_level": 2
},
{
"column": 10,
"kind": "If",
"line": 90,
"nesting_level": 2
},
{
"column": 10,
"kind": "If",
"line": 103,
"nesting_level": 3
}
],
"halstead": {
"bugs": 1.1132105837708346,
"calculated_length": 1123.7618258846962,
"difficulty": 13.218120805369129,
"effort": 44143.65593429515,
"length": 455.0,
"n1": 13.0,
"n2": 149.0,
"n_1": 152.0,
"n_2": 303.0,
"time": 2452.425329683064,
"vocabulary": 162.0,
"volume": 3339.631751312504
},
"lines_of_code": 117.0,
"maintainability_index": 48.67197996214618,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 39.0,
"technical_debt_score": 63.60000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 17
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/legacy-agent-id-screen.tsx:anonymous_function_23:23",
"entity_name": "anonymous_function_23",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/legacy-agent-id-screen.tsx",
"issues": [],
"line_number": 24,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 25,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 31,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 35,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08460791492653964,
"calculated_length": 99.05865002596161,
"difficulty": 6.0,
"effort": 1522.9424686777138,
"length": 54.0,
"n1": 8.0,
"n2": 18.0,
"n_1": 27.0,
"n_2": 27.0,
"time": 84.60791492653965,
"vocabulary": 26.0,
"volume": 253.82374477961895
},
"lines_of_code": 19.0,
"maintainability_index": 93.58955997613562,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 14.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 24
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/legacy-agent-id-screen.tsx:anonymous_function_29:29",
"entity_name": "anonymous_function_29",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/legacy-agent-id-screen.tsx",
"issues": [],
"line_number": 30,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 31,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 35,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0603141594140935,
"calculated_length": 82.60335893412778,
"difficulty": 5.6,
"effort": 1013.2778781567708,
"length": 40.0,
"n1": 8.0,
"n2": 15.0,
"n_1": 19.0,
"n_2": 21.0,
"time": 56.293215453153934,
"vocabulary": 23.0,
"volume": 180.94247824228052
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 7.0,
"technical_debt_score": 9.6
},
"recommendations": [],
"severity": "Low",
"start_line": 30
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/legacy-agent-id-screen.tsx:anonymous_function_47:47",
"entity_name": "anonymous_function_47",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/legacy-agent-id-screen.tsx",
"issues": [],
"line_number": 48,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 49,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03196942501105773,
"calculated_length": 57.05865002596162,
"difficulty": 5.5,
"effort": 527.4955126824525,
"length": 23.0,
"n1": 9.0,
"n2": 9.0,
"n_1": 12.0,
"n_2": 11.0,
"time": 29.30530626013625,
"vocabulary": 18.0,
"volume": 95.90827503317318
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 48
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/legacy-agent-id-screen.tsx:anonymous_function_55:55",
"entity_name": "anonymous_function_55",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/legacy-agent-id-screen.tsx",
"issues": [],
"line_number": 56,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.00655049481813441,
"calculated_length": 12.754887502163468,
"difficulty": 2.0,
"effort": 39.302968908806456,
"length": 7.0,
"n1": 4.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 3.0,
"time": 2.1834982727114696,
"vocabulary": 7.0,
"volume": 19.651484454403228
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 56
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/legacy-agent-id-screen.tsx:anonymous_function_60:60",
"entity_name": "anonymous_function_60",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/legacy-agent-id-screen.tsx",
"issues": [],
"line_number": 61,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.018450301966065584,
"calculated_length": 27.651484454403228,
"difficulty": 2.5714285714285716,
"effort": 142.33090088107738,
"length": 16.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 7.0,
"n_2": 9.0,
"time": 7.9072722711709655,
"vocabulary": 11.0,
"volume": 55.35090589819676
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 61
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/legacy-agent-id-screen.tsx:anonymous_function_110:110",
"entity_name": "anonymous_function_110",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/legacy-agent-id-screen.tsx",
"issues": [],
"line_number": 111,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.06339850002884624,
"calculated_length": 114.79398751947122,
"difficulty": 2.125,
"effort": 404.1654376838948,
"length": 40.0,
"n1": 3.0,
"n2": 24.0,
"n_1": 6.0,
"n_2": 34.0,
"time": 22.453635426883046,
"vocabulary": 27.0,
"volume": 190.19550008653874
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 111
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/legacy-agent-id-screen.tsx:anonymous_function_135:135",
"entity_name": "anonymous_function_135",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/screens/agent/legacy-agent-id-screen.tsx",
"issues": [],
"line_number": 136,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.3743757939217234,
"calculated_length": 265.8205635310124,
"difficulty": 4.531914893617022,
"effort": 5089.917708850666,
"length": 199.0,
"n1": 3.0,
"n2": 47.0,
"n_1": 57.0,
"n_2": 142.0,
"time": 282.77320604725924,
"vocabulary": 50.0,
"volume": 1123.1273817651702
},
"lines_of_code": 60.0,
"maintainability_index": 67.91748172539005,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 14.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 136
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/create-flow-store.ts:anonymous_function_17:17",
"entity_name": "anonymous_function_17",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/create-flow-store.ts",
"issues": [],
"line_number": 18,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "ConditionalExpression",
"line": 23,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03776660909088234,
"calculated_length": 46.05374780501027,
"difficulty": 4.0,
"effort": 453.19930909058814,
"length": 29.0,
"n1": 4.0,
"n2": 11.0,
"n_1": 7.0,
"n_2": 22.0,
"time": 25.177739393921563,
"vocabulary": 15.0,
"volume": 113.29982727264704
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 18
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/create-flow-store.ts:anonymous_function_19:19",
"entity_name": "anonymous_function_19",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/create-flow-store.ts",
"issues": [],
"line_number": 20,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.754887502163468,
"difficulty": 0.5,
"effort": 4.0,
"length": 4.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.2222222222222222,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/create-flow-store.ts:anonymous_function_20:20",
"entity_name": "anonymous_function_20",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/create-flow-store.ts",
"issues": [],
"line_number": 21,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "ConditionalExpression",
"line": 23,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.014,
"calculated_length": 16.36452797660028,
"difficulty": 3.0,
"effort": 126.0,
"length": 14.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 10.0,
"time": 7.0,
"vocabulary": 8.0,
"volume": 42.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 21
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/create-flow-store.ts:anonymous_function_21:21",
"entity_name": "anonymous_function_21",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/create-flow-store.ts",
"issues": [],
"line_number": 22,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "ConditionalExpression",
"line": 23,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.008513736347920327,
"calculated_length": 6.754887502163468,
"difficulty": 2.6666666666666665,
"effort": 68.10989078336262,
"length": 11.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 8.0,
"time": 3.783882821297923,
"vocabulary": 5.0,
"volume": 25.541209043760983
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 22
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/create-flow-store.ts:anonymous_function_24:24",
"entity_name": "anonymous_function_24",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/create-flow-store.ts",
"issues": [],
"line_number": 25,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.754887502163468,
"difficulty": 0.5,
"effort": 4.0,
"length": 4.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.2222222222222222,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 25
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:generateDownloadId:55",
"entity_name": "generateDownloadId",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts",
"issues": [],
"line_number": 56,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02343611821489358,
"calculated_length": 37.974168451037094,
"difficulty": 1.5,
"effort": 105.46253196702112,
"length": 19.0,
"n1": 3.0,
"n2": 10.0,
"n_1": 9.0,
"n_2": 10.0,
"time": 5.859029553723396,
"vocabulary": 13.0,
"volume": 70.30835464468075
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 56
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:anonymous_function_59:59",
"entity_name": "anonymous_function_59",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts",
"issues": [
{
"description": "Cyclomatic complexity of 25.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:anonymous_function_59:59",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:60",
"metric_value": 25.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 42.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:anonymous_function_59:59",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:60",
"metric_value": 42.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 60,
"metrics": {
"cognitive_complexity": 42.0,
"cyclomatic_complexity": 25.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 87,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 89,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 89,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 94,
"nesting_level": 1
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 102,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 105,
"nesting_level": 1
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 116,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 123,
"nesting_level": 1
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 129,
"nesting_level": 1
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 131,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 144,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 150,
"nesting_level": 1
},
{
"column": 24,
"kind": "ConditionalExpression",
"line": 153,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 156,
"nesting_level": 1
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 157,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 158,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 170,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 170,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 182,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 194,
"nesting_level": 0
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 208,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 219,
"nesting_level": 0
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 223,
"nesting_level": 0
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 224,
"nesting_level": 0
}
],
"halstead": {
"bugs": 1.2140467066889855,
"calculated_length": 812.7835200989896,
"difficulty": 21.14864864864865,
"effort": 77026.34172844308,
"length": 522.0,
"n1": 15.0,
"n2": 111.0,
"n_1": 209.0,
"n_2": 313.0,
"time": 4279.241207135727,
"vocabulary": 126.0,
"volume": 3642.1401200669566
},
"lines_of_code": 171.0,
"maintainability_index": 39.3133513734098,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 74.0,
"technical_debt_score": 93.6
},
"recommendations": [],
"severity": "Critical",
"start_line": 60
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:anonymous_function_63:63",
"entity_name": "anonymous_function_63",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts",
"issues": [
{
"description": "Cyclomatic complexity of 17.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:anonymous_function_63:63",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:64",
"metric_value": 17.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 33.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:anonymous_function_63:63",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:64",
"metric_value": 33.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 64,
"metrics": {
"cognitive_complexity": 33.0,
"cyclomatic_complexity": 17.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 87,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 89,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 89,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 94,
"nesting_level": 1
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 102,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 105,
"nesting_level": 1
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 116,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 123,
"nesting_level": 1
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 129,
"nesting_level": 1
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 131,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 144,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 150,
"nesting_level": 1
},
{
"column": 24,
"kind": "ConditionalExpression",
"line": 153,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 156,
"nesting_level": 1
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 157,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 158,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.6839711972125774,
"calculated_length": 693.4945146009578,
"difficulty": 12.773195876288659,
"effort": 26209.49422720773,
"length": 302.0,
"n1": 14.0,
"n2": 97.0,
"n_1": 125.0,
"n_2": 177.0,
"time": 1456.0830126226517,
"vocabulary": 111.0,
"volume": 2051.913591637732
},
"lines_of_code": 101.0,
"maintainability_index": 52.66710152762995,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 41.0,
"technical_debt_score": 80.4
},
"recommendations": [],
"severity": "High",
"start_line": 64
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:anonymous_function_81:81",
"entity_name": "anonymous_function_81",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts",
"issues": [],
"line_number": 82,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017297158093186486,
"calculated_length": 27.651484454403228,
"difficulty": 2.857142857142857,
"effort": 148.2613550844556,
"length": 15.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 5.0,
"n_2": 10.0,
"time": 8.236741949136423,
"vocabulary": 11.0,
"volume": 51.89147427955946
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 82
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:anonymous_function_118:118",
"entity_name": "anonymous_function_118",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts",
"issues": [],
"line_number": 119,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 123,
"nesting_level": 1
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 129,
"nesting_level": 1
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 131,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10333333333333333,
"calculated_length": 134.03910001730776,
"difficulty": 6.833333333333333,
"effort": 2118.333333333333,
"length": 62.0,
"n1": 8.0,
"n2": 24.0,
"n_1": 21.0,
"n_2": 41.0,
"time": 117.68518518518516,
"vocabulary": 32.0,
"volume": 310.0
},
"lines_of_code": 21.0,
"maintainability_index": 90.92856056198875,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 17.0
},
"recommendations": [],
"severity": "Low",
"start_line": 119
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:anonymous_function_166:166",
"entity_name": "anonymous_function_166",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts",
"issues": [],
"line_number": 167,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 170,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 170,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.0639185198671346,
"calculated_length": 76.63504134881501,
"difficulty": 8.653846153846153,
"effort": 1659.4231119352248,
"length": 43.0,
"n1": 9.0,
"n2": 13.0,
"n_1": 18.0,
"n_2": 25.0,
"time": 92.19017288529027,
"vocabulary": 22.0,
"volume": 191.75555960140377
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 7.0,
"technical_debt_score": 10.4
},
"recommendations": [],
"severity": "Low",
"start_line": 167
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:anonymous_function_167:167",
"entity_name": "anonymous_function_167",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts",
"issues": [],
"line_number": 168,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 170,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 170,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05474442253523993,
"calculated_length": 66.58307281799108,
"difficulty": 9.0,
"effort": 1478.0994084514782,
"length": 38.0,
"n1": 9.0,
"n2": 11.0,
"n_1": 16.0,
"n_2": 22.0,
"time": 82.1166338028599,
"vocabulary": 20.0,
"volume": 164.2332676057198
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 10.0
},
"recommendations": [],
"severity": "Low",
"start_line": 168
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:anonymous_function_178:178",
"entity_name": "anonymous_function_178",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts",
"issues": [],
"line_number": 179,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 182,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05239110599913755,
"calculated_length": 62.05374780501027,
"difficulty": 8.0,
"effort": 1257.3865439793012,
"length": 37.0,
"n1": 8.0,
"n2": 11.0,
"n_1": 15.0,
"n_2": 22.0,
"time": 69.85480799885006,
"vocabulary": 19.0,
"volume": 157.17331799741265
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 179
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:anonymous_function_179:179",
"entity_name": "anonymous_function_179",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts",
"issues": [],
"line_number": 180,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 182,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04586917501586544,
"calculated_length": 57.219280948873624,
"difficulty": 8.0,
"effort": 1100.8602003807705,
"length": 33.0,
"n1": 8.0,
"n2": 10.0,
"n_1": 13.0,
"n_2": 20.0,
"time": 61.15890002115392,
"vocabulary": 18.0,
"volume": 137.6075250475963
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 180
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:anonymous_function_190:190",
"entity_name": "anonymous_function_190",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts",
"issues": [],
"line_number": 191,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 194,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05710012649612389,
"calculated_length": 72.10571633583419,
"difficulty": 7.384615384615385,
"effort": 1264.9874177602833,
"length": 39.0,
"n1": 8.0,
"n2": 13.0,
"n_1": 15.0,
"n_2": 24.0,
"time": 70.27707876446019,
"vocabulary": 21.0,
"volume": 171.30037948837168
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 7.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 191
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:anonymous_function_191:191",
"entity_name": "anonymous_function_191",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts",
"issues": [],
"line_number": 192,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 194,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.048143178485693966,
"calculated_length": 62.05374780501027,
"difficulty": 7.636363636363637,
"effort": 1102.9164525813528,
"length": 34.0,
"n1": 8.0,
"n2": 11.0,
"n_1": 13.0,
"n_2": 21.0,
"time": 61.2731362545196,
"vocabulary": 19.0,
"volume": 144.4295354570819
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 192
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:anonymous_function_202:202",
"entity_name": "anonymous_function_202",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts",
"issues": [],
"line_number": 203,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "ConditionalExpression",
"line": 208,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.047687066481253954,
"calculated_length": 52.87076540327685,
"difficulty": 7.700000000000001,
"effort": 1101.5712357169666,
"length": 35.0,
"n1": 7.0,
"n2": 10.0,
"n_1": 13.0,
"n_2": 22.0,
"time": 61.198401984275925,
"vocabulary": 17.0,
"volume": 143.06119944376186
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 203
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:anonymous_function_203:203",
"entity_name": "anonymous_function_203",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts",
"issues": [],
"line_number": 204,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "ConditionalExpression",
"line": 208,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04133333333333333,
"calculated_length": 48.18080946738404,
"difficulty": 7.777777777777779,
"effort": 964.4444444444446,
"length": 31.0,
"n1": 7.0,
"n2": 9.0,
"n_1": 11.0,
"n_2": 20.0,
"time": 53.580246913580254,
"vocabulary": 16.0,
"volume": 124.0
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 204
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:anonymous_function_214:214",
"entity_name": "anonymous_function_214",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts",
"issues": [],
"line_number": 215,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 219,
"nesting_level": 0
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 223,
"nesting_level": 0
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 224,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08049350728942856,
"calculated_length": 91.82263988300141,
"difficulty": 10.333333333333334,
"effort": 2495.2987259722854,
"length": 52.0,
"n1": 10.0,
"n2": 15.0,
"n_1": 21.0,
"n_2": 31.0,
"time": 138.6277069984603,
"vocabulary": 25.0,
"volume": 241.48052186828568
},
"lines_of_code": 15.0,
"maintainability_index": 97.67828490388345,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 13.4
},
"recommendations": [],
"severity": "Low",
"start_line": 215
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:anonymous_function_215:215",
"entity_name": "anonymous_function_215",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts",
"issues": [],
"line_number": 216,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 219,
"nesting_level": 0
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 223,
"nesting_level": 0
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 224,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07488772084511222,
"calculated_length": 86.52224985768008,
"difficulty": 10.714285714285714,
"effort": 2407.105312878607,
"length": 49.0,
"n1": 10.0,
"n2": 14.0,
"n_1": 19.0,
"n_2": 30.0,
"time": 133.7280729377004,
"vocabulary": 24.0,
"volume": 224.66316253533665
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 13.0
},
"recommendations": [],
"severity": "Low",
"start_line": 216
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:findMostRecentDownloadId:232",
"entity_name": "findMostRecentDownloadId",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts",
"issues": [],
"line_number": 233,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 236,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 236,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05710012649612389,
"calculated_length": 71.27302875388389,
"difficulty": 10.909090909090908,
"effort": 1868.731412600418,
"length": 39.0,
"n1": 10.0,
"n2": 11.0,
"n_1": 15.0,
"n_2": 24.0,
"time": 103.81841181113434,
"vocabulary": 21.0,
"volume": 171.30037948837168
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.0
},
"recommendations": [],
"severity": "Low",
"start_line": 233
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:resolveDaemonDownloadTarget:248",
"entity_name": "resolveDaemonDownloadTarget",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts",
"issues": [],
"line_number": 249,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 251,
"nesting_level": 0
},
{
"column": 3,
"kind": "Try",
"line": 256,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 258,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 262,
"nesting_level": 0
},
{
"column": 10,
"kind": "If",
"line": 264,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 269,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 269,
"nesting_level": 1
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 281,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.27038560796730793,
"calculated_length": 244.720658986051,
"difficulty": 17.708333333333332,
"effort": 14364.235423263231,
"length": 143.0,
"n1": 15.0,
"n2": 36.0,
"n_1": 58.0,
"n_2": 85.0,
"time": 798.0130790701795,
"vocabulary": 51.0,
"volume": 811.1568239019238
},
"lines_of_code": 37.0,
"maintainability_index": 75.60113050163685,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 20.0,
"technical_debt_score": 34.2
},
"recommendations": [],
"severity": "Low",
"start_line": 249
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:buildDownloadUrl:287",
"entity_name": "buildDownloadUrl",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts",
"issues": [],
"line_number": 288,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 295,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06936128332620753,
"calculated_length": 82.60335893412778,
"difficulty": 7.466666666666667,
"effort": 1553.6927465070487,
"length": 46.0,
"n1": 8.0,
"n2": 15.0,
"n_1": 18.0,
"n_2": 28.0,
"time": 86.31626369483604,
"vocabulary": 23.0,
"volume": 208.0838499786226
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 6.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 288
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:triggerBrowserDownload:301",
"entity_name": "triggerBrowserDownload",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts",
"issues": [],
"line_number": 302,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 303,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 304,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.1057618082852673,
"calculated_length": 109.23994776840892,
"difficulty": 7.815789473684211,
"effort": 2479.836083741399,
"length": 66.0,
"n1": 9.0,
"n2": 19.0,
"n_1": 33.0,
"n_2": 33.0,
"time": 137.7686713189666,
"vocabulary": 28.0,
"volume": 317.28542485580186
},
"lines_of_code": 15.0,
"maintainability_index": 96.48861757645383,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 11.0,
"technical_debt_score": 11.399999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 302
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:resolveDownloadTargetFile:318",
"entity_name": "resolveDownloadTargetFile",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts",
"issues": [],
"line_number": 319,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 321,
"nesting_level": 0
},
{
"column": 3,
"kind": "While",
"line": 330,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.09752495297426342,
"calculated_length": 134.54427823358145,
"difficulty": 11.700000000000001,
"effort": 3423.1258493966466,
"length": 58.0,
"n1": 13.0,
"n2": 20.0,
"n_1": 22.0,
"n_2": 36.0,
"time": 190.1736582998137,
"vocabulary": 33.0,
"volume": 292.57485892279027
},
"lines_of_code": 17.0,
"maintainability_index": 94.88259690456997,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 11.0,
"technical_debt_score": 11.0
},
"recommendations": [],
"severity": "Low",
"start_line": 319
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:sanitizeDownloadFileName:337",
"entity_name": "sanitizeDownloadFileName",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts",
"issues": [],
"line_number": 338,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 340,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02343611821489358,
"calculated_length": 35.161259458730164,
"difficulty": 4.285714285714286,
"effort": 301.3215199057746,
"length": 19.0,
"n1": 6.0,
"n2": 7.0,
"n_1": 9.0,
"n_2": 10.0,
"time": 16.7400844392097,
"vocabulary": 13.0,
"volume": 70.30835464468075
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 338
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:splitFileName:345",
"entity_name": "splitFileName",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts",
"issues": [],
"line_number": 346,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 348,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04533333333333334,
"calculated_length": 48.72905595320056,
"difficulty": 6.8999999999999995,
"effort": 938.4,
"length": 34.0,
"n1": 6.0,
"n2": 10.0,
"n_1": 11.0,
"n_2": 23.0,
"time": 52.13333333333333,
"vocabulary": 16.0,
"volume": 136.0
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 346
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:formatSpeed:356",
"entity_name": "formatSpeed",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts",
"issues": [],
"line_number": 357,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 358,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 361,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.050572676147928264,
"calculated_length": 35.161259458730164,
"difficulty": 8.142857142857142,
"effort": 1235.418231613676,
"length": 41.0,
"n1": 6.0,
"n2": 7.0,
"n_1": 22.0,
"n_2": 19.0,
"time": 68.63434620075978,
"vocabulary": 13.0,
"volume": 151.7180284437848
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 357
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts:formatEta:366",
"entity_name": "formatEta",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/download-store.ts",
"issues": [],
"line_number": 367,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 368,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 371,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.052,
"calculated_length": 48.72905595320056,
"difficulty": 6.6000000000000005,
"effort": 1029.6000000000001,
"length": 39.0,
"n1": 6.0,
"n2": 10.0,
"n_1": 17.0,
"n_2": 22.0,
"time": 57.20000000000001,
"vocabulary": 16.0,
"volume": 156.0
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 9.6
},
"recommendations": [],
"severity": "Low",
"start_line": 367
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/draft-store.ts:anonymous_function_26:26",
"entity_name": "anonymous_function_26",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/draft-store.ts",
"issues": [],
"line_number": 27,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0877021551665335,
"calculated_length": 79.50977500432694,
"difficulty": 7.6875,
"effort": 2022.630953528179,
"length": 59.0,
"n1": 6.0,
"n2": 16.0,
"n_1": 18.0,
"n_2": 41.0,
"time": 112.36838630712106,
"vocabulary": 22.0,
"volume": 263.1064654996005
},
"lines_of_code": 31.0,
"maintainability_index": 86.16210172468516,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 7.0,
"technical_debt_score": 8.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 27
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/draft-store.ts:anonymous_function_30:30",
"entity_name": "anonymous_function_30",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/draft-store.ts",
"issues": [],
"line_number": 31,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 2.6666666666666665,
"effort": 59.89023833722889,
"length": 8.0,
"n1": 4.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 3.327235463179383,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/draft-store.ts:anonymous_function_34:34",
"entity_name": "anonymous_function_34",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/draft-store.ts",
"issues": [],
"line_number": 35,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.015502331109474358,
"calculated_length": 23.509775004326936,
"difficulty": 3.3333333333333335,
"effort": 155.02331109474358,
"length": 14.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 4.0,
"n_2": 10.0,
"time": 8.612406171930198,
"vocabulary": 10.0,
"volume": 46.50699332842307
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 35
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/draft-store.ts:anonymous_function_35:35",
"entity_name": "anonymous_function_35",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/draft-store.ts",
"issues": [],
"line_number": 36,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008422064766172813,
"calculated_length": 13.60964047443681,
"difficulty": 1.4,
"effort": 35.372672017925815,
"length": 9.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 2.0,
"n_2": 7.0,
"time": 1.965148445440323,
"vocabulary": 7.0,
"volume": 25.26619429851844
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 36
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/draft-store.ts:anonymous_function_43:43",
"entity_name": "anonymous_function_43",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/draft-store.ts",
"issues": [],
"line_number": 44,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017297158093186486,
"calculated_length": 27.651484454403228,
"difficulty": 3.142857142857143,
"effort": 163.08749059290116,
"length": 15.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 4.0,
"n_2": 11.0,
"time": 9.060416144050064,
"vocabulary": 11.0,
"volume": 51.89147427955946
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 44
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/draft-store.ts:anonymous_function_44:44",
"entity_name": "anonymous_function_44",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/draft-store.ts",
"issues": [],
"line_number": 45,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011,
"calculated_length": 17.509775004326936,
"difficulty": 1.5,
"effort": 49.5,
"length": 11.0,
"n1": 2.0,
"n2": 6.0,
"n_1": 2.0,
"n_2": 9.0,
"time": 2.75,
"vocabulary": 8.0,
"volume": 33.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 45
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/draft-store.ts:anonymous_function_50:50",
"entity_name": "anonymous_function_50",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/draft-store.ts",
"issues": [],
"line_number": 51,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.5,
"effort": 17.414460711655217,
"length": 5.0,
"n1": 3.0,
"n2": 2.0,
"n_1": 3.0,
"n_2": 2.0,
"time": 0.9674700395364009,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 51
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/draft-store.ts:anonymous_function_54:54",
"entity_name": "anonymous_function_54",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/draft-store.ts",
"issues": [],
"line_number": 55,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 55
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/draft-store.ts:anonymous_function_60:60",
"entity_name": "anonymous_function_60",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/draft-store.ts",
"issues": [],
"line_number": 61,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 61
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts:clampWidth:64",
"entity_name": "clampWidth",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts",
"issues": [],
"line_number": 65,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.015502331109474358,
"calculated_length": 24.406371956566694,
"difficulty": 1.9285714285714288,
"effort": 89.69205856195879,
"length": 14.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 5.0,
"n_2": 9.0,
"time": 4.9828921423310435,
"vocabulary": 10.0,
"volume": 46.50699332842307
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 65
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts:anonymous_function_72:72",
"entity_name": "anonymous_function_72",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts",
"issues": [],
"line_number": 73,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 15,
"kind": "ConditionalExpression",
"line": 108,
"nesting_level": 0
},
{
"column": 15,
"kind": "ConditionalExpression",
"line": 110,
"nesting_level": 0
},
{
"column": 33,
"kind": "ConditionalExpression",
"line": 117,
"nesting_level": 0
},
{
"column": 33,
"kind": "ConditionalExpression",
"line": 130,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.28219794512542185,
"calculated_length": 199.17639004747704,
"difficulty": 11.5,
"effort": 9735.829106827054,
"length": 157.0,
"n1": 7.0,
"n2": 35.0,
"n_1": 42.0,
"n_2": 115.0,
"time": 540.8793948237252,
"vocabulary": 42.0,
"volume": 846.5938353762655
},
"lines_of_code": 71.0,
"maintainability_index": 65.74023655046713,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 27.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 73
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts:anonymous_function_88:88",
"entity_name": "anonymous_function_88",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts",
"issues": [],
"line_number": 89,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01328771237954945,
"calculated_length": 24.406371956566694,
"difficulty": 1.9285714285714288,
"effort": 76.87890733882182,
"length": 12.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 3.0,
"n_2": 9.0,
"time": 4.271050407712323,
"vocabulary": 10.0,
"volume": 39.86313713864835
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 89
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts:anonymous_function_89:89",
"entity_name": "anonymous_function_89",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts",
"issues": [],
"line_number": 90,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 17.509775004326936,
"difficulty": 1.3333333333333333,
"effort": 40.0,
"length": 10.0,
"n1": 2.0,
"n2": 6.0,
"n_1": 2.0,
"n_2": 8.0,
"time": 2.2222222222222223,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 90
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts:anonymous_function_94:94",
"entity_name": "anonymous_function_94",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts",
"issues": [],
"line_number": 95,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01328771237954945,
"calculated_length": 24.406371956566694,
"difficulty": 1.9285714285714288,
"effort": 76.87890733882182,
"length": 12.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 3.0,
"n_2": 9.0,
"time": 4.271050407712323,
"vocabulary": 10.0,
"volume": 39.86313713864835
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 95
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts:anonymous_function_95:95",
"entity_name": "anonymous_function_95",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts",
"issues": [],
"line_number": 96,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 17.509775004326936,
"difficulty": 1.3333333333333333,
"effort": 40.0,
"length": 10.0,
"n1": 2.0,
"n2": 6.0,
"n_1": 2.0,
"n_2": 8.0,
"time": 2.2222222222222223,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 96
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts:anonymous_function_100:100",
"entity_name": "anonymous_function_100",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts",
"issues": [],
"line_number": 101,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 15,
"kind": "ConditionalExpression",
"line": 108,
"nesting_level": 0
},
{
"column": 15,
"kind": "ConditionalExpression",
"line": 110,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04297579655169371,
"calculated_length": 44.82892142331043,
"difficulty": 5.25,
"effort": 676.868795689176,
"length": 33.0,
"n1": 5.0,
"n2": 10.0,
"n_1": 12.0,
"n_2": 21.0,
"time": 37.603821982732,
"vocabulary": 15.0,
"volume": 128.92738965508113
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 9.8
},
"recommendations": [],
"severity": "Low",
"start_line": 101
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts:anonymous_function_101:101",
"entity_name": "anonymous_function_101",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts",
"issues": [],
"line_number": 102,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 15,
"kind": "ConditionalExpression",
"line": 108,
"nesting_level": 0
},
{
"column": 15,
"kind": "ConditionalExpression",
"line": 110,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.038237877087457954,
"calculated_length": 36.529325012980806,
"difficulty": 4.444444444444445,
"effort": 509.83836116610604,
"length": 31.0,
"n1": 4.0,
"n2": 9.0,
"n_1": 11.0,
"n_2": 20.0,
"time": 28.324353398117,
"vocabulary": 13.0,
"volume": 114.71363126237385
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 9.6
},
"recommendations": [],
"severity": "Low",
"start_line": 102
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts:anonymous_function_113:113",
"entity_name": "anonymous_function_113",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts",
"issues": [],
"line_number": 114,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 33,
"kind": "ConditionalExpression",
"line": 117,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03299707599116591,
"calculated_length": 39.50977500432694,
"difficulty": 6.375,
"effort": 631.0690783310479,
"length": 26.0,
"n1": 6.0,
"n2": 8.0,
"n_1": 9.0,
"n_2": 17.0,
"time": 35.05939324061377,
"vocabulary": 14.0,
"volume": 98.99122797349771
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 114
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts:anonymous_function_114:114",
"entity_name": "anonymous_function_114",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts",
"issues": [],
"line_number": 115,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 33,
"kind": "ConditionalExpression",
"line": 117,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02867970000576925,
"calculated_length": 31.26112492884004,
"difficulty": 5.7142857142857135,
"effort": 491.65200009890134,
"length": 24.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 8.0,
"n_2": 16.0,
"time": 27.31400000549452,
"vocabulary": 12.0,
"volume": 86.03910001730775
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 115
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts:anonymous_function_126:126",
"entity_name": "anonymous_function_126",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts",
"issues": [],
"line_number": 127,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 33,
"kind": "ConditionalExpression",
"line": 130,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03299707599116591,
"calculated_length": 39.50977500432694,
"difficulty": 6.375,
"effort": 631.0690783310479,
"length": 26.0,
"n1": 6.0,
"n2": 8.0,
"n_1": 9.0,
"n_2": 17.0,
"time": 35.05939324061377,
"vocabulary": 14.0,
"volume": 98.99122797349771
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 127
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts:anonymous_function_127:127",
"entity_name": "anonymous_function_127",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts",
"issues": [],
"line_number": 128,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 33,
"kind": "ConditionalExpression",
"line": 130,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02867970000576925,
"calculated_length": 31.26112492884004,
"difficulty": 5.7142857142857135,
"effort": 491.65200009890134,
"length": 24.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 8.0,
"n_2": 16.0,
"time": 27.31400000549452,
"vocabulary": 12.0,
"volume": 86.03910001730775
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 128
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts:anonymous_function_139:139",
"entity_name": "anonymous_function_139",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts",
"issues": [],
"line_number": 140,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 140
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts:anonymous_function_140:140",
"entity_name": "anonymous_function_140",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts",
"issues": [],
"line_number": 141,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005417832221403845,
"calculated_length": 8.0,
"difficulty": 0.625,
"effort": 10.15843541513221,
"length": 7.0,
"n1": 1.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 5.0,
"time": 0.5643575230629005,
"vocabulary": 5.0,
"volume": 16.253496664211536
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 141
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts:anonymous_function_141:141",
"entity_name": "anonymous_function_141",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts",
"issues": [],
"line_number": 142,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 142
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts:anonymous_function_142:142",
"entity_name": "anonymous_function_142",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts",
"issues": [],
"line_number": 143,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 143
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts:anonymous_function_146:146",
"entity_name": "anonymous_function_146",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts",
"issues": [],
"line_number": 147,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 147
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts:anonymous_function_147:147",
"entity_name": "anonymous_function_147",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts",
"issues": [],
"line_number": 148,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02747268334583337,
"calculated_length": 21.651484454403228,
"difficulty": 2.7142857142857144,
"effort": 223.70613581607174,
"length": 26.0,
"n1": 2.0,
"n2": 7.0,
"n_1": 7.0,
"n_2": 19.0,
"time": 12.42811865644843,
"vocabulary": 9.0,
"volume": 82.41805003750011
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 148
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts:usePanelState:167",
"entity_name": "usePanelState",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts",
"issues": [],
"line_number": 168,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 171,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.28262256674551306,
"calculated_length": 162.7164928725825,
"difficulty": 11.7,
"effort": 9920.052092767508,
"length": 164.0,
"n1": 6.0,
"n2": 30.0,
"n_1": 47.0,
"n_2": 117.0,
"time": 551.1140051537504,
"vocabulary": 36.0,
"volume": 847.8677002365392
},
"lines_of_code": 51.0,
"maintainability_index": 71.78225677917388,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 15.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 168
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts:anonymous_function_198:198",
"entity_name": "anonymous_function_198",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts",
"issues": [],
"line_number": 199,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 20.264662506490403,
"difficulty": 2.0,
"effort": 76.07820003461549,
"length": 12.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 4.0,
"n_2": 8.0,
"time": 4.22656666858975,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 199
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts:anonymous_function_199:199",
"entity_name": "anonymous_function_199",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts",
"issues": [],
"line_number": 200,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.5,
"effort": 31.019550008653873,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 6.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 200
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts:anonymous_function_202:202",
"entity_name": "anonymous_function_202",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts",
"issues": [],
"line_number": 203,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 20.264662506490403,
"difficulty": 2.0,
"effort": 76.07820003461549,
"length": 12.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 4.0,
"n_2": 8.0,
"time": 4.22656666858975,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 203
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts:anonymous_function_203:203",
"entity_name": "anonymous_function_203",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/panel-store.ts",
"issues": [],
"line_number": 204,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.5,
"effort": 31.019550008653873,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 6.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 204
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:logSessionStoreUpdate:308",
"entity_name": "logSessionStoreUpdate",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 309,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 314,
"nesting_level": 0
},
{
"column": 19,
"kind": "ConditionalExpression",
"line": 318,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07902884120328244,
"calculated_length": 137.26120593818493,
"difficulty": 6.521739130434783,
"effort": 1546.2164583250913,
"length": 47.0,
"n1": 10.0,
"n2": 23.0,
"n_1": 17.0,
"n_2": 30.0,
"time": 85.90091435139396,
"vocabulary": 33.0,
"volume": 237.08652360984732
},
"lines_of_code": 18.0,
"maintainability_index": 95.05016672631187,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 5.0,
"technical_debt_score": 11.2
},
"recommendations": [],
"severity": "Low",
"start_line": 309
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:createDefaultConnectionSnapshot:329",
"entity_name": "createDefaultConnectionSnapshot",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 330,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 331,
"nesting_level": 0
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 338,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08049350728942856,
"calculated_length": 93.48686830125577,
"difficulty": 8.0,
"effort": 1931.8441749462854,
"length": 52.0,
"n1": 8.0,
"n2": 17.0,
"n_1": 18.0,
"n_2": 34.0,
"time": 107.32467638590475,
"vocabulary": 25.0,
"volume": 241.48052186828568
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 9.6
},
"recommendations": [],
"severity": "Low",
"start_line": 330
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:createInitialSessionState:342",
"entity_name": "createInitialSessionState",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 343,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0923270943050094,
"calculated_length": 164.75488750216346,
"difficulty": 2.015625,
"effort": 558.2903983756037,
"length": 54.0,
"n1": 3.0,
"n2": 32.0,
"n_1": 11.0,
"n_2": 43.0,
"time": 31.016133243089094,
"vocabulary": 35.0,
"volume": 276.9812829150282
},
"lines_of_code": 22.0,
"maintainability_index": 91.45057260295286,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 1.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 343
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_367:367",
"entity_name": "anonymous_function_367",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [
{
"description": "Cyclomatic complexity of 55.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_367:367",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:368",
"metric_value": 55.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 60.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_367:367",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:368",
"metric_value": 60.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 368,
"metrics": {
"cognitive_complexity": 60.0,
"cyclomatic_complexity": 55.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 375,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 391,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 405,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 409,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 435,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 438,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 439,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 439,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 467,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 467,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 485,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 485,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 503,
"nesting_level": 0
},
{
"column": 30,
"kind": "ConditionalExpression",
"line": 506,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 507,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 524,
"nesting_level": 0
},
{
"column": 29,
"kind": "ConditionalExpression",
"line": 527,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 528,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 546,
"nesting_level": 0
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 549,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 550,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 567,
"nesting_level": 0
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 570,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 571,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 588,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 591,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 611,
"nesting_level": 0
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 614,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 615,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 633,
"nesting_level": 0
},
{
"column": 28,
"kind": "ConditionalExpression",
"line": 636,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 637,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 655,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 655,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 671,
"nesting_level": 0
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 674,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 675,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 693,
"nesting_level": 0
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 696,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 697,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 715,
"nesting_level": 0
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 718,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 719,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 737,
"nesting_level": 0
},
{
"column": 28,
"kind": "ConditionalExpression",
"line": 740,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 741,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 759,
"nesting_level": 0
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 762,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 763,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 781,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 781,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 799,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 803,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 821,
"nesting_level": 0
}
],
"halstead": {
"bugs": 3.0171662533870505,
"calculated_length": 1066.8811511679635,
"difficulty": 32.0979020979021,
"effort": 290534.1210429349,
"length": 1244.0,
"n1": 12.0,
"n2": 143.0,
"n_1": 479.0,
"n_2": 765.0,
"time": 16140.784502385271,
"vocabulary": 155.0,
"volume": 9051.498760161152
},
"lines_of_code": 477.0,
"maintainability_index": 11.06066756204126,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 180.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 368
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_372:372",
"entity_name": "anonymous_function_372",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 373,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 375,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.046324578867503845,
"calculated_length": 52.87076540327685,
"difficulty": 7.700000000000001,
"effort": 1070.097771839339,
"length": 34.0,
"n1": 7.0,
"n2": 10.0,
"n_1": 12.0,
"n_2": 22.0,
"time": 59.44987621329661,
"vocabulary": 17.0,
"volume": 138.97373660251154
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 5.0,
"technical_debt_score": 7.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 373
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_373:373",
"entity_name": "anonymous_function_373",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 374,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 375,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.037333333333333336,
"calculated_length": 48.18080946738404,
"difficulty": 7.0,
"effort": 784.0,
"length": 28.0,
"n1": 7.0,
"n2": 9.0,
"n_1": 10.0,
"n_2": 18.0,
"time": 43.55555555555556,
"vocabulary": 16.0,
"volume": 112.0
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 374
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_388:388",
"entity_name": "anonymous_function_388",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 389,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 391,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04533333333333334,
"calculated_length": 48.18080946738404,
"difficulty": 11.571428571428573,
"effort": 1573.714285714286,
"length": 34.0,
"n1": 9.0,
"n2": 7.0,
"n_1": 16.0,
"n_2": 18.0,
"time": 87.42857142857144,
"vocabulary": 16.0,
"volume": 136.0
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 389
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_389:389",
"entity_name": "anonymous_function_389",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 390,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 391,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03906890595608519,
"calculated_length": 44.039100017307746,
"difficulty": 12.0,
"effort": 1406.4806144190668,
"length": 30.0,
"n1": 9.0,
"n2": 6.0,
"n_1": 14.0,
"n_2": 16.0,
"time": 78.13781191217038,
"vocabulary": 15.0,
"volume": 117.20671786825557
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 390
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_400:400",
"entity_name": "anonymous_function_400",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 401,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 405,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 409,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08774154140530038,
"calculated_length": 98.01619331423657,
"difficulty": 9.26470588235294,
"effort": 2438.6987243532017,
"length": 56.0,
"n1": 9.0,
"n2": 17.0,
"n_1": 21.0,
"n_2": 35.0,
"time": 135.48326246406677,
"vocabulary": 26.0,
"volume": 263.22462421590114
},
"lines_of_code": 29.0,
"maintainability_index": 86.78016724316251,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 8.0,
"technical_debt_score": 13.4
},
"recommendations": [],
"severity": "Low",
"start_line": 401
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_401:401",
"entity_name": "anonymous_function_401",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 402,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 405,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 409,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07894555522617032,
"calculated_length": 92.5293250129808,
"difficulty": 9.0,
"effort": 2131.5299911065986,
"length": 51.0,
"n1": 9.0,
"n2": 16.0,
"n_1": 19.0,
"n_2": 32.0,
"time": 118.41833283925547,
"vocabulary": 25.0,
"volume": 236.83666567851094
},
"lines_of_code": 27.0,
"maintainability_index": 88.48711497892603,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 13.0
},
"recommendations": [],
"severity": "Low",
"start_line": 402
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_431:431",
"entity_name": "anonymous_function_431",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 432,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 435,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 438,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 439,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 439,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10102621701860663,
"calculated_length": 81.83229392178727,
"difficulty": 12.214285714285715,
"effort": 3701.889237896086,
"length": 67.0,
"n1": 9.0,
"n2": 14.0,
"n_1": 29.0,
"n_2": 38.0,
"time": 205.6605132164492,
"vocabulary": 23.0,
"volume": 303.0786510558199
},
"lines_of_code": 25.0,
"maintainability_index": 87.99145143654466,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 8.0,
"technical_debt_score": 19.8
},
"recommendations": [],
"severity": "Low",
"start_line": 432
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_432:432",
"entity_name": "anonymous_function_432",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 433,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 435,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 438,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 439,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 439,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09216158678517081,
"calculated_length": 76.63504134881501,
"difficulty": 12.115384615384617,
"effort": 3349.719211999478,
"length": 62.0,
"n1": 9.0,
"n2": 13.0,
"n_1": 27.0,
"n_2": 35.0,
"time": 186.09551177774878,
"vocabulary": 22.0,
"volume": 276.48476035551244
},
"lines_of_code": 23.0,
"maintainability_index": 89.81978404536756,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 19.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 433
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_458:458",
"entity_name": "anonymous_function_458",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 459,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 2.6666666666666665,
"effort": 59.89023833722889,
"length": 8.0,
"n1": 4.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 3.327235463179383,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 459
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_463:463",
"entity_name": "anonymous_function_463",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 464,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 467,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 467,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05906635063012729,
"calculated_length": 66.58307281799108,
"difficulty": 10.636363636363637,
"effort": 1884.753551924971,
"length": 41.0,
"n1": 9.0,
"n2": 11.0,
"n_1": 15.0,
"n_2": 26.0,
"time": 104.70853066249839,
"vocabulary": 20.0,
"volume": 177.19905189038187
},
"lines_of_code": 15.0,
"maintainability_index": 99.5177635663594,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 6.0,
"technical_debt_score": 11.399999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 464
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_464:464",
"entity_name": "anonymous_function_464",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 465,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 467,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 467,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.050975130161323025,
"calculated_length": 61.74860596185444,
"difficulty": 10.35,
"effort": 1582.7777915090799,
"length": 36.0,
"n1": 9.0,
"n2": 10.0,
"n_1": 13.0,
"n_2": 23.0,
"time": 87.93209952828221,
"vocabulary": 19.0,
"volume": 152.92539048396907
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.999999999999998
},
"recommendations": [],
"severity": "Low",
"start_line": 465
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_481:481",
"entity_name": "anonymous_function_481",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 482,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 485,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 485,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05906635063012729,
"calculated_length": 66.58307281799108,
"difficulty": 10.636363636363637,
"effort": 1884.753551924971,
"length": 41.0,
"n1": 9.0,
"n2": 11.0,
"n_1": 15.0,
"n_2": 26.0,
"time": 104.70853066249839,
"vocabulary": 20.0,
"volume": 177.19905189038187
},
"lines_of_code": 15.0,
"maintainability_index": 99.5177635663594,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 6.0,
"technical_debt_score": 11.399999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 482
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_482:482",
"entity_name": "anonymous_function_482",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 483,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 485,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 485,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.050975130161323025,
"calculated_length": 61.74860596185444,
"difficulty": 10.35,
"effort": 1582.7777915090799,
"length": 36.0,
"n1": 9.0,
"n2": 10.0,
"n_1": 13.0,
"n_2": 23.0,
"time": 87.93209952828221,
"vocabulary": 19.0,
"volume": 152.92539048396907
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.999999999999998
},
"recommendations": [],
"severity": "Low",
"start_line": 483
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_499:499",
"entity_name": "anonymous_function_499",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 500,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 503,
"nesting_level": 0
},
{
"column": 30,
"kind": "ConditionalExpression",
"line": 506,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 507,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0901709291808494,
"calculated_length": 86.52224985768008,
"difficulty": 12.857142857142858,
"effort": 3478.021554118477,
"length": 59.0,
"n1": 10.0,
"n2": 14.0,
"n_1": 23.0,
"n_2": 36.0,
"time": 193.2234196732487,
"vocabulary": 24.0,
"volume": 270.5127875425482
},
"lines_of_code": 19.0,
"maintainability_index": 93.25842780885525,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 9.0,
"technical_debt_score": 14.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 500
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_500:500",
"entity_name": "anonymous_function_500",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 501,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 503,
"nesting_level": 0
},
{
"column": 30,
"kind": "ConditionalExpression",
"line": 506,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 507,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08142411520902623,
"calculated_length": 81.32499728470782,
"difficulty": 12.692307692307692,
"effort": 3100.379771420614,
"length": 54.0,
"n1": 10.0,
"n2": 13.0,
"n_1": 21.0,
"n_2": 33.0,
"time": 172.24332063447855,
"vocabulary": 23.0,
"volume": 244.2723456270787
},
"lines_of_code": 17.0,
"maintainability_index": 95.59086820439762,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 13.8
},
"recommendations": [],
"severity": "Low",
"start_line": 501
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_520:520",
"entity_name": "anonymous_function_520",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 521,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 524,
"nesting_level": 0
},
{
"column": 29,
"kind": "ConditionalExpression",
"line": 527,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 528,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08896338513578791,
"calculated_length": 81.32499728470782,
"difficulty": 13.846153846153847,
"effort": 3695.4021517942674,
"length": 59.0,
"n1": 10.0,
"n2": 13.0,
"n_1": 23.0,
"n_2": 36.0,
"time": 205.30011954412598,
"vocabulary": 23.0,
"volume": 266.89015540736375
},
"lines_of_code": 19.0,
"maintainability_index": 93.32853524943646,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 9.0,
"technical_debt_score": 14.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 521
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_521:521",
"entity_name": "anonymous_function_521",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 522,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 524,
"nesting_level": 0
},
{
"column": 29,
"kind": "ConditionalExpression",
"line": 527,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 528,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08026976913547136,
"calculated_length": 76.2388309575275,
"difficulty": 13.75,
"effort": 3311.1279768381933,
"length": 54.0,
"n1": 10.0,
"n2": 12.0,
"n_1": 21.0,
"n_2": 33.0,
"time": 183.95155426878853,
"vocabulary": 22.0,
"volume": 240.80930740641406
},
"lines_of_code": 17.0,
"maintainability_index": 95.66511592980933,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 13.8
},
"recommendations": [],
"severity": "Low",
"start_line": 522
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_542:542",
"entity_name": "anonymous_function_542",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 543,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 546,
"nesting_level": 0
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 549,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 550,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0901709291808494,
"calculated_length": 86.52224985768008,
"difficulty": 12.857142857142858,
"effort": 3478.021554118477,
"length": 59.0,
"n1": 10.0,
"n2": 14.0,
"n_1": 23.0,
"n_2": 36.0,
"time": 193.2234196732487,
"vocabulary": 24.0,
"volume": 270.5127875425482
},
"lines_of_code": 19.0,
"maintainability_index": 93.25842780885525,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 9.0,
"technical_debt_score": 14.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 543
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_543:543",
"entity_name": "anonymous_function_543",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 544,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 546,
"nesting_level": 0
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 549,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 550,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08142411520902623,
"calculated_length": 81.32499728470782,
"difficulty": 12.692307692307692,
"effort": 3100.379771420614,
"length": 54.0,
"n1": 10.0,
"n2": 13.0,
"n_1": 21.0,
"n_2": 33.0,
"time": 172.24332063447855,
"vocabulary": 23.0,
"volume": 244.2723456270787
},
"lines_of_code": 17.0,
"maintainability_index": 95.59086820439762,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 13.8
},
"recommendations": [],
"severity": "Low",
"start_line": 544
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_563:563",
"entity_name": "anonymous_function_563",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 564,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 567,
"nesting_level": 0
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 570,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 571,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0901709291808494,
"calculated_length": 86.52224985768008,
"difficulty": 12.857142857142858,
"effort": 3478.021554118477,
"length": 59.0,
"n1": 10.0,
"n2": 14.0,
"n_1": 23.0,
"n_2": 36.0,
"time": 193.2234196732487,
"vocabulary": 24.0,
"volume": 270.5127875425482
},
"lines_of_code": 19.0,
"maintainability_index": 93.25842780885525,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 9.0,
"technical_debt_score": 14.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 564
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_564:564",
"entity_name": "anonymous_function_564",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 565,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 567,
"nesting_level": 0
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 570,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 571,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08142411520902623,
"calculated_length": 81.32499728470782,
"difficulty": 12.692307692307692,
"effort": 3100.379771420614,
"length": 54.0,
"n1": 10.0,
"n2": 13.0,
"n_1": 21.0,
"n_2": 33.0,
"time": 172.24332063447855,
"vocabulary": 23.0,
"volume": 244.2723456270787
},
"lines_of_code": 17.0,
"maintainability_index": 95.59086820439762,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 13.8
},
"recommendations": [],
"severity": "Low",
"start_line": 565
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_584:584",
"entity_name": "anonymous_function_584",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 585,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 588,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 591,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0901709291808494,
"calculated_length": 87.13268394710859,
"difficulty": 10.5,
"effort": 2840.384269196756,
"length": 59.0,
"n1": 9.0,
"n2": 15.0,
"n_1": 24.0,
"n_2": 35.0,
"time": 157.79912606648645,
"vocabulary": 24.0,
"volume": 270.5127875425482
},
"lines_of_code": 20.0,
"maintainability_index": 92.65747643977691,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 10.0,
"technical_debt_score": 11.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 585
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_585:585",
"entity_name": "anonymous_function_585",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 586,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 588,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 591,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08142411520902623,
"calculated_length": 81.83229392178727,
"difficulty": 10.285714285714285,
"effort": 2512.515555021381,
"length": 54.0,
"n1": 9.0,
"n2": 14.0,
"n_1": 22.0,
"n_2": 32.0,
"time": 139.58419750118782,
"vocabulary": 23.0,
"volume": 244.2723456270787
},
"lines_of_code": 18.0,
"maintainability_index": 94.89490190019045,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 11.2
},
"recommendations": [],
"severity": "Low",
"start_line": 586
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_607:607",
"entity_name": "anonymous_function_607",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 608,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 611,
"nesting_level": 0
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 614,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 615,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0901709291808494,
"calculated_length": 86.52224985768008,
"difficulty": 12.857142857142858,
"effort": 3478.021554118477,
"length": 59.0,
"n1": 10.0,
"n2": 14.0,
"n_1": 23.0,
"n_2": 36.0,
"time": 193.2234196732487,
"vocabulary": 24.0,
"volume": 270.5127875425482
},
"lines_of_code": 19.0,
"maintainability_index": 93.25842780885525,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 9.0,
"technical_debt_score": 14.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 608
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_608:608",
"entity_name": "anonymous_function_608",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 609,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 611,
"nesting_level": 0
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 614,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 615,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08142411520902623,
"calculated_length": 81.32499728470782,
"difficulty": 12.692307692307692,
"effort": 3100.379771420614,
"length": 54.0,
"n1": 10.0,
"n2": 13.0,
"n_1": 21.0,
"n_2": 33.0,
"time": 172.24332063447855,
"vocabulary": 23.0,
"volume": 244.2723456270787
},
"lines_of_code": 17.0,
"maintainability_index": 95.59086820439762,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 13.8
},
"recommendations": [],
"severity": "Low",
"start_line": 609
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_629:629",
"entity_name": "anonymous_function_629",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 630,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 633,
"nesting_level": 0
},
{
"column": 28,
"kind": "ConditionalExpression",
"line": 636,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 637,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0901709291808494,
"calculated_length": 86.52224985768008,
"difficulty": 12.857142857142858,
"effort": 3478.021554118477,
"length": 59.0,
"n1": 10.0,
"n2": 14.0,
"n_1": 23.0,
"n_2": 36.0,
"time": 193.2234196732487,
"vocabulary": 24.0,
"volume": 270.5127875425482
},
"lines_of_code": 19.0,
"maintainability_index": 93.25842780885525,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 9.0,
"technical_debt_score": 14.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 630
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_630:630",
"entity_name": "anonymous_function_630",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 631,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 633,
"nesting_level": 0
},
{
"column": 28,
"kind": "ConditionalExpression",
"line": 636,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 637,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08142411520902623,
"calculated_length": 81.32499728470782,
"difficulty": 12.692307692307692,
"effort": 3100.379771420614,
"length": 54.0,
"n1": 10.0,
"n2": 13.0,
"n_1": 21.0,
"n_2": 33.0,
"time": 172.24332063447855,
"vocabulary": 23.0,
"volume": 244.2723456270787
},
"lines_of_code": 17.0,
"maintainability_index": 95.59086820439762,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 13.8
},
"recommendations": [],
"severity": "Low",
"start_line": 631
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_651:651",
"entity_name": "anonymous_function_651",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 652,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 655,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 655,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.0651348885394683,
"calculated_length": 62.05374780501027,
"difficulty": 9.454545454545455,
"effort": 1847.462293119465,
"length": 46.0,
"n1": 8.0,
"n2": 11.0,
"n_1": 20.0,
"n_2": 26.0,
"time": 102.6367940621925,
"vocabulary": 19.0,
"volume": 195.40466561840492
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 7.0,
"technical_debt_score": 10.999999999999998
},
"recommendations": [],
"severity": "Low",
"start_line": 652
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_652:652",
"entity_name": "anonymous_function_652",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 653,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 655,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 655,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.056988975019711605,
"calculated_length": 57.219280948873624,
"difficulty": 9.2,
"effort": 1572.8957105440402,
"length": 41.0,
"n1": 8.0,
"n2": 10.0,
"n_1": 18.0,
"n_2": 23.0,
"time": 87.38309503022445,
"vocabulary": 18.0,
"volume": 170.9669250591348
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 10.6
},
"recommendations": [],
"severity": "Low",
"start_line": 653
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_667:667",
"entity_name": "anonymous_function_667",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 668,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 671,
"nesting_level": 0
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 674,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 675,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0901709291808494,
"calculated_length": 86.52224985768008,
"difficulty": 12.857142857142858,
"effort": 3478.021554118477,
"length": 59.0,
"n1": 10.0,
"n2": 14.0,
"n_1": 23.0,
"n_2": 36.0,
"time": 193.2234196732487,
"vocabulary": 24.0,
"volume": 270.5127875425482
},
"lines_of_code": 19.0,
"maintainability_index": 93.25842780885525,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 9.0,
"technical_debt_score": 14.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 668
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_668:668",
"entity_name": "anonymous_function_668",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 669,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 671,
"nesting_level": 0
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 674,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 675,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08142411520902623,
"calculated_length": 81.32499728470782,
"difficulty": 12.692307692307692,
"effort": 3100.379771420614,
"length": 54.0,
"n1": 10.0,
"n2": 13.0,
"n_1": 21.0,
"n_2": 33.0,
"time": 172.24332063447855,
"vocabulary": 23.0,
"volume": 244.2723456270787
},
"lines_of_code": 17.0,
"maintainability_index": 95.59086820439762,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 13.8
},
"recommendations": [],
"severity": "Low",
"start_line": 669
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_689:689",
"entity_name": "anonymous_function_689",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 690,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 693,
"nesting_level": 0
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 696,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 697,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0901709291808494,
"calculated_length": 86.52224985768008,
"difficulty": 12.857142857142858,
"effort": 3478.021554118477,
"length": 59.0,
"n1": 10.0,
"n2": 14.0,
"n_1": 23.0,
"n_2": 36.0,
"time": 193.2234196732487,
"vocabulary": 24.0,
"volume": 270.5127875425482
},
"lines_of_code": 19.0,
"maintainability_index": 93.25842780885525,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 9.0,
"technical_debt_score": 14.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 690
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_690:690",
"entity_name": "anonymous_function_690",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 691,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 693,
"nesting_level": 0
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 696,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 697,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08142411520902623,
"calculated_length": 81.32499728470782,
"difficulty": 12.692307692307692,
"effort": 3100.379771420614,
"length": 54.0,
"n1": 10.0,
"n2": 13.0,
"n_1": 21.0,
"n_2": 33.0,
"time": 172.24332063447855,
"vocabulary": 23.0,
"volume": 244.2723456270787
},
"lines_of_code": 17.0,
"maintainability_index": 95.59086820439762,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 13.8
},
"recommendations": [],
"severity": "Low",
"start_line": 691
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_711:711",
"entity_name": "anonymous_function_711",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 712,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 715,
"nesting_level": 0
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 718,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 719,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0901709291808494,
"calculated_length": 86.52224985768008,
"difficulty": 12.857142857142858,
"effort": 3478.021554118477,
"length": 59.0,
"n1": 10.0,
"n2": 14.0,
"n_1": 23.0,
"n_2": 36.0,
"time": 193.2234196732487,
"vocabulary": 24.0,
"volume": 270.5127875425482
},
"lines_of_code": 19.0,
"maintainability_index": 93.25842780885525,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 9.0,
"technical_debt_score": 14.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 712
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_712:712",
"entity_name": "anonymous_function_712",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 713,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 715,
"nesting_level": 0
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 718,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 719,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08142411520902623,
"calculated_length": 81.32499728470782,
"difficulty": 12.692307692307692,
"effort": 3100.379771420614,
"length": 54.0,
"n1": 10.0,
"n2": 13.0,
"n_1": 21.0,
"n_2": 33.0,
"time": 172.24332063447855,
"vocabulary": 23.0,
"volume": 244.2723456270787
},
"lines_of_code": 17.0,
"maintainability_index": 95.59086820439762,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 13.8
},
"recommendations": [],
"severity": "Low",
"start_line": 713
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_733:733",
"entity_name": "anonymous_function_733",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 734,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 737,
"nesting_level": 0
},
{
"column": 28,
"kind": "ConditionalExpression",
"line": 740,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 741,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0901709291808494,
"calculated_length": 86.52224985768008,
"difficulty": 12.857142857142858,
"effort": 3478.021554118477,
"length": 59.0,
"n1": 10.0,
"n2": 14.0,
"n_1": 23.0,
"n_2": 36.0,
"time": 193.2234196732487,
"vocabulary": 24.0,
"volume": 270.5127875425482
},
"lines_of_code": 19.0,
"maintainability_index": 93.25842780885525,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 9.0,
"technical_debt_score": 14.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 734
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_734:734",
"entity_name": "anonymous_function_734",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 735,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 737,
"nesting_level": 0
},
{
"column": 28,
"kind": "ConditionalExpression",
"line": 740,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 741,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08142411520902623,
"calculated_length": 81.32499728470782,
"difficulty": 12.692307692307692,
"effort": 3100.379771420614,
"length": 54.0,
"n1": 10.0,
"n2": 13.0,
"n_1": 21.0,
"n_2": 33.0,
"time": 172.24332063447855,
"vocabulary": 23.0,
"volume": 244.2723456270787
},
"lines_of_code": 17.0,
"maintainability_index": 95.59086820439762,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 13.8
},
"recommendations": [],
"severity": "Low",
"start_line": 735
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_755:755",
"entity_name": "anonymous_function_755",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 756,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 759,
"nesting_level": 0
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 762,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 763,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0901709291808494,
"calculated_length": 86.52224985768008,
"difficulty": 12.857142857142858,
"effort": 3478.021554118477,
"length": 59.0,
"n1": 10.0,
"n2": 14.0,
"n_1": 23.0,
"n_2": 36.0,
"time": 193.2234196732487,
"vocabulary": 24.0,
"volume": 270.5127875425482
},
"lines_of_code": 19.0,
"maintainability_index": 93.25842780885525,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 9.0,
"technical_debt_score": 14.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 756
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_756:756",
"entity_name": "anonymous_function_756",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 757,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 759,
"nesting_level": 0
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 762,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 763,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08142411520902623,
"calculated_length": 81.32499728470782,
"difficulty": 12.692307692307692,
"effort": 3100.379771420614,
"length": 54.0,
"n1": 10.0,
"n2": 13.0,
"n_1": 21.0,
"n_2": 33.0,
"time": 172.24332063447855,
"vocabulary": 23.0,
"volume": 244.2723456270787
},
"lines_of_code": 17.0,
"maintainability_index": 95.59086820439762,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 13.8
},
"recommendations": [],
"severity": "Low",
"start_line": 757
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_777:777",
"entity_name": "anonymous_function_777",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 778,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 781,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 781,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05906635063012729,
"calculated_length": 66.58307281799108,
"difficulty": 10.636363636363637,
"effort": 1884.753551924971,
"length": 41.0,
"n1": 9.0,
"n2": 11.0,
"n_1": 15.0,
"n_2": 26.0,
"time": 104.70853066249839,
"vocabulary": 20.0,
"volume": 177.19905189038187
},
"lines_of_code": 15.0,
"maintainability_index": 99.5177635663594,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 6.0,
"technical_debt_score": 11.399999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 778
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_778:778",
"entity_name": "anonymous_function_778",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 779,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 781,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 781,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.050975130161323025,
"calculated_length": 61.74860596185444,
"difficulty": 10.35,
"effort": 1582.7777915090799,
"length": 36.0,
"n1": 9.0,
"n2": 10.0,
"n_1": 13.0,
"n_2": 23.0,
"time": 87.93209952828221,
"vocabulary": 19.0,
"volume": 152.92539048396907
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.999999999999998
},
"recommendations": [],
"severity": "Low",
"start_line": 779
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_795:795",
"entity_name": "anonymous_function_795",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 796,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 799,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 803,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06734886714927432,
"calculated_length": 71.54887502163469,
"difficulty": 10.125,
"effort": 2045.7218396592077,
"length": 46.0,
"n1": 9.0,
"n2": 12.0,
"n_1": 19.0,
"n_2": 27.0,
"time": 113.65121331440042,
"vocabulary": 21.0,
"volume": 202.04660144782298
},
"lines_of_code": 19.0,
"maintainability_index": 95.0058970081438,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 8.0,
"technical_debt_score": 11.4
},
"recommendations": [],
"severity": "Low",
"start_line": 796
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_796:796",
"entity_name": "anonymous_function_796",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 797,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 799,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 803,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05906635063012729,
"calculated_length": 66.58307281799108,
"difficulty": 9.818181818181817,
"effort": 1739.7725094692034,
"length": 41.0,
"n1": 9.0,
"n2": 11.0,
"n_1": 17.0,
"n_2": 24.0,
"time": 96.65402830384464,
"vocabulary": 20.0,
"volume": 177.19905189038187
},
"lines_of_code": 17.0,
"maintainability_index": 97.49012065050451,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 11.0
},
"recommendations": [],
"severity": "Low",
"start_line": 797
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts:anonymous_function_817:817",
"entity_name": "anonymous_function_817",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/stores/session-store.ts",
"issues": [],
"line_number": 818,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 821,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.16093644374560329,
"calculated_length": 167.82521876648653,
"difficulty": 10.357142857142858,
"effort": 5000.525216381245,
"length": 92.0,
"n1": 10.0,
"n2": 28.0,
"n_1": 34.0,
"n_2": 58.0,
"time": 277.8069564656247,
"vocabulary": 38.0,
"volume": 482.80933123680984
},
"lines_of_code": 26.0,
"maintainability_index": 85.62480263892533,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 10.0
},
"recommendations": [],
"severity": "Low",
"start_line": 818
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/styles/markdown-styles.ts:createMarkdownStyles:10",
"entity_name": "createMarkdownStyles",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/styles/markdown-styles.ts",
"issues": [],
"line_number": 11,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 1.693410156144532,
"calculated_length": 820.1518798246973,
"difficulty": 8.88135593220339,
"effort": 45119.33500778312,
"length": 733.0,
"n1": 4.0,
"n2": 118.0,
"n_1": 209.0,
"n_2": 524.0,
"time": 2506.6297226546176,
"vocabulary": 122.0,
"volume": 5080.230468433596
},
"lines_of_code": 294.0,
"maintainability_index": 34.32382585091766,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 11
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/styles/markdown-styles.ts:createCompactMarkdownStyles:310",
"entity_name": "createCompactMarkdownStyles",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/styles/markdown-styles.ts",
"issues": [],
"line_number": 311,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.2498797084030451,
"calculated_length": 168.0,
"difficulty": 6.4375,
"effort": 4825.801868533808,
"length": 145.0,
"n1": 4.0,
"n2": 32.0,
"n_1": 42.0,
"n_2": 103.0,
"time": 268.1001038074338,
"vocabulary": 36.0,
"volume": 749.6391252091353
},
"lines_of_code": 58.0,
"maintainability_index": 70.56894522255485,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 13.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 311
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/agent-activity.ts:groupActivities:122",
"entity_name": "groupActivities",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/agent-activity.ts",
"issues": [
{
"description": "Cyclomatic complexity of 33.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/agent-activity.ts:groupActivities:122",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/types/agent-activity.ts:123",
"metric_value": 33.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 126.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/agent-activity.ts:groupActivities:122",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/types/agent-activity.ts:123",
"metric_value": 126.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 123,
"metrics": {
"cognitive_complexity": 126.0,
"cyclomatic_complexity": 33.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 150,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 166,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 167,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 167,
"nesting_level": 1
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 172,
"nesting_level": 1
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 173,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 179,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 179,
"nesting_level": 2
},
{
"column": 10,
"kind": "If",
"line": 195,
"nesting_level": 1
},
{
"column": 14,
"kind": "LogicalOr",
"line": 195,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 201,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 203,
"nesting_level": 3
},
{
"column": 21,
"kind": "LogicalOr",
"line": 211,
"nesting_level": 4
},
{
"column": 11,
"kind": "If",
"line": 224,
"nesting_level": 4
},
{
"column": 11,
"kind": "If",
"line": 225,
"nesting_level": 4
},
{
"column": 11,
"kind": "If",
"line": 226,
"nesting_level": 4
},
{
"column": 11,
"kind": "If",
"line": 227,
"nesting_level": 4
},
{
"column": 11,
"kind": "If",
"line": 228,
"nesting_level": 4
},
{
"column": 11,
"kind": "If",
"line": 229,
"nesting_level": 4
},
{
"column": 9,
"kind": "If",
"line": 234,
"nesting_level": 3
},
{
"column": 11,
"kind": "If",
"line": 236,
"nesting_level": 4
},
{
"column": 11,
"kind": "If",
"line": 237,
"nesting_level": 4
},
{
"column": 11,
"kind": "If",
"line": 238,
"nesting_level": 4
},
{
"column": 11,
"kind": "If",
"line": 239,
"nesting_level": 4
},
{
"column": 11,
"kind": "If",
"line": 240,
"nesting_level": 4
},
{
"column": 11,
"kind": "If",
"line": 241,
"nesting_level": 4
},
{
"column": 11,
"kind": "If",
"line": 242,
"nesting_level": 4
},
{
"column": 20,
"kind": "LogicalOr",
"line": 251,
"nesting_level": 4
},
{
"column": 21,
"kind": "LogicalOr",
"line": 252,
"nesting_level": 4
},
{
"column": 23,
"kind": "LogicalOr",
"line": 253,
"nesting_level": 4
},
{
"column": 22,
"kind": "LogicalOr",
"line": 256,
"nesting_level": 4
},
{
"column": 24,
"kind": "LogicalOr",
"line": 257,
"nesting_level": 4
}
],
"halstead": {
"bugs": 1.4202023784685083,
"calculated_length": 658.771058891373,
"difficulty": 31.14130434782609,
"effort": 132680.86351018294,
"length": 632.0,
"n1": 15.0,
"n2": 92.0,
"n_1": 250.0,
"n_2": 382.0,
"time": 7371.159083899052,
"vocabulary": 107.0,
"volume": 4260.607135405525
},
"lines_of_code": 170.0,
"maintainability_index": 36.7527971841712,
"max_nesting_depth": 4.0,
"parameter_count": 1.0,
"statement_count": 65.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 123
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/agent-activity.ts:flushTextGroup:148",
"entity_name": "flushTextGroup",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/agent-activity.ts",
"issues": [],
"line_number": 149,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 150,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05042249444035256,
"calculated_length": 68.81274391313339,
"difficulty": 4.714285714285714,
"effort": 713.1181356564148,
"length": 35.0,
"n1": 6.0,
"n2": 14.0,
"n_1": 13.0,
"n_2": 22.0,
"time": 39.61767420313416,
"vocabulary": 20.0,
"volume": 151.26748332105768
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 149
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts:anonymous_function_11:11",
"entity_name": "anonymous_function_11",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts",
"issues": [],
"line_number": 12,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012180403014586996,
"calculated_length": 28.52932501298081,
"difficulty": 0.5555555555555556,
"effort": 20.300671690978326,
"length": 11.0,
"n1": 1.0,
"n2": 9.0,
"n_1": 1.0,
"n_2": 10.0,
"time": 1.1278150939432403,
"vocabulary": 10.0,
"volume": 36.541209043760986
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 12
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts:anonymous_function_20:20",
"entity_name": "anonymous_function_20",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts",
"issues": [],
"line_number": 21,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01553483750312501,
"calculated_length": 38.05374780501027,
"difficulty": 0.5454545454545454,
"effort": 25.42064318693183,
"length": 13.0,
"n1": 1.0,
"n2": 11.0,
"n_1": 1.0,
"n_2": 12.0,
"time": 1.4122579548295462,
"vocabulary": 12.0,
"volume": 46.60451250937503
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 21
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts:anonymous_function_30:30",
"entity_name": "anonymous_function_30",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts",
"issues": [],
"line_number": 31,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 11.60964047443681,
"difficulty": 0.5,
"effort": 7.754887502163468,
"length": 6.0,
"n1": 1.0,
"n2": 5.0,
"n_1": 1.0,
"n_2": 5.0,
"time": 0.430827083453526,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts:anonymous_function_35:35",
"entity_name": "anonymous_function_35",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts",
"issues": [],
"line_number": 36,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01850219859070546,
"calculated_length": 43.01955000865387,
"difficulty": 0.5833333333333334,
"effort": 32.37884753373456,
"length": 15.0,
"n1": 1.0,
"n2": 12.0,
"n_1": 1.0,
"n_2": 14.0,
"time": 1.7988248629852532,
"vocabulary": 13.0,
"volume": 55.506595772116384
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 36
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts:anonymous_function_46:46",
"entity_name": "anonymous_function_46",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts",
"issues": [],
"line_number": 47,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012180403014586996,
"calculated_length": 28.52932501298081,
"difficulty": 0.5555555555555556,
"effort": 20.300671690978326,
"length": 11.0,
"n1": 1.0,
"n2": 9.0,
"n_1": 1.0,
"n_2": 10.0,
"time": 1.1278150939432403,
"vocabulary": 10.0,
"volume": 36.541209043760986
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 47
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts:anonymous_function_55:55",
"entity_name": "anonymous_function_55",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts",
"issues": [],
"line_number": 56,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.6863634663785508,
"calculated_length": 262.6431643391623,
"difficulty": 15.533333333333335,
"effort": 31984.537533240476,
"length": 363.0,
"n1": 6.0,
"n2": 45.0,
"n_1": 130.0,
"n_2": 233.0,
"time": 1776.918751846693,
"vocabulary": 51.0,
"volume": 2059.0903991356527
},
"lines_of_code": 113.0,
"maintainability_index": 54.51021536250765,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 39.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 56
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts:anonymous_function_56:56",
"entity_name": "anonymous_function_56",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts",
"issues": [],
"line_number": 57,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.06881297295686725,
"calculated_length": 79.81353752812508,
"difficulty": 2.416666666666667,
"effort": 498.89405393728765,
"length": 47.0,
"n1": 3.0,
"n2": 18.0,
"n_1": 18.0,
"n_2": 29.0,
"time": 27.716336329849312,
"vocabulary": 21.0,
"volume": 206.43891887060175
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 4.4
},
"recommendations": [],
"severity": "Low",
"start_line": 57
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts:anonymous_function_70:70",
"entity_name": "anonymous_function_70",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts",
"issues": [],
"line_number": 71,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.07840840723832156,
"calculated_length": 91.19344939991072,
"difficulty": 2.7,
"effort": 635.1080986304047,
"length": 52.0,
"n1": 3.0,
"n2": 20.0,
"n_1": 16.0,
"n_2": 36.0,
"time": 35.28378325724471,
"vocabulary": 23.0,
"volume": 235.22522171496468
},
"lines_of_code": 17.0,
"maintainability_index": 96.47711790990843,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 71
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts:anonymous_function_89:89",
"entity_name": "anonymous_function_89",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts",
"issues": [],
"line_number": 90,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1295461598700686,
"calculated_length": 119.55169999363824,
"difficulty": 6.391304347826088,
"effort": 2483.9068044652286,
"length": 80.0,
"n1": 6.0,
"n2": 23.0,
"n_1": 31.0,
"n_2": 49.0,
"time": 137.99482247029047,
"vocabulary": 29.0,
"volume": 388.63847961020576
},
"lines_of_code": 19.0,
"maintainability_index": 92.06431086102633,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 90
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts:anonymous_function_110:110",
"entity_name": "anonymous_function_110",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts",
"issues": [],
"line_number": 111,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.12338877633281183,
"calculated_length": 118.03910001730775,
"difficulty": 4.0,
"effort": 1480.6653159937418,
"length": 77.0,
"n1": 4.0,
"n2": 24.0,
"n_1": 29.0,
"n_2": 48.0,
"time": 82.25918422187455,
"vocabulary": 28.0,
"volume": 370.16632899843546
},
"lines_of_code": 19.0,
"maintainability_index": 92.31753583671157,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 111
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts:anonymous_function_131:131",
"entity_name": "anonymous_function_131",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts",
"issues": [],
"line_number": 132,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.048143178485693966,
"calculated_length": 68.75488750216347,
"difficulty": 2.0625,
"effort": 297.88591688023143,
"length": 34.0,
"n1": 3.0,
"n2": 16.0,
"n_1": 12.0,
"n_2": 22.0,
"time": 16.5492176044573,
"vocabulary": 19.0,
"volume": 144.4295354570819
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 132
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts:anonymous_function_144:144",
"entity_name": "anonymous_function_144",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts",
"issues": [],
"line_number": 145,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.07677384872963783,
"calculated_length": 108.79681249147477,
"difficulty": 2.4130434782608696,
"effort": 555.7759049341173,
"length": 49.0,
"n1": 3.0,
"n2": 23.0,
"n_1": 12.0,
"n_2": 37.0,
"time": 30.876439163006516,
"vocabulary": 26.0,
"volume": 230.3215461889135
},
"lines_of_code": 23.0,
"maintainability_index": 91.6897166325387,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 145
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts:anonymous_function_170:170",
"entity_name": "anonymous_function_170",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts",
"issues": [],
"line_number": 171,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.7651981980886013,
"calculated_length": 219.07272996525947,
"difficulty": 21.82894736842105,
"effort": 50110.413577460116,
"length": 418.0,
"n1": 7.0,
"n2": 38.0,
"n_1": 181.0,
"n_2": 237.0,
"time": 2783.911865414451,
"vocabulary": 45.0,
"volume": 2295.594594265804
},
"lines_of_code": 95.0,
"maintainability_index": 56.75570906475309,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 35.0,
"technical_debt_score": 21.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 171
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts:anonymous_function_171:171",
"entity_name": "anonymous_function_171",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts",
"issues": [],
"line_number": 172,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.12377824591104875,
"calculated_length": 101.94833690207419,
"difficulty": 6.300000000000001,
"effort": 2339.4088477188216,
"length": 79.0,
"n1": 6.0,
"n2": 20.0,
"n_1": 37.0,
"n_2": 42.0,
"time": 129.9671582066012,
"vocabulary": 26.0,
"volume": 371.33473773314626
},
"lines_of_code": 13.0,
"maintainability_index": 98.44888005706076,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 4.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 172
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts:anonymous_function_186:186",
"entity_name": "anonymous_function_186",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts",
"issues": [],
"line_number": 187,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10371278823830217,
"calculated_length": 94.71013448036484,
"difficulty": 7.777777777777779,
"effort": 2419.9650588937175,
"length": 67.0,
"n1": 7.0,
"n2": 18.0,
"n_1": 27.0,
"n_2": 40.0,
"time": 134.4425032718732,
"vocabulary": 25.0,
"volume": 311.1383647149065
},
"lines_of_code": 17.0,
"maintainability_index": 95.02270770381895,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 187
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts:anonymous_function_205:205",
"entity_name": "anonymous_function_205",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts",
"issues": [],
"line_number": 206,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.15221673784733059,
"calculated_length": 117.75898006442377,
"difficulty": 8.431818181818182,
"effort": 3850.3915732745213,
"length": 94.0,
"n1": 7.0,
"n2": 22.0,
"n_1": 41.0,
"n_2": 53.0,
"time": 213.91064295969562,
"vocabulary": 29.0,
"volume": 456.6502135419918
},
"lines_of_code": 19.0,
"maintainability_index": 91.22571649352646,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 206
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts:anonymous_function_226:226",
"entity_name": "anonymous_function_226",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts",
"issues": [],
"line_number": 227,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.09364806399138323,
"calculated_length": 81.09650877569258,
"difficulty": 5.588235294117647,
"effort": 1569.982249267307,
"length": 63.0,
"n1": 5.0,
"n2": 17.0,
"n_1": 25.0,
"n_2": 38.0,
"time": 87.22123607040595,
"vocabulary": 22.0,
"volume": 280.9441919741497
},
"lines_of_code": 17.0,
"maintainability_index": 95.55353239470759,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 227
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts:anonymous_function_245:245",
"entity_name": "anonymous_function_245",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream-buffer.test.ts",
"issues": [],
"line_number": 246,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.15383606484570644,
"calculated_length": 117.75898006442377,
"difficulty": 8.590909090909092,
"effort": 3964.77494397798,
"length": 95.0,
"n1": 7.0,
"n2": 22.0,
"n_1": 41.0,
"n_2": 54.0,
"time": 220.26527466544334,
"vocabulary": 29.0,
"volume": 461.5081945371193
},
"lines_of_code": 19.0,
"maintainability_index": 91.17068952500769,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 246
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.harness.test.ts:anonymous_function_139:139",
"entity_name": "anonymous_function_139",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.harness.test.ts",
"issues": [],
"line_number": 140,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.2169089471324135,
"calculated_length": 148.88144885869957,
"difficulty": 4.620689655172414,
"effort": 3006.806784387249,
"length": 129.0,
"n1": 4.0,
"n2": 29.0,
"n_1": 62.0,
"n_2": 67.0,
"time": 167.04482135484716,
"vocabulary": 33.0,
"volume": 650.7268413972405
},
"lines_of_code": 21.0,
"maintainability_index": 87.7626687393219,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 140
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.harness.test.ts:anonymous_function_140:140",
"entity_name": "anonymous_function_140",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.harness.test.ts",
"issues": [],
"line_number": 141,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10777745004903862,
"calculated_length": 112.0419249893113,
"difficulty": 3.130434782608696,
"effort": 1012.1708352431453,
"length": 68.0,
"n1": 4.0,
"n2": 23.0,
"n_1": 32.0,
"n_2": 36.0,
"time": 56.23171306906363,
"vocabulary": 27.0,
"volume": 323.33235014711585
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 141
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.harness.test.ts:anonymous_function_149:149",
"entity_name": "anonymous_function_149",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.harness.test.ts",
"issues": [],
"line_number": 150,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.07366867502548084,
"calculated_length": 63.35824643629125,
"difficulty": 2.7,
"effort": 596.7162677063949,
"length": 53.0,
"n1": 3.0,
"n2": 15.0,
"n_1": 26.0,
"n_2": 27.0,
"time": 33.15090376146638,
"vocabulary": 18.0,
"volume": 221.00602507644254
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 150
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.harness.test.ts:buildToolStartEvent:162",
"entity_name": "buildToolStartEvent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.harness.test.ts",
"issues": [],
"line_number": 163,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04024675364471428,
"calculated_length": 106.0419249893113,
"difficulty": 1.0434782608695652,
"effort": 125.98983749649688,
"length": 26.0,
"n1": 2.0,
"n2": 23.0,
"n_1": 2.0,
"n_2": 24.0,
"time": 6.999435416472049,
"vocabulary": 25.0,
"volume": 120.74026093414284
},
"lines_of_code": 22.0,
"maintainability_index": 95.76817575624625,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 163
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.harness.test.ts:buildToolResultEvent:186",
"entity_name": "buildToolResultEvent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.harness.test.ts",
"issues": [],
"line_number": 187,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.028319516756290568,
"calculated_length": 75.05865002596161,
"difficulty": 0.5277777777777778,
"effort": 44.83923486412673,
"length": 20.0,
"n1": 1.0,
"n2": 18.0,
"n_1": 1.0,
"n_2": 19.0,
"time": 2.491068603562596,
"vocabulary": 19.0,
"volume": 84.9585502688717
},
"lines_of_code": 19.0,
"maintainability_index": 99.97083837048343,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 187
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.harness.test.ts:extractHarnessSnapshots:207",
"entity_name": "extractHarnessSnapshots",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.harness.test.ts",
"issues": [],
"line_number": 208,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.07690055325296921,
"calculated_length": 84.99664330558271,
"difficulty": 6.1764705882352935,
"effort": 1424.922016157959,
"length": 51.0,
"n1": 6.0,
"n2": 17.0,
"n_1": 16.0,
"n_2": 35.0,
"time": 79.16233423099771,
"vocabulary": 23.0,
"volume": 230.70165975890765
},
"lines_of_code": 15.0,
"maintainability_index": 98.60573487222024,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 5.0
},
"recommendations": [],
"severity": "Low",
"start_line": 208
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.harness.test.ts:anonymous_function_212:212",
"entity_name": "anonymous_function_212",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.harness.test.ts",
"issues": [],
"line_number": 213,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.013736341672916685,
"calculated_length": 19.60964047443681,
"difficulty": 5.0,
"effort": 206.04512509375027,
"length": 13.0,
"n1": 5.0,
"n2": 4.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 11.446951394097237,
"vocabulary": 9.0,
"volume": 41.209025018750054
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 213
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.harness.test.ts:findToolByCallId:224",
"entity_name": "findToolByCallId",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.harness.test.ts",
"issues": [],
"line_number": 225,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "LogicalAnd",
"line": 228,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.036,
"calculated_length": 51.01955000865387,
"difficulty": 3.0,
"effort": 324.0,
"length": 27.0,
"n1": 4.0,
"n2": 12.0,
"n_1": 9.0,
"n_2": 18.0,
"time": 18.0,
"vocabulary": 16.0,
"volume": 108.0
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 225
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.harness.test.ts:anonymous_function_226:226",
"entity_name": "anonymous_function_226",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.harness.test.ts",
"issues": [],
"line_number": 227,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "LogicalAnd",
"line": 228,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.017716949839399265,
"calculated_length": 24.406371956566694,
"difficulty": 2.142857142857143,
"effort": 113.89467753899527,
"length": 16.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 10.0,
"time": 6.327482085499737,
"vocabulary": 10.0,
"volume": 53.150849518197795
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 227
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:expectAgentToolCallItem:16",
"entity_name": "expectAgentToolCallItem",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 17,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.029603517745128736,
"calculated_length": 37.974168451037094,
"difficulty": 2.55,
"effort": 226.4669107502348,
"length": 24.0,
"n1": 3.0,
"n2": 10.0,
"n_1": 7.0,
"n_2": 17.0,
"time": 12.58149504167971,
"vocabulary": 13.0,
"volume": 88.81055323538621
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 17
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:assistantTimeline:24",
"entity_name": "assistantTimeline",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 25,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01726871868465843,
"calculated_length": 43.01955000865387,
"difficulty": 0.5416666666666666,
"effort": 28.061667862569948,
"length": 14.0,
"n1": 1.0,
"n2": 12.0,
"n_1": 1.0,
"n_2": 13.0,
"time": 1.5589815479205527,
"vocabulary": 13.0,
"volume": 51.80615605397529
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 25
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:reasoningTimeline:32",
"entity_name": "reasoningTimeline",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 33,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01726871868465843,
"calculated_length": 43.01955000865387,
"difficulty": 0.5416666666666666,
"effort": 28.061667862569948,
"length": 14.0,
"n1": 1.0,
"n2": 12.0,
"n_1": 1.0,
"n_2": 13.0,
"time": 1.5589815479205527,
"vocabulary": 13.0,
"volume": 51.80615605397529
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 33
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:toolTimeline:40",
"entity_name": "toolTimeline",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 41,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "LogicalAnd",
"line": 48,
"nesting_level": 0
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 49,
"nesting_level": 0
},
{
"column": 7,
"kind": "ConditionalExpression",
"line": 50,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.11029173336410265,
"calculated_length": 165.18972609642995,
"difficulty": 3.951612903225806,
"effort": 1307.4907100421847,
"length": 64.0,
"n1": 5.0,
"n2": 31.0,
"n_1": 15.0,
"n_2": 49.0,
"time": 72.63837278012137,
"vocabulary": 36.0,
"volume": 330.875200092308
},
"lines_of_code": 25.0,
"maintainability_index": 87.76515705765867,
"max_nesting_depth": 0.0,
"parameter_count": 4.0,
"statement_count": 5.0,
"technical_debt_score": 15.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 41
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:todoTimeline:67",
"entity_name": "todoTimeline",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 68,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01726871868465843,
"calculated_length": 43.01955000865387,
"difficulty": 0.5416666666666666,
"effort": 28.061667862569948,
"length": 14.0,
"n1": 1.0,
"n2": 12.0,
"n_1": 1.0,
"n_2": 13.0,
"time": 1.5589815479205527,
"vocabulary": 13.0,
"volume": 51.80615605397529
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 68
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:userTimeline:78",
"entity_name": "userTimeline",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 79,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.020836749843245433,
"calculated_length": 53.302968908806456,
"difficulty": 0.5357142857142857,
"effort": 33.48763367664444,
"length": 16.0,
"n1": 1.0,
"n2": 14.0,
"n_1": 1.0,
"n_2": 15.0,
"time": 1.8604240931469134,
"vocabulary": 15.0,
"volume": 62.5102495297363
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 1.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 79
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:testIdempotentReduction:91",
"entity_name": "testIdempotentReduction",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 92,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.14270585990928072,
"calculated_length": 184.58337707694835,
"difficulty": 4.264705882352941,
"effort": 1825.7955606040327,
"length": 81.0,
"n1": 5.0,
"n2": 34.0,
"n_1": 23.0,
"n_2": 58.0,
"time": 101.43308670022404,
"vocabulary": 39.0,
"volume": 428.11757972784216
},
"lines_of_code": 28.0,
"maintainability_index": 85.2794179755743,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 11.0,
"technical_debt_score": 7.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 92
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_112:112",
"entity_name": "anonymous_function_112",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 113,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 113
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:testUserMessageDeduplication:122",
"entity_name": "testUserMessageDeduplication",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 123,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.11,
"calculated_length": 139.99160303285046,
"difficulty": 3.9814814814814814,
"effort": 1313.888888888889,
"length": 66.0,
"n1": 5.0,
"n2": 27.0,
"n_1": 23.0,
"n_2": 43.0,
"time": 72.99382716049382,
"vocabulary": 32.0,
"volume": 330.0
},
"lines_of_code": 15.0,
"maintainability_index": 96.74430493894948,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 5.0
},
"recommendations": [],
"severity": "Low",
"start_line": 123
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:testMultipleMessages:140",
"entity_name": "testMultipleMessages",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 141,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.14412820978240096,
"calculated_length": 169.08986062632007,
"difficulty": 5.612903225806451,
"effort": 2426.9330808520417,
"length": 83.0,
"n1": 6.0,
"n2": 31.0,
"n_1": 25.0,
"n_2": 58.0,
"time": 134.8296156028912,
"vocabulary": 37.0,
"volume": 432.38462934720286
},
"lines_of_code": 18.0,
"maintainability_index": 92.38553672535265,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 141
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_153:153",
"entity_name": "anonymous_function_153",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 154,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 154
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:testToolCallStatusInference:162",
"entity_name": "testToolCallStatusInference",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 163,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "LogicalAnd",
"line": 197,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2096158341803011,
"calculated_length": 246.12881621111117,
"difficulty": 6.916666666666667,
"effort": 4349.528559241248,
"length": 112.0,
"n1": 7.0,
"n2": 42.0,
"n_1": 29.0,
"n_2": 83.0,
"time": 241.6404755134027,
"vocabulary": 49.0,
"volume": 628.8475025409033
},
"lines_of_code": 43.0,
"maintainability_index": 76.10033645408637,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 13.4
},
"recommendations": [],
"severity": "Low",
"start_line": 163
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_195:195",
"entity_name": "anonymous_function_195",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 196,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "LogicalAnd",
"line": 197,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.017716949839399265,
"calculated_length": 24.406371956566694,
"difficulty": 2.142857142857143,
"effort": 113.89467753899527,
"length": 16.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 10.0,
"time": 6.327482085499737,
"vocabulary": 10.0,
"volume": 53.150849518197795
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 196
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:testToolCallStatusInferenceFromRawOnly:207",
"entity_name": "testToolCallStatusInferenceFromRawOnly",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 208,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.08921476772854095,
"calculated_length": 180.97373660251154,
"difficulty": 2.411764705882353,
"effort": 645.4950841535609,
"length": 51.0,
"n1": 4.0,
"n2": 34.0,
"n_1": 10.0,
"n_2": 41.0,
"time": 35.86083800853116,
"vocabulary": 38.0,
"volume": 267.64430318562285
},
"lines_of_code": 20.0,
"maintainability_index": 93.1729110337872,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 208
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:testToolCallFailureInferenceFromError:229",
"entity_name": "testToolCallFailureInferenceFromError",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 230,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.09096407689968881,
"calculated_length": 180.97373660251154,
"difficulty": 2.3529411764705883,
"effort": 642.0993663507446,
"length": 52.0,
"n1": 4.0,
"n2": 34.0,
"n_1": 12.0,
"n_2": 40.0,
"time": 35.67218701948581,
"vocabulary": 38.0,
"volume": 272.89223069906643
},
"lines_of_code": 19.0,
"maintainability_index": 93.90288835640861,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 230
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:testToolCallLateCallIdReconciliation:250",
"entity_name": "testToolCallLateCallIdReconciliation",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 251,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1344180500375001,
"calculated_length": 165.18972609642995,
"difficulty": 4.274193548387097,
"effort": 1723.5862867711708,
"length": 78.0,
"n1": 5.0,
"n2": 31.0,
"n_1": 25.0,
"n_2": 53.0,
"time": 95.75479370950949,
"vocabulary": 36.0,
"volume": 403.2541501125003
},
"lines_of_code": 18.0,
"maintainability_index": 92.74822907729008,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 251
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:testToolCallParsedPayloadHydration:270",
"entity_name": "testToolCallParsedPayloadHydration",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 271,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 7,
"kind": "LogicalAnd",
"line": 344,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 348,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 352,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 352,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 358,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 358,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.47195479230476245,
"calculated_length": 399.5097750043269,
"difficulty": 8.015625,
"effort": 11349.037896203585,
"length": 231.0,
"n1": 6.0,
"n2": 64.0,
"n_1": 60.0,
"n_2": 171.0,
"time": 630.5021053446436,
"vocabulary": 70.0,
"volume": 1415.8643769142873
},
"lines_of_code": 94.0,
"maintainability_index": 58.06004797583954,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 37.6
},
"recommendations": [],
"severity": "Low",
"start_line": 271
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_342:342",
"entity_name": "anonymous_function_342",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 343,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "LogicalAnd",
"line": 344,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.017716949839399265,
"calculated_length": 24.406371956566694,
"difficulty": 2.142857142857143,
"effort": 113.89467753899527,
"length": 16.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 10.0,
"time": 6.327482085499737,
"vocabulary": 10.0,
"volume": 53.150849518197795
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 343
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_346:346",
"entity_name": "anonymous_function_346",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 347,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "LogicalAnd",
"line": 348,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.017716949839399265,
"calculated_length": 24.406371956566694,
"difficulty": 2.142857142857143,
"effort": 113.89467753899527,
"length": 16.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 10.0,
"time": 6.327482085499737,
"vocabulary": 10.0,
"volume": 53.150849518197795
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 347
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:buildClaudeToolUseBlock:366",
"entity_name": "buildClaudeToolUseBlock",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 367,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.023162289433751922,
"calculated_length": 64.0,
"difficulty": 0.5,
"effort": 34.743434150627884,
"length": 17.0,
"n1": 1.0,
"n2": 16.0,
"n_1": 1.0,
"n_2": 16.0,
"time": 1.9301907861459935,
"vocabulary": 17.0,
"volume": 69.48686830125577
},
"lines_of_code": 18.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 367
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:buildClaudeToolResultBlock:386",
"entity_name": "buildClaudeToolResultBlock",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 387,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.040737144223889465,
"calculated_length": 112.03910001730775,
"difficulty": 1.0,
"effort": 122.21143267166839,
"length": 26.0,
"n1": 2.0,
"n2": 24.0,
"n_1": 2.0,
"n_2": 24.0,
"time": 6.78952403731491,
"vocabulary": 26.0,
"volume": 122.21143267166839
},
"lines_of_code": 21.0,
"maintainability_index": 96.45882299193502,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 387
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:testClaudeHydratedToolBodies:409",
"entity_name": "testClaudeHydratedToolBodies",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 410,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 7,
"kind": "LogicalAnd",
"line": 522,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 526,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 530,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 534,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 534,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 539,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 539,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 544,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 544,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.7244626412482595,
"calculated_length": 505.7711480755823,
"difficulty": 9.692307692307693,
"effort": 21065.144491680163,
"length": 340.0,
"n1": 6.0,
"n2": 78.0,
"n_1": 88.0,
"n_2": 252.0,
"time": 1170.2858050933423,
"vocabulary": 84.0,
"volume": 2173.3879237447786
},
"lines_of_code": 142.0,
"maintainability_index": 48.45858074889162,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 16.0,
"technical_debt_score": 47.2
},
"recommendations": [],
"severity": "Moderate",
"start_line": 410
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_520:520",
"entity_name": "anonymous_function_520",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 521,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "LogicalAnd",
"line": 522,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.017716949839399265,
"calculated_length": 24.406371956566694,
"difficulty": 2.142857142857143,
"effort": 113.89467753899527,
"length": 16.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 10.0,
"time": 6.327482085499737,
"vocabulary": 10.0,
"volume": 53.150849518197795
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 521
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_524:524",
"entity_name": "anonymous_function_524",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 525,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "LogicalAnd",
"line": 526,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.017716949839399265,
"calculated_length": 24.406371956566694,
"difficulty": 2.142857142857143,
"effort": 113.89467753899527,
"length": 16.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 10.0,
"time": 6.327482085499737,
"vocabulary": 10.0,
"volume": 53.150849518197795
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 525
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_528:528",
"entity_name": "anonymous_function_528",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 529,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "LogicalAnd",
"line": 530,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.017716949839399265,
"calculated_length": 24.406371956566694,
"difficulty": 2.142857142857143,
"effort": 113.89467753899527,
"length": 16.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 10.0,
"time": 6.327482085499737,
"vocabulary": 10.0,
"volume": 53.150849518197795
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 529
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:testAssistantWhitespacePreservation:554",
"entity_name": "testAssistantWhitespacePreservation",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 555,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.07132331253245203,
"calculated_length": 109.71713608445735,
"difficulty": 3.6363636363636367,
"effort": 778.0725003540222,
"length": 45.0,
"n1": 5.0,
"n2": 22.0,
"n_1": 13.0,
"n_2": 32.0,
"time": 43.2262500196679,
"vocabulary": 27.0,
"volume": 213.96993759735608
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 4.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 555
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_564:564",
"entity_name": "anonymous_function_564",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 565,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 565
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:testUserMessageHydration:570",
"entity_name": "testUserMessageHydration",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 571,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1562836009688685,
"calculated_length": 169.08986062632007,
"difficulty": 6.096774193548387,
"effort": 2858.4774757854334,
"length": 90.0,
"n1": 6.0,
"n2": 31.0,
"n_1": 27.0,
"n_2": 63.0,
"time": 158.80430421030186,
"vocabulary": 37.0,
"volume": 468.8508029066055
},
"lines_of_code": 27.0,
"maintainability_index": 85.39596284882535,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 11.0,
"technical_debt_score": 7.400000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 571
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_580:580",
"entity_name": "anonymous_function_580",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 581,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 581
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:testHydratedUserMessagesPersist:599",
"entity_name": "testHydratedUserMessagesPersist",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 600,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.16268575291675114,
"calculated_length": 173.23157007639637,
"difficulty": 7.225806451612903,
"effort": 3526.6072890340893,
"length": 93.0,
"n1": 7.0,
"n2": 31.0,
"n_1": 29.0,
"n_2": 64.0,
"time": 195.92262716856052,
"vocabulary": 38.0,
"volume": 488.0572587502534
},
"lines_of_code": 31.0,
"maintainability_index": 82.94915707847207,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 8.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 600
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_600:600",
"entity_name": "anonymous_function_600",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 601,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.14,
"calculated_length": 139.99160303285046,
"difficulty": 5.555555555555555,
"effort": 2333.333333333333,
"length": 84.0,
"n1": 5.0,
"n2": 27.0,
"n_1": 24.0,
"n_2": 60.0,
"time": 129.62962962962962,
"vocabulary": 32.0,
"volume": 420.0
},
"lines_of_code": 29.0,
"maintainability_index": 84.81048305557658,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 7.8
},
"recommendations": [],
"severity": "Low",
"start_line": 601
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_609:609",
"entity_name": "anonymous_function_609",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 610,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 610
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_622:622",
"entity_name": "anonymous_function_622",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 623,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 623
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:testTodoListConsolidation:633",
"entity_name": "testTodoListConsolidation",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 634,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 18,
"kind": "LogicalAnd",
"line": 661,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1617695226833628,
"calculated_length": 201.62707505625016,
"difficulty": 5.5,
"effort": 2669.1971242754867,
"length": 90.0,
"n1": 6.0,
"n2": 36.0,
"n_1": 24.0,
"n_2": 66.0,
"time": 148.28872912641592,
"vocabulary": 42.0,
"volume": 485.30856805008847
},
"lines_of_code": 31.0,
"maintainability_index": 82.74852574797089,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 11.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 634
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_654:654",
"entity_name": "anonymous_function_654",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 655,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.5,
"effort": 31.019550008653873,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 6.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 655
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_660:660",
"entity_name": "anonymous_function_660",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 661,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 18,
"kind": "LogicalAnd",
"line": 661,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.00861654166907052,
"calculated_length": 10.0,
"difficulty": 1.5,
"effort": 38.77443751081734,
"length": 10.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 2.1541354172676304,
"vocabulary": 6.0,
"volume": 25.84962500721156
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 661
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:testTimelineIdStabilityAfterRemovals:666",
"entity_name": "testTimelineIdStabilityAfterRemovals",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 667,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 3,
"kind": "For",
"line": 672,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 692,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalOr",
"line": 693,
"nesting_level": 0
},
{
"column": 3,
"kind": "For",
"line": 715,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 735,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalOr",
"line": 736,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.4431263376665871,
"calculated_length": 273.4342721689147,
"difficulty": 15.454545454545453,
"effort": 20544.94838272358,
"length": 231.0,
"n1": 10.0,
"n2": 44.0,
"n_1": 95.0,
"n_2": 136.0,
"time": 1141.3860212624213,
"vocabulary": 54.0,
"volume": 1329.3790129997612
},
"lines_of_code": 88.0,
"maintainability_index": 59.4563141412129,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 23.0,
"technical_debt_score": 36.4
},
"recommendations": [],
"severity": "Low",
"start_line": 667
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_689:689",
"entity_name": "anonymous_function_689",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 690,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalAnd",
"line": 692,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalOr",
"line": 693,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.023253496664211535,
"calculated_length": 23.509775004326936,
"difficulty": 3.3333333333333335,
"effort": 232.53496664211536,
"length": 21.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 11.0,
"n_2": 10.0,
"time": 12.918609257895298,
"vocabulary": 10.0,
"volume": 69.7604899926346
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 8.399999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 690
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_702:702",
"entity_name": "anonymous_function_702",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 703,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 703
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_703:703",
"entity_name": "anonymous_function_703",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 704,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 704
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_732:732",
"entity_name": "anonymous_function_732",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 733,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalAnd",
"line": 735,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalOr",
"line": 736,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.023253496664211535,
"calculated_length": 23.509775004326936,
"difficulty": 3.3333333333333335,
"effort": 232.53496664211536,
"length": 21.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 11.0,
"n_2": 10.0,
"time": 12.918609257895298,
"vocabulary": 10.0,
"volume": 69.7604899926346
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 8.399999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 733
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_745:745",
"entity_name": "anonymous_function_745",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 746,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 746
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_746:746",
"entity_name": "anonymous_function_746",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 747,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 747
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:buildConcurrentToolCallUpdates:758",
"entity_name": "buildConcurrentToolCallUpdates",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 759,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1562836009688685,
"calculated_length": 171.60964047443682,
"difficulty": 5.9375,
"effort": 2783.8016422579703,
"length": 90.0,
"n1": 5.0,
"n2": 32.0,
"n_1": 14.0,
"n_2": 76.0,
"time": 154.65564679210945,
"vocabulary": 37.0,
"volume": 468.8508029066055
},
"lines_of_code": 51.0,
"maintainability_index": 75.09294482796139,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 12.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 759
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:validateToolCallDeduplication:811",
"entity_name": "validateToolCallDeduplication",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 812,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "ConditionalExpression",
"line": 817,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06706083813998309,
"calculated_length": 127.70604521880493,
"difficulty": 3.1,
"effort": 623.6657947018427,
"length": 41.0,
"n1": 5.0,
"n2": 25.0,
"n_1": 10.0,
"n_2": 31.0,
"time": 34.64809970565793,
"vocabulary": 30.0,
"volume": 201.18251441994926
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 3.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 812
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_817:817",
"entity_name": "anonymous_function_817",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 818,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009,
"calculated_length": 17.509775004326936,
"difficulty": 1.1666666666666667,
"effort": 31.500000000000004,
"length": 9.0,
"n1": 2.0,
"n2": 6.0,
"n_1": 2.0,
"n_2": 7.0,
"time": 1.7500000000000002,
"vocabulary": 8.0,
"volume": 27.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 818
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:testToolCallDeduplicationLive:825",
"entity_name": "testToolCallDeduplicationLive",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 826,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "LogicalAnd",
"line": 835,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.15387849050834898,
"calculated_length": 156.3912238630265,
"difficulty": 5.482758620689656,
"effort": 2531.0358611200854,
"length": 90.0,
"n1": 6.0,
"n2": 29.0,
"n_1": 37.0,
"n_2": 53.0,
"time": 140.6131033955603,
"vocabulary": 35.0,
"volume": 461.63547152504697
},
"lines_of_code": 17.0,
"maintainability_index": 92.74111093006371,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 8.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 826
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_826:826",
"entity_name": "anonymous_function_826",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 827,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "LogicalAnd",
"line": 835,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.13116548686844443,
"calculated_length": 124.09640474436812,
"difficulty": 3.92,
"effort": 1542.5061255729065,
"length": 81.0,
"n1": 4.0,
"n2": 25.0,
"n_1": 32.0,
"n_2": 49.0,
"time": 85.69478475405036,
"vocabulary": 29.0,
"volume": 393.4964606053333
},
"lines_of_code": 15.0,
"maintainability_index": 95.59921196167431,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 7.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 827
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_829:829",
"entity_name": "anonymous_function_829",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 830,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006191808253032966,
"calculated_length": 8.0,
"difficulty": 0.625,
"effort": 11.60964047443681,
"length": 8.0,
"n1": 1.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 18.575424759098897
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 830
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_830:830",
"entity_name": "anonymous_function_830",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 831,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006191808253032966,
"calculated_length": 8.0,
"difficulty": 0.625,
"effort": 11.60964047443681,
"length": 8.0,
"n1": 1.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 18.575424759098897
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 831
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_838:838",
"entity_name": "anonymous_function_838",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 839,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 839
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:testToolCallDeduplicationHydrated:844",
"entity_name": "testToolCallDeduplicationHydrated",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 845,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "LogicalAnd",
"line": 854,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.15387849050834898,
"calculated_length": 156.3912238630265,
"difficulty": 5.482758620689656,
"effort": 2531.0358611200854,
"length": 90.0,
"n1": 6.0,
"n2": 29.0,
"n_1": 37.0,
"n_2": 53.0,
"time": 140.6131033955603,
"vocabulary": 35.0,
"volume": 461.63547152504697
},
"lines_of_code": 17.0,
"maintainability_index": 92.74111093006371,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 8.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 845
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_845:845",
"entity_name": "anonymous_function_845",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 846,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "LogicalAnd",
"line": 854,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.13116548686844443,
"calculated_length": 124.09640474436812,
"difficulty": 3.92,
"effort": 1542.5061255729065,
"length": 81.0,
"n1": 4.0,
"n2": 25.0,
"n_1": 32.0,
"n_2": 49.0,
"time": 85.69478475405036,
"vocabulary": 29.0,
"volume": 393.4964606053333
},
"lines_of_code": 15.0,
"maintainability_index": 95.59921196167431,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 7.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 846
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_848:848",
"entity_name": "anonymous_function_848",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 849,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006191808253032966,
"calculated_length": 8.0,
"difficulty": 0.625,
"effort": 11.60964047443681,
"length": 8.0,
"n1": 1.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 18.575424759098897
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 849
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_849:849",
"entity_name": "anonymous_function_849",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 850,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006191808253032966,
"calculated_length": 8.0,
"difficulty": 0.625,
"effort": 11.60964047443681,
"length": 8.0,
"n1": 1.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 18.575424759098897
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 850
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_857:857",
"entity_name": "anonymous_function_857",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 858,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 858
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:buildOutOfOrderToolCallSequence:863",
"entity_name": "buildOutOfOrderToolCallSequence",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 864,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.07772769592204115,
"calculated_length": 124.09640474436812,
"difficulty": 3.28,
"effort": 764.8405278728849,
"length": 48.0,
"n1": 4.0,
"n2": 25.0,
"n_1": 7.0,
"n_2": 41.0,
"time": 42.49114043738249,
"vocabulary": 29.0,
"volume": 233.18308776612344
},
"lines_of_code": 26.0,
"maintainability_index": 89.6393516511578,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 864
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:testOutOfOrderToolCallMergingLive:891",
"entity_name": "testOutOfOrderToolCallMergingLive",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 892,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10429542134454764,
"calculated_length": 154.25742227201613,
"difficulty": 4.75,
"effort": 1486.2097541598039,
"length": 61.0,
"n1": 7.0,
"n2": 28.0,
"n_1": 23.0,
"n_2": 38.0,
"time": 82.56720856443354,
"vocabulary": 35.0,
"volume": 312.88626403364293
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 892
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_892:892",
"entity_name": "anonymous_function_892",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 893,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.08420500391554459,
"calculated_length": 121.64874049174456,
"difficulty": 3.541666666666667,
"effort": 894.6781666026612,
"length": 52.0,
"n1": 5.0,
"n2": 24.0,
"n_1": 18.0,
"n_2": 34.0,
"time": 49.704342589036735,
"vocabulary": 29.0,
"volume": 252.61501174663374
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 893
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_894:894",
"entity_name": "anonymous_function_894",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 895,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009,
"calculated_length": 17.509775004326936,
"difficulty": 1.1666666666666667,
"effort": 31.500000000000004,
"length": 9.0,
"n1": 2.0,
"n2": 6.0,
"n_1": 2.0,
"n_2": 7.0,
"time": 1.7500000000000002,
"vocabulary": 8.0,
"volume": 27.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 895
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:testOutOfOrderToolCallMergingHydrated:903",
"entity_name": "testOutOfOrderToolCallMergingHydrated",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 904,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0792481250360578,
"calculated_length": 107.74844088268091,
"difficulty": 4.285714285714286,
"effort": 1018.9044647493146,
"length": 50.0,
"n1": 6.0,
"n2": 21.0,
"n_1": 20.0,
"n_2": 30.0,
"time": 56.60580359718414,
"vocabulary": 27.0,
"volume": 237.74437510817341
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 904
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_904:904",
"entity_name": "anonymous_function_904",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 905,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.06002833811130973,
"calculated_length": 77.48686830125577,
"difficulty": 3.0588235294117645,
"effort": 550.8482791390775,
"length": 41.0,
"n1": 4.0,
"n2": 17.0,
"n_1": 15.0,
"n_2": 26.0,
"time": 30.602682174393195,
"vocabulary": 21.0,
"volume": 180.0850143339292
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 905
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:buildMetadataReplaySequence:913",
"entity_name": "buildMetadataReplaySequence",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 914,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.12055211021941396,
"calculated_length": 136.38196255841365,
"difficulty": 4.666666666666667,
"effort": 1687.7295430717954,
"length": 73.0,
"n1": 4.0,
"n2": 27.0,
"n_1": 10.0,
"n_2": 63.0,
"time": 93.76275239287753,
"vocabulary": 31.0,
"volume": 361.65633065824187
},
"lines_of_code": 37.0,
"maintainability_index": 81.64151894518434,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 914
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:validateMetadataReplayDeduplication:952",
"entity_name": "validateMetadataReplayDeduplication",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 953,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "ConditionalExpression",
"line": 958,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06706083813998309,
"calculated_length": 127.70604521880493,
"difficulty": 3.1,
"effort": 623.6657947018427,
"length": 41.0,
"n1": 5.0,
"n2": 25.0,
"n_1": 10.0,
"n_2": 31.0,
"time": 34.64809970565793,
"vocabulary": 30.0,
"volume": 201.18251441994926
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 3.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 953
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_958:958",
"entity_name": "anonymous_function_958",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 959,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009,
"calculated_length": 17.509775004326936,
"difficulty": 1.1666666666666667,
"effort": 31.500000000000004,
"length": 9.0,
"n1": 2.0,
"n2": 6.0,
"n_1": 2.0,
"n_2": 7.0,
"time": 1.7500000000000002,
"vocabulary": 8.0,
"volume": 27.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 959
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:testMetadataReplayDeduplicationLive:966",
"entity_name": "testMetadataReplayDeduplicationLive",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 967,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.09132917173223624,
"calculated_length": 96.22039775975506,
"difficulty": 5.368421052631579,
"effort": 1470.8803447402258,
"length": 59.0,
"n1": 6.0,
"n2": 19.0,
"n_1": 25.0,
"n_2": 34.0,
"time": 81.71557470779032,
"vocabulary": 25.0,
"volume": 273.9875151967087
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 967
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_967:967",
"entity_name": "anonymous_function_967",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 968,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.07079879189072642,
"calculated_length": 66.60335893412778,
"difficulty": 4.0,
"effort": 849.585502688717,
"length": 50.0,
"n1": 4.0,
"n2": 15.0,
"n_1": 20.0,
"n_2": 30.0,
"time": 47.199194593817616,
"vocabulary": 19.0,
"volume": 212.39637567217926
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 968
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:testMetadataReplayDeduplicationHydrated:978",
"entity_name": "testMetadataReplayDeduplicationHydrated",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 979,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.09132917173223624,
"calculated_length": 96.22039775975506,
"difficulty": 5.368421052631579,
"effort": 1470.8803447402258,
"length": 59.0,
"n1": 6.0,
"n2": 19.0,
"n_1": 25.0,
"n_2": 34.0,
"time": 81.71557470779032,
"vocabulary": 25.0,
"volume": 273.9875151967087
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 979
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_979:979",
"entity_name": "anonymous_function_979",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 980,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.07079879189072642,
"calculated_length": 66.60335893412778,
"difficulty": 4.0,
"effort": 849.585502688717,
"length": 50.0,
"n1": 4.0,
"n2": 15.0,
"n_1": 20.0,
"n_2": 30.0,
"time": 47.199194593817616,
"vocabulary": 19.0,
"volume": 212.39637567217926
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 980
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:testFallbackToolCallIdsStayUnique:990",
"entity_name": "testFallbackToolCallIdsStayUnique",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 991,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.11981742740946585,
"calculated_length": 174.46500593882897,
"difficulty": 3.0303030303030303,
"effort": 1089.2493400860533,
"length": 69.0,
"n1": 4.0,
"n2": 33.0,
"n_1": 19.0,
"n_2": 50.0,
"time": 60.51385222700296,
"vocabulary": 37.0,
"volume": 359.45228222839756
},
"lines_of_code": 34.0,
"maintainability_index": 83.04313604112528,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 8.8
},
"recommendations": [],
"severity": "Low",
"start_line": 991
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_1018:1018",
"entity_name": "anonymous_function_1018",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 1019,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1019
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts:anonymous_function_1026:1026",
"entity_name": "anonymous_function_1026",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.test.ts",
"issues": [],
"line_number": 1027,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1922148583715386,
"calculated_length": 235.3293844521902,
"difficulty": 1.4651162790697674,
"effort": 844.8513542376929,
"length": 105.0,
"n1": 2.0,
"n2": 43.0,
"n_1": 42.0,
"n_2": 63.0,
"time": 46.9361863465385,
"vocabulary": 45.0,
"volume": 576.6445751146158
},
"lines_of_code": 22.0,
"maintainability_index": 87.63753659258674,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 21.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 1027
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:simpleHash:15",
"entity_name": "simpleHash",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 16,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "For",
"line": 18,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06936128332620753,
"calculated_length": 81.83229392178727,
"difficulty": 8.678571428571429,
"effort": 1805.8705551716175,
"length": 46.0,
"n1": 9.0,
"n2": 14.0,
"n_1": 19.0,
"n_2": 27.0,
"time": 100.32614195397875,
"vocabulary": 23.0,
"volume": 208.0838499786226
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 16
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:generateMessageId:28",
"entity_name": "generateMessageId",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 29,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02343611821489358,
"calculated_length": 37.974168451037094,
"difficulty": 1.5,
"effort": 105.46253196702112,
"length": 19.0,
"n1": 3.0,
"n2": 10.0,
"n_1": 9.0,
"n_2": 10.0,
"time": 5.859029553723396,
"vocabulary": 13.0,
"volume": 70.30835464468075
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 29
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:createTimelineId:32",
"entity_name": "createTimelineId",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 33,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.015502331109474358,
"calculated_length": 24.406371956566694,
"difficulty": 2.142857142857143,
"effort": 99.65784284662087,
"length": 14.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 4.0,
"n_2": 10.0,
"time": 5.5365468248122705,
"vocabulary": 10.0,
"volume": 46.50699332842307
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 1.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 33
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:createUniqueTimelineId:40",
"entity_name": "createUniqueTimelineId",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 41,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 53,
"nesting_level": 0
},
{
"column": 3,
"kind": "While",
"line": 61,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.12652231441797582,
"calculated_length": 147.06147499796518,
"difficulty": 12.260869565217392,
"effort": 4653.820782504677,
"length": 74.0,
"n1": 12.0,
"n2": 23.0,
"n_1": 27.0,
"n_2": 47.0,
"time": 258.5455990280376,
"vocabulary": 35.0,
"volume": 379.5669432539275
},
"lines_of_code": 26.0,
"maintainability_index": 86.6458749888821,
"max_nesting_depth": 0.0,
"parameter_count": 4.0,
"statement_count": 11.0,
"technical_debt_score": 12.8
},
"recommendations": [],
"severity": "Low",
"start_line": 41
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:anonymous_function_51:51",
"entity_name": "anonymous_function_51",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 52,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 52
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:anonymous_function_59:59",
"entity_name": "anonymous_function_59",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 60,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 60
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:isAgentToolCallItem:139",
"entity_name": "isAgentToolCallItem",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 140,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 10,
"kind": "LogicalAnd",
"line": 143,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.022704762504567322,
"calculated_length": 33.284212515144276,
"difficulty": 2.0,
"effort": 136.22857502740393,
"length": 19.0,
"n1": 3.0,
"n2": 9.0,
"n_1": 7.0,
"n_2": 12.0,
"time": 7.568254168189108,
"vocabulary": 12.0,
"volume": 68.11428751370197
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 140
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:normalizeChunk:166",
"entity_name": "normalizeChunk",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 167,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 168,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 172,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04666666666666667,
"calculated_length": 48.72905595320056,
"difficulty": 6.6000000000000005,
"effort": 924.0000000000001,
"length": 35.0,
"n1": 6.0,
"n2": 10.0,
"n_1": 13.0,
"n_2": 22.0,
"time": 51.33333333333334,
"vocabulary": 16.0,
"volume": 140.0
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 167
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:coerceString:177",
"entity_name": "coerceString",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 178,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 179,
"nesting_level": 0
},
{
"column": 10,
"kind": "ConditionalExpression",
"line": 183,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.032,
"calculated_length": 48.0,
"difficulty": 7.0,
"effort": 672.0,
"length": 24.0,
"n1": 8.0,
"n2": 8.0,
"n_1": 10.0,
"n_2": 14.0,
"time": 37.333333333333336,
"vocabulary": 16.0,
"volume": 96.0
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 8.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 178
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:appendUserMessage:185",
"entity_name": "appendUserMessage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 186,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 193,
"nesting_level": 0
},
{
"column": 21,
"kind": "LogicalOr",
"line": 197,
"nesting_level": 0
},
{
"column": 16,
"kind": "LogicalAnd",
"line": 201,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 211,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1391822584300392,
"calculated_length": 174.1007298075732,
"difficulty": 9.310344827586206,
"effort": 3887.504459597647,
"length": 79.0,
"n1": 10.0,
"n2": 29.0,
"n_1": 25.0,
"n_2": 54.0,
"time": 215.97246997764705,
"vocabulary": 39.0,
"volume": 417.54677529011764
},
"lines_of_code": 32.0,
"maintainability_index": 82.3262161865252,
"max_nesting_depth": 0.0,
"parameter_count": 4.0,
"statement_count": 12.0,
"technical_debt_score": 19.6
},
"recommendations": [],
"severity": "Low",
"start_line": 186
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:anonymous_function_200:200",
"entity_name": "anonymous_function_200",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 201,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 16,
"kind": "LogicalAnd",
"line": 201,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 13.60964047443681,
"difficulty": 1.4,
"effort": 47.16356269056775,
"length": 12.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 2.620197927253764,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 201
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:appendAssistantMessage:219",
"entity_name": "appendAssistantMessage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 220,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 226,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 231,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 231,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 240,
"nesting_level": 0
},
{
"column": 18,
"kind": "LogicalOr",
"line": 244,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.14303459170657062,
"calculated_length": 158.6059378176129,
"difficulty": 8.0,
"effort": 3432.830200957695,
"length": 83.0,
"n1": 8.0,
"n2": 28.0,
"n_1": 27.0,
"n_2": 56.0,
"time": 190.71278894209416,
"vocabulary": 36.0,
"volume": 429.1037751197119
},
"lines_of_code": 32.0,
"maintainability_index": 81.95424466809594,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 12.0,
"technical_debt_score": 23.2
},
"recommendations": [],
"severity": "Low",
"start_line": 220
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:appendThought:253",
"entity_name": "appendThought",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 254,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 260,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 265,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 265,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 275,
"nesting_level": 0
},
{
"column": 18,
"kind": "LogicalOr",
"line": 279,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.15107414760323956,
"calculated_length": 164.88144885869957,
"difficulty": 8.275862068965518,
"effort": 3750.806423252844,
"length": 87.0,
"n1": 8.0,
"n2": 29.0,
"n_1": 27.0,
"n_2": 60.0,
"time": 208.378134625158,
"vocabulary": 37.0,
"volume": 453.22244280971864
},
"lines_of_code": 34.0,
"maintainability_index": 80.6877676480272,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 12.0,
"technical_debt_score": 23.599999999999998
},
"recommendations": [],
"severity": "Low",
"start_line": 254
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:finalizeActiveThoughts:289",
"entity_name": "finalizeActiveThoughts",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 290,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 293,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 293,
"nesting_level": 1
},
{
"column": 10,
"kind": "ConditionalExpression",
"line": 300,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06418947501009618,
"calculated_length": 86.52224985768008,
"difficulty": 9.285714285714286,
"effort": 1788.135375281251,
"length": 42.0,
"n1": 10.0,
"n2": 14.0,
"n_1": 16.0,
"n_2": 26.0,
"time": 99.34085418229172,
"vocabulary": 24.0,
"volume": 192.56842503028855
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 13.4
},
"recommendations": [],
"severity": "Low",
"start_line": 290
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:anonymous_function_291:291",
"entity_name": "anonymous_function_291",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 292,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 293,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 293,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.034666666666666665,
"calculated_length": 48.0,
"difficulty": 7.0,
"effort": 728.0,
"length": 26.0,
"n1": 8.0,
"n2": 8.0,
"n_1": 12.0,
"n_2": 14.0,
"time": 40.44444444444444,
"vocabulary": 16.0,
"volume": 104.0
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 9.6
},
"recommendations": [],
"severity": "Low",
"start_line": 292
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:mergeToolCallRaw:302",
"entity_name": "mergeToolCallRaw",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 303,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 304,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 304,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 307,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 307,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 310,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04301955000865387,
"calculated_length": 31.019550008653873,
"difficulty": 9.0,
"effort": 1161.5278502336546,
"length": 36.0,
"n1": 6.0,
"n2": 6.0,
"n_1": 18.0,
"n_2": 18.0,
"time": 64.5293250129808,
"vocabulary": 12.0,
"volume": 129.0586500259616
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 7.0,
"technical_debt_score": 19.799999999999997
},
"recommendations": [],
"severity": "Low",
"start_line": 303
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:computeParsedToolPayload:315",
"entity_name": "computeParsedToolPayload",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 316,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 18,
"kind": "ConditionalExpression",
"line": 326,
"nesting_level": 0
},
{
"column": 18,
"kind": "ConditionalExpression",
"line": 327,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06332986738479819,
"calculated_length": 86.66829050039843,
"difficulty": 4.305555555555555,
"effort": 818.0107870536432,
"length": 42.0,
"n1": 5.0,
"n2": 18.0,
"n_1": 11.0,
"n_2": 31.0,
"time": 45.445043725202396,
"vocabulary": 23.0,
"volume": 189.98960215439456
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 10.4
},
"recommendations": [],
"severity": "Low",
"start_line": 316
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:normalizeComparableString:331",
"entity_name": "normalizeComparableString",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 332,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 333,
"nesting_level": 0
},
{
"column": 10,
"kind": "ConditionalExpression",
"line": 337,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03951214079875328,
"calculated_length": 52.529325012980806,
"difficulty": 7.555555555555555,
"effort": 895.6085247717409,
"length": 29.0,
"n1": 8.0,
"n2": 9.0,
"n_1": 12.0,
"n_2": 17.0,
"time": 49.75602915398561,
"vocabulary": 17.0,
"volume": 118.53642239625984
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 8.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 332
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:findExistingAgentToolCallIndex:339",
"entity_name": "findExistingAgentToolCallIndex",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [
{
"description": "Cyclomatic complexity of 16.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:findExistingAgentToolCallIndex:339",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:340",
"metric_value": 16.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 27.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:findExistingAgentToolCallIndex:339",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:340",
"metric_value": 27.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 340,
"metrics": {
"cognitive_complexity": 27.0,
"cyclomatic_complexity": 16.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 346,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 349,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 349,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 354,
"nesting_level": 1
},
{
"column": 3,
"kind": "For",
"line": 362,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 364,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 364,
"nesting_level": 2
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 369,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 370,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 373,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 376,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 379,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 384,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 389,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 389,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.3612067961455824,
"calculated_length": 240.85549086410535,
"difficulty": 18.7972972972973,
"effort": 20369.134598858316,
"length": 192.0,
"n1": 13.0,
"n2": 37.0,
"n_1": 85.0,
"n_2": 107.0,
"time": 1131.618588825462,
"vocabulary": 50.0,
"volume": 1083.6203884367471
},
"lines_of_code": 54.0,
"maintainability_index": 66.36053123306972,
"max_nesting_depth": 2.0,
"parameter_count": 3.0,
"statement_count": 27.0,
"technical_debt_score": 64.4
},
"recommendations": [],
"severity": "High",
"start_line": 340
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:anonymous_function_347:347",
"entity_name": "anonymous_function_347",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 348,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalAnd",
"line": 349,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 349,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.032070477557222796,
"calculated_length": 37.974168451037094,
"difficulty": 2.0999999999999996,
"effort": 202.0440086105036,
"length": 26.0,
"n1": 3.0,
"n2": 10.0,
"n_1": 12.0,
"n_2": 14.0,
"time": 11.224667145027977,
"vocabulary": 13.0,
"volume": 96.21143267166839
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 10.0
},
"recommendations": [],
"severity": "Low",
"start_line": 348
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:appendAgentToolCall:395",
"entity_name": "appendAgentToolCall",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 396,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 420,
"nesting_level": 0
},
{
"column": 7,
"kind": "ConditionalExpression",
"line": 424,
"nesting_level": 1
},
{
"column": 7,
"kind": "ConditionalExpression",
"line": 428,
"nesting_level": 1
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 458,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.4334905936394403,
"calculated_length": 299.11942383385923,
"difficulty": 17.5531914893617,
"effort": 22827.430196970527,
"length": 222.0,
"n1": 11.0,
"n2": 47.0,
"n_1": 72.0,
"n_2": 150.0,
"time": 1268.1905664983626,
"vocabulary": 58.0,
"volume": 1300.471780918321
},
"lines_of_code": 85.0,
"maintainability_index": 60.5925412375892,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 16.0,
"technical_debt_score": 31.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 396
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:normalizeStatusString:487",
"entity_name": "normalizeStatusString",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 488,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 491,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 495,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 498,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 501,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07729681472304649,
"calculated_length": 79.50977500432694,
"difficulty": 5.4375,
"effort": 1260.904290169696,
"length": 52.0,
"n1": 6.0,
"n2": 16.0,
"n_1": 23.0,
"n_2": 29.0,
"time": 70.05023834276089,
"vocabulary": 22.0,
"volume": 231.89044416913947
},
"lines_of_code": 17.0,
"maintainability_index": 95.63136563532012,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 16.6
},
"recommendations": [],
"severity": "Low",
"start_line": 488
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:hasValue:506",
"entity_name": "hasValue",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 507,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 10,
"kind": "LogicalAnd",
"line": 508,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0069657842846620865,
"calculated_length": 6.754887502163468,
"difficulty": 1.6666666666666667,
"effort": 34.82892142331043,
"length": 9.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 5.0,
"time": 1.9349400790728017,
"vocabulary": 5.0,
"volume": 20.89735285398626
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 507
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:inferStatusFromRaw:510",
"entity_name": "inferStatusFromRaw",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [
{
"description": "Cyclomatic complexity of 28.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:inferStatusFromRaw:510",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:511",
"metric_value": 28.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 59.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:inferStatusFromRaw:510",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:511",
"metric_value": 59.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 511,
"metrics": {
"cognitive_complexity": 59.0,
"cyclomatic_complexity": 28.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 512,
"nesting_level": 0
},
{
"column": 28,
"kind": "ConditionalExpression",
"line": 516,
"nesting_level": 0
},
{
"column": 3,
"kind": "While",
"line": 519,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 521,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 521,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 524,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 530,
"nesting_level": 1
},
{
"column": 7,
"kind": "ConditionalExpression",
"line": 535,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 537,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 540,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 544,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 544,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 548,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 548,
"nesting_level": 2
},
{
"column": 7,
"kind": "ConditionalExpression",
"line": 553,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 554,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 555,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 558,
"nesting_level": 2
},
{
"column": 7,
"kind": "ConditionalExpression",
"line": 564,
"nesting_level": 1
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 566,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 569,
"nesting_level": 1
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 570,
"nesting_level": 2
},
{
"column": 7,
"kind": "ConditionalExpression",
"line": 574,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 575,
"nesting_level": 1
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 576,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 580,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 580,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.5040839402151597,
"calculated_length": 328.42375127045165,
"difficulty": 18.0,
"effort": 27220.532771618622,
"length": 253.0,
"n1": 14.0,
"n2": 49.0,
"n_1": 127.0,
"n_2": 126.0,
"time": 1512.251820645479,
"vocabulary": 63.0,
"volume": 1512.251820645479
},
"lines_of_code": 76.0,
"maintainability_index": 56.331073414588644,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 39.0,
"technical_debt_score": 95.2
},
"recommendations": [],
"severity": "Critical",
"start_line": 511
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:normalizeToolCallStatus:588",
"entity_name": "normalizeToolCallStatus",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 589,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 595,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 598,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 602,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 605,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05466666666666667,
"calculated_length": 49.66338827944708,
"difficulty": 5.0,
"effort": 820.0,
"length": 41.0,
"n1": 5.0,
"n2": 11.0,
"n_1": 19.0,
"n_2": 22.0,
"time": 45.55555555555556,
"vocabulary": 16.0,
"volume": 164.0
},
"lines_of_code": 21.0,
"maintainability_index": 94.00943108419472,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 10.0,
"technical_debt_score": 17.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 589
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:mergeToolCallStatus:611",
"entity_name": "mergeToolCallStatus",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 612,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 616,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 616,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 619,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 619,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04182456250841349,
"calculated_length": 32.0,
"difficulty": 5.0,
"effort": 627.3684376262023,
"length": 35.0,
"n1": 4.0,
"n2": 8.0,
"n_1": 15.0,
"n_2": 20.0,
"time": 34.85380209034457,
"vocabulary": 12.0,
"volume": 125.47368752524046
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 17.0
},
"recommendations": [],
"severity": "Low",
"start_line": 612
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:extractToolCallId:633",
"entity_name": "extractToolCallId",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 634,
"metrics": {
"cognitive_complexity": 22.0,
"cyclomatic_complexity": 13.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 635,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 635,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 638,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 638,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 641,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 644,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 650,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 654,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 654,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 659,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 659,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 664,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.21024361672532071,
"calculated_length": 155.430713620542,
"difficulty": 12.307692307692308,
"effort": 7762.841232934919,
"length": 122.0,
"n1": 10.0,
"n2": 26.0,
"n_1": 58.0,
"n_2": 64.0,
"time": 431.2689573852733,
"vocabulary": 36.0,
"volume": 630.7308501759621
},
"lines_of_code": 36.0,
"maintainability_index": 76.43322121839186,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 24.0,
"technical_debt_score": 50.8
},
"recommendations": [],
"severity": "Moderate",
"start_line": 634
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:appendActivityLog:671",
"entity_name": "appendActivityLog",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 672,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 677,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05330377983694414,
"calculated_length": 66.58307281799108,
"difficulty": 9.818181818181817,
"effort": 1570.0386061063543,
"length": 37.0,
"n1": 9.0,
"n2": 11.0,
"n_1": 13.0,
"n_2": 24.0,
"time": 87.22436700590858,
"vocabulary": 20.0,
"volume": 159.91133951083242
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 6.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 672
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:anonymous_function_675:675",
"entity_name": "anonymous_function_675",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 676,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006191808253032966,
"calculated_length": 6.754887502163468,
"difficulty": 1.6666666666666667,
"effort": 30.95904126516483,
"length": 8.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.7199467369536017,
"vocabulary": 5.0,
"volume": 18.575424759098897
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 676
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:appendTodoList:684",
"entity_name": "appendTodoList",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 685,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 697,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 698,
"nesting_level": 1
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 698,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.1765216223359393,
"calculated_length": 208.05423060605463,
"difficulty": 9.0,
"effort": 4766.083803070361,
"length": 97.0,
"n1": 9.0,
"n2": 35.0,
"n_1": 27.0,
"n_2": 70.0,
"time": 264.7824335039089,
"vocabulary": 44.0,
"volume": 529.5648670078178
},
"lines_of_code": 39.0,
"maintainability_index": 78.11561188150745,
"max_nesting_depth": 1.0,
"parameter_count": 4.0,
"statement_count": 11.0,
"technical_debt_score": 19.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 685
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:anonymous_function_690:690",
"entity_name": "anonymous_function_690",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 691,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 12.754887502163468,
"difficulty": 3.0,
"effort": 101.06477719407376,
"length": 12.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 8.0,
"time": 5.614709844115208,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 691
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:formatErrorMessage:725",
"entity_name": "formatErrorMessage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 726,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 726
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:reduceStreamUpdate:732",
"entity_name": "reduceStreamUpdate",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 733,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.36162769799975303,
"calculated_length": 387.63271668538476,
"difficulty": 9.833333333333332,
"effort": 10668.017090992713,
"length": 177.0,
"n1": 10.0,
"n2": 60.0,
"n_1": 59.0,
"n_2": 118.0,
"time": 592.6676161662618,
"vocabulary": 70.0,
"volume": 1084.883093999259
},
"lines_of_code": 73.0,
"maintainability_index": 64.9205739873391,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 21.0,
"technical_debt_score": 16.599999999999998
},
"recommendations": [],
"severity": "Low",
"start_line": 733
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:hydrateStreamState:810",
"entity_name": "hydrateStreamState",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 811,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03889735285398626,
"calculated_length": 74.24175580341924,
"difficulty": 1.8529411764705883,
"effort": 216.2235202765707,
"length": 27.0,
"n1": 3.0,
"n2": 17.0,
"n_1": 6.0,
"n_2": 21.0,
"time": 12.012417793142816,
"vocabulary": 20.0,
"volume": 116.69205856195879
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 811
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:anonymous_function_814:814",
"entity_name": "anonymous_function_814",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 815,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009,
"calculated_length": 17.509775004326936,
"difficulty": 1.1666666666666667,
"effort": 31.500000000000004,
"length": 9.0,
"n1": 2.0,
"n2": 6.0,
"n_1": 2.0,
"n_2": 7.0,
"time": 1.7500000000000002,
"vocabulary": 8.0,
"volume": 27.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 815
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:isStreamableKind:834",
"entity_name": "isStreamableKind",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 835,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01499087034742829,
"calculated_length": 28.75488750216347,
"difficulty": 1.875,
"effort": 84.32364570428413,
"length": 13.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 3.0,
"n_2": 10.0,
"time": 4.684646983571341,
"vocabulary": 11.0,
"volume": 44.97261104228487
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 835
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:getEventItemKind:847",
"entity_name": "getEventItemKind",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 848,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 851,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06893978253273601,
"calculated_length": 101.94833690207419,
"difficulty": 4.199999999999999,
"effort": 868.6412599124735,
"length": 44.0,
"n1": 6.0,
"n2": 20.0,
"n_1": 16.0,
"n_2": 28.0,
"time": 48.2578477729152,
"vocabulary": 26.0,
"volume": 206.81934759820803
},
"lines_of_code": 22.0,
"maintainability_index": 92.73951463998648,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 9.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 848
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:finalizeHeadItems:875",
"entity_name": "finalizeHeadItems",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 876,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 878,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 878,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.042237116026253504,
"calculated_length": 52.87076540327685,
"difficulty": 6.3,
"effort": 798.2814928961911,
"length": 31.0,
"n1": 7.0,
"n2": 10.0,
"n_1": 13.0,
"n_2": 18.0,
"time": 44.348971827566174,
"vocabulary": 17.0,
"volume": 126.71134807876051
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 9.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 876
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:anonymous_function_876:876",
"entity_name": "anonymous_function_876",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 877,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 878,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 878,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.026289725005288478,
"calculated_length": 31.019550008653873,
"difficulty": 6.0,
"effort": 473.2150500951926,
"length": 22.0,
"n1": 6.0,
"n2": 6.0,
"n_1": 10.0,
"n_2": 12.0,
"time": 26.289725005288478,
"vocabulary": 12.0,
"volume": 78.86917501586544
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 877
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:flushHeadToTail:887",
"entity_name": "flushHeadToTail",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 888,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 892,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 900,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08558596668012824,
"calculated_length": 88.0,
"difficulty": 8.5,
"effort": 2182.4421503432704,
"length": 56.0,
"n1": 8.0,
"n2": 16.0,
"n_1": 22.0,
"n_2": 34.0,
"time": 121.24678613018169,
"vocabulary": 24.0,
"volume": 256.75790004038475
},
"lines_of_code": 17.0,
"maintainability_index": 95.56164901412782,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 8.0,
"technical_debt_score": 11.0
},
"recommendations": [],
"severity": "Low",
"start_line": 888
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:anonymous_function_896:896",
"entity_name": "anonymous_function_896",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 897,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 897
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:anonymous_function_897:897",
"entity_name": "anonymous_function_897",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 898,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008422064766172813,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 47.374114309722074,
"length": 9.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 5.0,
"time": 2.6318952394290043,
"vocabulary": 7.0,
"volume": 25.26619429851844
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 898
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:shouldFlushHead:910",
"entity_name": "shouldFlushHead",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 911,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 915,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 920,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 927,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 932,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07947268334583336,
"calculated_length": 88.0,
"difficulty": 7.25,
"effort": 1728.5308627718757,
"length": 52.0,
"n1": 8.0,
"n2": 16.0,
"n_1": 23.0,
"n_2": 29.0,
"time": 96.02949237621532,
"vocabulary": 24.0,
"volume": 238.4180500375001
},
"lines_of_code": 26.0,
"maintainability_index": 88.60390272708986,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 10.0,
"technical_debt_score": 18.4
},
"recommendations": [],
"severity": "Low",
"start_line": 911
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:applyStreamEvent:956",
"entity_name": "applyStreamEvent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 957,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 970,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 974,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 983,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 987,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 997,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 1002,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 1002,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1004,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 1013,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.31765581915040375,
"calculated_length": 257.3293844521902,
"difficulty": 9.86046511627907,
"effort": 9396.702371146826,
"length": 168.0,
"n1": 8.0,
"n2": 43.0,
"n_1": 62.0,
"n_2": 106.0,
"time": 522.0390206192682,
"vocabulary": 51.0,
"volume": 952.9674574512112
},
"lines_of_code": 62.0,
"maintainability_index": 66.17060303319734,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 35.0,
"technical_debt_score": 42.00000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 957
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:anonymous_function_968:968",
"entity_name": "anonymous_function_968",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 969,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 970,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 974,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04496209125375373,
"calculated_length": 52.529325012980806,
"difficulty": 7.111111111111111,
"effort": 959.1912800800794,
"length": 33.0,
"n1": 8.0,
"n2": 9.0,
"n_1": 17.0,
"n_2": 16.0,
"time": 53.2884044488933,
"vocabulary": 17.0,
"volume": 134.88627376126118
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 9.8
},
"recommendations": [],
"severity": "Low",
"start_line": 969
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts:applyStreamEventWithBuffer:1028",
"entity_name": "applyStreamEventWithBuffer",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/types/stream.ts",
"issues": [],
"line_number": 1029,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 30,
"kind": "ConditionalExpression",
"line": 1041,
"nesting_level": 0
},
{
"column": 5,
"kind": "ConditionalExpression",
"line": 1062,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 1062,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.20117055468200412,
"calculated_length": 173.23157007639637,
"difficulty": 9.70967741935484,
"effort": 5859.90357670483,
"length": 115.0,
"n1": 7.0,
"n2": 31.0,
"n_1": 29.0,
"n_2": 86.0,
"time": 325.5501987058239,
"vocabulary": 38.0,
"volume": 603.5116640460124
},
"lines_of_code": 43.0,
"maintainability_index": 75.85417821380375,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 19.0
},
"recommendations": [],
"severity": "Low",
"start_line": 1029
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-display-info.ts:deriveBranchLabel:6",
"entity_name": "deriveBranchLabel",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-display-info.ts",
"issues": [],
"line_number": 7,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 10,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 10,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 15,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 18,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 18,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.068,
"calculated_length": 48.72905595320056,
"difficulty": 9.0,
"effort": 1836.0,
"length": 51.0,
"n1": 6.0,
"n2": 10.0,
"n_1": 21.0,
"n_2": 30.0,
"time": 102.0,
"vocabulary": 16.0,
"volume": 204.0
},
"lines_of_code": 15.0,
"maintainability_index": 98.09536277415427,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 20.599999999999998
},
"recommendations": [],
"severity": "Low",
"start_line": 7
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-display-info.ts:deriveProjectPath:28",
"entity_name": "deriveProjectPath",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-display-info.ts",
"issues": [],
"line_number": 29,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 20,
"kind": "ConditionalExpression",
"line": 33,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 36,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0712057949098791,
"calculated_length": 93.48686830125577,
"difficulty": 6.823529411764706,
"effort": 1457.624507566937,
"length": 46.0,
"n1": 8.0,
"n2": 17.0,
"n_1": 17.0,
"n_2": 29.0,
"time": 80.97913930927427,
"vocabulary": 25.0,
"volume": 213.6173847296373
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 7.0,
"technical_debt_score": 10.0
},
"recommendations": [],
"severity": "Low",
"start_line": 29
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.test.ts:makeAgent:4",
"entity_name": "makeAgent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.test.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.15601552713167707,
"calculated_length": 150.11571282193984,
"difficulty": 6.321428571428571,
"effort": 2958.7230323900185,
"length": 92.0,
"n1": 6.0,
"n2": 28.0,
"n_1": 33.0,
"n_2": 59.0,
"time": 164.37350179944548,
"vocabulary": 34.0,
"volume": 468.0465813950312
},
"lines_of_code": 16.0,
"maintainability_index": 93.88151001564385,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.test.ts:anonymous_function_22:22",
"entity_name": "anonymous_function_22",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.test.ts",
"issues": [],
"line_number": 23,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05994945500500497,
"calculated_length": 58.057856410969926,
"difficulty": 2.678571428571429,
"effort": 481.7366920045043,
"length": 44.0,
"n1": 3.0,
"n2": 14.0,
"n_1": 19.0,
"n_2": 25.0,
"time": 26.763149555805793,
"vocabulary": 17.0,
"volume": 179.8483650150149
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 4.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 23
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.test.ts:anonymous_function_23:23",
"entity_name": "anonymous_function_23",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.test.ts",
"issues": [],
"line_number": 24,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02767545294909838,
"calculated_length": 28.75488750216347,
"difficulty": 2.625,
"effort": 217.94419197414976,
"length": 24.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 10.0,
"n_2": 14.0,
"time": 12.108010665230543,
"vocabulary": 11.0,
"volume": 83.02635884729514
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 24
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.test.ts:anonymous_function_30:30",
"entity_name": "anonymous_function_30",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.test.ts",
"issues": [],
"line_number": 31,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 66.56842503028855,
"length": 12.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 3.6982458350160305,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.test.ts:anonymous_function_38:38",
"entity_name": "anonymous_function_38",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.test.ts",
"issues": [],
"line_number": 39,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.14036889546096146,
"calculated_length": 136.38196255841365,
"difficulty": 4.148148148148148,
"effort": 1746.8129212919648,
"length": 85.0,
"n1": 4.0,
"n2": 27.0,
"n_1": 29.0,
"n_2": 56.0,
"time": 97.04516229399805,
"vocabulary": 31.0,
"volume": 421.1066863828844
},
"lines_of_code": 30.0,
"maintainability_index": 84.24759410731585,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 8.0
},
"recommendations": [],
"severity": "Low",
"start_line": 39
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.test.ts:anonymous_function_39:39",
"entity_name": "anonymous_function_39",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.test.ts",
"issues": [],
"line_number": 40,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.07834066196901819,
"calculated_length": 106.10749561002054,
"difficulty": 2.909090909090909,
"effort": 683.7003226387043,
"length": 50.0,
"n1": 4.0,
"n2": 22.0,
"n_1": 18.0,
"n_2": 32.0,
"time": 37.98335125770579,
"vocabulary": 26.0,
"volume": 235.02198590705459
},
"lines_of_code": 15.0,
"maintainability_index": 98.50925559468402,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 5.0
},
"recommendations": [],
"severity": "Low",
"start_line": 40
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.test.ts:anonymous_function_46:46",
"entity_name": "anonymous_function_46",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.test.ts",
"issues": [],
"line_number": 47,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 47
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.test.ts:anonymous_function_50:50",
"entity_name": "anonymous_function_50",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.test.ts",
"issues": [],
"line_number": 51,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 51
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.test.ts:anonymous_function_56:56",
"entity_name": "anonymous_function_56",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.test.ts",
"issues": [],
"line_number": 57,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03823134762099227,
"calculated_length": 68.75488750216347,
"difficulty": 1.875,
"effort": 215.0513303680815,
"length": 27.0,
"n1": 3.0,
"n2": 16.0,
"n_1": 7.0,
"n_2": 20.0,
"time": 11.947296131560083,
"vocabulary": 19.0,
"volume": 114.6940428629768
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 57
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.test.ts:anonymous_function_63:63",
"entity_name": "anonymous_function_63",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.test.ts",
"issues": [],
"line_number": 64,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 64
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.ts:deriveProjectKey:7",
"entity_name": "deriveProjectKey",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.ts",
"issues": [],
"line_number": 8,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 11,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04030927501394235,
"calculated_length": 57.70523225941349,
"difficulty": 5.409090909090909,
"effort": 654.1095990898826,
"length": 29.0,
"n1": 7.0,
"n2": 11.0,
"n_1": 12.0,
"n_2": 17.0,
"time": 36.339422171660146,
"vocabulary": 18.0,
"volume": 120.92782504182705
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 8
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.ts:deriveRemoteProjectKey:24",
"entity_name": "deriveRemoteProjectKey",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.ts",
"issues": [
{
"description": "Cognitive complexity of 26.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.ts:deriveRemoteProjectKey:24",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.ts:25",
"metric_value": 26.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 25,
"metrics": {
"cognitive_complexity": 26.0,
"cyclomatic_complexity": 14.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 26,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 31,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 44,
"nesting_level": 0
},
{
"column": 10,
"kind": "If",
"line": 47,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 48,
"nesting_level": 2
},
{
"column": 14,
"kind": "LogicalOr",
"line": 50,
"nesting_level": 3
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 51,
"nesting_level": 3
},
{
"column": 7,
"kind": "Catch",
"line": 52,
"nesting_level": 3
},
{
"column": 3,
"kind": "If",
"line": 57,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 57,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 62,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 68,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 76,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2855763610091431,
"calculated_length": 205.81007680238335,
"difficulty": 20.25,
"effort": 17348.763931305442,
"length": 156.0,
"n1": 15.0,
"n2": 30.0,
"n_1": 75.0,
"n_2": 81.0,
"time": 963.8202184058579,
"vocabulary": 45.0,
"volume": 856.7290830274293
},
"lines_of_code": 56.0,
"maintainability_index": 67.45306953020355,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 27.0,
"technical_debt_score": 60.0
},
"recommendations": [],
"severity": "High",
"start_line": 25
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.ts:parseRepoNameFromRemoteUrl:89",
"entity_name": "parseRepoNameFromRemoteUrl",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.ts",
"issues": [],
"line_number": 90,
"metrics": {
"cognitive_complexity": 15.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 93,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 100,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 102,
"nesting_level": 1
},
{
"column": 8,
"kind": "If",
"line": 107,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 109,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 112,
"nesting_level": 3
},
{
"column": 3,
"kind": "If",
"line": 119,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 124,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1883240471227156,
"calculated_length": 136.1612434150308,
"difficulty": 14.25,
"effort": 8050.853014496092,
"length": 112.0,
"n1": 11.0,
"n2": 22.0,
"n_1": 55.0,
"n_2": 57.0,
"time": 447.26961191644955,
"vocabulary": 33.0,
"volume": 564.9721413681468
},
"lines_of_code": 39.0,
"maintainability_index": 76.62906393508729,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 18.0,
"technical_debt_score": 37.800000000000004
},
"recommendations": [],
"severity": "Moderate",
"start_line": 90
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.ts:parseRepoShortNameFromRemoteUrl:135",
"entity_name": "parseRepoShortNameFromRemoteUrl",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.ts",
"issues": [],
"line_number": 136,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 140,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalOr",
"line": 144,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04531122681006491,
"calculated_length": 62.05374780501027,
"difficulty": 7.2727272727272725,
"effort": 988.6085849468707,
"length": 32.0,
"n1": 8.0,
"n2": 11.0,
"n_1": 12.0,
"n_2": 20.0,
"time": 54.92269916371504,
"vocabulary": 19.0,
"volume": 135.93368043019473
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 136
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.ts:deriveProjectName:149",
"entity_name": "deriveProjectName",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.ts",
"issues": [],
"line_number": 150,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 152,
"nesting_level": 0
},
{
"column": 12,
"kind": "LogicalOr",
"line": 153,
"nesting_level": 1
},
{
"column": 10,
"kind": "LogicalOr",
"line": 156,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05906635063012729,
"calculated_length": 67.75720079023742,
"difficulty": 6.192307692307692,
"effort": 1097.2710520904413,
"length": 41.0,
"n1": 7.0,
"n2": 13.0,
"n_1": 18.0,
"n_2": 23.0,
"time": 60.95950289391341,
"vocabulary": 20.0,
"volume": 177.19905189038187
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 12.600000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 150
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.ts:deriveDateGroup:161",
"entity_name": "deriveDateGroup",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.ts",
"issues": [],
"line_number": 162,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 172,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 175,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 182,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 185,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.19841283536143248,
"calculated_length": 141.8629171260716,
"difficulty": 7.942307692307692,
"effort": 4727.567365631055,
"length": 118.0,
"n1": 7.0,
"n2": 26.0,
"n_1": 59.0,
"n_2": 59.0,
"time": 262.6426314239475,
"vocabulary": 33.0,
"volume": 595.2385060842975
},
"lines_of_code": 27.0,
"maintainability_index": 83.23483945663043,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 15.0,
"technical_debt_score": 18.6
},
"recommendations": [],
"severity": "Low",
"start_line": 162
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.ts:groupAgents:220",
"entity_name": "groupAgents",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.ts",
"issues": [],
"line_number": 221,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 7,
"kind": "LogicalOr",
"line": 231,
"nesting_level": 0
},
{
"column": 22,
"kind": "LogicalOr",
"line": 234,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 236,
"nesting_level": 0
},
{
"column": 22,
"kind": "LogicalOr",
"line": 250,
"nesting_level": 0
},
{
"column": 22,
"kind": "LogicalOr",
"line": 279,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 289,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 289,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.5585174092477972,
"calculated_length": 422.0537478050103,
"difficulty": 13.921875,
"effort": 23326.828670615032,
"length": 269.0,
"n1": 11.0,
"n2": 64.0,
"n_1": 107.0,
"n_2": 162.0,
"time": 1295.9349261452796,
"vocabulary": 75.0,
"volume": 1675.5522277433918
},
"lines_of_code": 77.0,
"maintainability_index": 60.18608215969971,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 39.0,
"technical_debt_score": 37.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 221
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.ts:anonymous_function_258:258",
"entity_name": "anonymous_function_258",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.ts",
"issues": [],
"line_number": 259,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01403677461028802,
"calculated_length": 12.754887502163468,
"difficulty": 3.0,
"effort": 126.33097149259218,
"length": 15.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 7.0,
"n_2": 8.0,
"time": 7.01838730514401,
"vocabulary": 7.0,
"volume": 42.11032383086406
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 259
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.ts:anonymous_function_268:268",
"entity_name": "anonymous_function_268",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.ts",
"issues": [],
"line_number": 269,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.039471356993504986,
"calculated_length": 35.60964047443681,
"difficulty": 5.625,
"effort": 666.0791492653966,
"length": 32.0,
"n1": 5.0,
"n2": 8.0,
"n_1": 14.0,
"n_2": 18.0,
"time": 37.00439718141092,
"vocabulary": 13.0,
"volume": 118.41407098051495
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 269
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.ts:anonymous_function_290:290",
"entity_name": "anonymous_function_290",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-grouping.ts",
"issues": [],
"line_number": 291,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01403677461028802,
"calculated_length": 12.754887502163468,
"difficulty": 3.0,
"effort": 126.33097149259218,
"length": 15.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 7.0,
"n_2": 8.0,
"time": 7.01838730514401,
"vocabulary": 7.0,
"volume": 42.11032383086406
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 291
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-status.ts:getAgentStatusColor:20",
"entity_name": "getAgentStatusColor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-status.ts",
"issues": [],
"line_number": 21,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 48.599999999999994,
"length": 9.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 2.6999999999999997,
"vocabulary": 8.0,
"volume": 27.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 21
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-status.ts:getAgentStatusLabel:24",
"entity_name": "getAgentStatusLabel",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/agent-status.ts",
"issues": [],
"line_number": 25,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 48.599999999999994,
"length": 9.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 2.6999999999999997,
"vocabulary": 8.0,
"volume": 27.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 25
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/analytics.ts:trackAnalyticsEvent:21",
"entity_name": "trackAnalyticsEvent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/analytics.ts",
"issues": [],
"line_number": 22,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 23,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 29,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.039647323458806796,
"calculated_length": 63.61549134016113,
"difficulty": 3.9230769230769234,
"effort": 466.61849916903384,
"length": 28.0,
"n1": 6.0,
"n2": 13.0,
"n_1": 11.0,
"n_2": 17.0,
"time": 25.923249953835214,
"vocabulary": 19.0,
"volume": 118.94197037642039
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 10.4
},
"recommendations": [],
"severity": "Low",
"start_line": 22
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/attempt-guard.ts:constructor:1",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/attempt-guard.ts",
"issues": [],
"line_number": 2,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 19.60964047443681,
"difficulty": 2.4,
"effort": 83.68602003807705,
"length": 11.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 4.649223335448725,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 2
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/attempt-guard.ts:next:16",
"entity_name": "next",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/attempt-guard.ts",
"issues": [],
"line_number": 17,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008422064766172813,
"calculated_length": 12.754887502163468,
"difficulty": 2.6666666666666665,
"effort": 67.3765181293825,
"length": 9.0,
"n1": 4.0,
"n2": 3.0,
"n_1": 5.0,
"n_2": 4.0,
"time": 3.743139896076806,
"vocabulary": 7.0,
"volume": 25.26619429851844
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 17
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/attempt-guard.ts:cancel:21",
"entity_name": "cancel",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/attempt-guard.ts",
"issues": [],
"line_number": 22,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 22
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/attempt-guard.ts:isCurrent:25",
"entity_name": "isCurrent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/attempt-guard.ts",
"issues": [],
"line_number": 26,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 9.509775004326936,
"difficulty": 2.0,
"effort": 36.18947501009619,
"length": 7.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 4.0,
"time": 2.0105263894497885,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 26
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/attempt-guard.ts:assertCurrent:29",
"entity_name": "assertCurrent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/attempt-guard.ts",
"issues": [],
"line_number": 30,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 31,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.01383772647454919,
"calculated_length": 27.651484454403228,
"difficulty": 4.375,
"effort": 181.62015997845813,
"length": 12.0,
"n1": 7.0,
"n2": 4.0,
"n_1": 7.0,
"n_2": 5.0,
"time": 10.090008887692118,
"vocabulary": 11.0,
"volume": 41.51317942364757
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 30
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/daemon-endpoints.ts:decodeBase64UrlToUtf8:8",
"entity_name": "decodeBase64UrlToUtf8",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/daemon-endpoints.ts",
"issues": [],
"line_number": 9,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0658847613416814,
"calculated_length": 75.60964047443682,
"difficulty": 3.90625,
"effort": 772.0870469728291,
"length": 45.0,
"n1": 5.0,
"n2": 16.0,
"n_1": 20.0,
"n_2": 25.0,
"time": 42.89372483182384,
"vocabulary": 21.0,
"volume": 197.65428402504423
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 9
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/daemon-endpoints.ts:decodeOfferFragmentPayload:14",
"entity_name": "decodeOfferFragmentPayload",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/daemon-endpoints.ts",
"issues": [],
"line_number": 15,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014395021744511903,
"calculated_length": 23.509775004326936,
"difficulty": 2.6666666666666665,
"effort": 115.16017395609522,
"length": 13.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 6.39778744200529,
"vocabulary": 10.0,
"volume": 43.18506523353571
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 15
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/daemon-endpoints.ts:parseHostPort:19",
"entity_name": "parseHostPort",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/daemon-endpoints.ts",
"issues": [],
"line_number": 20,
"metrics": {
"cognitive_complexity": 21.0,
"cyclomatic_complexity": 13.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 22,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 27,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 29,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 34,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 35,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 35,
"nesting_level": 2
},
{
"column": 9,
"kind": "LogicalOr",
"line": 35,
"nesting_level": 2
},
{
"column": 3,
"kind": "If",
"line": 42,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 47,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 48,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 48,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 48,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.24298647506778867,
"calculated_length": 155.430713620542,
"difficulty": 13.846153846153847,
"effort": 10093.284348969682,
"length": 141.0,
"n1": 10.0,
"n2": 26.0,
"n_1": 69.0,
"n_2": 72.0,
"time": 560.7380193872045,
"vocabulary": 36.0,
"volume": 728.959425203366
},
"lines_of_code": 32.0,
"maintainability_index": 77.58866439867175,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 24.0,
"technical_debt_score": 49.2
},
"recommendations": [],
"severity": "Moderate",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/daemon-endpoints.ts:normalizeHostPort:53",
"entity_name": "normalizeHostPort",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/daemon-endpoints.ts",
"issues": [],
"line_number": 54,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 56,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02096915840279952,
"calculated_length": 36.529325012980806,
"difficulty": 2.6666666666666665,
"effort": 167.75326722239618,
"length": 17.0,
"n1": 4.0,
"n2": 9.0,
"n_1": 5.0,
"n_2": 12.0,
"time": 9.319625956799788,
"vocabulary": 13.0,
"volume": 62.907475208398566
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 54
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/daemon-endpoints.ts:extractHostPortFromWebSocketUrl:61",
"entity_name": "extractHostPortFromWebSocketUrl",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/daemon-endpoints.ts",
"issues": [],
"line_number": 62,
"metrics": {
"cognitive_complexity": 15.0,
"cyclomatic_complexity": 13.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 64,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 64,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 67,
"nesting_level": 0
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 72,
"nesting_level": 0
},
{
"column": 52,
"kind": "ConditionalExpression",
"line": 72,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 73,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 76,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 76,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 76,
"nesting_level": 1
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 80,
"nesting_level": 0
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 80,
"nesting_level": 0
},
{
"column": 20,
"kind": "ConditionalExpression",
"line": 81,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.21291783312685458,
"calculated_length": 206.19301755138517,
"difficulty": 9.264705882352942,
"effort": 5917.863303084636,
"length": 117.0,
"n1": 10.0,
"n2": 34.0,
"n_1": 54.0,
"n_2": 63.0,
"time": 328.770183504702,
"vocabulary": 44.0,
"volume": 638.7534993805638
},
"lines_of_code": 21.0,
"maintainability_index": 85.0992396849575,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 14.0,
"technical_debt_score": 42.199999999999996
},
"recommendations": [],
"severity": "Moderate",
"start_line": 62
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/daemon-endpoints.ts:shouldUseSecureWebSocket:84",
"entity_name": "shouldUseSecureWebSocket",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/daemon-endpoints.ts",
"issues": [],
"line_number": 85,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 85
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/daemon-endpoints.ts:buildDaemonWebSocketUrl:88",
"entity_name": "buildDaemonWebSocketUrl",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/daemon-endpoints.ts",
"issues": [],
"line_number": 89,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 20,
"kind": "ConditionalExpression",
"line": 91,
"nesting_level": 0
},
{
"column": 20,
"kind": "ConditionalExpression",
"line": 92,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.032699702730002715,
"calculated_length": 58.057856410969926,
"difficulty": 2.0357142857142856,
"effort": 199.70175595823085,
"length": 24.0,
"n1": 3.0,
"n2": 14.0,
"n_1": 5.0,
"n_2": 19.0,
"time": 11.094541997679492,
"vocabulary": 17.0,
"volume": 98.09910819000814
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 8.6
},
"recommendations": [],
"severity": "Low",
"start_line": 89
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/daemon-endpoints.ts:buildRelayWebSocketUrl:95",
"entity_name": "buildRelayWebSocketUrl",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/daemon-endpoints.ts",
"issues": [],
"line_number": 96,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 20,
"kind": "ConditionalExpression",
"line": 98,
"nesting_level": 0
},
{
"column": 20,
"kind": "ConditionalExpression",
"line": 99,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08995966091948951,
"calculated_length": 125.54887502163469,
"difficulty": 4.625,
"effort": 1248.190295257917,
"length": 55.0,
"n1": 6.0,
"n2": 24.0,
"n_1": 18.0,
"n_2": 37.0,
"time": 69.3439052921065,
"vocabulary": 30.0,
"volume": 269.8789827584685
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 96
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/daemon-endpoints.ts:deriveLabelFromEndpoint:105",
"entity_name": "deriveLabelFromEndpoint",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/daemon-endpoints.ts",
"issues": [],
"line_number": 106,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 107,
"nesting_level": 0
},
{
"column": 12,
"kind": "LogicalOr",
"line": 109,
"nesting_level": 1
},
{
"column": 5,
"kind": "Catch",
"line": 110,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.01614401422030739,
"calculated_length": 27.11941547876375,
"difficulty": 3.333333333333333,
"effort": 161.44014220307386,
"length": 14.0,
"n1": 5.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 8.96889678905966,
"vocabulary": 11.0,
"volume": 48.432042660922164
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 13.400000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 106
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/daemons.ts:formatConnectionStatus:3",
"entity_name": "formatConnectionStatus",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/daemons.ts",
"issues": [],
"line_number": 4,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03474937501201927,
"calculated_length": 61.302968908806456,
"difficulty": 2.2857142857142856,
"effort": 238.28142865384638,
"length": 25.0,
"n1": 4.0,
"n2": 14.0,
"n_1": 9.0,
"n_2": 16.0,
"time": 13.23785714743591,
"vocabulary": 18.0,
"volume": 104.2481250360578
},
"lines_of_code": 15.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 5.0
},
"recommendations": [],
"severity": "Low",
"start_line": 4
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/daemons.ts:getConnectionStatusTone:22",
"entity_name": "getConnectionStatusTone",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/daemons.ts",
"issues": [],
"line_number": 23,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03542467795750294,
"calculated_length": 56.105716335834195,
"difficulty": 2.6153846153846154,
"effort": 277.9474732050231,
"length": 26.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 9.0,
"n_2": 17.0,
"time": 15.441526289167948,
"vocabulary": 17.0,
"volume": 106.27403387250882
},
"lines_of_code": 15.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 5.0
},
"recommendations": [],
"severity": "Low",
"start_line": 23
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts:anonymous_function_61:61",
"entity_name": "anonymous_function_61",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 62,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.9591479170272448,
"calculated_length": 290.1928094887362,
"difficulty": 10.16,
"effort": 29234.82851099042,
"length": 500.0,
"n1": 4.0,
"n2": 50.0,
"n_1": 246.0,
"n_2": 254.0,
"time": 1624.1571394994678,
"vocabulary": 54.0,
"volume": 2877.4437510817343
},
"lines_of_code": 67.0,
"maintainability_index": 61.237760084544135,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 48.0,
"technical_debt_score": 15.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 62
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts:anonymous_function_62:62",
"entity_name": "anonymous_function_62",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 63,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.40234110936400824,
"calculated_length": 180.97373660251154,
"difficulty": 6.882352941176471,
"effort": 8307.160552162759,
"length": 230.0,
"n1": 4.0,
"n2": 34.0,
"n_1": 113.0,
"n_2": 117.0,
"time": 461.5089195645977,
"vocabulary": 38.0,
"volume": 1207.0233280920247
},
"lines_of_code": 25.0,
"maintainability_index": 81.72546638626291,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 20.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 63
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts:anonymous_function_89:89",
"entity_name": "anonymous_function_89",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 90,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.11989891001000993,
"calculated_length": 56.105716335834195,
"difficulty": 6.923076923076923,
"effort": 2490.2081309771297,
"length": 88.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 43.0,
"n_2": 45.0,
"time": 138.3448961653961,
"vocabulary": 17.0,
"volume": 359.6967300300298
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 90
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts:anonymous_function_102:102",
"entity_name": "anonymous_function_102",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 103,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10541561814669026,
"calculated_length": 77.48686830125577,
"difficulty": 4.352941176470588,
"effort": 1376.6039546214845,
"length": 72.0,
"n1": 4.0,
"n2": 17.0,
"n_1": 35.0,
"n_2": 37.0,
"time": 76.47799747897136,
"vocabulary": 21.0,
"volume": 316.24685444007076
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 103
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts:anonymous_function_113:113",
"entity_name": "anonymous_function_113",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 114,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10541561814669026,
"calculated_length": 77.48686830125577,
"difficulty": 4.352941176470588,
"effort": 1376.6039546214845,
"length": 72.0,
"n1": 4.0,
"n2": 17.0,
"n_1": 35.0,
"n_2": 37.0,
"time": 76.47799747897136,
"vocabulary": 21.0,
"volume": 316.24685444007076
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 114
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts:anonymous_function_124:124",
"entity_name": "anonymous_function_124",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 125,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.018,
"calculated_length": 16.36452797660028,
"difficulty": 2.4000000000000004,
"effort": 129.60000000000002,
"length": 18.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 10.0,
"n_2": 8.0,
"time": 7.200000000000001,
"vocabulary": 8.0,
"volume": 54.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 125
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts:anonymous_function_130:130",
"entity_name": "anonymous_function_130",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 131,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.22739821375122685,
"calculated_length": 161.58008562199313,
"difficulty": 4.516129032258065,
"effort": 3080.879025016622,
"length": 133.0,
"n1": 4.0,
"n2": 31.0,
"n_1": 63.0,
"n_2": 70.0,
"time": 171.15994583425677,
"vocabulary": 35.0,
"volume": 682.1946412536805
},
"lines_of_code": 25.0,
"maintainability_index": 84.69257355987385,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 14.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 131
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts:anonymous_function_131:131",
"entity_name": "anonymous_function_131",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 132,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.12338877633281183,
"calculated_length": 118.03910001730775,
"difficulty": 3.3333333333333335,
"effort": 1233.8877633281184,
"length": 77.0,
"n1": 4.0,
"n2": 24.0,
"n_1": 37.0,
"n_2": 40.0,
"time": 68.54932018489546,
"vocabulary": 28.0,
"volume": 370.16632899843546
},
"lines_of_code": 14.0,
"maintainability_index": 97.26471855944072,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 4.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 132
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts:anonymous_function_147:147",
"entity_name": "anonymous_function_147",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 148,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0691508495181978,
"calculated_length": 72.0,
"difficulty": 3.25,
"effort": 674.2207828024286,
"length": 48.0,
"n1": 4.0,
"n2": 16.0,
"n_1": 22.0,
"n_2": 26.0,
"time": 37.45671015569048,
"vocabulary": 20.0,
"volume": 207.45254855459342
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 148
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts:anonymous_function_157:157",
"entity_name": "anonymous_function_157",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 158,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.18166666666666667,
"calculated_length": 142.6059378176129,
"difficulty": 4.142857142857143,
"effort": 2257.857142857143,
"length": 109.0,
"n1": 4.0,
"n2": 28.0,
"n_1": 51.0,
"n_2": 58.0,
"time": 125.43650793650795,
"vocabulary": 32.0,
"volume": 545.0
},
"lines_of_code": 20.0,
"maintainability_index": 89.47505103617648,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 158
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts:anonymous_function_158:158",
"entity_name": "anonymous_function_158",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 159,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10184286055972365,
"calculated_length": 106.10749561002054,
"difficulty": 3.090909090909091,
"effort": 944.3610706447101,
"length": 65.0,
"n1": 4.0,
"n2": 22.0,
"n_1": 31.0,
"n_2": 34.0,
"time": 52.46450392470612,
"vocabulary": 26.0,
"volume": 305.52858167917094
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 159
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts:anonymous_function_170:170",
"entity_name": "anonymous_function_170",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 171,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05003910001730774,
"calculated_length": 61.302968908806456,
"difficulty": 2.857142857142857,
"effort": 428.9065715769235,
"length": 36.0,
"n1": 4.0,
"n2": 14.0,
"n_1": 16.0,
"n_2": 20.0,
"time": 23.82814286538464,
"vocabulary": 18.0,
"volume": 150.11730005192322
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 171
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts:anonymous_function_179:179",
"entity_name": "anonymous_function_179",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 180,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 14,
"kind": "LogicalAnd",
"line": 211,
"nesting_level": 0
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 219,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.6497039997961664,
"calculated_length": 399.5097750043269,
"difficulty": 8.671875,
"effort": 16902.455619697143,
"length": 318.0,
"n1": 6.0,
"n2": 64.0,
"n_1": 133.0,
"n_2": 185.0,
"time": 939.0253122053969,
"vocabulary": 70.0,
"volume": 1949.1119993884993
},
"lines_of_code": 74.0,
"maintainability_index": 61.193473842962476,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 30.0,
"technical_debt_score": 22.4
},
"recommendations": [],
"severity": "Low",
"start_line": 180
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts:anonymous_function_180:180",
"entity_name": "anonymous_function_180",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 181,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.18159818829690433,
"calculated_length": 143.8917375627406,
"difficulty": 6.333333333333334,
"effort": 3450.3655776411824,
"length": 108.0,
"n1": 6.0,
"n2": 27.0,
"n_1": 51.0,
"n_2": 57.0,
"time": 191.68697653562126,
"vocabulary": 33.0,
"volume": 544.794564890713
},
"lines_of_code": 21.0,
"maintainability_index": 88.68661086095665,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 181
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts:anonymous_function_193:193",
"entity_name": "anonymous_function_193",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 194,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 194
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts:anonymous_function_198:198",
"entity_name": "anonymous_function_198",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 199,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 199
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts:anonymous_function_203:203",
"entity_name": "anonymous_function_203",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 204,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 14,
"kind": "LogicalAnd",
"line": 211,
"nesting_level": 0
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 219,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2187970413564159,
"calculated_length": 169.08986062632007,
"difficulty": 6.677419354838709,
"effort": 4382.998796204331,
"length": 126.0,
"n1": 6.0,
"n2": 31.0,
"n_1": 57.0,
"n_2": 69.0,
"time": 243.4999331224628,
"vocabulary": 37.0,
"volume": 656.3911240692477
},
"lines_of_code": 20.0,
"maintainability_index": 88.0480016160905,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 11.0,
"technical_debt_score": 11.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 204
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts:anonymous_function_210:210",
"entity_name": "anonymous_function_210",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 211,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 14,
"kind": "LogicalAnd",
"line": 211,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.014792983340064124,
"calculated_length": 20.264662506490403,
"difficulty": 2.0,
"effort": 88.75790004038474,
"length": 14.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 4.930994446688041,
"vocabulary": 9.0,
"volume": 44.37895002019237
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 211
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts:anonymous_function_213:213",
"entity_name": "anonymous_function_213",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 214,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 214
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts:anonymous_function_218:218",
"entity_name": "anonymous_function_218",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 219,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 14,
"kind": "LogicalAnd",
"line": 219,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.014792983340064124,
"calculated_length": 20.264662506490403,
"difficulty": 2.0,
"effort": 88.75790004038474,
"length": 14.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 4.930994446688041,
"vocabulary": 9.0,
"volume": 44.37895002019237
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 219
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts:anonymous_function_221:221",
"entity_name": "anonymous_function_221",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 222,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 222
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts:anonymous_function_225:225",
"entity_name": "anonymous_function_225",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 226,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.12310279240667919,
"calculated_length": 161.58008562199313,
"difficulty": 3.4193548387096775,
"effort": 1262.7963866233542,
"length": 72.0,
"n1": 4.0,
"n2": 31.0,
"n_1": 19.0,
"n_2": 53.0,
"time": 70.15535481240858,
"vocabulary": 35.0,
"volume": 369.3083772200376
},
"lines_of_code": 27.0,
"maintainability_index": 86.63695634133819,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 7.400000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 226
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts:anonymous_function_255:255",
"entity_name": "anonymous_function_255",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 256,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.12838196255841364,
"calculated_length": 109.71713608445735,
"difficulty": 4.886363636363637,
"effort": 1881.9628602312912,
"length": 81.0,
"n1": 5.0,
"n2": 22.0,
"n_1": 38.0,
"n_2": 43.0,
"time": 104.55349223507173,
"vocabulary": 27.0,
"volume": 385.14588767524094
},
"lines_of_code": 16.0,
"maintainability_index": 94.89522730371321,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 256
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts:anonymous_function_256:256",
"entity_name": "anonymous_function_256",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 257,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.040371202821288026,
"calculated_length": 46.05374780501027,
"difficulty": 2.909090909090909,
"effort": 352.3304973494228,
"length": 31.0,
"n1": 4.0,
"n2": 11.0,
"n_1": 15.0,
"n_2": 16.0,
"time": 19.57391651941238,
"vocabulary": 15.0,
"volume": 121.11360846386408
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 257
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts:anonymous_function_263:263",
"entity_name": "anonymous_function_263",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 264,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.060506993328423075,
"calculated_length": 70.2129994085646,
"difficulty": 3.8333333333333335,
"effort": 695.8304232768654,
"length": 42.0,
"n1": 5.0,
"n2": 15.0,
"n_1": 19.0,
"n_2": 23.0,
"time": 38.65724573760363,
"vocabulary": 20.0,
"volume": 181.52097998526924
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 264
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.ts:parseDiff:33",
"entity_name": "parseDiff",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.ts",
"issues": [
{
"description": "Cyclomatic complexity of 22.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.ts:parseDiff:33",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.ts:34",
"metric_value": 22.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 47.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.ts:parseDiff:33",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.ts:34",
"metric_value": 47.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 34,
"metrics": {
"cognitive_complexity": 47.0,
"cyclomatic_complexity": 22.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 35,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 35,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 48,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 51,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 57,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 61,
"nesting_level": 1
},
{
"column": 5,
"kind": "For",
"line": 71,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 75,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 76,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 77,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 78,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 79,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 85,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 86,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 99,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 101,
"nesting_level": 1
},
{
"column": 14,
"kind": "If",
"line": 104,
"nesting_level": 2
},
{
"column": 14,
"kind": "If",
"line": 107,
"nesting_level": 3
},
{
"column": 14,
"kind": "If",
"line": 109,
"nesting_level": 4
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 109,
"nesting_level": 5
},
{
"column": 5,
"kind": "If",
"line": 115,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.7561571528032802,
"calculated_length": 495.23540441896023,
"difficulty": 20.387323943661972,
"effort": 46248.06247955273,
"length": 353.0,
"n1": 15.0,
"n2": 71.0,
"n_1": 160.0,
"n_2": 193.0,
"time": 2569.3368044195963,
"vocabulary": 86.0,
"volume": 2268.4714584098406
},
"lines_of_code": 89.0,
"maintainability_index": 53.044410920258514,
"max_nesting_depth": 5.0,
"parameter_count": 1.0,
"statement_count": 55.0,
"technical_debt_score": 95.4
},
"recommendations": [],
"severity": "High",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.ts:reconstructNewFile:128",
"entity_name": "reconstructNewFile",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.ts",
"issues": [],
"line_number": 129,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 136,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 138,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 138,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08653238859703688,
"calculated_length": 107.54061610626604,
"difficulty": 9.705882352941176,
"effort": 2519.6195503254853,
"length": 54.0,
"n1": 11.0,
"n2": 17.0,
"n_1": 24.0,
"n_2": 30.0,
"time": 139.9788639069714,
"vocabulary": 28.0,
"volume": 259.5971657911106
},
"lines_of_code": 18.0,
"maintainability_index": 94.34849597279496,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 14.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 129
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.ts:reconstructOldFile:152",
"entity_name": "reconstructOldFile",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.ts",
"issues": [],
"line_number": 153,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 160,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 162,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 162,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08653238859703688,
"calculated_length": 107.54061610626604,
"difficulty": 9.705882352941176,
"effort": 2519.6195503254853,
"length": 54.0,
"n1": 11.0,
"n2": 17.0,
"n_1": 24.0,
"n_2": 30.0,
"time": 139.9788639069714,
"vocabulary": 28.0,
"volume": 259.5971657911106
},
"lines_of_code": 18.0,
"maintainability_index": 94.34849597279496,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 14.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 153
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.ts:highlightDiffFile:180",
"entity_name": "highlightDiffFile",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.ts",
"issues": [],
"line_number": 181,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 182,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 208,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 214,
"nesting_level": 0
},
{
"column": 14,
"kind": "If",
"line": 217,
"nesting_level": 1
},
{
"column": 14,
"kind": "If",
"line": 220,
"nesting_level": 2
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 227,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.31922462421590114,
"calculated_length": 255.89667380414838,
"difficulty": 14.850000000000001,
"effort": 14221.457008818397,
"length": 168.0,
"n1": 12.0,
"n2": 40.0,
"n_1": 69.0,
"n_2": 99.0,
"time": 790.0809449343554,
"vocabulary": 52.0,
"volume": 957.6738726477034
},
"lines_of_code": 53.0,
"maintainability_index": 69.37583306748586,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 30.0,
"technical_debt_score": 31.799999999999994
},
"recommendations": [],
"severity": "Low",
"start_line": 181
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.ts:anonymous_function_202:202",
"entity_name": "anonymous_function_202",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.ts",
"issues": [],
"line_number": 203,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 208,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 214,
"nesting_level": 0
},
{
"column": 14,
"kind": "If",
"line": 217,
"nesting_level": 1
},
{
"column": 14,
"kind": "If",
"line": 220,
"nesting_level": 2
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 227,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.16646500593882896,
"calculated_length": 136.1612434150308,
"difficulty": 13.0,
"effort": 6492.135231614329,
"length": 99.0,
"n1": 11.0,
"n2": 22.0,
"n_1": 47.0,
"n_2": 52.0,
"time": 360.6741795341294,
"vocabulary": 33.0,
"volume": 499.39501781648687
},
"lines_of_code": 28.0,
"maintainability_index": 83.32862044758387,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 18.0,
"technical_debt_score": 24.0
},
"recommendations": [],
"severity": "Low",
"start_line": 203
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.ts:anonymous_function_206:206",
"entity_name": "anonymous_function_206",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.ts",
"issues": [],
"line_number": 207,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 208,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 214,
"nesting_level": 0
},
{
"column": 14,
"kind": "If",
"line": 217,
"nesting_level": 1
},
{
"column": 14,
"kind": "If",
"line": 220,
"nesting_level": 2
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 227,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.12521203755697133,
"calculated_length": 102.05374780501026,
"difficulty": 13.0625,
"effort": 4906.746721763814,
"length": 79.0,
"n1": 11.0,
"n2": 16.0,
"n_1": 41.0,
"n_2": 38.0,
"time": 272.5970400979897,
"vocabulary": 27.0,
"volume": 375.636112670914
},
"lines_of_code": 21.0,
"maintainability_index": 89.46990788434638,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 14.0,
"technical_debt_score": 22.6
},
"recommendations": [],
"severity": "Low",
"start_line": 207
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.ts:buildFileContent:235",
"entity_name": "buildFileContent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.ts",
"issues": [],
"line_number": 236,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 237,
"nesting_level": 0
},
{
"column": 3,
"kind": "For",
"line": 244,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.11433960003879162,
"calculated_length": 137.26120593818493,
"difficulty": 8.695652173913043,
"effort": 2982.7721749249986,
"length": 68.0,
"n1": 10.0,
"n2": 23.0,
"n_1": 28.0,
"n_2": 40.0,
"time": 165.70956527361102,
"vocabulary": 33.0,
"volume": 343.01880011637485
},
"lines_of_code": 13.0,
"maintainability_index": 98.40133707532937,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 10.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 236
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.ts:anonymous_function_238:238",
"entity_name": "anonymous_function_238",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.ts",
"issues": [],
"line_number": 239,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026416041678685932,
"calculated_length": 2.0,
"difficulty": 1.0,
"effort": 7.92481250360578,
"length": 5.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.44026736131143224,
"vocabulary": 3.0,
"volume": 7.92481250360578
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 239
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.ts:buildTokenLookup:250",
"entity_name": "buildTokenLookup",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.ts",
"issues": [],
"line_number": 251,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 257,
"nesting_level": 0
},
{
"column": 3,
"kind": "For",
"line": 263,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 265,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.1227469235710557,
"calculated_length": 136.1612434150308,
"difficulty": 11.25,
"effort": 4142.7086705231295,
"length": 73.0,
"n1": 11.0,
"n2": 22.0,
"n_1": 28.0,
"n_2": 45.0,
"time": 230.1504816957294,
"vocabulary": 33.0,
"volume": 368.2407707131671
},
"lines_of_code": 20.0,
"maintainability_index": 90.82370480757577,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 11.0,
"technical_debt_score": 15.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 251
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.ts:anonymous_function_258:258",
"entity_name": "anonymous_function_258",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.ts",
"issues": [],
"line_number": 259,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026416041678685932,
"calculated_length": 2.0,
"difficulty": 1.0,
"effort": 7.92481250360578,
"length": 5.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.44026736131143224,
"vocabulary": 3.0,
"volume": 7.92481250360578
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 259
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.ts:parseAndHighlightDiff:275",
"entity_name": "parseAndHighlightDiff",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/diff-highlighter.ts",
"issues": [],
"line_number": 276,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014395021744511903,
"calculated_length": 24.406371956566694,
"difficulty": 1.9285714285714288,
"effort": 83.2854829503903,
"length": 13.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 4.0,
"n_2": 9.0,
"time": 4.626971275021684,
"vocabulary": 10.0,
"volume": 43.18506523353571
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 276
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/exhaustive.ts:assertUnreachable:0",
"entity_name": "assertUnreachable",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/exhaustive.ts",
"issues": [],
"line_number": 1,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/extract-agent-model.test.ts:anonymous_function_4:4",
"entity_name": "anonymous_function_4",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/extract-agent-model.test.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0626744302325052,
"calculated_length": 56.105716335834195,
"difficulty": 4.3076923076923075,
"effort": 809.9464830046825,
"length": 46.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 18.0,
"n_2": 28.0,
"time": 44.99702683359347,
"vocabulary": 17.0,
"volume": 188.0232906975156
},
"lines_of_code": 17.0,
"maintainability_index": 97.64180144869252,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/extract-agent-model.test.ts:anonymous_function_5:5",
"entity_name": "anonymous_function_5",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/extract-agent-model.test.ts",
"issues": [],
"line_number": 6,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02343611821489358,
"calculated_length": 36.529325012980806,
"difficulty": 2.6666666666666665,
"effort": 187.48894571914866,
"length": 19.0,
"n1": 4.0,
"n2": 9.0,
"n_1": 7.0,
"n_2": 12.0,
"time": 10.416052539952704,
"vocabulary": 13.0,
"volume": 70.30835464468075
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 6
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/extract-agent-model.test.ts:anonymous_function_13:13",
"entity_name": "anonymous_function_13",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/extract-agent-model.test.ts",
"issues": [],
"line_number": 14,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02343611821489358,
"calculated_length": 36.529325012980806,
"difficulty": 2.6666666666666665,
"effort": 187.48894571914866,
"length": 19.0,
"n1": 4.0,
"n2": 9.0,
"n_1": 7.0,
"n_2": 12.0,
"time": 10.416052539952704,
"vocabulary": 13.0,
"volume": 70.30835464468075
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 14
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/extract-agent-model.ts:extractAgentModel:2",
"entity_name": "extractAgentModel",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/extract-agent-model.ts",
"issues": [],
"line_number": 3,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 4,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 7,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 7,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 10,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 10,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09364177538922619,
"calculated_length": 67.75720079023742,
"difficulty": 8.884615384615383,
"effort": 2495.9134747974517,
"length": 65.0,
"n1": 7.0,
"n2": 13.0,
"n_1": 32.0,
"n_2": 33.0,
"time": 138.66185971096954,
"vocabulary": 20.0,
"volume": 280.9253261676786
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 19.799999999999997
},
"recommendations": [],
"severity": "Low",
"start_line": 3
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/navigation-timing.ts:anonymous_function_18:18",
"entity_name": "anonymous_function_18",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/navigation-timing.ts",
"issues": [],
"line_number": 19,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0013333333333333333,
"calculated_length": 2.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 4.0,
"n1": 0.0,
"n2": 2.0,
"n_1": 0.0,
"n_2": 4.0,
"time": 0.0,
"vocabulary": 2.0,
"volume": 4.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 19
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/navigation-timing.ts:anonymous_function_21:21",
"entity_name": "anonymous_function_21",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/navigation-timing.ts",
"issues": [],
"line_number": 22,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 23,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07207340901149674,
"calculated_length": 99.05865002596161,
"difficulty": 6.444444444444445,
"effort": 1393.419240888937,
"length": 46.0,
"n1": 8.0,
"n2": 18.0,
"n_1": 17.0,
"n_2": 29.0,
"time": 77.4121800493854,
"vocabulary": 26.0,
"volume": 216.22022703449022
},
"lines_of_code": 18.0,
"maintainability_index": 95.75923074110501,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 8.4
},
"recommendations": [],
"severity": "Low",
"start_line": 22
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/navigation-timing.ts:anonymous_function_41:41",
"entity_name": "anonymous_function_41",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/navigation-timing.ts",
"issues": [],
"line_number": 42,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 43,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 48,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.12209910819000815,
"calculated_length": 146.21143267166838,
"difficulty": 6.615384615384615,
"effort": 2423.1976856170845,
"length": 72.0,
"n1": 8.0,
"n2": 26.0,
"n_1": 29.0,
"n_2": 43.0,
"time": 134.6220936453936,
"vocabulary": 34.0,
"volume": 366.29732457002444
},
"lines_of_code": 22.0,
"maintainability_index": 89.53719635329512,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 8.0,
"technical_debt_score": 12.0
},
"recommendations": [],
"severity": "Low",
"start_line": 42
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/navigation-timing.ts:anonymous_function_65:65",
"entity_name": "anonymous_function_65",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/navigation-timing.ts",
"issues": [],
"line_number": 66,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 67,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 71,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04977959745815929,
"calculated_length": 72.10571633583419,
"difficulty": 5.230769230769231,
"effort": 781.1567601126534,
"length": 34.0,
"n1": 8.0,
"n2": 13.0,
"n_1": 17.0,
"n_2": 17.0,
"time": 43.3975977840363,
"vocabulary": 21.0,
"volume": 149.33879237447786
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 6.0,
"technical_debt_score": 10.4
},
"recommendations": [],
"severity": "Low",
"start_line": 66
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/os-notifications.ts:getWebNotificationConstructor:13",
"entity_name": "getWebNotificationConstructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/os-notifications.ts",
"issues": [],
"line_number": 14,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.031151468431919623,
"calculated_length": 64.91260938324326,
"difficulty": 3.0357142857142856,
"effort": 283.700873219268,
"length": 22.0,
"n1": 5.0,
"n2": 14.0,
"n_1": 5.0,
"n_2": 17.0,
"time": 15.761159623292665,
"vocabulary": 19.0,
"volume": 93.45440529575887
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 14
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/os-notifications.ts:configureNativeNotifications:22",
"entity_name": "configureNativeNotifications",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/os-notifications.ts",
"issues": [],
"line_number": 23,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 24,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 24,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05043458750793272,
"calculated_length": 88.0,
"difficulty": 5.25,
"effort": 794.3447532499404,
"length": 33.0,
"n1": 8.0,
"n2": 16.0,
"n_1": 12.0,
"n_2": 21.0,
"time": 44.13026406944113,
"vocabulary": 24.0,
"volume": 151.30376252379816
},
"lines_of_code": 15.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 11.399999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 23
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/os-notifications.ts:anonymous_function_29:29",
"entity_name": "anonymous_function_29",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/os-notifications.ts",
"issues": [],
"line_number": 30,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011,
"calculated_length": 19.651484454403228,
"difficulty": 0.7142857142857143,
"effort": 23.571428571428573,
"length": 11.0,
"n1": 1.0,
"n2": 7.0,
"n_1": 1.0,
"n_2": 10.0,
"time": 1.3095238095238095,
"vocabulary": 8.0,
"volume": 33.0
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 30
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/os-notifications.ts:ensureNotificationPermission:39",
"entity_name": "ensureNotificationPermission",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/os-notifications.ts",
"issues": [],
"line_number": 40,
"metrics": {
"cognitive_complexity": 17.0,
"cyclomatic_complexity": 13.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 41,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 43,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 46,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 49,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 52,
"nesting_level": 1
},
{
"column": 7,
"kind": "ConditionalExpression",
"line": 56,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 65,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 68,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 71,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 77,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 81,
"nesting_level": 0
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 86,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2783645168600784,
"calculated_length": 172.65968562262316,
"difficulty": 14.732142857142856,
"effort": 12302.71748622668,
"length": 158.0,
"n1": 11.0,
"n2": 28.0,
"n_1": 83.0,
"n_2": 75.0,
"time": 683.4843047903711,
"vocabulary": 39.0,
"volume": 835.0935505802353
},
"lines_of_code": 53.0,
"maintainability_index": 68.70804347342467,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 34.0,
"technical_debt_score": 50.2
},
"recommendations": [],
"severity": "Moderate",
"start_line": 40
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/os-notifications.ts:anonymous_function_58:58",
"entity_name": "anonymous_function_58",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/os-notifications.ts",
"issues": [],
"line_number": 59,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 59
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/os-notifications.ts:anonymous_function_74:74",
"entity_name": "anonymous_function_74",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/os-notifications.ts",
"issues": [],
"line_number": 75,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 77,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 81,
"nesting_level": 0
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 86,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07840840723832156,
"calculated_length": 81.07329781366414,
"difficulty": 11.458333333333334,
"effort": 2695.2889988173038,
"length": 52.0,
"n1": 11.0,
"n2": 12.0,
"n_1": 27.0,
"n_2": 25.0,
"time": 149.73827771207243,
"vocabulary": 23.0,
"volume": 235.22522171496468
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 13.0
},
"recommendations": [],
"severity": "Low",
"start_line": 75
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/os-notifications.ts:sendOsNotification:94",
"entity_name": "sendOsNotification",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/os-notifications.ts",
"issues": [],
"line_number": 95,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 98,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 100,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 104,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 116,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.13833333333333334,
"calculated_length": 131.32677655889415,
"difficulty": 10.227272727272727,
"effort": 4244.318181818182,
"length": 83.0,
"n1": 10.0,
"n2": 22.0,
"n_1": 38.0,
"n_2": 45.0,
"time": 235.79545454545456,
"vocabulary": 32.0,
"volume": 415.0
},
"lines_of_code": 35.0,
"maintainability_index": 80.90631309867187,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 15.0,
"technical_debt_score": 21.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 95
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/perf-monitor.ts:startPerfMonitor:30",
"entity_name": "startPerfMonitor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/perf-monitor.ts",
"issues": [],
"line_number": 31,
"metrics": {
"cognitive_complexity": 21.0,
"cyclomatic_complexity": 13.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 32,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 37,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 47,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 50,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 68,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 81,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 82,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 85,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 96,
"nesting_level": 2
},
{
"column": 18,
"kind": "ConditionalExpression",
"line": 100,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 106,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 106,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.5573056634057861,
"calculated_length": 435.1719941146225,
"difficulty": 18.452380952380953,
"effort": 30850.849224248872,
"length": 266.0,
"n1": 15.0,
"n2": 63.0,
"n_1": 111.0,
"n_2": 155.0,
"time": 1713.9360680138261,
"vocabulary": 78.0,
"volume": 1671.9169902173583
},
"lines_of_code": 82.0,
"maintainability_index": 58.028172238171464,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 40.0,
"technical_debt_score": 59.20000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/perf-monitor.ts:anonymous_function_32:32",
"entity_name": "anonymous_function_32",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/perf-monitor.ts",
"issues": [],
"line_number": 33,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 33
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/perf-monitor.ts:anonymous_function_37:37",
"entity_name": "anonymous_function_37",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/perf-monitor.ts",
"issues": [],
"line_number": 38,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 38
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/perf-monitor.ts:anonymous_function_47:47",
"entity_name": "anonymous_function_47",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/perf-monitor.ts",
"issues": [],
"line_number": 48,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 50,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07050659577211638,
"calculated_length": 100.36210720983135,
"difficulty": 4.973684210526316,
"effort": 1052.0326263892102,
"length": 45.0,
"n1": 7.0,
"n2": 19.0,
"n_1": 18.0,
"n_2": 27.0,
"time": 58.44625702162279,
"vocabulary": 26.0,
"volume": 211.51978731634912
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 8.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 48
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/perf-monitor.ts:anonymous_function_64:64",
"entity_name": "anonymous_function_64",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/perf-monitor.ts",
"issues": [],
"line_number": 65,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 68,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05880630542874117,
"calculated_length": 83.65148445440323,
"difficulty": 5.25,
"effort": 926.1993105026735,
"length": 39.0,
"n1": 7.0,
"n2": 16.0,
"n_1": 15.0,
"n_2": 24.0,
"time": 51.455517250148525,
"vocabulary": 23.0,
"volume": 176.41891628622352
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 65
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/perf-monitor.ts:anonymous_function_82:82",
"entity_name": "anonymous_function_82",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/perf-monitor.ts",
"issues": [],
"line_number": 83,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 85,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.05499965662986,
"calculated_length": 78.25484338853101,
"difficulty": 5.133333333333333,
"effort": 846.9947120998439,
"length": 37.0,
"n1": 7.0,
"n2": 15.0,
"n_1": 15.0,
"n_2": 22.0,
"time": 47.05526178332466,
"vocabulary": 22.0,
"volume": 164.99896988958
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 8.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 83
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/perf-monitor.ts:anonymous_function_104:104",
"entity_name": "anonymous_function_104",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/perf-monitor.ts",
"issues": [],
"line_number": 105,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 106,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 106,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04977959745815929,
"calculated_length": 72.95445336320968,
"difficulty": 4.25,
"effort": 634.6898675915309,
"length": 34.0,
"n1": 7.0,
"n2": 14.0,
"n_1": 17.0,
"n_2": 17.0,
"time": 35.260548199529495,
"vocabulary": 21.0,
"volume": 149.33879237447786
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 9.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 105
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/perf.ts:anonymous_function_0:0",
"entity_name": "anonymous_function_0",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/perf.ts",
"issues": [],
"line_number": 1,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 3,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 6,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 6,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05281905001826929,
"calculated_length": 57.70523225941349,
"difficulty": 5.7272727272727275,
"effort": 907.5273139502633,
"length": 38.0,
"n1": 7.0,
"n2": 11.0,
"n_1": 20.0,
"n_2": 18.0,
"time": 50.41818410834796,
"vocabulary": 18.0,
"volume": 158.45715005480787
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 13.0
},
"recommendations": [],
"severity": "Low",
"start_line": 1
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/perf.ts:anonymous_function_19:19",
"entity_name": "anonymous_function_19",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/perf.ts",
"issues": [],
"line_number": 20,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/perf.ts:anonymous_function_21:21",
"entity_name": "anonymous_function_21",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/perf.ts",
"issues": [],
"line_number": 22,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 23,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01850219859070546,
"calculated_length": 35.161259458730164,
"difficulty": 4.666666666666666,
"effort": 259.0307802698764,
"length": 15.0,
"n1": 7.0,
"n2": 6.0,
"n_1": 7.0,
"n_2": 8.0,
"time": 14.390598903882022,
"vocabulary": 13.0,
"volume": 55.506595772116384
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 22
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/perf.ts:anonymous_function_28:28",
"entity_name": "anonymous_function_28",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/perf.ts",
"issues": [],
"line_number": 29,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 30,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 30,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.02748471250552886,
"calculated_length": 31.26112492884004,
"difficulty": 6.3,
"effort": 519.4610663544954,
"length": 23.0,
"n1": 7.0,
"n2": 5.0,
"n_1": 14.0,
"n_2": 9.0,
"time": 28.858948130805302,
"vocabulary": 12.0,
"volume": 82.45413751658658
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 29
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/perf.ts:anonymous_function_42:42",
"entity_name": "anonymous_function_42",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/perf.ts",
"issues": [],
"line_number": 43,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 44,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 44,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.0564052766176931,
"calculated_length": 98.01619331423657,
"difficulty": 5.8235294117647065,
"effort": 985.4333620855796,
"length": 36.0,
"n1": 9.0,
"n2": 17.0,
"n_1": 14.0,
"n_2": 22.0,
"time": 54.74629789364331,
"vocabulary": 26.0,
"volume": 169.2158298530793
},
"lines_of_code": 15.0,
"maintainability_index": 99.7574767429386,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 11.399999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 43
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/perf.ts:anonymous_function_59:59",
"entity_name": "anonymous_function_59",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/perf.ts",
"issues": [],
"line_number": 60,
"metrics": {
"cognitive_complexity": 17.0,
"cyclomatic_complexity": 15.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 61,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 61,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 61,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 65,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 69,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 73,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 77,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 81,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 81,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 85,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 90,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 95,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 99,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 108,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.39490125903610296,
"calculated_length": 237.4749933158665,
"difficulty": 15.776315789473683,
"effort": 18690.260904642924,
"length": 211.0,
"n1": 11.0,
"n2": 38.0,
"n_1": 102.0,
"n_2": 109.0,
"time": 1038.347828035718,
"vocabulary": 49.0,
"volume": 1184.703777108309
},
"lines_of_code": 62.0,
"maintainability_index": 63.888733127250575,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 36.0,
"technical_debt_score": 56.00000000000001
},
"recommendations": [],
"severity": "High",
"start_line": 60
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/perf.ts:anonymous_function_95:95",
"entity_name": "anonymous_function_95",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/perf.ts",
"issues": [],
"line_number": 96,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011,
"calculated_length": 17.509775004326936,
"difficulty": 1.3333333333333333,
"effort": 44.0,
"length": 11.0,
"n1": 2.0,
"n2": 6.0,
"n_1": 3.0,
"n_2": 8.0,
"time": 2.4444444444444446,
"vocabulary": 8.0,
"volume": 33.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 96
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/shorten-path.ts:shortenPath:4",
"entity_name": "shortenPath",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/shorten-path.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 6,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02157501122499309,
"calculated_length": 39.50977500432694,
"difficulty": 3.75,
"effort": 242.71887628117227,
"length": 17.0,
"n1": 6.0,
"n2": 8.0,
"n_1": 7.0,
"n_2": 10.0,
"time": 13.484382015620682,
"vocabulary": 14.0,
"volume": 64.72503367497927
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/syntax-highlighter.ts:getParserForFile:105",
"entity_name": "getParserForFile",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/syntax-highlighter.ts",
"issues": [],
"line_number": 106,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 108,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04106329929662132,
"calculated_length": 62.05374780501027,
"difficulty": 5.818181818181818,
"effort": 716.7412240864813,
"length": 29.0,
"n1": 8.0,
"n2": 11.0,
"n_1": 13.0,
"n_2": 16.0,
"time": 39.81895689369341,
"vocabulary": 19.0,
"volume": 123.18989788986397
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 106
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/syntax-highlighter.ts:highlightCode:111",
"entity_name": "highlightCode",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/syntax-highlighter.ts",
"issues": [],
"line_number": 112,
"metrics": {
"cognitive_complexity": 19.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 115,
"nesting_level": 0
},
{
"column": 3,
"kind": "For",
"line": 125,
"nesting_level": 0
},
{
"column": 5,
"kind": "For",
"line": 134,
"nesting_level": 0
},
{
"column": 24,
"kind": "LogicalAnd",
"line": 134,
"nesting_level": 1
},
{
"column": 3,
"kind": "For",
"line": 141,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 144,
"nesting_level": 1
},
{
"column": 5,
"kind": "For",
"line": 152,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 154,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 157,
"nesting_level": 3
},
{
"column": 5,
"kind": "If",
"line": 164,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.42782061880082484,
"calculated_length": 268.908113812112,
"difficulty": 29.526315789473685,
"effort": 37895.90007588359,
"length": 222.0,
"n1": 17.0,
"n2": 38.0,
"n_1": 90.0,
"n_2": 132.0,
"time": 2105.327781993533,
"vocabulary": 55.0,
"volume": 1283.4618564024745
},
"lines_of_code": 60.0,
"maintainability_index": 64.92357342848618,
"max_nesting_depth": 3.0,
"parameter_count": 2.0,
"statement_count": 35.0,
"technical_debt_score": 49.2
},
"recommendations": [],
"severity": "Moderate",
"start_line": 112
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/syntax-highlighter.ts:anonymous_function_116:116",
"entity_name": "anonymous_function_116",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/syntax-highlighter.ts",
"issues": [],
"line_number": 117,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 8.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 5.0,
"n1": 0.0,
"n2": 4.0,
"n_1": 0.0,
"n_2": 5.0,
"time": 0.0,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 117
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/syntax-highlighter.ts:anonymous_function_132:132",
"entity_name": "anonymous_function_132",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/syntax-highlighter.ts",
"issues": [],
"line_number": 133,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "For",
"line": 134,
"nesting_level": 0
},
{
"column": 24,
"kind": "LogicalAnd",
"line": 134,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03255742163007099,
"calculated_length": 43.65148445440323,
"difficulty": 8.571428571428571,
"effort": 837.1908419161111,
"length": 25.0,
"n1": 8.0,
"n2": 7.0,
"n_1": 10.0,
"n_2": 15.0,
"time": 46.51060232867284,
"vocabulary": 15.0,
"volume": 97.67226489021297
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 3.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 133
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/syntax-highlighter.ts:highlightLine:173",
"entity_name": "highlightLine",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/syntax-highlighter.ts",
"issues": [],
"line_number": 174,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.022844129532345624,
"calculated_length": 41.219280948873624,
"difficulty": 2.8,
"effort": 191.89068807170324,
"length": 18.0,
"n1": 4.0,
"n2": 10.0,
"n_1": 4.0,
"n_2": 14.0,
"time": 10.66059378176129,
"vocabulary": 14.0,
"volume": 68.53238859703687
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 174
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/syntax-highlighter.ts:getSupportedExtensions:178",
"entity_name": "getSupportedExtensions",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/syntax-highlighter.ts",
"issues": [],
"line_number": 179,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.00655049481813441,
"calculated_length": 12.754887502163468,
"difficulty": 1.5,
"effort": 29.47722668160484,
"length": 7.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 4.0,
"time": 1.6376237045336022,
"vocabulary": 7.0,
"volume": 19.651484454403228
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 179
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/syntax-highlighter.ts:isLanguageSupported:182",
"entity_name": "isLanguageSupported",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/syntax-highlighter.ts",
"issues": [],
"line_number": 183,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 183
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:isTauriEnvironment:19",
"entity_name": "isTauriEnvironment",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts",
"issues": [],
"line_number": 20,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 10,
"kind": "LogicalAnd",
"line": 21,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.014395021744511903,
"calculated_length": 23.509775004326936,
"difficulty": 3.75,
"effort": 161.9439946257589,
"length": 13.0,
"n1": 6.0,
"n2": 4.0,
"n_1": 8.0,
"n_2": 5.0,
"time": 8.996888590319939,
"vocabulary": 10.0,
"volume": 43.18506523353571
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:getTauriWebSocketModule:23",
"entity_name": "getTauriWebSocketModule",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts",
"issues": [],
"line_number": 24,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 25,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 29,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 29,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04955915432350849,
"calculated_length": 62.05374780501027,
"difficulty": 6.181818181818182,
"effort": 919.0970438177939,
"length": 35.0,
"n1": 8.0,
"n2": 11.0,
"n_1": 18.0,
"n_2": 17.0,
"time": 51.06094687876632,
"vocabulary": 19.0,
"volume": 148.67746297052548
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 13.0
},
"recommendations": [],
"severity": "Low",
"start_line": 24
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:createTauriWebSocketTransportFactory:34",
"entity_name": "createTauriWebSocketTransportFactory",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts",
"issues": [
{
"description": "Cyclomatic complexity of 46.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:createTauriWebSocketTransportFactory:34",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:35",
"metric_value": 46.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 88.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:createTauriWebSocketTransportFactory:34",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:35",
"metric_value": 88.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 35,
"metrics": {
"cognitive_complexity": 88.0,
"cyclomatic_complexity": 46.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 36,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 56,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 56,
"nesting_level": 1
},
{
"column": 9,
"kind": "Try",
"line": 59,
"nesting_level": 0
},
{
"column": 11,
"kind": "Catch",
"line": 61,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 68,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 68,
"nesting_level": 1
},
{
"column": 9,
"kind": "Try",
"line": 71,
"nesting_level": 0
},
{
"column": 11,
"kind": "Catch",
"line": 73,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 80,
"nesting_level": 0
},
{
"column": 9,
"kind": "Try",
"line": 82,
"nesting_level": 0
},
{
"column": 11,
"kind": "Catch",
"line": 84,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 91,
"nesting_level": 0
},
{
"column": 9,
"kind": "Try",
"line": 93,
"nesting_level": 0
},
{
"column": 11,
"kind": "Catch",
"line": 95,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 102,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 104,
"nesting_level": 1
},
{
"column": 11,
"kind": "While",
"line": 106,
"nesting_level": 2
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 106,
"nesting_level": 3
},
{
"column": 9,
"kind": "If",
"line": 111,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 118,
"nesting_level": 1
},
{
"column": 11,
"kind": "Try",
"line": 119,
"nesting_level": 2
},
{
"column": 13,
"kind": "Catch",
"line": 121,
"nesting_level": 3
},
{
"column": 11,
"kind": "If",
"line": 130,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 134,
"nesting_level": 1
},
{
"column": 9,
"kind": "While",
"line": 142,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 144,
"nesting_level": 2
},
{
"column": 11,
"kind": "Try",
"line": 145,
"nesting_level": 2
},
{
"column": 13,
"kind": "Catch",
"line": 147,
"nesting_level": 3
},
{
"column": 9,
"kind": "If",
"line": 152,
"nesting_level": 1
},
{
"column": 11,
"kind": "Try",
"line": 153,
"nesting_level": 2
},
{
"column": 13,
"kind": "Catch",
"line": 155,
"nesting_level": 3
},
{
"column": 9,
"kind": "Catch",
"line": 161,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 170,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 171,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 178,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 180,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 192,
"nesting_level": 0
},
{
"column": 11,
"kind": "Try",
"line": 193,
"nesting_level": 1
},
{
"column": 13,
"kind": "Catch",
"line": 195,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 203,
"nesting_level": 0
},
{
"column": 11,
"kind": "Try",
"line": 204,
"nesting_level": 1
},
{
"column": 13,
"kind": "Catch",
"line": 206,
"nesting_level": 2
},
{
"column": 9,
"kind": "Try",
"line": 223,
"nesting_level": 0
},
{
"column": 11,
"kind": "Catch",
"line": 225,
"nesting_level": 1
}
],
"halstead": {
"bugs": 1.0181461349605931,
"calculated_length": 549.9011410476741,
"difficulty": 27.47368421052632,
"effort": 83916.67617622574,
"length": 466.0,
"n1": 18.0,
"n2": 76.0,
"n_1": 234.0,
"n_2": 232.0,
"time": 4662.037565345874,
"vocabulary": 94.0,
"volume": 3054.438404881779
},
"lines_of_code": 197.0,
"maintainability_index": 33.10547425655123,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 111.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 35
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:anonymous_function_39:39",
"entity_name": "anonymous_function_39",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts",
"issues": [
{
"description": "Cyclomatic complexity of 45.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:anonymous_function_39:39",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:40",
"metric_value": 45.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 87.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:anonymous_function_39:39",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:40",
"metric_value": 87.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 40,
"metrics": {
"cognitive_complexity": 87.0,
"cyclomatic_complexity": 45.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 56,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 56,
"nesting_level": 1
},
{
"column": 9,
"kind": "Try",
"line": 59,
"nesting_level": 0
},
{
"column": 11,
"kind": "Catch",
"line": 61,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 68,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 68,
"nesting_level": 1
},
{
"column": 9,
"kind": "Try",
"line": 71,
"nesting_level": 0
},
{
"column": 11,
"kind": "Catch",
"line": 73,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 80,
"nesting_level": 0
},
{
"column": 9,
"kind": "Try",
"line": 82,
"nesting_level": 0
},
{
"column": 11,
"kind": "Catch",
"line": 84,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 91,
"nesting_level": 0
},
{
"column": 9,
"kind": "Try",
"line": 93,
"nesting_level": 0
},
{
"column": 11,
"kind": "Catch",
"line": 95,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 102,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 104,
"nesting_level": 1
},
{
"column": 11,
"kind": "While",
"line": 106,
"nesting_level": 2
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 106,
"nesting_level": 3
},
{
"column": 9,
"kind": "If",
"line": 111,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 118,
"nesting_level": 1
},
{
"column": 11,
"kind": "Try",
"line": 119,
"nesting_level": 2
},
{
"column": 13,
"kind": "Catch",
"line": 121,
"nesting_level": 3
},
{
"column": 11,
"kind": "If",
"line": 130,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 134,
"nesting_level": 1
},
{
"column": 9,
"kind": "While",
"line": 142,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 144,
"nesting_level": 2
},
{
"column": 11,
"kind": "Try",
"line": 145,
"nesting_level": 2
},
{
"column": 13,
"kind": "Catch",
"line": 147,
"nesting_level": 3
},
{
"column": 9,
"kind": "If",
"line": 152,
"nesting_level": 1
},
{
"column": 11,
"kind": "Try",
"line": 153,
"nesting_level": 2
},
{
"column": 13,
"kind": "Catch",
"line": 155,
"nesting_level": 3
},
{
"column": 9,
"kind": "Catch",
"line": 161,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 170,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 171,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 178,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 180,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 192,
"nesting_level": 0
},
{
"column": 11,
"kind": "Try",
"line": 193,
"nesting_level": 1
},
{
"column": 13,
"kind": "Catch",
"line": 195,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 203,
"nesting_level": 0
},
{
"column": 11,
"kind": "Try",
"line": 204,
"nesting_level": 1
},
{
"column": 13,
"kind": "Catch",
"line": 206,
"nesting_level": 2
},
{
"column": 9,
"kind": "Try",
"line": 223,
"nesting_level": 0
},
{
"column": 11,
"kind": "Catch",
"line": 225,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.9848462555500694,
"calculated_length": 526.9158428242029,
"difficulty": 27.863013698630137,
"effort": 82322.35412830855,
"length": 454.0,
"n1": 18.0,
"n2": 73.0,
"n_1": 228.0,
"n_2": 226.0,
"time": 4573.464118239364,
"vocabulary": 91.0,
"volume": 2954.5387666502083
},
"lines_of_code": 191.0,
"maintainability_index": 34.009461739652366,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 108.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 40
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:anonymous_function_54:54",
"entity_name": "anonymous_function_54",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts",
"issues": [],
"line_number": 55,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 56,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 56,
"nesting_level": 1
},
{
"column": 9,
"kind": "Try",
"line": 59,
"nesting_level": 0
},
{
"column": 11,
"kind": "Catch",
"line": 61,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.02344134357365111,
"calculated_length": 44.82892142331043,
"difficulty": 7.0,
"effort": 492.26821504667333,
"length": 18.0,
"n1": 10.0,
"n2": 5.0,
"n_1": 11.0,
"n_2": 7.0,
"time": 27.34823416925963,
"vocabulary": 15.0,
"volume": 70.32403072095333
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 16.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 55
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:anonymous_function_66:66",
"entity_name": "anonymous_function_66",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts",
"issues": [],
"line_number": 67,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 68,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 68,
"nesting_level": 1
},
{
"column": 9,
"kind": "Try",
"line": 71,
"nesting_level": 0
},
{
"column": 11,
"kind": "Catch",
"line": 73,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.02666666666666667,
"calculated_length": 48.72905595320056,
"difficulty": 7.5,
"effort": 600.0,
"length": 20.0,
"n1": 10.0,
"n2": 6.0,
"n_1": 11.0,
"n_2": 9.0,
"time": 33.333333333333336,
"vocabulary": 16.0,
"volume": 80.0
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 16.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 67
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:anonymous_function_78:78",
"entity_name": "anonymous_function_78",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts",
"issues": [],
"line_number": 79,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 80,
"nesting_level": 0
},
{
"column": 9,
"kind": "Try",
"line": 82,
"nesting_level": 0
},
{
"column": 11,
"kind": "Catch",
"line": 84,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.016729825003365395,
"calculated_length": 32.0,
"difficulty": 6.0,
"effort": 301.1368500605771,
"length": 14.0,
"n1": 8.0,
"n2": 4.0,
"n_1": 8.0,
"n_2": 6.0,
"time": 16.729825003365395,
"vocabulary": 12.0,
"volume": 50.18947501009619
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 13.0
},
"recommendations": [],
"severity": "Low",
"start_line": 79
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:anonymous_function_89:89",
"entity_name": "anonymous_function_89",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts",
"issues": [],
"line_number": 90,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 91,
"nesting_level": 0
},
{
"column": 9,
"kind": "Try",
"line": 93,
"nesting_level": 0
},
{
"column": 11,
"kind": "Catch",
"line": 95,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.016729825003365395,
"calculated_length": 32.0,
"difficulty": 6.0,
"effort": 301.1368500605771,
"length": 14.0,
"n1": 8.0,
"n2": 4.0,
"n_1": 8.0,
"n_2": 6.0,
"time": 16.729825003365395,
"vocabulary": 12.0,
"volume": 50.18947501009619
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 13.0
},
"recommendations": [],
"severity": "Low",
"start_line": 90
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:anonymous_function_100:100",
"entity_name": "anonymous_function_100",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts",
"issues": [
{
"description": "Cyclomatic complexity of 19.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:anonymous_function_100:100",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:101",
"metric_value": 19.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 48.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:anonymous_function_100:100",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:101",
"metric_value": 48.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 101,
"metrics": {
"cognitive_complexity": 48.0,
"cyclomatic_complexity": 19.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 102,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 104,
"nesting_level": 1
},
{
"column": 11,
"kind": "While",
"line": 106,
"nesting_level": 2
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 106,
"nesting_level": 3
},
{
"column": 9,
"kind": "If",
"line": 111,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 118,
"nesting_level": 1
},
{
"column": 11,
"kind": "Try",
"line": 119,
"nesting_level": 2
},
{
"column": 13,
"kind": "Catch",
"line": 121,
"nesting_level": 3
},
{
"column": 11,
"kind": "If",
"line": 130,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 134,
"nesting_level": 1
},
{
"column": 9,
"kind": "While",
"line": 142,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 144,
"nesting_level": 2
},
{
"column": 11,
"kind": "Try",
"line": 145,
"nesting_level": 2
},
{
"column": 13,
"kind": "Catch",
"line": 147,
"nesting_level": 3
},
{
"column": 9,
"kind": "If",
"line": 152,
"nesting_level": 1
},
{
"column": 11,
"kind": "Try",
"line": 153,
"nesting_level": 2
},
{
"column": 13,
"kind": "Catch",
"line": 155,
"nesting_level": 3
},
{
"column": 9,
"kind": "Catch",
"line": 161,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.33636332415016673,
"calculated_length": 282.3639920967503,
"difficulty": 15.9375,
"effort": 16082.371435929846,
"length": 173.0,
"n1": 17.0,
"n2": 40.0,
"n_1": 98.0,
"n_2": 75.0,
"time": 893.4650797738803,
"vocabulary": 57.0,
"volume": 1009.0899724505002
},
"lines_of_code": 63.0,
"maintainability_index": 63.54383566370019,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 36.0,
"technical_debt_score": 89.0
},
"recommendations": [],
"severity": "High",
"start_line": 101
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:anonymous_function_106:106",
"entity_name": "anonymous_function_106",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts",
"issues": [],
"line_number": 107,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 107
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:anonymous_function_128:128",
"entity_name": "anonymous_function_128",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts",
"issues": [],
"line_number": 129,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 130,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 134,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03934266752792858,
"calculated_length": 39.302968908806456,
"difficulty": 7.0,
"effort": 826.1960180865001,
"length": 31.0,
"n1": 7.0,
"n2": 7.0,
"n_1": 17.0,
"n_2": 14.0,
"time": 45.89977878258334,
"vocabulary": 14.0,
"volume": 118.02800258378574
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 11.0
},
"recommendations": [],
"severity": "Low",
"start_line": 129
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:anonymous_function_168:168",
"entity_name": "anonymous_function_168",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts",
"issues": [],
"line_number": 169,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 170,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 171,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04,
"calculated_length": 48.18080946738404,
"difficulty": 5.055555555555555,
"effort": 606.6666666666666,
"length": 30.0,
"n1": 7.0,
"n2": 9.0,
"n_1": 17.0,
"n_2": 13.0,
"time": 33.7037037037037,
"vocabulary": 16.0,
"volume": 120.0
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 9.0
},
"recommendations": [],
"severity": "Low",
"start_line": 169
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:anonymous_function_174:174",
"entity_name": "anonymous_function_174",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts",
"issues": [],
"line_number": 175,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 175
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:anonymous_function_176:176",
"entity_name": "anonymous_function_176",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts",
"issues": [],
"line_number": 177,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 178,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 180,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05124370326575221,
"calculated_length": 72.10571633583419,
"difficulty": 4.923076923076923,
"effort": 756.8300790018789,
"length": 35.0,
"n1": 8.0,
"n2": 13.0,
"n_1": 19.0,
"n_2": 16.0,
"time": 42.04611550010438,
"vocabulary": 21.0,
"volume": 153.73110979725664
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 6.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 177
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:anonymous_function_182:182",
"entity_name": "anonymous_function_182",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts",
"issues": [],
"line_number": 183,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 183
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:anonymous_function_183:183",
"entity_name": "anonymous_function_183",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts",
"issues": [],
"line_number": 184,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 184
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:anonymous_function_185:185",
"entity_name": "anonymous_function_185",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts",
"issues": [],
"line_number": 186,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.013,
"calculated_length": 16.0,
"difficulty": 3.5,
"effort": 136.5,
"length": 13.0,
"n1": 4.0,
"n2": 4.0,
"n_1": 6.0,
"n_2": 7.0,
"time": 7.583333333333333,
"vocabulary": 8.0,
"volume": 39.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 186
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:anonymous_function_187:187",
"entity_name": "anonymous_function_187",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts",
"issues": [],
"line_number": 188,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 188
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:anonymous_function_189:189",
"entity_name": "anonymous_function_189",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts",
"issues": [],
"line_number": 190,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 192,
"nesting_level": 0
},
{
"column": 11,
"kind": "Try",
"line": 193,
"nesting_level": 1
},
{
"column": 13,
"kind": "Catch",
"line": 195,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.025903078026987644,
"calculated_length": 35.60964047443681,
"difficulty": 7.2,
"effort": 559.5064853829331,
"length": 21.0,
"n1": 8.0,
"n2": 5.0,
"n_1": 12.0,
"n_2": 9.0,
"time": 31.08369363238517,
"vocabulary": 13.0,
"volume": 77.70923408096293
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 14.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 190
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:anonymous_function_198:198",
"entity_name": "anonymous_function_198",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts",
"issues": [],
"line_number": 199,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 199
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:anonymous_function_200:200",
"entity_name": "anonymous_function_200",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts",
"issues": [],
"line_number": 201,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 203,
"nesting_level": 0
},
{
"column": 11,
"kind": "Try",
"line": 204,
"nesting_level": 1
},
{
"column": 13,
"kind": "Catch",
"line": 206,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.02995282789966531,
"calculated_length": 44.039100017307746,
"difficulty": 7.5,
"effort": 673.9386277424694,
"length": 23.0,
"n1": 9.0,
"n2": 6.0,
"n_1": 13.0,
"n_2": 10.0,
"time": 37.44103487458163,
"vocabulary": 15.0,
"volume": 89.85848369899593
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 14.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 201
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:anonymous_function_209:209",
"entity_name": "anonymous_function_209",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts",
"issues": [],
"line_number": 210,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 210
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:anonymous_function_211:211",
"entity_name": "anonymous_function_211",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts",
"issues": [],
"line_number": 212,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.013,
"calculated_length": 16.0,
"difficulty": 3.5,
"effort": 136.5,
"length": 13.0,
"n1": 4.0,
"n2": 4.0,
"n_1": 6.0,
"n_2": 7.0,
"time": 7.583333333333333,
"vocabulary": 8.0,
"volume": 39.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 212
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:anonymous_function_213:213",
"entity_name": "anonymous_function_213",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts",
"issues": [],
"line_number": 214,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 214
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts:anonymous_function_219:219",
"entity_name": "anonymous_function_219",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-daemon-transport.ts",
"issues": [],
"line_number": 220,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "Try",
"line": 223,
"nesting_level": 0
},
{
"column": 11,
"kind": "Catch",
"line": 225,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.027920602761755765,
"calculated_length": 39.50977500432694,
"difficulty": 4.125,
"effort": 345.5174591767276,
"length": 22.0,
"n1": 6.0,
"n2": 8.0,
"n_1": 11.0,
"n_2": 11.0,
"time": 19.195414398707086,
"vocabulary": 14.0,
"volume": 83.76180828526729
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 10.2
},
"recommendations": [],
"severity": "Low",
"start_line": 220
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-window.ts:isTauriEnvironment:7",
"entity_name": "isTauriEnvironment",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-window.ts",
"issues": [],
"line_number": 8,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 10,
"kind": "LogicalAnd",
"line": 9,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.014395021744511903,
"calculated_length": 23.509775004326936,
"difficulty": 3.75,
"effort": 161.9439946257589,
"length": 13.0,
"n1": 6.0,
"n2": 4.0,
"n_1": 8.0,
"n_2": 5.0,
"time": 8.996888590319939,
"vocabulary": 10.0,
"volume": 43.18506523353571
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 8
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-window.ts:getTauriWindow:12",
"entity_name": "getTauriWindow",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-window.ts",
"issues": [],
"line_number": 13,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 14,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 17,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 17,
"nesting_level": 1
},
{
"column": 3,
"kind": "Try",
"line": 21,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 32,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.0649834625295674,
"calculated_length": 101.40868524464065,
"difficulty": 8.821428571428571,
"effort": 1719.7409190860515,
"length": 41.0,
"n1": 13.0,
"n2": 14.0,
"n_1": 22.0,
"n_2": 19.0,
"time": 95.5411621714473,
"vocabulary": 27.0,
"volume": 194.9503875887022
},
"lines_of_code": 22.0,
"maintainability_index": 92.12683771702723,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 22.0
},
"recommendations": [],
"severity": "Low",
"start_line": 13
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-window.ts:startDragging:36",
"entity_name": "startDragging",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-window.ts",
"issues": [],
"line_number": 37,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 39,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.015502331109474358,
"calculated_length": 23.509775004326936,
"difficulty": 4.5,
"effort": 209.2814699779038,
"length": 14.0,
"n1": 6.0,
"n2": 4.0,
"n_1": 8.0,
"n_2": 6.0,
"time": 11.626748332105768,
"vocabulary": 10.0,
"volume": 46.50699332842307
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 37
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-window.ts:toggleMaximize:43",
"entity_name": "toggleMaximize",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-window.ts",
"issues": [],
"line_number": 44,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 46,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.015502331109474358,
"calculated_length": 23.509775004326936,
"difficulty": 4.5,
"effort": 209.2814699779038,
"length": 14.0,
"n1": 6.0,
"n2": 4.0,
"n_1": 8.0,
"n_2": 6.0,
"time": 11.626748332105768,
"vocabulary": 10.0,
"volume": 46.50699332842307
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 44
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-window.ts:useTauriDragHandlers:51",
"entity_name": "useTauriDragHandlers",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-window.ts",
"issues": [],
"line_number": 52,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 53,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 53,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 60,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 62,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 73,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.12430789508874915,
"calculated_length": 120.76799089133478,
"difficulty": 8.142857142857142,
"effort": 3036.664294310872,
"length": 76.0,
"n1": 9.0,
"n2": 21.0,
"n_1": 38.0,
"n_2": 38.0,
"time": 168.70357190615954,
"vocabulary": 30.0,
"volume": 372.92368526624745
},
"lines_of_code": 27.0,
"maintainability_index": 85.43629900256829,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 15.0,
"technical_debt_score": 22.199999999999996
},
"recommendations": [],
"severity": "Low",
"start_line": 52
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-window.ts:anonymous_function_57:57",
"entity_name": "anonymous_function_57",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-window.ts",
"issues": [],
"line_number": 58,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 60,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 62,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04977959745815929,
"calculated_length": 72.10571633583419,
"difficulty": 5.230769230769231,
"effort": 781.1567601126534,
"length": 34.0,
"n1": 8.0,
"n2": 13.0,
"n_1": 17.0,
"n_2": 17.0,
"time": 43.3975977840363,
"vocabulary": 21.0,
"volume": 149.33879237447786
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 9.8
},
"recommendations": [],
"severity": "Low",
"start_line": 58
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-window.ts:anonymous_function_69:69",
"entity_name": "anonymous_function_69",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-window.ts",
"issues": [],
"line_number": 70,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 73,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.036139350012500036,
"calculated_length": 57.70523225941349,
"difficulty": 4.454545454545454,
"effort": 482.95313198522774,
"length": 26.0,
"n1": 7.0,
"n2": 11.0,
"n_1": 12.0,
"n_2": 14.0,
"time": 26.830729554734873,
"vocabulary": 18.0,
"volume": 108.41805003750011
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 70
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-window.ts:useTrafficLightPadding:82",
"entity_name": "useTrafficLightPadding",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-window.ts",
"issues": [],
"line_number": 83,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 87,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 87,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 93,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 113,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 113,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.14753642239625983,
"calculated_length": 143.25838096618136,
"difficulty": 8.958333333333334,
"effort": 3965.0413518994833,
"length": 87.0,
"n1": 10.0,
"n2": 24.0,
"n_1": 44.0,
"n_2": 43.0,
"time": 220.28007510552686,
"vocabulary": 34.0,
"volume": 442.6092671887795
},
"lines_of_code": 38.0,
"maintainability_index": 79.00912991201201,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 20.0,
"technical_debt_score": 25.2
},
"recommendations": [],
"severity": "Low",
"start_line": 83
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-window.ts:anonymous_function_85:85",
"entity_name": "anonymous_function_85",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-window.ts",
"issues": [],
"line_number": 86,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 87,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 87,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 93,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0901709291808494,
"calculated_length": 86.52224985768008,
"difficulty": 8.928571428571429,
"effort": 2415.292745915609,
"length": 59.0,
"n1": 10.0,
"n2": 14.0,
"n_1": 34.0,
"n_2": 25.0,
"time": 134.18293032864494,
"vocabulary": 24.0,
"volume": 270.5127875425482
},
"lines_of_code": 25.0,
"maintainability_index": 88.81255090848673,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 15.0,
"technical_debt_score": 16.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 86
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-window.ts:setup:90",
"entity_name": "setup",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-window.ts",
"issues": [],
"line_number": 91,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 93,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05281905001826929,
"calculated_length": 57.05865002596162,
"difficulty": 8.5,
"effort": 1346.8857754658668,
"length": 38.0,
"n1": 9.0,
"n2": 9.0,
"n_1": 21.0,
"n_2": 17.0,
"time": 74.82698752588149,
"vocabulary": 18.0,
"volume": 158.45715005480787
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 7.400000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 91
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-window.ts:anonymous_function_99:99",
"entity_name": "anonymous_function_99",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-window.ts",
"issues": [],
"line_number": 100,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.0,
"difficulty": 2.5,
"effort": 75.0,
"length": 10.0,
"n1": 4.0,
"n2": 4.0,
"n_1": 5.0,
"n_2": 5.0,
"time": 4.166666666666667,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 100
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-window.ts:anonymous_function_107:107",
"entity_name": "anonymous_function_107",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tauri-window.ts",
"issues": [],
"line_number": 108,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 1.0,
"effort": 4.754887502163468,
"length": 3.0,
"n1": 2.0,
"n2": 1.0,
"n_1": 2.0,
"n_2": 1.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 108
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/test-daemon-connection.ts:normalizeNonEmptyString:4",
"entity_name": "normalizeNonEmptyString",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/test-daemon-connection.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 6,
"nesting_level": 0
},
{
"column": 10,
"kind": "ConditionalExpression",
"line": 8,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03542467795750294,
"calculated_length": 52.529325012980806,
"difficulty": 6.666666666666667,
"effort": 708.4935591500589,
"length": 26.0,
"n1": 8.0,
"n2": 9.0,
"n_1": 11.0,
"n_2": 15.0,
"time": 39.36075328611438,
"vocabulary": 17.0,
"volume": 106.27403387250882
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 8.399999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/test-daemon-connection.ts:pickBestReason:10",
"entity_name": "pickBestReason",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/test-daemon-connection.ts",
"issues": [],
"line_number": 11,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 5,
"kind": "LogicalAnd",
"line": 13,
"nesting_level": 0
},
{
"column": 6,
"kind": "LogicalOr",
"line": 14,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 16,
"nesting_level": 0
},
{
"column": 6,
"kind": "LogicalOr",
"line": 17,
"nesting_level": 0
},
{
"column": 6,
"kind": "LogicalOr",
"line": 17,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 21,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 21,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 21,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 24,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 25,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.09911830864701698,
"calculated_length": 62.6710344630571,
"difficulty": 10.208333333333332,
"effort": 3035.498202314895,
"length": 70.0,
"n1": 7.0,
"n2": 12.0,
"n_1": 35.0,
"n_2": 35.0,
"time": 168.63878901749416,
"vocabulary": 19.0,
"volume": 297.35492594105096
},
"lines_of_code": 16.0,
"maintainability_index": 93.94044509651938,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 9.0,
"technical_debt_score": 34.80000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 11
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/test-daemon-connection.ts:constructor:32",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/test-daemon-connection.ts",
"issues": [],
"line_number": 33,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.038237877087457954,
"calculated_length": 36.529325012980806,
"difficulty": 4.0,
"effort": 458.8545250494954,
"length": 31.0,
"n1": 4.0,
"n2": 9.0,
"n_1": 13.0,
"n_2": 18.0,
"time": 25.491918058305302,
"vocabulary": 13.0,
"volume": 114.71363126237385
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 33
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/test-daemon-connection.ts:testDaemonEndpointConnection:40",
"entity_name": "testDaemonEndpointConnection",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/test-daemon-connection.ts",
"issues": [],
"line_number": 41,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 53,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 59,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 85,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 89,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.3076334760366552,
"calculated_length": 323.22649869747937,
"difficulty": 11.673469387755102,
"effort": 10773.449895487762,
"length": 155.0,
"n1": 13.0,
"n2": 49.0,
"n_1": 67.0,
"n_2": 88.0,
"time": 598.5249941937645,
"vocabulary": 62.0,
"volume": 922.9004281099656
},
"lines_of_code": 61.0,
"maintainability_index": 67.75073237963247,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 32.0,
"technical_debt_score": 27.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 41
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/test-daemon-connection.ts:anonymous_function_53:53",
"entity_name": "anonymous_function_53",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/test-daemon-connection.ts",
"issues": [],
"line_number": 54,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 59,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 85,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 89,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.21910129092359484,
"calculated_length": 219.33658100079685,
"difficulty": 9.305555555555555,
"effort": 6116.577704950356,
"length": 119.0,
"n1": 10.0,
"n2": 36.0,
"n_1": 52.0,
"n_2": 67.0,
"time": 339.809872497242,
"vocabulary": 46.0,
"volume": 657.3038727707846
},
"lines_of_code": 44.0,
"maintainability_index": 75.03776650913579,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 26.0,
"technical_debt_score": 21.6
},
"recommendations": [],
"severity": "Low",
"start_line": 54
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/test-daemon-connection.ts:anonymous_function_57:57",
"entity_name": "anonymous_function_57",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/test-daemon-connection.ts",
"issues": [],
"line_number": 58,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 59,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.017297158093186486,
"calculated_length": 27.11941547876375,
"difficulty": 3.5999999999999996,
"effort": 186.80930740641404,
"length": 15.0,
"n1": 6.0,
"n2": 5.0,
"n_1": 9.0,
"n_2": 6.0,
"time": 10.378294855911891,
"vocabulary": 11.0,
"volume": 51.89147427955946
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 58
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/test-daemon-connection.ts:anonymous_function_64:64",
"entity_name": "anonymous_function_64",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/test-daemon-connection.ts",
"issues": [],
"line_number": 65,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 12.0,
"length": 6.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 0.6666666666666666,
"vocabulary": 4.0,
"volume": 12.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 65
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/test-daemon-connection.ts:anonymous_function_69:69",
"entity_name": "anonymous_function_69",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/test-daemon-connection.ts",
"issues": [],
"line_number": 70,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007754887502163467,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 29.080828133113002,
"length": 9.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 5.0,
"time": 1.6156015629507223,
"vocabulary": 6.0,
"volume": 23.264662506490403
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 70
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/test-daemon-connection.ts:anonymous_function_74:74",
"entity_name": "anonymous_function_74",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/test-daemon-connection.ts",
"issues": [],
"line_number": 75,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.016729825003365395,
"calculated_length": 31.26112492884004,
"difficulty": 3.2142857142857144,
"effort": 161.32331253245204,
"length": 14.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 5.0,
"n_2": 9.0,
"time": 8.962406251802891,
"vocabulary": 12.0,
"volume": 50.18947501009619
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 75
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/test-daemon-connection.ts:anonymous_function_83:83",
"entity_name": "anonymous_function_83",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/test-daemon-connection.ts",
"issues": [],
"line_number": 84,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 85,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 89,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.06810989078336262,
"calculated_length": 93.48686830125577,
"difficulty": 5.882352941176471,
"effort": 1201.939249118164,
"length": 44.0,
"n1": 8.0,
"n2": 17.0,
"n_1": 19.0,
"n_2": 25.0,
"time": 66.7744027287869,
"vocabulary": 25.0,
"volume": 204.32967235008786
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 11.4
},
"recommendations": [],
"severity": "Low",
"start_line": 84
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/test-daemon-connection.ts:anonymous_function_96:96",
"entity_name": "anonymous_function_96",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/test-daemon-connection.ts",
"issues": [],
"line_number": 97,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 97
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/test-daemon-connection.ts:anonymous_function_99:99",
"entity_name": "anonymous_function_99",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/test-daemon-connection.ts",
"issues": [],
"line_number": 100,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 100
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/time.ts:formatTimeAgo:4",
"entity_name": "formatTimeAgo",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/time.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 13,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 17,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 21,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 25,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 29,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1678862737612612,
"calculated_length": 148.03344701281688,
"difficulty": 7.259259259259259,
"effort": 3656.1899619119104,
"length": 99.0,
"n1": 7.0,
"n2": 27.0,
"n_1": 43.0,
"n_2": 56.0,
"time": 203.12166455066168,
"vocabulary": 34.0,
"volume": 503.6588212837836
},
"lines_of_code": 32.0,
"maintainability_index": 81.12120307052787,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 19.0,
"technical_debt_score": 22.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts:anonymous_function_7:7",
"entity_name": "anonymous_function_7",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts",
"issues": [],
"line_number": 8,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1378917375627406,
"calculated_length": 114.79398751947122,
"difficulty": 3.6875,
"effort": 1525.4273467878177,
"length": 87.0,
"n1": 3.0,
"n2": 24.0,
"n_1": 28.0,
"n_2": 59.0,
"time": 84.74596371043431,
"vocabulary": 27.0,
"volume": 413.67521268822173
},
"lines_of_code": 30.0,
"maintainability_index": 84.34018040836361,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 11.0,
"technical_debt_score": 8.0
},
"recommendations": [],
"severity": "Low",
"start_line": 8
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts:anonymous_function_11:11",
"entity_name": "anonymous_function_11",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts",
"issues": [],
"line_number": 12,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04133333333333333,
"calculated_length": 52.860603837997665,
"difficulty": 2.5384615384615383,
"effort": 314.7692307692308,
"length": 31.0,
"n1": 3.0,
"n2": 13.0,
"n_1": 9.0,
"n_2": 22.0,
"time": 17.48717948717949,
"vocabulary": 16.0,
"volume": 124.0
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 12
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts:anonymous_function_23:23",
"entity_name": "anonymous_function_23",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts",
"issues": [],
"line_number": 24,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0691508495181978,
"calculated_length": 74.24175580341924,
"difficulty": 2.911764705882353,
"effort": 604.0530090266102,
"length": 48.0,
"n1": 3.0,
"n2": 17.0,
"n_1": 15.0,
"n_2": 33.0,
"time": 33.55850050147834,
"vocabulary": 20.0,
"volume": 207.45254855459342
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 4.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 24
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts:anonymous_function_39:39",
"entity_name": "anonymous_function_39",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts",
"issues": [],
"line_number": 40,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 48,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 62,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 75,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 111,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 129,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 148,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 165,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 181,
"nesting_level": 0
}
],
"halstead": {
"bugs": 1.3652002693973304,
"calculated_length": 513.5084541103181,
"difficulty": 14.734177215189874,
"effort": 60345.30811057567,
"length": 639.0,
"n1": 6.0,
"n2": 79.0,
"n_1": 251.0,
"n_2": 388.0,
"time": 3352.517117254204,
"vocabulary": 85.0,
"volume": 4095.6008081919913
},
"lines_of_code": 147.0,
"maintainability_index": 44.83311483841595,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 89.0,
"technical_debt_score": 44.400000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 40
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts:anonymous_function_40:40",
"entity_name": "anonymous_function_40",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts",
"issues": [],
"line_number": 41,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 48,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.10216483617504395,
"calculated_length": 96.22039775975506,
"difficulty": 6.473684210526316,
"effort": 1984.1486604521692,
"length": 66.0,
"n1": 6.0,
"n2": 19.0,
"n_1": 25.0,
"n_2": 41.0,
"time": 110.23048113623162,
"vocabulary": 25.0,
"volume": 306.49450852513183
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 41
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts:anonymous_function_53:53",
"entity_name": "anonymous_function_53",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts",
"issues": [],
"line_number": 54,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 62,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.09169925001442311,
"calculated_length": 90.56842503028855,
"difficulty": 5.833333333333333,
"effort": 1604.7368752524044,
"length": 60.0,
"n1": 6.0,
"n2": 18.0,
"n_1": 25.0,
"n_2": 35.0,
"time": 89.15204862513357,
"vocabulary": 24.0,
"volume": 275.09775004326934
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 54
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts:anonymous_function_67:67",
"entity_name": "anonymous_function_67",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts",
"issues": [],
"line_number": 68,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 75,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.09628421251514428,
"calculated_length": 90.56842503028855,
"difficulty": 6.333333333333334,
"effort": 1829.4000377877417,
"length": 63.0,
"n1": 6.0,
"n2": 18.0,
"n_1": 25.0,
"n_2": 38.0,
"time": 101.63333543265232,
"vocabulary": 24.0,
"volume": 288.85263754543286
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 68
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts:anonymous_function_80:80",
"entity_name": "anonymous_function_80",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts",
"issues": [],
"line_number": 81,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.022202638308846556,
"calculated_length": 37.974168451037094,
"difficulty": 1.7999999999999998,
"effort": 119.89424686777139,
"length": 18.0,
"n1": 3.0,
"n2": 10.0,
"n_1": 6.0,
"n_2": 12.0,
"time": 6.660791492653966,
"vocabulary": 13.0,
"volume": 66.60791492653966
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 81
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts:anonymous_function_86:86",
"entity_name": "anonymous_function_86",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts",
"issues": [],
"line_number": 87,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.022202638308846556,
"calculated_length": 37.974168451037094,
"difficulty": 1.7999999999999998,
"effort": 119.89424686777139,
"length": 18.0,
"n1": 3.0,
"n2": 10.0,
"n_1": 6.0,
"n_2": 12.0,
"time": 6.660791492653966,
"vocabulary": 13.0,
"volume": 66.60791492653966
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 87
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts:anonymous_function_92:92",
"entity_name": "anonymous_function_92",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts",
"issues": [],
"line_number": 93,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.022202638308846556,
"calculated_length": 37.974168451037094,
"difficulty": 1.7999999999999998,
"effort": 119.89424686777139,
"length": 18.0,
"n1": 3.0,
"n2": 10.0,
"n_1": 6.0,
"n_2": 12.0,
"time": 6.660791492653966,
"vocabulary": 13.0,
"volume": 66.60791492653966
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 93
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts:anonymous_function_98:98",
"entity_name": "anonymous_function_98",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts",
"issues": [],
"line_number": 99,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.021509775004326936,
"calculated_length": 33.284212515144276,
"difficulty": 2.0,
"effort": 129.0586500259616,
"length": 18.0,
"n1": 3.0,
"n2": 9.0,
"n_1": 6.0,
"n_2": 12.0,
"time": 7.169925001442312,
"vocabulary": 12.0,
"volume": 64.5293250129808
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 99
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts:anonymous_function_104:104",
"entity_name": "anonymous_function_104",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts",
"issues": [],
"line_number": 105,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 111,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.11724931267915605,
"calculated_length": 131.60617974869504,
"difficulty": 5.5200000000000005,
"effort": 1941.6486179668243,
"length": 71.0,
"n1": 6.0,
"n2": 25.0,
"n_1": 25.0,
"n_2": 46.0,
"time": 107.86936766482357,
"vocabulary": 31.0,
"volume": 351.74793803746815
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 105
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts:anonymous_function_117:117",
"entity_name": "anonymous_function_117",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts",
"issues": [],
"line_number": 118,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03823134762099227,
"calculated_length": 68.75488750216347,
"difficulty": 1.96875,
"effort": 225.80389688648557,
"length": 27.0,
"n1": 3.0,
"n2": 16.0,
"n_1": 6.0,
"n_2": 21.0,
"time": 12.544660938138087,
"vocabulary": 19.0,
"volume": 114.6940428629768
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 118
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts:anonymous_function_125:125",
"entity_name": "anonymous_function_125",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts",
"issues": [],
"line_number": 126,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 129,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05449950455000452,
"calculated_length": 53.5635228093372,
"difficulty": 5.454545454545454,
"effort": 891.8100744546193,
"length": 40.0,
"n1": 6.0,
"n2": 11.0,
"n_1": 20.0,
"n_2": 20.0,
"time": 49.54500413636774,
"vocabulary": 17.0,
"volume": 163.49851365001356
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 126
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts:anonymous_function_134:134",
"entity_name": "anonymous_function_134",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts",
"issues": [],
"line_number": 135,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 148,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.10340967379910403,
"calculated_length": 101.94833690207419,
"difficulty": 6.1499999999999995,
"effort": 1907.908481593469,
"length": 66.0,
"n1": 6.0,
"n2": 20.0,
"n_1": 25.0,
"n_2": 41.0,
"time": 105.99491564408162,
"vocabulary": 26.0,
"volume": 310.22902139731207
},
"lines_of_code": 18.0,
"maintainability_index": 93.88196134431088,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 8.4
},
"recommendations": [],
"severity": "Low",
"start_line": 135
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts:anonymous_function_154:154",
"entity_name": "anonymous_function_154",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts",
"issues": [],
"line_number": 155,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 165,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.09597302792201096,
"calculated_length": 96.22039775975506,
"difficulty": 5.842105263157895,
"effort": 1682.0535946331395,
"length": 62.0,
"n1": 6.0,
"n2": 19.0,
"n_1": 25.0,
"n_2": 37.0,
"time": 93.4474219240633,
"vocabulary": 25.0,
"volume": 287.9190837660329
},
"lines_of_code": 15.0,
"maintainability_index": 97.22365343827238,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 7.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 155
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts:anonymous_function_171:171",
"entity_name": "anonymous_function_171",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts",
"issues": [],
"line_number": 172,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 181,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.09169925001442311,
"calculated_length": 90.56842503028855,
"difficulty": 5.833333333333333,
"effort": 1604.7368752524044,
"length": 60.0,
"n1": 6.0,
"n2": 18.0,
"n_1": 25.0,
"n_2": 35.0,
"time": 89.15204862513357,
"vocabulary": 24.0,
"volume": 275.09775004326934
},
"lines_of_code": 14.0,
"maintainability_index": 98.57821351633919,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 7.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 172
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts:anonymous_function_188:188",
"entity_name": "anonymous_function_188",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts",
"issues": [],
"line_number": 189,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 214,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 235,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 258,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.41673661355598035,
"calculated_length": 214.93102051518318,
"difficulty": 11.289473684210526,
"effort": 14114.211095961755,
"length": 229.0,
"n1": 6.0,
"n2": 38.0,
"n_1": 86.0,
"n_2": 143.0,
"time": 784.122838664542,
"vocabulary": 44.0,
"volume": 1250.209840667941
},
"lines_of_code": 74.0,
"maintainability_index": 63.27259870863571,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 27.0,
"technical_debt_score": 25.2
},
"recommendations": [],
"severity": "Low",
"start_line": 189
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts:anonymous_function_189:189",
"entity_name": "anonymous_function_189",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts",
"issues": [],
"line_number": 190,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 214,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.15301328828720642,
"calculated_length": 143.8917375627406,
"difficulty": 6.222222222222221,
"effort": 2856.2480480278527,
"length": 91.0,
"n1": 6.0,
"n2": 27.0,
"n_1": 35.0,
"n_2": 56.0,
"time": 158.6804471126585,
"vocabulary": 33.0,
"volume": 459.03986486161926
},
"lines_of_code": 30.0,
"maintainability_index": 83.56908971630747,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 190
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts:anonymous_function_221:221",
"entity_name": "anonymous_function_221",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts",
"issues": [],
"line_number": 222,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 235,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08711428751370197,
"calculated_length": 90.56842503028855,
"difficulty": 5.333333333333333,
"effort": 1393.8286002192312,
"length": 57.0,
"n1": 6.0,
"n2": 18.0,
"n_1": 25.0,
"n_2": 32.0,
"time": 77.43492223440174,
"vocabulary": 24.0,
"volume": 261.3428625411059
},
"lines_of_code": 17.0,
"maintainability_index": 95.69961121321094,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 8.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 222
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts:anonymous_function_240:240",
"entity_name": "anonymous_function_240",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts",
"issues": [],
"line_number": 241,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 258,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.11173356288793415,
"calculated_length": 119.55169999363824,
"difficulty": 6.391304347826088,
"effort": 2142.3696188512595,
"length": 69.0,
"n1": 6.0,
"n2": 23.0,
"n_1": 20.0,
"n_2": 49.0,
"time": 119.02053438062552,
"vocabulary": 29.0,
"volume": 335.20068866380245
},
"lines_of_code": 21.0,
"maintainability_index": 90.98214350880161,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 9.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 241
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts:anonymous_function_264:264",
"entity_name": "anonymous_function_264",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts",
"issues": [],
"line_number": 265,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 279,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.15691128757139447,
"calculated_length": 107.74844088268091,
"difficulty": 8.428571428571427,
"effort": 3967.6139857338308,
"length": 99.0,
"n1": 6.0,
"n2": 21.0,
"n_1": 40.0,
"n_2": 59.0,
"time": 220.42299920743505,
"vocabulary": 27.0,
"volume": 470.7338627141834
},
"lines_of_code": 30.0,
"maintainability_index": 83.43827940466755,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 14.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 265
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts:anonymous_function_265:265",
"entity_name": "anonymous_function_265",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts",
"issues": [],
"line_number": 266,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 279,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.09364806399138323,
"calculated_length": 79.50977500432694,
"difficulty": 7.125,
"effort": 2001.7273678158167,
"length": 63.0,
"n1": 6.0,
"n2": 16.0,
"n_1": 25.0,
"n_2": 38.0,
"time": 111.20707598976759,
"vocabulary": 22.0,
"volume": 280.9441919741497
},
"lines_of_code": 17.0,
"maintainability_index": 95.32353239470757,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 8.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 266
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts:anonymous_function_284:284",
"entity_name": "anonymous_function_284",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.test.ts",
"issues": [],
"line_number": 285,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03646431222567951,
"calculated_length": 47.77443751081734,
"difficulty": 2.125,
"effort": 232.45999043870685,
"length": 28.0,
"n1": 3.0,
"n2": 12.0,
"n_1": 11.0,
"n_2": 17.0,
"time": 12.914443913261492,
"vocabulary": 15.0,
"volume": 109.39293667703852
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 285
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:isRecord:37",
"entity_name": "isRecord",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 38,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 10,
"kind": "LogicalAnd",
"line": 39,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.013,
"calculated_length": 16.36452797660028,
"difficulty": 2.4000000000000004,
"effort": 93.60000000000001,
"length": 13.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 5.2,
"vocabulary": 8.0,
"volume": 39.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 38
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:getString:41",
"entity_name": "getString",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 42,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 10,
"kind": "ConditionalExpression",
"line": 43,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.0,
"difficulty": 3.0,
"effort": 90.0,
"length": 10.0,
"n1": 4.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 5.0,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 42
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:splitIntoLines:45",
"entity_name": "splitIntoLines",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 46,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 47,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.019603445838944685,
"calculated_length": 27.11941547876375,
"difficulty": 4.800000000000001,
"effort": 282.2896200808035,
"length": 17.0,
"n1": 6.0,
"n2": 5.0,
"n_1": 9.0,
"n_2": 8.0,
"time": 15.682756671155751,
"vocabulary": 11.0,
"volume": 58.81033751683405
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 46
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:splitIntoWords:53",
"entity_name": "splitIntoWords",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 54,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 61,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 62,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 62,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 69,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 69,
"nesting_level": 2
},
{
"column": 3,
"kind": "If",
"line": 77,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.11768070418517633,
"calculated_length": 86.03910001730775,
"difficulty": 20.0,
"effort": 7060.84225111058,
"length": 77.0,
"n1": 12.0,
"n2": 12.0,
"n_1": 37.0,
"n_2": 40.0,
"time": 392.2690139505878,
"vocabulary": 24.0,
"volume": 353.042112555529
},
"lines_of_code": 27.0,
"maintainability_index": 85.49118855675201,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 19.0,
"technical_debt_score": 28.999999999999996
},
"recommendations": [],
"severity": "Low",
"start_line": 54
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:computeWordLevelDiff:82",
"entity_name": "computeWordLevelDiff",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [
{
"description": "Cyclomatic complexity of 17.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:computeWordLevelDiff:82",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:83",
"metric_value": 17.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 29.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:computeWordLevelDiff:82",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:83",
"metric_value": 29.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 83,
"metrics": {
"cognitive_complexity": 29.0,
"cyclomatic_complexity": 17.0,
"decision_points": [
{
"column": 19,
"kind": "ConditionalExpression",
"line": 85,
"nesting_level": 0
},
{
"column": 3,
"kind": "For",
"line": 96,
"nesting_level": 0
},
{
"column": 5,
"kind": "For",
"line": 97,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 98,
"nesting_level": 2
},
{
"column": 3,
"kind": "While",
"line": 112,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalAnd",
"line": 112,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 113,
"nesting_level": 1
},
{
"column": 12,
"kind": "If",
"line": 118,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 127,
"nesting_level": 0
},
{
"column": 5,
"kind": "For",
"line": 133,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 137,
"nesting_level": 1
},
{
"column": 14,
"kind": "If",
"line": 140,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 149,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 159,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 161,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 162,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.7417144005387765,
"calculated_length": 460.9407761481053,
"difficulty": 26.93846153846154,
"effort": 59941.93455431066,
"length": 350.0,
"n1": 17.0,
"n2": 65.0,
"n_1": 144.0,
"n_2": 206.0,
"time": 3330.107475239481,
"vocabulary": 82.0,
"volume": 2225.1432016163294
},
"lines_of_code": 96.0,
"maintainability_index": 53.068161223628266,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 56.0,
"technical_debt_score": 76.4
},
"recommendations": [],
"severity": "High",
"start_line": 83
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:anonymous_function_93:93",
"entity_name": "anonymous_function_93",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 94,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009,
"calculated_length": 16.36452797660028,
"difficulty": 1.5,
"effort": 40.5,
"length": 9.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 5.0,
"time": 2.25,
"vocabulary": 8.0,
"volume": 27.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 94
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:anonymous_function_125:125",
"entity_name": "anonymous_function_125",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 126,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 127,
"nesting_level": 0
},
{
"column": 5,
"kind": "For",
"line": 133,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 137,
"nesting_level": 1
},
{
"column": 14,
"kind": "If",
"line": 140,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 149,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.16619045281417774,
"calculated_length": 139.7415308065537,
"difficulty": 19.95,
"effort": 9946.498600928537,
"length": 98.0,
"n1": 14.0,
"n2": 20.0,
"n_1": 41.0,
"n_2": 57.0,
"time": 552.5832556071409,
"vocabulary": 34.0,
"volume": 498.5713584425332
},
"lines_of_code": 28.0,
"maintainability_index": 83.33720396265805,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 20.0,
"technical_debt_score": 24.0
},
"recommendations": [],
"severity": "Low",
"start_line": 126
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:buildLineDiff:180",
"entity_name": "buildLineDiff",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [
{
"description": "Cyclomatic complexity of 19.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:buildLineDiff:180",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:181",
"metric_value": 19.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 31.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:buildLineDiff:180",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:181",
"metric_value": 31.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 181,
"metrics": {
"cognitive_complexity": 31.0,
"cyclomatic_complexity": 19.0,
"decision_points": [
{
"column": 19,
"kind": "ConditionalExpression",
"line": 183,
"nesting_level": 0
},
{
"column": 25,
"kind": "LogicalOr",
"line": 187,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 188,
"nesting_level": 0
},
{
"column": 3,
"kind": "For",
"line": 199,
"nesting_level": 0
},
{
"column": 5,
"kind": "For",
"line": 200,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 201,
"nesting_level": 2
},
{
"column": 3,
"kind": "While",
"line": 213,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalAnd",
"line": 213,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 214,
"nesting_level": 1
},
{
"column": 12,
"kind": "If",
"line": 218,
"nesting_level": 2
},
{
"column": 3,
"kind": "While",
"line": 227,
"nesting_level": 0
},
{
"column": 3,
"kind": "While",
"line": 232,
"nesting_level": 0
},
{
"column": 3,
"kind": "For",
"line": 238,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 242,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 242,
"nesting_level": 2
},
{
"column": 3,
"kind": "If",
"line": 253,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 255,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 256,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.7948100308005056,
"calculated_length": 403.76289771739914,
"difficulty": 30.75862068965517,
"effort": 73341.78077317768,
"length": 384.0,
"n1": 16.0,
"n2": 58.0,
"n_1": 161.0,
"n_2": 223.0,
"time": 4074.543376287649,
"vocabulary": 74.0,
"volume": 2384.430092401517
},
"lines_of_code": 90.0,
"maintainability_index": 53.29416315768847,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 52.0,
"technical_debt_score": 80.80000000000001
},
"recommendations": [],
"severity": "High",
"start_line": 181
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:anonymous_function_194:194",
"entity_name": "anonymous_function_194",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 195,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009,
"calculated_length": 16.36452797660028,
"difficulty": 1.5,
"effort": 40.5,
"length": 9.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 5.0,
"time": 2.25,
"vocabulary": 8.0,
"volume": 27.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 195
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:parseUnifiedDiff:272",
"entity_name": "parseUnifiedDiff",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 273,
"metrics": {
"cognitive_complexity": 17.0,
"cyclomatic_complexity": 13.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 274,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 282,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 287,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 292,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 293,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 299,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 300,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 306,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 307,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 307,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 307,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 315,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.26115642585085075,
"calculated_length": 143.25838096618136,
"difficulty": 16.666666666666668,
"effort": 13057.821292542538,
"length": 154.0,
"n1": 10.0,
"n2": 24.0,
"n_1": 74.0,
"n_2": 80.0,
"time": 725.4345162523632,
"vocabulary": 34.0,
"volume": 783.4692775525522
},
"lines_of_code": 51.0,
"maintainability_index": 69.66301913389833,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 26.0,
"technical_debt_score": 49.8
},
"recommendations": [],
"severity": "Moderate",
"start_line": 273
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:deriveDiffLines:325",
"entity_name": "deriveDiffLines",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 326,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 335,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 337,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 342,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 342,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.061822013399445847,
"calculated_length": 84.99664330558271,
"difficulty": 4.0588235294117645,
"effort": 752.7739278638405,
"length": 41.0,
"n1": 6.0,
"n2": 17.0,
"n_1": 18.0,
"n_2": 23.0,
"time": 41.820773770213364,
"vocabulary": 23.0,
"volume": 185.46604019833754
},
"lines_of_code": 21.0,
"maintainability_index": 93.36980318226068,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 19.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 326
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:looksLikePatch:348",
"entity_name": "looksLikePatch",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 349,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 350,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.014395021744511903,
"calculated_length": 23.509775004326936,
"difficulty": 4.5,
"effort": 194.3327935509107,
"length": 13.0,
"n1": 6.0,
"n2": 4.0,
"n_1": 7.0,
"n_2": 6.0,
"time": 10.796266308383927,
"vocabulary": 10.0,
"volume": 43.18506523353571
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 349
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:parsePatchText:355",
"entity_name": "parsePatchText",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 356,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 357,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 19.60964047443681,
"difficulty": 3.75,
"effort": 142.64662506490404,
"length": 12.0,
"n1": 5.0,
"n2": 4.0,
"n_1": 6.0,
"n_2": 6.0,
"time": 7.92481250360578,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 356
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:getFilePathFromRecord:362",
"entity_name": "getFilePathFromRecord",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 363,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04688268714730222,
"calculated_length": 44.82892142331043,
"difficulty": 4.75,
"effort": 668.0782918490567,
"length": 36.0,
"n1": 5.0,
"n2": 10.0,
"n_1": 17.0,
"n_2": 19.0,
"time": 37.115460658280924,
"vocabulary": 15.0,
"volume": 140.64806144190666
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 363
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:buildEditEntryFromBlock:395",
"entity_name": "buildEditEntryFromBlock",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 396,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 401,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 435,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 445,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 445,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 447,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.3226728522737269,
"calculated_length": 273.7353344330258,
"difficulty": 7.1521739130434785,
"effort": 6923.437069438444,
"length": 169.0,
"n1": 7.0,
"n2": 46.0,
"n_1": 75.0,
"n_2": 94.0,
"time": 384.63539274658024,
"vocabulary": 53.0,
"volume": 968.0185568211806
},
"lines_of_code": 60.0,
"maintainability_index": 67.54031155371624,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 13.0,
"technical_debt_score": 29.599999999999998
},
"recommendations": [],
"severity": "Low",
"start_line": 396
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:mergeEditEntries:457",
"entity_name": "mergeEditEntries",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 458,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 459,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 464,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 470,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1311542471033198,
"calculated_length": 138.56842503028855,
"difficulty": 7.6875,
"effort": 3024.744823820313,
"length": 78.0,
"n1": 9.0,
"n2": 24.0,
"n_1": 37.0,
"n_2": 41.0,
"time": 168.04137910112848,
"vocabulary": 33.0,
"volume": 393.46274130995937
},
"lines_of_code": 17.0,
"maintainability_index": 93.11201466062548,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 13.8
},
"recommendations": [],
"severity": "Low",
"start_line": 458
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:anonymous_function_462:462",
"entity_name": "anonymous_function_462",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 463,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 464,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 470,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07237699129691222,
"calculated_length": 82.60335893412778,
"difficulty": 6.666666666666667,
"effort": 1447.5398259382443,
"length": 48.0,
"n1": 8.0,
"n2": 15.0,
"n_1": 23.0,
"n_2": 25.0,
"time": 80.41887921879135,
"vocabulary": 23.0,
"volume": 217.13097389073664
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 9.6
},
"recommendations": [],
"severity": "Low",
"start_line": 463
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:anonymous_function_467:467",
"entity_name": "anonymous_function_467",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 468,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004666666666666667,
"calculated_length": 4.754887502163468,
"difficulty": 0.8333333333333334,
"effort": 11.666666666666668,
"length": 7.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 5.0,
"time": 0.6481481481481483,
"vocabulary": 4.0,
"volume": 14.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 468
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:parseEditArguments:476",
"entity_name": "parseEditArguments",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [
{
"description": "Cyclomatic complexity of 28.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:parseEditArguments:476",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:477",
"metric_value": 28.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 54.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:parseEditArguments:476",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:477",
"metric_value": 54.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 477,
"metrics": {
"cognitive_complexity": 54.0,
"cyclomatic_complexity": 28.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 478,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 478,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 482,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 483,
"nesting_level": 1
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 485,
"nesting_level": 2
},
{
"column": 3,
"kind": "If",
"line": 490,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 494,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 500,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 500,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 500,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 500,
"nesting_level": 1
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 502,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 520,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 523,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 525,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 527,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 534,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 535,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 535,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 537,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 543,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 545,
"nesting_level": 2
},
{
"column": 16,
"kind": "If",
"line": 548,
"nesting_level": 2
},
{
"column": 20,
"kind": "LogicalAnd",
"line": 548,
"nesting_level": 3
},
{
"column": 11,
"kind": "If",
"line": 550,
"nesting_level": 3
},
{
"column": 3,
"kind": "If",
"line": 559,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 573,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.6128792168099364,
"calculated_length": 393.0658666262056,
"difficulty": 19.67241379310345,
"effort": 36170.440674834696,
"length": 298.0,
"n1": 14.0,
"n2": 58.0,
"n_1": 135.0,
"n_2": 163.0,
"time": 2009.4689263797054,
"vocabulary": 72.0,
"volume": 1838.6376504298091
},
"lines_of_code": 108.0,
"maintainability_index": 49.62221724183438,
"max_nesting_depth": 3.0,
"parameter_count": 2.0,
"statement_count": 52.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 477
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:anonymous_function_490:490",
"entity_name": "anonymous_function_490",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 491,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 22.61842188131012,
"length": 7.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 5.0,
"time": 1.2565789934061178,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 491
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:anonymous_function_575:575",
"entity_name": "anonymous_function_575",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 576,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007754887502163467,
"calculated_length": 9.509775004326936,
"difficulty": 3.0,
"effort": 69.79398751947122,
"length": 9.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 3.877443751081734,
"vocabulary": 6.0,
"volume": 23.264662506490403
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 576
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:parseReadEntriesInternal:627",
"entity_name": "parseReadEntriesInternal",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 628,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 629,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 629,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 633,
"nesting_level": 0
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 635,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 638,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 642,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 647,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 663,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 685,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.44520655562969547,
"calculated_length": 297.1033999872765,
"difficulty": 15.913043478260867,
"effort": 21253.773829626327,
"length": 228.0,
"n1": 12.0,
"n2": 46.0,
"n_1": 106.0,
"n_2": 122.0,
"time": 1180.7652127570182,
"vocabulary": 58.0,
"volume": 1335.6196668890864
},
"lines_of_code": 62.0,
"maintainability_index": 64.41523967017459,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 21.0,
"technical_debt_score": 42.00000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 628
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:anonymous_function_638:638",
"entity_name": "anonymous_function_638",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 639,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 22.61842188131012,
"length": 7.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 5.0,
"time": 1.2565789934061178,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 639
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:mergeReadEntries:691",
"entity_name": "mergeReadEntries",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 692,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 693,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 699,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08460791492653964,
"calculated_length": 98.01619331423657,
"difficulty": 7.6764705882352935,
"effort": 1948.4705113964865,
"length": 54.0,
"n1": 9.0,
"n2": 17.0,
"n_1": 25.0,
"n_2": 29.0,
"time": 108.24836174424925,
"vocabulary": 26.0,
"volume": 253.82374477961895
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 10.0
},
"recommendations": [],
"severity": "Low",
"start_line": 692
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:anonymous_function_696:696",
"entity_name": "anonymous_function_696",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 697,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 699,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03255742163007099,
"calculated_length": 43.65148445440323,
"difficulty": 6.125,
"effort": 598.2426224525544,
"length": 25.0,
"n1": 7.0,
"n2": 8.0,
"n_1": 11.0,
"n_2": 14.0,
"time": 33.23570124736413,
"vocabulary": 15.0,
"volume": 97.67226489021297
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 697
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:coerceCommandValue:750",
"entity_name": "coerceCommandValue",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 751,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 752,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 752,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 755,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 757,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.06771020681990202,
"calculated_length": 67.75720079023742,
"difficulty": 6.461538461538462,
"effort": 1312.5363168165622,
"length": 47.0,
"n1": 7.0,
"n2": 13.0,
"n_1": 23.0,
"n_2": 24.0,
"time": 72.9186842675868,
"vocabulary": 20.0,
"volume": 203.13062045970605
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 17.0
},
"recommendations": [],
"severity": "Low",
"start_line": 751
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:anonymous_function_755:755",
"entity_name": "anonymous_function_755",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 756,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004,
"calculated_length": 4.0,
"difficulty": 2.0,
"effort": 24.0,
"length": 6.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.3333333333333333,
"vocabulary": 4.0,
"volume": 12.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 756
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:collectCommandDetails:763",
"entity_name": "collectCommandDetails",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [
{
"description": "Cyclomatic complexity of 28.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:collectCommandDetails:763",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:764",
"metric_value": 28.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 55.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:collectCommandDetails:763",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:764",
"metric_value": 55.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 764,
"metrics": {
"cognitive_complexity": 55.0,
"cyclomatic_complexity": 28.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 769,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 769,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 773,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 774,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 780,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 785,
"nesting_level": 0
},
{
"column": 8,
"kind": "ConditionalExpression",
"line": 789,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 790,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 790,
"nesting_level": 2
},
{
"column": 8,
"kind": "ConditionalExpression",
"line": 795,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 798,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 798,
"nesting_level": 2
},
{
"column": 8,
"kind": "ConditionalExpression",
"line": 803,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 810,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 810,
"nesting_level": 2
},
{
"column": 8,
"kind": "ConditionalExpression",
"line": 815,
"nesting_level": 1
},
{
"column": 8,
"kind": "ConditionalExpression",
"line": 816,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 820,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 820,
"nesting_level": 2
},
{
"column": 3,
"kind": "If",
"line": 826,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 828,
"nesting_level": 1
},
{
"column": 10,
"kind": "ConditionalExpression",
"line": 835,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 837,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 840,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 840,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 844,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 860,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.8499272450163686,
"calculated_length": 380.58044714322443,
"difficulty": 23.035087719298247,
"effort": 58734.445931920636,
"length": 416.0,
"n1": 13.0,
"n2": 57.0,
"n_1": 214.0,
"n_2": 202.0,
"time": 3263.0247739955907,
"vocabulary": 70.0,
"volume": 2549.781735049106
},
"lines_of_code": 100.0,
"maintainability_index": 49.16867517696127,
"max_nesting_depth": 2.0,
"parameter_count": 3.0,
"statement_count": 38.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 764
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:extractEditEntries:865",
"entity_name": "extractEditEntries",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 866,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.018450301966065584,
"calculated_length": 28.75488750216347,
"difficulty": 2.0625,
"effort": 114.16124341503081,
"length": 16.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 5.0,
"n_2": 11.0,
"time": 6.342291300835045,
"vocabulary": 11.0,
"volume": 55.35090589819676
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 866
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:anonymous_function_866:866",
"entity_name": "anonymous_function_866",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 867,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 867
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:extractReadEntries:870",
"entity_name": "extractReadEntries",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 871,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.015502331109474358,
"calculated_length": 24.406371956566694,
"difficulty": 1.9285714285714288,
"effort": 89.69205856195879,
"length": 14.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 5.0,
"n_2": 9.0,
"time": 4.9828921423310435,
"vocabulary": 10.0,
"volume": 46.50699332842307
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 871
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:anonymous_function_871:871",
"entity_name": "anonymous_function_871",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 872,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 872
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:extractCommandDetails:874",
"entity_name": "extractCommandDetails",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 875,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 878,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 878,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 878,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.048143178485693966,
"calculated_length": 62.6710344630571,
"difficulty": 6.125,
"effort": 884.6309046746267,
"length": 34.0,
"n1": 7.0,
"n2": 12.0,
"n_1": 13.0,
"n_2": 21.0,
"time": 49.14616137081259,
"vocabulary": 19.0,
"volume": 144.4295354570819
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 13.400000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 875
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:anonymous_function_876:876",
"entity_name": "anonymous_function_876",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 877,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 877
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:anonymous_function_892:892",
"entity_name": "anonymous_function_892",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 893,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 893
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:stringifyValue:898",
"entity_name": "stringifyValue",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 899,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 900,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 903,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 906,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 909,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 909,
"nesting_level": 1
},
{
"column": 3,
"kind": "Try",
"line": 912,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 914,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07613350199483186,
"calculated_length": 71.54887502163469,
"difficulty": 8.625,
"effort": 1969.9543641162743,
"length": 52.0,
"n1": 9.0,
"n2": 12.0,
"n_1": 29.0,
"n_2": 23.0,
"time": 109.44190911757079,
"vocabulary": 21.0,
"volume": 228.40050598449557
},
"lines_of_code": 18.0,
"maintainability_index": 94.09425391784212,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 11.0,
"technical_debt_score": 26.8
},
"recommendations": [],
"severity": "Low",
"start_line": 899
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:extractKeyValuePairs:918",
"entity_name": "extractKeyValuePairs",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 919,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 921,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.055790597458036495,
"calculated_length": 84.99664330558271,
"difficulty": 3.882352941176471,
"effort": 649.7963703936016,
"length": 37.0,
"n1": 6.0,
"n2": 17.0,
"n_1": 15.0,
"n_2": 22.0,
"time": 36.099798355200086,
"vocabulary": 23.0,
"volume": 167.37179237410948
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 919
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:anonymous_function_925:925",
"entity_name": "anonymous_function_925",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 926,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 13.60964047443681,
"difficulty": 1.2,
"effort": 26.950607251753,
"length": 8.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 2.0,
"n_2": 6.0,
"time": 1.4972559584307221,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 926
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:anonymous_function_933:933",
"entity_name": "anonymous_function_933",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 934,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02031478750408655,
"calculated_length": 33.284212515144276,
"difficulty": 1.8333333333333335,
"effort": 111.73133127247604,
"length": 17.0,
"n1": 3.0,
"n2": 9.0,
"n_1": 6.0,
"n_2": 11.0,
"time": 6.2072961818042245,
"vocabulary": 12.0,
"volume": 60.94436251225965
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 934
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:anonymous_function_934:934",
"entity_name": "anonymous_function_934",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 935,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 13.60964047443681,
"difficulty": 1.2,
"effort": 26.950607251753,
"length": 8.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 2.0,
"n_2": 6.0,
"time": 1.4972559584307221,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 935
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:anonymous_function_964:964",
"entity_name": "anonymous_function_964",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 965,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 21,
"kind": "ConditionalExpression",
"line": 966,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 972,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 982,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.13116548686844443,
"calculated_length": 117.75898006442377,
"difficulty": 7.636363636363636,
"effort": 3004.882062804363,
"length": 81.0,
"n1": 7.0,
"n2": 22.0,
"n_1": 33.0,
"n_2": 48.0,
"time": 166.93789237802017,
"vocabulary": 29.0,
"volume": 393.4964606053333
},
"lines_of_code": 30.0,
"maintainability_index": 83.91022763660322,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 16.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 965
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:anonymous_function_1025:1025",
"entity_name": "anonymous_function_1025",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 1026,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 23,
"kind": "ConditionalExpression",
"line": 1028,
"nesting_level": 0
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 1031,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1057618082852673,
"calculated_length": 113.61727061434748,
"difficulty": 5.590909090909091,
"effort": 1773.9139662392558,
"length": 66.0,
"n1": 6.0,
"n2": 22.0,
"n_1": 25.0,
"n_2": 41.0,
"time": 98.55077590218087,
"vocabulary": 28.0,
"volume": 317.28542485580186
},
"lines_of_code": 15.0,
"maintainability_index": 96.48861757645383,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 10.6
},
"recommendations": [],
"severity": "Low",
"start_line": 1026
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:anonymous_function_1067:1067",
"entity_name": "anonymous_function_1067",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 1068,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1075,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1075,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.13819542452068106,
"calculated_length": 169.4107738716804,
"difficulty": 8.068965517241379,
"effort": 3345.282345293728,
"length": 79.0,
"n1": 9.0,
"n2": 29.0,
"n_1": 27.0,
"n_2": 52.0,
"time": 185.8490191829849,
"vocabulary": 38.0,
"volume": 414.58627356204323
},
"lines_of_code": 19.0,
"maintainability_index": 91.26822686020351,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 12.2
},
"recommendations": [],
"severity": "Low",
"start_line": 1068
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:anonymous_function_1075:1075",
"entity_name": "anonymous_function_1075",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 1076,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1076
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:anonymous_function_1108:1108",
"entity_name": "anonymous_function_1108",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 1109,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.043171796711646074,
"calculated_length": 40.05374780501027,
"difficulty": 2.3636363636363638,
"effort": 306.12728577349037,
"length": 35.0,
"n1": 2.0,
"n2": 11.0,
"n_1": 9.0,
"n_2": 26.0,
"time": 17.007071431860577,
"vocabulary": 13.0,
"volume": 129.51539013493823
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 1109
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:anonymous_function_1134:1134",
"entity_name": "anonymous_function_1134",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 1135,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.028370037839081708,
"calculated_length": 40.05374780501027,
"difficulty": 1.6363636363636365,
"effort": 139.27109484640113,
"length": 23.0,
"n1": 2.0,
"n2": 11.0,
"n_1": 5.0,
"n_2": 18.0,
"time": 7.737283047022284,
"vocabulary": 13.0,
"volume": 85.11011351724513
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1135
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:anonymous_function_1146:1146",
"entity_name": "anonymous_function_1146",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 1147,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 14,
"kind": "ConditionalExpression",
"line": 1153,
"nesting_level": 0
},
{
"column": 15,
"kind": "ConditionalExpression",
"line": 1154,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.050412041708754185,
"calculated_length": 54.62919048309068,
"difficulty": 4.791666666666667,
"effort": 724.6730995633415,
"length": 37.0,
"n1": 5.0,
"n2": 12.0,
"n_1": 14.0,
"n_2": 23.0,
"time": 40.259616642407856,
"vocabulary": 17.0,
"volume": 151.23612512626255
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 1147
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:anonymous_function_1179:1179",
"entity_name": "anonymous_function_1179",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 1180,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1184,
"nesting_level": 0
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 1185,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1195,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 1200,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 1206,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 1211,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 1217,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.30437979577972796,
"calculated_length": 167.82521876648653,
"difficulty": 19.464285714285715,
"effort": 17773.605932137685,
"length": 174.0,
"n1": 10.0,
"n2": 28.0,
"n_1": 65.0,
"n_2": 109.0,
"time": 987.422551785427,
"vocabulary": 38.0,
"volume": 913.1393873391838
},
"lines_of_code": 44.0,
"maintainability_index": 72.40830753013697,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 21.0,
"technical_debt_score": 31.200000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1180
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts:parseToolCallDisplay:1227",
"entity_name": "parseToolCallDisplay",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/app/src/utils/tool-call-parsers.ts",
"issues": [],
"line_number": 1228,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.016035238778611398,
"calculated_length": 37.974168451037094,
"difficulty": 1.5,
"effort": 72.1585745037513,
"length": 13.0,
"n1": 3.0,
"n2": 10.0,
"n_1": 3.0,
"n_2": 10.0,
"time": 4.00880969465285,
"vocabulary": 13.0,
"volume": 48.105716335834195
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1228
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/desktop/src-tauri/build.rs:main:0",
"entity_name": "main",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/desktop/src-tauri/build.rs",
"issues": [],
"line_number": 1,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 8.0,
"difficulty": 0.5,
"effort": 5.804820237218405,
"length": 5.0,
"n1": 1.0,
"n2": 4.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.32249001317880027,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/desktop/src-tauri/src/lib.rs:get_zoom_factor:8",
"entity_name": "get_zoom_factor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/desktop/src-tauri/src/lib.rs",
"issues": [],
"line_number": 9,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012684582601670089,
"calculated_length": 27.651484454403228,
"difficulty": 2.0,
"effort": 76.10749561002054,
"length": 11.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 4.0,
"n_2": 7.0,
"time": 4.228194200556697,
"vocabulary": 11.0,
"volume": 38.05374780501027
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 9
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/desktop/src-tauri/src/lib.rs:set_zoom_factor:12",
"entity_name": "set_zoom_factor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/desktop/src-tauri/src/lib.rs",
"issues": [],
"line_number": 13,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04245906842019469,
"calculated_length": 74.11313393845472,
"difficulty": 3.8,
"effort": 484.03337999021943,
"length": 29.0,
"n1": 6.0,
"n2": 15.0,
"n_1": 10.0,
"n_2": 19.0,
"time": 26.890743332789967,
"vocabulary": 21.0,
"volume": 127.37720526058406
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 13
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/desktop/src-tauri/src/lib.rs:run:19",
"entity_name": "run",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/desktop/src-tauri/src/lib.rs",
"issues": [],
"line_number": 20,
"metrics": {
"cognitive_complexity": 22.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 17,
"kind": "Try",
"line": 25,
"nesting_level": 3
},
{
"column": 27,
"kind": "Try",
"line": 33,
"nesting_level": 2
},
{
"column": 28,
"kind": "Try",
"line": 36,
"nesting_level": 2
},
{
"column": 30,
"kind": "Try",
"line": 39,
"nesting_level": 2
},
{
"column": 29,
"kind": "Try",
"line": 43,
"nesting_level": 2
},
{
"column": 24,
"kind": "Try",
"line": 50,
"nesting_level": 2
},
{
"column": 13,
"kind": "Try",
"line": 51,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.4678855383380522,
"calculated_length": 497.5532968615526,
"difficulty": 9.067567567567568,
"effort": 12727.751198304042,
"length": 219.0,
"n1": 11.0,
"n2": 74.0,
"n_1": 97.0,
"n_2": 122.0,
"time": 707.097288794669,
"vocabulary": 85.0,
"volume": 1403.6566150141566
},
"lines_of_code": 53.0,
"maintainability_index": 67.15772391240445,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 19.0,
"technical_debt_score": 44.2
},
"recommendations": [],
"severity": "Moderate",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/desktop/src-tauri/src/main.rs:main:3",
"entity_name": "main",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/desktop/src-tauri/src/main.rs",
"issues": [],
"line_number": 4,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 15.509775004326936,
"length": 6.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.861654166907052,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 4
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/cloudflare-adapter.ts:constructor:69",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/cloudflare-adapter.ts",
"issues": [],
"line_number": 70,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 70
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/cloudflare-adapter.ts:fetch:74",
"entity_name": "fetch",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/cloudflare-adapter.ts",
"issues": [],
"line_number": 75,
"metrics": {
"cognitive_complexity": 15.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 80,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 80,
"nesting_level": 2
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 80,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 84,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 89,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 89,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.33631380103248093,
"calculated_length": 404.79452759999,
"difficulty": 9.442622950819672,
"effort": 9527.053248920116,
"length": 163.0,
"n1": 12.0,
"n2": 61.0,
"n_1": 67.0,
"n_2": 96.0,
"time": 529.2807360511175,
"vocabulary": 73.0,
"volume": 1008.9414030974428
},
"lines_of_code": 45.0,
"maintainability_index": 71.75545155467033,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 20.0,
"technical_debt_score": 35.0
},
"recommendations": [],
"severity": "Moderate",
"start_line": 75
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/cloudflare-adapter.ts:webSocketMessage:124",
"entity_name": "webSocketMessage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/cloudflare-adapter.ts",
"issues": [],
"line_number": 125,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 127,
"nesting_level": 1
},
{
"column": 24,
"kind": "ConditionalExpression",
"line": 133,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 137,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 139,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.11020647778231529,
"calculated_length": 164.20212108020232,
"difficulty": 9.62,
"effort": 3180.558948797619,
"length": 63.0,
"n1": 13.0,
"n2": 25.0,
"n_1": 26.0,
"n_2": 37.0,
"time": 176.6977193776455,
"vocabulary": 38.0,
"volume": 330.61943334694587
},
"lines_of_code": 18.0,
"maintainability_index": 92.86094410037451,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 11.0,
"technical_debt_score": 20.8
},
"recommendations": [],
"severity": "Low",
"start_line": 125
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/cloudflare-adapter.ts:webSocketClose:147",
"entity_name": "webSocketClose",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/cloudflare-adapter.ts",
"issues": [],
"line_number": 148,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 155,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05501955000865387,
"calculated_length": 88.0,
"difficulty": 5.5,
"effort": 907.8225751427889,
"length": 36.0,
"n1": 8.0,
"n2": 16.0,
"n_1": 14.0,
"n_2": 22.0,
"time": 50.43458750793272,
"vocabulary": 24.0,
"volume": 165.0586500259616
},
"lines_of_code": 15.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 4.0,
"statement_count": 4.0,
"technical_debt_score": 8.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 148
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/cloudflare-adapter.ts:webSocketError:167",
"entity_name": "webSocketError",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/cloudflare-adapter.ts",
"issues": [],
"line_number": 168,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03889735285398626,
"calculated_length": 68.81274391313339,
"difficulty": 3.6428571428571423,
"effort": 425.0924990471355,
"length": 27.0,
"n1": 6.0,
"n2": 14.0,
"n_1": 10.0,
"n_2": 17.0,
"time": 23.616249947063082,
"vocabulary": 20.0,
"volume": 116.69205856195879
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 168
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/cloudflare-adapter.ts:fetch:180",
"entity_name": "fetch",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/cloudflare-adapter.ts",
"issues": [],
"line_number": 181,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 185,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 192,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 194,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.15179730679751238,
"calculated_length": 190.46500593882897,
"difficulty": 6.303030303030303,
"effort": 2870.349073989325,
"length": 85.0,
"n1": 8.0,
"n2": 33.0,
"n_1": 33.0,
"n_2": 52.0,
"time": 159.4638374438514,
"vocabulary": 41.0,
"volume": 455.39192039253714
},
"lines_of_code": 24.0,
"maintainability_index": 86.76550420757331,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 11.0,
"technical_debt_score": 18.4
},
"recommendations": [],
"severity": "Low",
"start_line": 181
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.test.ts:anonymous_function_10:10",
"entity_name": "anonymous_function_10",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.test.ts",
"issues": [],
"line_number": 11,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 1.1416233423099773,
"calculated_length": 564.4497140261078,
"difficulty": 12.188235294117646,
"effort": 41743.121739993054,
"length": 525.0,
"n1": 7.0,
"n2": 85.0,
"n_1": 229.0,
"n_2": 296.0,
"time": 2319.062318888503,
"vocabulary": 92.0,
"volume": 3424.870026929932
},
"lines_of_code": 185.0,
"maintainability_index": 43.878377865231016,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 84.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 11
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.test.ts:anonymous_function_11:11",
"entity_name": "anonymous_function_11",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.test.ts",
"issues": [],
"line_number": 12,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03106967500625002,
"calculated_length": 32.0,
"difficulty": 3.0,
"effort": 279.6270750562502,
"length": 26.0,
"n1": 4.0,
"n2": 8.0,
"n_1": 14.0,
"n_2": 12.0,
"time": 15.534837503125011,
"vocabulary": 12.0,
"volume": 93.20902501875005
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 12
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.test.ts:anonymous_function_12:12",
"entity_name": "anonymous_function_12",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.test.ts",
"issues": [],
"line_number": 13,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.024360806029173992,
"calculated_length": 23.509775004326936,
"difficulty": 3.3333333333333335,
"effort": 243.60806029173992,
"length": 22.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 12.0,
"n_2": 10.0,
"time": 13.533781127318884,
"vocabulary": 10.0,
"volume": 73.08241808752197
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 13
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.test.ts:anonymous_function_19:19",
"entity_name": "anonymous_function_19",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.test.ts",
"issues": [],
"line_number": 20,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0877021551665335,
"calculated_length": 81.09650877569258,
"difficulty": 4.411764705882353,
"effort": 1160.7638183805907,
"length": 59.0,
"n1": 5.0,
"n2": 17.0,
"n_1": 29.0,
"n_2": 30.0,
"time": 64.48687879892171,
"vocabulary": 22.0,
"volume": 263.1064654996005
},
"lines_of_code": 15.0,
"maintainability_index": 97.92228117948872,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 5.0
},
"recommendations": [],
"severity": "Low",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.test.ts:anonymous_function_20:20",
"entity_name": "anonymous_function_20",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.test.ts",
"issues": [],
"line_number": 21,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.07923534840626832,
"calculated_length": 70.2129994085646,
"difficulty": 4.666666666666667,
"effort": 1109.2948776877565,
"length": 55.0,
"n1": 5.0,
"n2": 15.0,
"n_1": 27.0,
"n_2": 28.0,
"time": 61.627493204875364,
"vocabulary": 20.0,
"volume": 237.70604521880495
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 4.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 21
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.test.ts:anonymous_function_36:36",
"entity_name": "anonymous_function_36",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.test.ts",
"issues": [],
"line_number": 37,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.11858142141075421,
"calculated_length": 118.03910001730775,
"difficulty": 3.6666666666666665,
"effort": 1304.3956355182963,
"length": 74.0,
"n1": 4.0,
"n2": 24.0,
"n_1": 30.0,
"n_2": 44.0,
"time": 72.4664241954609,
"vocabulary": 28.0,
"volume": 355.74426423226265
},
"lines_of_code": 31.0,
"maintainability_index": 84.59350429552603,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 13.0,
"technical_debt_score": 8.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 37
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.test.ts:anonymous_function_37:37",
"entity_name": "anonymous_function_37",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.test.ts",
"issues": [],
"line_number": 38,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10967692675662546,
"calculated_length": 106.10749561002054,
"difficulty": 3.8181818181818183,
"effort": 1256.299342848619,
"length": 70.0,
"n1": 4.0,
"n2": 22.0,
"n_1": 28.0,
"n_2": 42.0,
"time": 69.79440793603439,
"vocabulary": 26.0,
"volume": 329.0307802698764
},
"lines_of_code": 29.0,
"maintainability_index": 86.07982077632863,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 7.8
},
"recommendations": [],
"severity": "Low",
"start_line": 38
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.test.ts:anonymous_function_69:69",
"entity_name": "anonymous_function_69",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.test.ts",
"issues": [],
"line_number": 70,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.49168938340087714,
"calculated_length": 297.7025844930631,
"difficulty": 8.76,
"effort": 12921.596995775051,
"length": 254.0,
"n1": 6.0,
"n2": 50.0,
"n_1": 108.0,
"n_2": 146.0,
"time": 717.8664997652807,
"vocabulary": 56.0,
"volume": 1475.0681502026314
},
"lines_of_code": 74.0,
"maintainability_index": 63.10255623967683,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 38.0,
"technical_debt_score": 16.799999999999997
},
"recommendations": [],
"severity": "Low",
"start_line": 70
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.test.ts:anonymous_function_70:70",
"entity_name": "anonymous_function_70",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.test.ts",
"issues": [],
"line_number": 71,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.09169925001442311,
"calculated_length": 94.43856189774725,
"difficulty": 3.4,
"effort": 935.3323501471158,
"length": 60.0,
"n1": 4.0,
"n2": 20.0,
"n_1": 26.0,
"n_2": 34.0,
"time": 51.962908341506434,
"vocabulary": 24.0,
"volume": 275.09775004326934
},
"lines_of_code": 16.0,
"maintainability_index": 96.64500495582193,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 71
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.test.ts:anonymous_function_88:88",
"entity_name": "anonymous_function_88",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.test.ts",
"issues": [],
"line_number": 89,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.08582433091392043,
"calculated_length": 119.55169999363824,
"difficulty": 4.304347826086956,
"effort": 1108.2533165841028,
"length": 53.0,
"n1": 6.0,
"n2": 23.0,
"n_1": 20.0,
"n_2": 33.0,
"time": 61.56962869911682,
"vocabulary": 29.0,
"volume": 257.4729927417613
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 4.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 89
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.test.ts:anonymous_function_103:103",
"entity_name": "anonymous_function_103",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.test.ts",
"issues": [],
"line_number": 104,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.07347277761308517,
"calculated_length": 72.0,
"difficulty": 3.5,
"effort": 771.4641649373942,
"length": 51.0,
"n1": 4.0,
"n2": 16.0,
"n_1": 23.0,
"n_2": 28.0,
"time": 42.85912027429968,
"vocabulary": 20.0,
"volume": 220.4183328392555
},
"lines_of_code": 17.0,
"maintainability_index": 96.81520210720043,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 104
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.test.ts:anonymous_function_122:122",
"entity_name": "anonymous_function_122",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.test.ts",
"issues": [],
"line_number": 123,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.11454845268110987,
"calculated_length": 98.04820237218406,
"difficulty": 5.375,
"effort": 1847.0937994828967,
"length": 74.0,
"n1": 5.0,
"n2": 20.0,
"n_1": 31.0,
"n_2": 43.0,
"time": 102.61632219349426,
"vocabulary": 25.0,
"volume": 343.6453580433296
},
"lines_of_code": 20.0,
"maintainability_index": 91.87316418212633,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 11.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 123
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.test.ts:anonymous_function_145:145",
"entity_name": "anonymous_function_145",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.test.ts",
"issues": [],
"line_number": 146,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1504779782653279,
"calculated_length": 130.21143267166838,
"difficulty": 4.153846153846154,
"effort": 1875.1871137679325,
"length": 92.0,
"n1": 4.0,
"n2": 26.0,
"n_1": 38.0,
"n_2": 54.0,
"time": 104.17706187599624,
"vocabulary": 30.0,
"volume": 451.4339347959837
},
"lines_of_code": 49.0,
"maintainability_index": 75.9378801712802,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 15.0,
"technical_debt_score": 11.8
},
"recommendations": [],
"severity": "Low",
"start_line": 146
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.test.ts:anonymous_function_146:146",
"entity_name": "anonymous_function_146",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.test.ts",
"issues": [],
"line_number": 147,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.14101574438035638,
"calculated_length": 118.03910001730775,
"difficulty": 4.333333333333333,
"effort": 1833.2046769446326,
"length": 88.0,
"n1": 4.0,
"n2": 24.0,
"n_1": 36.0,
"n_2": 52.0,
"time": 101.84470427470181,
"vocabulary": 28.0,
"volume": 423.0472331410691
},
"lines_of_code": 47.0,
"maintainability_index": 76.95069290985747,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 14.0,
"technical_debt_score": 11.4
},
"recommendations": [],
"severity": "Low",
"start_line": 147
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.ts:generateKeyPair:15",
"entity_name": "generateKeyPair",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.ts",
"issues": [],
"line_number": 16,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01553483750312501,
"calculated_length": 33.284212515144276,
"difficulty": 1.5,
"effort": 69.90676876406255,
"length": 13.0,
"n1": 3.0,
"n2": 9.0,
"n_1": 4.0,
"n_2": 9.0,
"time": 3.883709375781253,
"vocabulary": 12.0,
"volume": 46.60451250937503
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 16
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.ts:exportPublicKey:22",
"entity_name": "exportPublicKey",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.ts",
"issues": [],
"line_number": 23,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.022844129532345624,
"calculated_length": 41.219280948873624,
"difficulty": 2.4,
"effort": 164.4777326328885,
"length": 18.0,
"n1": 4.0,
"n2": 10.0,
"n_1": 6.0,
"n_2": 12.0,
"time": 9.13765181293825,
"vocabulary": 14.0,
"volume": 68.53238859703687
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 23
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.ts:importPublicKey:30",
"entity_name": "importPublicKey",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.ts",
"issues": [],
"line_number": 31,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.024743640438853954,
"calculated_length": 47.77443751081734,
"difficulty": 1.75,
"effort": 129.90411230398325,
"length": 19.0,
"n1": 3.0,
"n2": 12.0,
"n_1": 5.0,
"n_2": 14.0,
"time": 7.21689512799907,
"vocabulary": 15.0,
"volume": 74.23092131656186
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.ts:deriveSharedKey:40",
"entity_name": "deriveSharedKey",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.ts",
"issues": [],
"line_number": 41,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10592555176778864,
"calculated_length": 171.60964047443682,
"difficulty": 3.515625,
"effort": 1117.1835538008959,
"length": 61.0,
"n1": 5.0,
"n2": 32.0,
"n_1": 16.0,
"n_2": 45.0,
"time": 62.06575298893866,
"vocabulary": 37.0,
"volume": 317.77665530336594
},
"lines_of_code": 33.0,
"maintainability_index": 84.16756377435463,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 3.0,
"technical_debt_score": 8.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 41
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.ts:encrypt:80",
"entity_name": "encrypt",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.ts",
"issues": [],
"line_number": 81,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "ConditionalExpression",
"line": 87,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.11797350938973422,
"calculated_length": 150.7407576846492,
"difficulty": 7.615384615384615,
"effort": 2695.240945288543,
"length": 69.0,
"n1": 9.0,
"n2": 26.0,
"n_1": 25.0,
"n_2": 44.0,
"time": 149.73560807158572,
"vocabulary": 35.0,
"volume": 353.92052816920267
},
"lines_of_code": 20.0,
"maintainability_index": 91.4899607340114,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 7.0,
"technical_debt_score": 8.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 81
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.ts:decrypt:108",
"entity_name": "decrypt",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.ts",
"issues": [],
"line_number": 109,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 124,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 126,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.085,
"calculated_length": 135.74788919877133,
"difficulty": 4.8999999999999995,
"effort": 1249.4999999999998,
"length": 51.0,
"n1": 7.0,
"n2": 25.0,
"n_1": 16.0,
"n_2": 35.0,
"time": 69.41666666666666,
"vocabulary": 32.0,
"volume": 255.0
},
"lines_of_code": 20.0,
"maintainability_index": 92.96456673360153,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 7.0,
"technical_debt_score": 12.4
},
"recommendations": [],
"severity": "Low",
"start_line": 109
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.ts:arrayBufferToBase64:132",
"entity_name": "arrayBufferToBase64",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.ts",
"issues": [],
"line_number": 133,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "For",
"line": 136,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04975918151662715,
"calculated_length": 81.32499728470782,
"difficulty": 8.076923076923077,
"effort": 1205.70324444135,
"length": 33.0,
"n1": 10.0,
"n2": 13.0,
"n_1": 12.0,
"n_2": 21.0,
"time": 66.983513580075,
"vocabulary": 23.0,
"volume": 149.27754454988144
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 133
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.ts:base64ToArrayBuffer:141",
"entity_name": "base64ToArrayBuffer",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/crypto.ts",
"issues": [],
"line_number": 142,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "For",
"line": 145,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05499965662986,
"calculated_length": 76.2388309575275,
"difficulty": 9.583333333333334,
"effort": 1581.2401281084751,
"length": 37.0,
"n1": 10.0,
"n2": 12.0,
"n_1": 14.0,
"n_2": 23.0,
"time": 87.84667378380418,
"vocabulary": 22.0,
"volume": 164.99896988958
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 142
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts:anonymous_function_14:14",
"entity_name": "anonymous_function_14",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts",
"issues": [],
"line_number": 15,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 1.5436338384933042,
"calculated_length": 728.9957793549429,
"difficulty": 14.780952380952382,
"effort": 68449.13478118881,
"length": 679.0,
"n1": 8.0,
"n2": 105.0,
"n_1": 291.0,
"n_2": 388.0,
"time": 3802.7297100660453,
"vocabulary": 113.0,
"volume": 4630.901515479913
},
"lines_of_code": 231.0,
"maintainability_index": 38.71219752210271,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 90.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 15
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts:anonymous_function_17:17",
"entity_name": "anonymous_function_17",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts",
"issues": [],
"line_number": 18,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01792481250360578,
"calculated_length": 31.26112492884004,
"difficulty": 2.8571428571428568,
"effort": 153.64125003090666,
"length": 15.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 7.0,
"n_2": 8.0,
"time": 8.535625001717037,
"vocabulary": 12.0,
"volume": 53.77443751081734
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 18
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts:anonymous_function_22:22",
"entity_name": "anonymous_function_22",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts",
"issues": [],
"line_number": 23,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 23
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts:anonymous_function_26:26",
"entity_name": "anonymous_function_26",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts",
"issues": [],
"line_number": 27,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.7979708195151508,
"calculated_length": 448.7012956405508,
"difficulty": 11.049999999999999,
"effort": 26452.732666927248,
"length": 382.0,
"n1": 7.0,
"n2": 70.0,
"n_1": 161.0,
"n_2": 221.0,
"time": 1469.596259273736,
"vocabulary": 77.0,
"volume": 2393.9124585454524
},
"lines_of_code": 122.0,
"maintainability_index": 52.48530061950757,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 47.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 27
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts:anonymous_function_41:41",
"entity_name": "anonymous_function_41",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts",
"issues": [],
"line_number": 42,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.016906266674359,
"calculated_length": 20.264662506490403,
"difficulty": 2.5,
"effort": 126.79700005769249,
"length": 16.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 10.0,
"time": 7.044277780982916,
"vocabulary": 9.0,
"volume": 50.718800023076994
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 42
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts:anonymous_function_64:64",
"entity_name": "anonymous_function_64",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts",
"issues": [],
"line_number": 65,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.016906266674359,
"calculated_length": 20.264662506490403,
"difficulty": 2.5,
"effort": 126.79700005769249,
"length": 16.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 10.0,
"time": 7.044277780982916,
"vocabulary": 9.0,
"volume": 50.718800023076994
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 65
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts:anonymous_function_74:74",
"entity_name": "anonymous_function_74",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts",
"issues": [],
"line_number": 75,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014792983340064124,
"calculated_length": 20.264662506490403,
"difficulty": 2.0,
"effort": 88.75790004038474,
"length": 14.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 4.930994446688041,
"vocabulary": 9.0,
"volume": 44.37895002019237
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 75
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts:anonymous_function_75:75",
"entity_name": "anonymous_function_75",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts",
"issues": [],
"line_number": 76,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005417832221403845,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 21.67132888561538,
"length": 7.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 4.0,
"time": 1.2039627158675212,
"vocabulary": 5.0,
"volume": 16.253496664211536
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 76
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts:anonymous_function_97:97",
"entity_name": "anonymous_function_97",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts",
"issues": [],
"line_number": 98,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014395021744511903,
"calculated_length": 23.509775004326936,
"difficulty": 2.6666666666666665,
"effort": 115.16017395609522,
"length": 13.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 6.39778744200529,
"vocabulary": 10.0,
"volume": 43.18506523353571
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 98
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts:anonymous_function_98:98",
"entity_name": "anonymous_function_98",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts",
"issues": [],
"line_number": 99,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 99
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts:anonymous_function_115:115",
"entity_name": "anonymous_function_115",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts",
"issues": [],
"line_number": 116,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014395021744511903,
"calculated_length": 23.509775004326936,
"difficulty": 2.6666666666666665,
"effort": 115.16017395609522,
"length": 13.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 6.39778744200529,
"vocabulary": 10.0,
"volume": 43.18506523353571
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 116
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts:anonymous_function_116:116",
"entity_name": "anonymous_function_116",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts",
"issues": [],
"line_number": 117,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 117
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts:anonymous_function_133:133",
"entity_name": "anonymous_function_133",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts",
"issues": [],
"line_number": 134,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014395021744511903,
"calculated_length": 23.509775004326936,
"difficulty": 2.6666666666666665,
"effort": 115.16017395609522,
"length": 13.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 6.39778744200529,
"vocabulary": 10.0,
"volume": 43.18506523353571
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 134
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts:anonymous_function_134:134",
"entity_name": "anonymous_function_134",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts",
"issues": [],
"line_number": 135,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 135
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts:anonymous_function_150:150",
"entity_name": "anonymous_function_150",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts",
"issues": [],
"line_number": 151,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.35584424025377315,
"calculated_length": 330.4154095712305,
"difficulty": 6.805555555555555,
"effort": 7265.153238514536,
"length": 180.0,
"n1": 7.0,
"n2": 54.0,
"n_1": 75.0,
"n_2": 105.0,
"time": 403.6196243619186,
"vocabulary": 61.0,
"volume": 1067.5327207613195
},
"lines_of_code": 61.0,
"maintainability_index": 67.91369533911202,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 23.0,
"technical_debt_score": 14.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 151
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts:anonymous_function_181:181",
"entity_name": "anonymous_function_181",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts",
"issues": [],
"line_number": 182,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 22.61842188131012,
"length": 7.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 5.0,
"time": 1.2565789934061178,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 182
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts:anonymous_function_182:182",
"entity_name": "anonymous_function_182",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts",
"issues": [],
"line_number": 183,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 22.61842188131012,
"length": 7.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 5.0,
"time": 1.2565789934061178,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 183
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts:anonymous_function_191:191",
"entity_name": "anonymous_function_191",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts",
"issues": [],
"line_number": 192,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014395021744511903,
"calculated_length": 23.509775004326936,
"difficulty": 2.6666666666666665,
"effort": 115.16017395609522,
"length": 13.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 6.39778744200529,
"vocabulary": 10.0,
"volume": 43.18506523353571
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 192
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts:anonymous_function_192:192",
"entity_name": "anonymous_function_192",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts",
"issues": [],
"line_number": 193,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 193
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts:anonymous_function_213:213",
"entity_name": "anonymous_function_213",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/e2e.test.ts",
"issues": [],
"line_number": 214,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.12430789508874915,
"calculated_length": 127.70604521880493,
"difficulty": 4.2,
"effort": 1566.2794781182392,
"length": 76.0,
"n1": 5.0,
"n2": 25.0,
"n_1": 34.0,
"n_2": 42.0,
"time": 87.0155265621244,
"vocabulary": 30.0,
"volume": 372.92368526624745
},
"lines_of_code": 31.0,
"maintainability_index": 84.34826351917906,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 11.0,
"technical_debt_score": 8.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 214
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.test.ts:createMockTransportPair:12",
"entity_name": "createMockTransportPair",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.test.ts",
"issues": [],
"line_number": 13,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.13754887502163468,
"calculated_length": 90.56842503028855,
"difficulty": 9.833333333333332,
"effort": 4057.691813138223,
"length": 90.0,
"n1": 6.0,
"n2": 18.0,
"n_1": 31.0,
"n_2": 59.0,
"time": 225.42732295212352,
"vocabulary": 24.0,
"volume": 412.6466250649041
},
"lines_of_code": 31.0,
"maintainability_index": 83.82193098128457,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 8.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 13
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.test.ts:anonymous_function_31:31",
"entity_name": "anonymous_function_31",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.test.ts",
"issues": [],
"line_number": 32,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 61.021056277764515,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 4.0,
"n_2": 7.0,
"time": 3.3900586820980285,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 32
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.test.ts:anonymous_function_32:32",
"entity_name": "anonymous_function_32",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.test.ts",
"issues": [],
"line_number": 33,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 33
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.test.ts:anonymous_function_37:37",
"entity_name": "anonymous_function_37",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.test.ts",
"issues": [],
"line_number": 38,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 61.021056277764515,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 4.0,
"n_2": 7.0,
"time": 3.3900586820980285,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 38
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.test.ts:anonymous_function_38:38",
"entity_name": "anonymous_function_38",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.test.ts",
"issues": [],
"line_number": 39,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 39
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.test.ts:anonymous_function_45:45",
"entity_name": "anonymous_function_45",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.test.ts",
"issues": [],
"line_number": 46,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.6230694945913733,
"calculated_length": 380.2952208612223,
"difficulty": 14.491525423728813,
"effort": 27087.682264862244,
"length": 306.0,
"n1": 10.0,
"n2": 59.0,
"n_1": 135.0,
"n_2": 171.0,
"time": 1504.8712369367913,
"vocabulary": 69.0,
"volume": 1869.2084837741197
},
"lines_of_code": 109.0,
"maintainability_index": 55.597158490304466,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 46.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 46
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.test.ts:anonymous_function_46:46",
"entity_name": "anonymous_function_46",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.test.ts",
"issues": [],
"line_number": 47,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.07466939618723893,
"calculated_length": 77.48686830125577,
"difficulty": 3.411764705882353,
"effort": 764.2632315635043,
"length": 51.0,
"n1": 4.0,
"n2": 17.0,
"n_1": 22.0,
"n_2": 29.0,
"time": 42.45906842019468,
"vocabulary": 21.0,
"volume": 224.0081885617168
},
"lines_of_code": 21.0,
"maintainability_index": 93.30798695109749,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 47
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.test.ts:anonymous_function_69:69",
"entity_name": "anonymous_function_69",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.test.ts",
"issues": [],
"line_number": 70,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.15940716902584395,
"calculated_length": 152.4910893331364,
"difficulty": 4.827586206896552,
"effort": 2308.6555514087745,
"length": 94.0,
"n1": 5.0,
"n2": 29.0,
"n_1": 38.0,
"n_2": 56.0,
"time": 128.2586417449319,
"vocabulary": 34.0,
"volume": 478.2215070775319
},
"lines_of_code": 36.0,
"maintainability_index": 80.63260824579031,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 14.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 70
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.test.ts:anonymous_function_81:81",
"entity_name": "anonymous_function_81",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.test.ts",
"issues": [],
"line_number": 82,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 82
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.test.ts:anonymous_function_87:87",
"entity_name": "anonymous_function_87",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.test.ts",
"issues": [],
"line_number": 88,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 88
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.test.ts:anonymous_function_98:98",
"entity_name": "anonymous_function_98",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.test.ts",
"issues": [],
"line_number": 99,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 99
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.test.ts:anonymous_function_107:107",
"entity_name": "anonymous_function_107",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.test.ts",
"issues": [],
"line_number": 108,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.2013131837837404,
"calculated_length": 194.9943309518098,
"difficulty": 8.181818181818182,
"effort": 4941.323601964537,
"length": 112.0,
"n1": 9.0,
"n2": 33.0,
"n_1": 52.0,
"n_2": 60.0,
"time": 274.51797788691874,
"vocabulary": 42.0,
"volume": 603.9395513512212
},
"lines_of_code": 31.0,
"maintainability_index": 81.84134190295379,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 14.0,
"technical_debt_score": 8.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 108
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.test.ts:anonymous_function_140:140",
"entity_name": "anonymous_function_140",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.test.ts",
"issues": [],
"line_number": 141,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04586917501586544,
"calculated_length": 61.302968908806456,
"difficulty": 2.5714285714285716,
"effort": 353.847921550962,
"length": 33.0,
"n1": 4.0,
"n2": 14.0,
"n_1": 15.0,
"n_2": 18.0,
"time": 19.658217863942333,
"vocabulary": 18.0,
"volume": 137.6075250475963
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 4.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 141
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.test.ts:anonymous_function_148:148",
"entity_name": "anonymous_function_148",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.test.ts",
"issues": [],
"line_number": 149,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 149
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts:createClientChannel:47",
"entity_name": "createClientChannel",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts",
"issues": [],
"line_number": 48,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.11634445849904655,
"calculated_length": 169.08986062632007,
"difficulty": 4.258064516129032,
"effort": 1486.2066311491108,
"length": 67.0,
"n1": 6.0,
"n2": 31.0,
"n_1": 23.0,
"n_2": 44.0,
"time": 82.56703506383948,
"vocabulary": 37.0,
"volume": 349.0333754971397
},
"lines_of_code": 20.0,
"maintainability_index": 91.79226591140515,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 10.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 48
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts:createDaemonChannel:77",
"entity_name": "createDaemonChannel",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts",
"issues": [],
"line_number": 78,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 89,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 90,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 95,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalOr",
"line": 95,
"nesting_level": 2
},
{
"column": 9,
"kind": "Catch",
"line": 112,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.2894376391848174,
"calculated_length": 305.73674826896314,
"difficulty": 13.666666666666666,
"effort": 11866.943206577515,
"length": 147.0,
"n1": 15.0,
"n2": 45.0,
"n_1": 65.0,
"n_2": 82.0,
"time": 659.2746225876397,
"vocabulary": 60.0,
"volume": 868.3129175544523
},
"lines_of_code": 50.0,
"maintainability_index": 71.05915611235939,
"max_nesting_depth": 2.0,
"parameter_count": 3.0,
"statement_count": 25.0,
"technical_debt_score": 30.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 78
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts:anonymous_function_82:82",
"entity_name": "anonymous_function_82",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts",
"issues": [],
"line_number": 83,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 89,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 90,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 95,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalOr",
"line": 95,
"nesting_level": 2
},
{
"column": 9,
"kind": "Catch",
"line": 112,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.2565197873163491,
"calculated_length": 252.7242144196627,
"difficulty": 13.26315789473684,
"effort": 10206.787326903153,
"length": 135.0,
"n1": 14.0,
"n2": 38.0,
"n_1": 63.0,
"n_2": 72.0,
"time": 567.0437403835085,
"vocabulary": 52.0,
"volume": 769.5593619490473
},
"lines_of_code": 44.0,
"maintainability_index": 73.75787384257151,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 24.0,
"technical_debt_score": 28.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 83
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts:anonymous_function_83:83",
"entity_name": "anonymous_function_83",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts",
"issues": [],
"line_number": 84,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 84
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts:anonymous_function_87:87",
"entity_name": "anonymous_function_87",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts",
"issues": [],
"line_number": 88,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 89,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 90,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 95,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalOr",
"line": 95,
"nesting_level": 2
},
{
"column": 9,
"kind": "Catch",
"line": 112,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.1555529229681268,
"calculated_length": 195.31243420408975,
"difficulty": 9.75,
"effort": 4549.922996817709,
"length": 86.0,
"n1": 13.0,
"n2": 30.0,
"n_1": 41.0,
"n_2": 45.0,
"time": 252.77349982320604,
"vocabulary": 43.0,
"volume": 466.6587689043804
},
"lines_of_code": 28.0,
"maintainability_index": 83.68117575948004,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 15.0,
"technical_debt_score": 25.6
},
"recommendations": [],
"severity": "Low",
"start_line": 88
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts:anonymous_function_117:117",
"entity_name": "anonymous_function_117",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts",
"issues": [],
"line_number": 118,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007754887502163467,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 29.080828133113002,
"length": 9.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 5.0,
"time": 1.6156015629507223,
"vocabulary": 6.0,
"volume": 23.264662506490403
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 118
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts:anonymous_function_122:122",
"entity_name": "anonymous_function_122",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts",
"issues": [],
"line_number": 123,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.013736341672916685,
"calculated_length": 20.264662506490403,
"difficulty": 2.0,
"effort": 82.41805003750011,
"length": 13.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 4.578780557638895,
"vocabulary": 9.0,
"volume": 41.209025018750054
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 123
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts:constructor:138",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts",
"issues": [],
"line_number": 139,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0993408541822917,
"calculated_length": 94.43856189774725,
"difficulty": 3.4,
"effort": 1013.2767126593753,
"length": 65.0,
"n1": 4.0,
"n2": 20.0,
"n_1": 31.0,
"n_2": 34.0,
"time": 56.29315070329863,
"vocabulary": 24.0,
"volume": 298.0225625468751
},
"lines_of_code": 17.0,
"maintainability_index": 95.2466640024933,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 9.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 139
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts:anonymous_function_147:147",
"entity_name": "anonymous_function_147",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts",
"issues": [],
"line_number": 148,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.0,
"difficulty": 1.5,
"effort": 15.0,
"length": 5.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.8333333333333334,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 148
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts:anonymous_function_148:148",
"entity_name": "anonymous_function_148",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts",
"issues": [],
"line_number": 149,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01660964047443681,
"calculated_length": 23.509775004326936,
"difficulty": 2.6666666666666665,
"effort": 132.87712379549447,
"length": 15.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 7.0,
"n_2": 8.0,
"time": 7.382062433083026,
"vocabulary": 10.0,
"volume": 49.82892142331043
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 149
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts:anonymous_function_152:152",
"entity_name": "anonymous_function_152",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts",
"issues": [],
"line_number": 153,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 9.509775004326936,
"difficulty": 2.0,
"effort": 41.3594000115385,
"length": 8.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 2.2977444450854723,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 153
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts:setState:157",
"entity_name": "setState",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts",
"issues": [],
"line_number": 158,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 158
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts:handleMessage:161",
"entity_name": "handleMessage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts",
"issues": [],
"line_number": 162,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 163,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 165,
"nesting_level": 1
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 167,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 170,
"nesting_level": 2
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 172,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.08917553358696376,
"calculated_length": 123.1643663617958,
"difficulty": 10.11111111111111,
"effort": 2704.9911854712336,
"length": 54.0,
"n1": 13.0,
"n2": 18.0,
"n_1": 26.0,
"n_2": 28.0,
"time": 150.2772880817352,
"vocabulary": 31.0,
"volume": 267.52660076089126
},
"lines_of_code": 13.0,
"maintainability_index": 99.00388159098128,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 25.0
},
"recommendations": [],
"severity": "Low",
"start_line": 162
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts:send:176",
"entity_name": "send",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts",
"issues": [],
"line_number": 177,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 178,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.044594316186372975,
"calculated_length": 76.63504134881501,
"difficulty": 5.538461538461538,
"effort": 740.9517150966586,
"length": 30.0,
"n1": 9.0,
"n2": 13.0,
"n_1": 14.0,
"n_2": 16.0,
"time": 41.16398417203659,
"vocabulary": 22.0,
"volume": 133.78294855911892
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 177
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts:close:186",
"entity_name": "close",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts",
"issues": [],
"line_number": 187,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.021509775004326936,
"calculated_length": 32.0,
"difficulty": 2.75,
"effort": 177.45564378569722,
"length": 18.0,
"n1": 4.0,
"n2": 8.0,
"n_1": 7.0,
"n_2": 11.0,
"time": 9.85864687698318,
"vocabulary": 12.0,
"volume": 64.5293250129808
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 187
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts:isOpen:191",
"entity_name": "isOpen",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts",
"issues": [],
"line_number": 192,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 192
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts:arrayBufferToBase64:198",
"entity_name": "arrayBufferToBase64",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts",
"issues": [],
"line_number": 199,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "For",
"line": 202,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04975918151662715,
"calculated_length": 81.32499728470782,
"difficulty": 8.076923076923077,
"effort": 1205.70324444135,
"length": 33.0,
"n1": 10.0,
"n2": 13.0,
"n_1": 12.0,
"n_2": 21.0,
"time": 66.983513580075,
"vocabulary": 23.0,
"volume": 149.27754454988144
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 199
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts:base64ToArrayBuffer:207",
"entity_name": "base64ToArrayBuffer",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/encrypted-channel.ts",
"issues": [],
"line_number": 208,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "For",
"line": 211,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05499965662986,
"calculated_length": 76.2388309575275,
"difficulty": 9.583333333333334,
"effort": 1581.2401281084751,
"length": 37.0,
"n1": 10.0,
"n2": 12.0,
"n_1": 14.0,
"n_2": 23.0,
"time": 87.84667378380418,
"vocabulary": 22.0,
"volume": 164.99896988958
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 208
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts:withRetry:13",
"entity_name": "withRetry",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts",
"issues": [],
"line_number": 14,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 3,
"kind": "For",
"line": 19,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 20,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 22,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 24,
"nesting_level": 2
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 29,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.10166666666666667,
"calculated_length": 128.0,
"difficulty": 18.0,
"effort": 5490.0,
"length": 61.0,
"n1": 16.0,
"n2": 16.0,
"n_1": 25.0,
"n_2": 36.0,
"time": 305.0,
"vocabulary": 32.0,
"volume": 305.0
},
"lines_of_code": 16.0,
"maintainability_index": 94.958441461357,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 9.0,
"technical_debt_score": 23.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 14
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts:anonymous_function_24:24",
"entity_name": "anonymous_function_24",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts",
"issues": [],
"line_number": 25,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 22.61842188131012,
"length": 7.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 5.0,
"time": 1.2565789934061178,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 25
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts:anonymous_function_31:31",
"entity_name": "anonymous_function_31",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts",
"issues": [],
"line_number": 32,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "Try",
"line": 73,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.9090263217611414,
"calculated_length": 646.1955172380572,
"difficulty": 14.016129032258064,
"effort": 38223.09065856928,
"length": 407.0,
"n1": 11.0,
"n2": 93.0,
"n_1": 170.0,
"n_2": 237.0,
"time": 2123.505036587182,
"vocabulary": 104.0,
"volume": 2727.078965283424
},
"lines_of_code": 140.0,
"maintainability_index": 49.34826378958097,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 56.0,
"technical_debt_score": 24.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 32
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts:anonymous_function_32:32",
"entity_name": "anonymous_function_32",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts",
"issues": [],
"line_number": 33,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "Try",
"line": 73,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.8880621106998882,
"calculated_length": 614.3940231610197,
"difficulty": 14.398876404494382,
"effort": 38361.28971444629,
"length": 401.0,
"n1": 11.0,
"n2": 89.0,
"n_1": 168.0,
"n_2": 233.0,
"time": 2131.182761913683,
"vocabulary": 100.0,
"volume": 2664.1863320996645
},
"lines_of_code": 138.0,
"maintainability_index": 49.70268963723338,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 55.0,
"technical_debt_score": 24.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 33
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts:anonymous_function_34:34",
"entity_name": "anonymous_function_34",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts",
"issues": [],
"line_number": 35,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "Try",
"line": 73,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.8626300875944715,
"calculated_length": 582.8519773767149,
"difficulty": 14.752941176470587,
"effort": 38178.99281800473,
"length": 393.0,
"n1": 11.0,
"n2": 85.0,
"n_1": 165.0,
"n_2": 228.0,
"time": 2121.055156555818,
"vocabulary": 96.0,
"volume": 2587.8902627834145
},
"lines_of_code": 133.0,
"maintainability_index": 50.45163321034326,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 54.0,
"technical_debt_score": 24.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 35
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts:anonymous_function_56:56",
"entity_name": "anonymous_function_56",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts",
"issues": [],
"line_number": 57,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.062302936863839246,
"calculated_length": 66.60335893412778,
"difficulty": 3.466666666666667,
"effort": 647.9505433839282,
"length": 44.0,
"n1": 4.0,
"n2": 15.0,
"n_1": 18.0,
"n_2": 26.0,
"time": 35.99725241021824,
"vocabulary": 19.0,
"volume": 186.90881059151775
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 7.0,
"technical_debt_score": 4.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 57
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts:anonymous_function_57:57",
"entity_name": "anonymous_function_57",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts",
"issues": [],
"line_number": 58,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05313701693625441,
"calculated_length": 56.105716335834195,
"difficulty": 3.3846153846153846,
"effort": 539.5450950450448,
"length": 39.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 17.0,
"n_2": 22.0,
"time": 29.97472750250249,
"vocabulary": 17.0,
"volume": 159.41105080876324
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 7.0,
"technical_debt_score": 4.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 58
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts:anonymous_function_59:59",
"entity_name": "anonymous_function_59",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts",
"issues": [],
"line_number": 60,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 60
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts:anonymous_function_62:62",
"entity_name": "anonymous_function_62",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts",
"issues": [],
"line_number": 63,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005417832221403845,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 16.253496664211536,
"length": 7.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 3.0,
"time": 0.9029720369006409,
"vocabulary": 5.0,
"volume": 16.253496664211536
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 63
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts:anonymous_function_66:66",
"entity_name": "anonymous_function_66",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts",
"issues": [],
"line_number": 67,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007754887502163467,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 29.080828133113002,
"length": 9.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 5.0,
"time": 1.6156015629507223,
"vocabulary": 6.0,
"volume": 23.264662506490403
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 67
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts:anonymous_function_79:79",
"entity_name": "anonymous_function_79",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts",
"issues": [],
"line_number": 80,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03951214079875328,
"calculated_length": 56.105716335834195,
"difficulty": 2.6153846153846154,
"effort": 310.01833549791036,
"length": 29.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 12.0,
"n_2": 17.0,
"time": 17.22324086099502,
"vocabulary": 17.0,
"volume": 118.53642239625984
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 80
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts:anonymous_function_81:81",
"entity_name": "anonymous_function_81",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts",
"issues": [],
"line_number": 82,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 82
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts:anonymous_function_84:84",
"entity_name": "anonymous_function_84",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts",
"issues": [],
"line_number": 85,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 64.8,
"length": 12.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 6.0,
"n_2": 6.0,
"time": 3.5999999999999996,
"vocabulary": 8.0,
"volume": 36.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 85
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts:anonymous_function_112:112",
"entity_name": "anonymous_function_112",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts",
"issues": [],
"line_number": 113,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03891930001346158,
"calculated_length": 59.715356810271004,
"difficulty": 3.269230769230769,
"effort": 381.70851936279627,
"length": 28.0,
"n1": 5.0,
"n2": 13.0,
"n_1": 11.0,
"n_2": 17.0,
"time": 21.206028853488682,
"vocabulary": 18.0,
"volume": 116.75790004038474
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 113
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts:anonymous_function_114:114",
"entity_name": "anonymous_function_114",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts",
"issues": [],
"line_number": 115,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 115
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts:anonymous_function_117:117",
"entity_name": "anonymous_function_117",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts",
"issues": [],
"line_number": 118,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 59.39999999999999,
"length": 11.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 3.2999999999999994,
"vocabulary": 8.0,
"volume": 33.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 118
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts:anonymous_function_142:142",
"entity_name": "anonymous_function_142",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts",
"issues": [],
"line_number": 143,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03891930001346158,
"calculated_length": 59.715356810271004,
"difficulty": 3.269230769230769,
"effort": 381.70851936279627,
"length": 28.0,
"n1": 5.0,
"n2": 13.0,
"n_1": 11.0,
"n_2": 17.0,
"time": 21.206028853488682,
"vocabulary": 18.0,
"volume": 116.75790004038474
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 143
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts:anonymous_function_144:144",
"entity_name": "anonymous_function_144",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts",
"issues": [],
"line_number": 145,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 145
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts:anonymous_function_147:147",
"entity_name": "anonymous_function_147",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/live-relay.e2e.test.ts",
"issues": [],
"line_number": 148,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 59.39999999999999,
"length": 11.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 3.2999999999999994,
"vocabulary": 8.0,
"volume": 33.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 148
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts:createRelayServer:32",
"entity_name": "createRelayServer",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts",
"issues": [],
"line_number": 33,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 44,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 61,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 61,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 61,
"nesting_level": 1
},
{
"column": 33,
"kind": "LogicalAnd",
"line": 61,
"nesting_level": 1
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 80,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.7775004017153314,
"calculated_length": 709.6092742966878,
"difficulty": 14.424242424242424,
"effort": 33644.562837863436,
"length": 342.0,
"n1": 14.0,
"n2": 99.0,
"n_1": 138.0,
"n_2": 204.0,
"time": 1869.142379881302,
"vocabulary": 113.0,
"volume": 2332.5012051459944
},
"lines_of_code": 88.0,
"maintainability_index": 56.532722068588455,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 42.0,
"technical_debt_score": 38.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 33
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts:anonymous_function_36:36",
"entity_name": "anonymous_function_36",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts",
"issues": [],
"line_number": 37,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 37
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts:anonymous_function_37:37",
"entity_name": "anonymous_function_37",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts",
"issues": [],
"line_number": 38,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 38
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts:anonymous_function_38:38",
"entity_name": "anonymous_function_38",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts",
"issues": [],
"line_number": 39,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 39
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts:anonymous_function_39:39",
"entity_name": "anonymous_function_39",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts",
"issues": [],
"line_number": 40,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.5,
"effort": 31.019550008653873,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 6.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 40
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts:anonymous_function_42:42",
"entity_name": "anonymous_function_42",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts",
"issues": [],
"line_number": 43,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 44,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06094556545470973,
"calculated_length": 78.25484338853101,
"difficulty": 5.133333333333333,
"effort": 938.5617080025297,
"length": 41.0,
"n1": 7.0,
"n2": 15.0,
"n_1": 19.0,
"n_2": 22.0,
"time": 52.14231711125165,
"vocabulary": 22.0,
"volume": 182.83669636412918
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 6.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 43
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts:anonymous_function_55:55",
"entity_name": "anonymous_function_55",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts",
"issues": [],
"line_number": 56,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 61,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 61,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 61,
"nesting_level": 1
},
{
"column": 33,
"kind": "LogicalAnd",
"line": 61,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09486655151509803,
"calculated_length": 120.76799089133478,
"difficulty": 6.857142857142857,
"effort": 1951.5404883105878,
"length": 58.0,
"n1": 9.0,
"n2": 21.0,
"n_1": 26.0,
"n_2": 32.0,
"time": 108.41891601725487,
"vocabulary": 30.0,
"volume": 284.5996545452941
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 7.0,
"technical_debt_score": 17.8
},
"recommendations": [],
"severity": "Low",
"start_line": 56
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts:anonymous_function_69:69",
"entity_name": "anonymous_function_69",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts",
"issues": [],
"line_number": 70,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "ConditionalExpression",
"line": 80,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2105210353593042,
"calculated_length": 216.74977452827116,
"difficulty": 7.45945945945946,
"effort": 4711.119385878484,
"length": 115.0,
"n1": 8.0,
"n2": 37.0,
"n_1": 46.0,
"n_2": 69.0,
"time": 261.7288547710269,
"vocabulary": 45.0,
"volume": 631.5631060779126
},
"lines_of_code": 23.0,
"maintainability_index": 86.21436479226944,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 12.0,
"technical_debt_score": 9.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 70
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts:anonymous_function_77:77",
"entity_name": "anonymous_function_77",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts",
"issues": [],
"line_number": 78,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "ConditionalExpression",
"line": 80,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04955915432350849,
"calculated_length": 63.61549134016113,
"difficulty": 4.846153846153847,
"effort": 720.5138590110082,
"length": 35.0,
"n1": 6.0,
"n2": 13.0,
"n_1": 14.0,
"n_2": 21.0,
"time": 40.02854772283379,
"vocabulary": 19.0,
"volume": 148.67746297052548
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 78
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts:anonymous_function_85:85",
"entity_name": "anonymous_function_85",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts",
"issues": [],
"line_number": 86,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.00655049481813441,
"calculated_length": 12.754887502163468,
"difficulty": 1.5,
"effort": 29.47722668160484,
"length": 7.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 4.0,
"time": 1.6376237045336022,
"vocabulary": 7.0,
"volume": 19.651484454403228
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 86
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts:anonymous_function_89:89",
"entity_name": "anonymous_function_89",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts",
"issues": [],
"line_number": 90,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 48.599999999999994,
"length": 9.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 2.6999999999999997,
"vocabulary": 8.0,
"volume": 27.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 90
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts:start:95",
"entity_name": "start",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts",
"issues": [],
"line_number": 96,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04087462841250339,
"calculated_length": 54.62919048309068,
"difficulty": 3.541666666666667,
"effort": 434.2929268828485,
"length": 30.0,
"n1": 5.0,
"n2": 12.0,
"n_1": 13.0,
"n_2": 17.0,
"time": 24.12738482682492,
"vocabulary": 17.0,
"volume": 122.62388523751017
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 96
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts:anonymous_function_96:96",
"entity_name": "anonymous_function_96",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts",
"issues": [],
"line_number": 97,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.032070477557222796,
"calculated_length": 37.974168451037094,
"difficulty": 2.25,
"effort": 216.47572351125388,
"length": 26.0,
"n1": 3.0,
"n2": 10.0,
"n_1": 11.0,
"n_2": 15.0,
"time": 12.026429083958549,
"vocabulary": 13.0,
"volume": 96.21143267166839
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 97
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts:anonymous_function_98:98",
"entity_name": "anonymous_function_98",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts",
"issues": [],
"line_number": 99,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.36452797660028,
"difficulty": 1.5,
"effort": 45.0,
"length": 10.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 5.0,
"time": 2.5,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 99
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts:stop:105",
"entity_name": "stop",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts",
"issues": [],
"line_number": 106,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04672720264787944,
"calculated_length": 63.61549134016113,
"difficulty": 3.9230769230769234,
"effort": 549.9432311635042,
"length": 33.0,
"n1": 6.0,
"n2": 13.0,
"n_1": 16.0,
"n_2": 17.0,
"time": 30.552401731305785,
"vocabulary": 19.0,
"volume": 140.1816079436383
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 106
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts:anonymous_function_106:106",
"entity_name": "anonymous_function_106",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts",
"issues": [],
"line_number": 107,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03776660909088234,
"calculated_length": 46.05374780501027,
"difficulty": 2.727272727272727,
"effort": 308.99952892540097,
"length": 29.0,
"n1": 4.0,
"n2": 11.0,
"n_1": 14.0,
"n_2": 15.0,
"time": 17.16664049585561,
"vocabulary": 15.0,
"volume": 113.29982727264704
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 107
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts:anonymous_function_110:110",
"entity_name": "anonymous_function_110",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts",
"issues": [],
"line_number": 111,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 27.14210625757214,
"length": 7.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 3.0,
"time": 1.5078947920873411,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 111
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts:anonymous_function_111:111",
"entity_name": "anonymous_function_111",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts",
"issues": [],
"line_number": 112,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 0.0,
"difficulty": 0.5,
"effort": 1.0,
"length": 2.0,
"n1": 1.0,
"n2": 1.0,
"n_1": 1.0,
"n_2": 1.0,
"time": 0.05555555555555555,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 112
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts:getRelay:116",
"entity_name": "getRelay",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts",
"issues": [],
"line_number": 117,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 117
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts:wrapWebSocket:122",
"entity_name": "wrapWebSocket",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts",
"issues": [],
"line_number": 123,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 127,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04977959745815929,
"calculated_length": 72.95445336320968,
"difficulty": 5.5,
"effort": 821.3633580596282,
"length": 34.0,
"n1": 7.0,
"n2": 14.0,
"n_1": 12.0,
"n_2": 22.0,
"time": 45.63129766997935,
"vocabulary": 21.0,
"volume": 149.33879237447786
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 123
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts:anonymous_function_125:125",
"entity_name": "anonymous_function_125",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts",
"issues": [],
"line_number": 126,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 127,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.019119800003846166,
"calculated_length": 31.019550008653873,
"difficulty": 4.0,
"effort": 229.437600046154,
"length": 16.0,
"n1": 6.0,
"n2": 6.0,
"n_1": 8.0,
"n_2": 8.0,
"time": 12.746533335897444,
"vocabulary": 12.0,
"volume": 57.3594000115385
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 126
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts:anonymous_function_130:130",
"entity_name": "anonymous_function_130",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/node-adapter.ts",
"issues": [],
"line_number": 131,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008422064766172813,
"calculated_length": 12.754887502163468,
"difficulty": 2.25,
"effort": 56.848937171666485,
"length": 9.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 3.158274287314805,
"vocabulary": 7.0,
"volume": 25.26619429851844
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 131
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/relay.ts:constructor:17",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/relay.ts",
"issues": [],
"line_number": 18,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 18
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/relay.ts:addConnection:25",
"entity_name": "addConnection",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/relay.ts",
"issues": [],
"line_number": 26,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 33,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 45,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 51,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 51,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.13788010592913108,
"calculated_length": 138.56842503028855,
"difficulty": 8.625,
"effort": 3567.6477409162662,
"length": 82.0,
"n1": 9.0,
"n2": 24.0,
"n_1": 36.0,
"n_2": 46.0,
"time": 198.2026522731259,
"vocabulary": 33.0,
"volume": 413.6403177873932
},
"lines_of_code": 28.0,
"maintainability_index": 84.53830358250961,
"max_nesting_depth": 2.0,
"parameter_count": 3.0,
"statement_count": 11.0,
"technical_debt_score": 22.799999999999997
},
"recommendations": [],
"severity": "Low",
"start_line": 26
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/relay.ts:removeConnection:59",
"entity_name": "removeConnection",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/relay.ts",
"issues": [],
"line_number": 60,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 62,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 66,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 66,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.07086913731155987,
"calculated_length": 81.32499728470782,
"difficulty": 8.461538461538462,
"effort": 1798.9857932934428,
"length": 47.0,
"n1": 10.0,
"n2": 13.0,
"n_1": 25.0,
"n_2": 22.0,
"time": 99.94365518296905,
"vocabulary": 23.0,
"volume": 212.60741193467962
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 7.0,
"technical_debt_score": 15.600000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 60
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/relay.ts:forward:74",
"entity_name": "forward",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/relay.ts",
"issues": [],
"line_number": 75,
"metrics": {
"cognitive_complexity": 17.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 81,
"nesting_level": 1
},
{
"column": 20,
"kind": "ConditionalExpression",
"line": 83,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 84,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 85,
"nesting_level": 2
},
{
"column": 9,
"kind": "Catch",
"line": 87,
"nesting_level": 3
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 90,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.09578112866747959,
"calculated_length": 123.730172764082,
"difficulty": 10.105263157894736,
"effort": 2903.6805322351706,
"length": 58.0,
"n1": 12.0,
"n2": 19.0,
"n_1": 26.0,
"n_2": 32.0,
"time": 161.31558512417615,
"vocabulary": 31.0,
"volume": 287.34338600243876
},
"lines_of_code": 19.0,
"maintainability_index": 92.25456310665466,
"max_nesting_depth": 3.0,
"parameter_count": 3.0,
"statement_count": 8.0,
"technical_debt_score": 31.400000000000006
},
"recommendations": [],
"severity": "Moderate",
"start_line": 75
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/relay.ts:getSession:98",
"entity_name": "getSession",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/relay.ts",
"issues": [],
"line_number": 99,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 61.021056277764515,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 4.0,
"n_2": 7.0,
"time": 3.3900586820980285,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 99
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/relay.ts:listSessions:105",
"entity_name": "listSessions",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/relay.ts",
"issues": [],
"line_number": 106,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 57.05865002596162,
"length": 12.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 6.0,
"time": 3.169925001442312,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 106
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/relay.ts:closeSession:112",
"entity_name": "closeSession",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/relay.ts",
"issues": [],
"line_number": 113,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 115,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07432386031062163,
"calculated_length": 78.25484338853101,
"difficulty": 6.3,
"effort": 1404.7209598707486,
"length": 50.0,
"n1": 7.0,
"n2": 15.0,
"n_1": 23.0,
"n_2": 27.0,
"time": 78.0400533261527,
"vocabulary": 22.0,
"volume": 222.97158093186488
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 7.0,
"technical_debt_score": 7.400000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 113
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/relay/src/relay.ts:restoreSessions:126",
"entity_name": "restoreSessions",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/relay/src/relay.ts",
"issues": [],
"line_number": 127,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.018450301966065584,
"calculated_length": 27.651484454403228,
"difficulty": 2.857142857142857,
"effort": 158.14544542341932,
"length": 16.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 10.0,
"time": 8.785858079078851,
"vocabulary": 11.0,
"volume": 55.35090589819676
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 127
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/scripts/dev-runner.ts:spawnServer:11",
"entity_name": "spawnServer",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/scripts/dev-runner.ts",
"issues": [],
"line_number": 12,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 20,
"nesting_level": 0
},
{
"column": 18,
"kind": "ConditionalExpression",
"line": 27,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 30,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 30,
"nesting_level": 1
},
{
"column": 24,
"kind": "LogicalAnd",
"line": 30,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.1826842467416373,
"calculated_length": 199.6842868877026,
"difficulty": 8.181818181818182,
"effort": 4484.06787456746,
"length": 101.0,
"n1": 10.0,
"n2": 33.0,
"n_1": 47.0,
"n_2": 54.0,
"time": 249.11488192041446,
"vocabulary": 43.0,
"volume": 548.0527402249119
},
"lines_of_code": 28.0,
"maintainability_index": 82.84515501242372,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 13.0,
"technical_debt_score": 23.2
},
"recommendations": [],
"severity": "Low",
"start_line": 12
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/scripts/dev-runner.ts:anonymous_function_18:18",
"entity_name": "anonymous_function_18",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/scripts/dev-runner.ts",
"issues": [],
"line_number": 19,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 20,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.012180403014586996,
"calculated_length": 23.509775004326936,
"difficulty": 3.75,
"effort": 137.0295339141037,
"length": 11.0,
"n1": 6.0,
"n2": 4.0,
"n_1": 6.0,
"n_2": 5.0,
"time": 7.6127518841168715,
"vocabulary": 10.0,
"volume": 36.541209043760986
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 19
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/scripts/dev-runner.ts:anonymous_function_24:24",
"entity_name": "anonymous_function_24",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/scripts/dev-runner.ts",
"issues": [],
"line_number": 25,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 18,
"kind": "ConditionalExpression",
"line": 27,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 30,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 30,
"nesting_level": 1
},
{
"column": 24,
"kind": "LogicalAnd",
"line": 30,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08405764584655454,
"calculated_length": 86.52224985768008,
"difficulty": 9.642857142857142,
"effort": 2431.6676119896133,
"length": 55.0,
"n1": 10.0,
"n2": 14.0,
"n_1": 28.0,
"n_2": 27.0,
"time": 135.09264511053408,
"vocabulary": 24.0,
"volume": 252.1729375396636
},
"lines_of_code": 14.0,
"maintainability_index": 98.34067267668527,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 8.0,
"technical_debt_score": 17.6
},
"recommendations": [],
"severity": "Low",
"start_line": 25
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/scripts/dev-runner.ts:restartServer:41",
"entity_name": "restartServer",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/scripts/dev-runner.ts",
"issues": [],
"line_number": 42,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 43,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 43,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03681537178317774,
"calculated_length": 61.74860596185444,
"difficulty": 5.3999999999999995,
"effort": 596.4090228874793,
"length": 26.0,
"n1": 9.0,
"n2": 10.0,
"n_1": 14.0,
"n_2": 12.0,
"time": 33.13383460485996,
"vocabulary": 19.0,
"volume": 110.44611534953322
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 10.0
},
"recommendations": [],
"severity": "Low",
"start_line": 42
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/scripts/dev-runner.ts:forwardSignal:51",
"entity_name": "forwardSignal",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/scripts/dev-runner.ts",
"issues": [],
"line_number": 52,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 53,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.028,
"calculated_length": 48.72905595320056,
"difficulty": 3.5999999999999996,
"effort": 302.4,
"length": 21.0,
"n1": 6.0,
"n2": 10.0,
"n_1": 9.0,
"n_2": 12.0,
"time": 16.799999999999997,
"vocabulary": 16.0,
"volume": 84.0
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 52
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/scripts/dev-runner.ts:anonymous_function_58:58",
"entity_name": "anonymous_function_58",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/scripts/dev-runner.ts",
"issues": [],
"line_number": 59,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 59
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/scripts/dev-runner.ts:anonymous_function_59:59",
"entity_name": "anonymous_function_59",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/scripts/dev-runner.ts",
"issues": [],
"line_number": 60,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 60
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/scripts/process-conversation.ts:processConversation:4",
"entity_name": "processConversation",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/scripts/process-conversation.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 6,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 26,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.14361992447445907,
"calculated_length": 154.25742227201613,
"difficulty": 6.0,
"effort": 2585.158640540263,
"length": 84.0,
"n1": 7.0,
"n2": 28.0,
"n_1": 36.0,
"n_2": 48.0,
"time": 143.61992447445905,
"vocabulary": 35.0,
"volume": 430.8597734233772
},
"lines_of_code": 25.0,
"maintainability_index": 86.62214167264172,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 13.4
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-agents.ts:main:4",
"entity_name": "main",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-agents.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 32,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 32,
"nesting_level": 1
},
{
"column": 3,
"kind": "Try",
"line": 43,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 64,
"nesting_level": 1
},
{
"column": 5,
"kind": "Catch",
"line": 68,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.4360327176850708,
"calculated_length": 525.5621136421612,
"difficulty": 9.428571428571429,
"effort": 12333.496871663432,
"length": 202.0,
"n1": 12.0,
"n2": 77.0,
"n_1": 81.0,
"n_2": 121.0,
"time": 685.1942706479684,
"vocabulary": 89.0,
"volume": 1308.0981530552124
},
"lines_of_code": 68.0,
"maintainability_index": 63.94706141337515,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 18.0,
"technical_debt_score": 32.0
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-agents.ts:anonymous_function_29:29",
"entity_name": "anonymous_function_29",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-agents.ts",
"issues": [],
"line_number": 30,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 32,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 32,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.06483772137015052,
"calculated_length": 83.65148445440323,
"difficulty": 5.03125,
"effort": 978.6443569307094,
"length": 43.0,
"n1": 7.0,
"n2": 16.0,
"n_1": 20.0,
"n_2": 23.0,
"time": 54.369130940594964,
"vocabulary": 23.0,
"volume": 194.51316411045156
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 30
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-agents.ts:anonymous_function_74:74",
"entity_name": "anonymous_function_74",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-agents.ts",
"issues": [],
"line_number": 75,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02343611821489358,
"calculated_length": 35.60964047443681,
"difficulty": 3.125,
"effort": 219.71360826462734,
"length": 19.0,
"n1": 5.0,
"n2": 8.0,
"n_1": 9.0,
"n_2": 10.0,
"time": 12.206311570257075,
"vocabulary": 13.0,
"volume": 70.30835464468075
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 75
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-basic-auth.ts:main:4",
"entity_name": "main",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-basic-auth.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 29,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 29,
"nesting_level": 1
},
{
"column": 3,
"kind": "Try",
"line": 40,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 67,
"nesting_level": 1
},
{
"column": 5,
"kind": "Catch",
"line": 71,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.43819129549539293,
"calculated_length": 525.5621136421612,
"difficulty": 9.506493506493507,
"effort": 12496.98811568679,
"length": 203.0,
"n1": 12.0,
"n2": 77.0,
"n_1": 81.0,
"n_2": 122.0,
"time": 694.277117538155,
"vocabulary": 89.0,
"volume": 1314.5738864861787
},
"lines_of_code": 71.0,
"maintainability_index": 63.22199316462775,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 18.0,
"technical_debt_score": 32.599999999999994
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-basic-auth.ts:anonymous_function_26:26",
"entity_name": "anonymous_function_26",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-basic-auth.ts",
"issues": [],
"line_number": 27,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 29,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 29,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.06483772137015052,
"calculated_length": 83.65148445440323,
"difficulty": 5.03125,
"effort": 978.6443569307094,
"length": 43.0,
"n1": 7.0,
"n2": 16.0,
"n_1": 20.0,
"n_2": 23.0,
"time": 54.369130940594964,
"vocabulary": 23.0,
"volume": 194.51316411045156
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 27
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-basic-auth.ts:anonymous_function_77:77",
"entity_name": "anonymous_function_77",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-basic-auth.ts",
"issues": [],
"line_number": 78,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02343611821489358,
"calculated_length": 35.60964047443681,
"difficulty": 3.125,
"effort": 219.71360826462734,
"length": 19.0,
"n1": 5.0,
"n2": 8.0,
"n_1": 9.0,
"n_2": 10.0,
"time": 12.206311570257075,
"vocabulary": 13.0,
"volume": 70.30835464468075
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 78
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-bearer.ts:main:4",
"entity_name": "main",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-bearer.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 32,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 32,
"nesting_level": 1
},
{
"column": 3,
"kind": "Try",
"line": 43,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 64,
"nesting_level": 1
},
{
"column": 5,
"kind": "Catch",
"line": 68,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.4360327176850708,
"calculated_length": 525.5621136421612,
"difficulty": 9.428571428571429,
"effort": 12333.496871663432,
"length": 202.0,
"n1": 12.0,
"n2": 77.0,
"n_1": 81.0,
"n_2": 121.0,
"time": 685.1942706479684,
"vocabulary": 89.0,
"volume": 1308.0981530552124
},
"lines_of_code": 68.0,
"maintainability_index": 63.94706141337515,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 18.0,
"technical_debt_score": 32.0
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-bearer.ts:anonymous_function_29:29",
"entity_name": "anonymous_function_29",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-bearer.ts",
"issues": [],
"line_number": 30,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 32,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 32,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.06483772137015052,
"calculated_length": 83.65148445440323,
"difficulty": 5.03125,
"effort": 978.6443569307094,
"length": 43.0,
"n1": 7.0,
"n2": 16.0,
"n_1": 20.0,
"n_2": 23.0,
"time": 54.369130940594964,
"vocabulary": 23.0,
"volume": 194.51316411045156
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 30
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-bearer.ts:anonymous_function_74:74",
"entity_name": "anonymous_function_74",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-bearer.ts",
"issues": [],
"line_number": 75,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02343611821489358,
"calculated_length": 35.60964047443681,
"difficulty": 3.125,
"effort": 219.71360826462734,
"length": 19.0,
"n1": 5.0,
"n2": 8.0,
"n_1": 9.0,
"n_2": 10.0,
"time": 12.206311570257075,
"vocabulary": 13.0,
"volume": 70.30835464468075
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 75
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-http-headers.ts:main:4",
"entity_name": "main",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-http-headers.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 30,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 30,
"nesting_level": 1
},
{
"column": 3,
"kind": "Try",
"line": 41,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 64,
"nesting_level": 1
},
{
"column": 5,
"kind": "Catch",
"line": 68,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.4327819184486989,
"calculated_length": 517.8620410303663,
"difficulty": 9.473684210526315,
"effort": 12300.117682226179,
"length": 201.0,
"n1": 12.0,
"n2": 76.0,
"n_1": 81.0,
"n_2": 120.0,
"time": 683.3398712347877,
"vocabulary": 88.0,
"volume": 1298.3457553460967
},
"lines_of_code": 68.0,
"maintainability_index": 63.985974742438586,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 18.0,
"technical_debt_score": 32.0
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-http-headers.ts:anonymous_function_27:27",
"entity_name": "anonymous_function_27",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-http-headers.ts",
"issues": [],
"line_number": 28,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 30,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 30,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.06483772137015052,
"calculated_length": 83.65148445440323,
"difficulty": 5.03125,
"effort": 978.6443569307094,
"length": 43.0,
"n1": 7.0,
"n2": 16.0,
"n_1": 20.0,
"n_2": 23.0,
"time": 54.369130940594964,
"vocabulary": 23.0,
"volume": 194.51316411045156
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 28
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-http-headers.ts:anonymous_function_74:74",
"entity_name": "anonymous_function_74",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-http-headers.ts",
"issues": [],
"line_number": 75,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02343611821489358,
"calculated_length": 35.60964047443681,
"difficulty": 3.125,
"effort": 219.71360826462734,
"length": 19.0,
"n1": 5.0,
"n2": 8.0,
"n_1": 9.0,
"n_2": 10.0,
"time": 12.206311570257075,
"vocabulary": 13.0,
"volume": 70.30835464468075
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 75
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-http.ts:main:4",
"entity_name": "main",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-http.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 25,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 25,
"nesting_level": 1
},
{
"column": 3,
"kind": "Try",
"line": 36,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 57,
"nesting_level": 1
},
{
"column": 5,
"kind": "Catch",
"line": 61,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.4015238335160262,
"calculated_length": 464.50773752634757,
"difficulty": 9.826086956521738,
"effort": 11836.224309733292,
"length": 190.0,
"n1": 12.0,
"n2": 69.0,
"n_1": 77.0,
"n_2": 113.0,
"time": 657.5680172074051,
"vocabulary": 81.0,
"volume": 1204.5715005480786
},
"lines_of_code": 61.0,
"maintainability_index": 66.13567165670293,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 17.0,
"technical_debt_score": 30.599999999999998
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-http.ts:anonymous_function_22:22",
"entity_name": "anonymous_function_22",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-http.ts",
"issues": [],
"line_number": 23,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 25,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 25,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.06483772137015052,
"calculated_length": 83.65148445440323,
"difficulty": 5.03125,
"effort": 978.6443569307094,
"length": 43.0,
"n1": 7.0,
"n2": 16.0,
"n_1": 20.0,
"n_2": 23.0,
"time": 54.369130940594964,
"vocabulary": 23.0,
"volume": 194.51316411045156
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 23
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-http.ts:anonymous_function_67:67",
"entity_name": "anonymous_function_67",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-http.ts",
"issues": [],
"line_number": 68,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02343611821489358,
"calculated_length": 35.60964047443681,
"difficulty": 3.125,
"effort": 219.71360826462734,
"length": 19.0,
"n1": 5.0,
"n2": 8.0,
"n_1": 9.0,
"n_2": 10.0,
"time": 12.206311570257075,
"vocabulary": 13.0,
"volume": 70.30835464468075
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 68
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-servers.ts:main:4",
"entity_name": "main",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-servers.ts",
"issues": [
{
"description": "Cognitive complexity of 28.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-servers.ts:main:4",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-servers.ts:5",
"metric_value": 28.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 5,
"metrics": {
"cognitive_complexity": 28.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 30,
"nesting_level": 0
},
{
"column": 14,
"kind": "If",
"line": 32,
"nesting_level": 1
},
{
"column": 43,
"kind": "LogicalOr",
"line": 33,
"nesting_level": 2
},
{
"column": 14,
"kind": "If",
"line": 34,
"nesting_level": 2
},
{
"column": 14,
"kind": "If",
"line": 36,
"nesting_level": 3
},
{
"column": 22,
"kind": "LogicalOr",
"line": 37,
"nesting_level": 4
},
{
"column": 9,
"kind": "If",
"line": 38,
"nesting_level": 4
},
{
"column": 3,
"kind": "Try",
"line": 52,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 73,
"nesting_level": 1
},
{
"column": 5,
"kind": "Catch",
"line": 77,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.630871154753576,
"calculated_length": 515.2671181230253,
"difficulty": 14.213333333333333,
"effort": 26900.34603869248,
"length": 293.0,
"n1": 13.0,
"n2": 75.0,
"n_1": 129.0,
"n_2": 164.0,
"time": 1494.463668816249,
"vocabulary": 88.0,
"volume": 1892.613464260728
},
"lines_of_code": 77.0,
"maintainability_index": 58.86263968728025,
"max_nesting_depth": 4.0,
"parameter_count": 0.0,
"statement_count": 26.0,
"technical_debt_score": 59.80000000000001
},
"recommendations": [],
"severity": "High",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-servers.ts:anonymous_function_22:22",
"entity_name": "anonymous_function_22",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-servers.ts",
"issues": [],
"line_number": 23,
"metrics": {
"cognitive_complexity": 23.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 30,
"nesting_level": 0
},
{
"column": 14,
"kind": "If",
"line": 32,
"nesting_level": 1
},
{
"column": 43,
"kind": "LogicalOr",
"line": 33,
"nesting_level": 2
},
{
"column": 14,
"kind": "If",
"line": 34,
"nesting_level": 2
},
{
"column": 14,
"kind": "If",
"line": 36,
"nesting_level": 3
},
{
"column": 22,
"kind": "LogicalOr",
"line": 37,
"nesting_level": 4
},
{
"column": 9,
"kind": "If",
"line": 38,
"nesting_level": 4
}
],
"halstead": {
"bugs": 0.24166666666666667,
"calculated_length": 134.03910001730776,
"difficulty": 12.166666666666666,
"effort": 8820.833333333332,
"length": 145.0,
"n1": 8.0,
"n2": 24.0,
"n_1": 72.0,
"n_2": 73.0,
"time": 490.04629629629625,
"vocabulary": 32.0,
"volume": 725.0
},
"lines_of_code": 21.0,
"maintainability_index": 85.59064390363622,
"max_nesting_depth": 4.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 38.60000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 23
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-servers.ts:anonymous_function_83:83",
"entity_name": "anonymous_function_83",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/scripts/test-codex-mcp-servers.ts",
"issues": [],
"line_number": 84,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02343611821489358,
"calculated_length": 35.60964047443681,
"difficulty": 3.125,
"effort": 219.71360826462734,
"length": 19.0,
"n1": 5.0,
"n2": 8.0,
"n_1": 9.0,
"n_2": 10.0,
"time": 12.206311570257075,
"vocabulary": 13.0,
"volume": 70.30835464468075
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 84
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts:createMockLogger:3",
"entity_name": "createMockLogger",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts",
"issues": [],
"line_number": 4,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.024360806029173992,
"calculated_length": 24.406371956566694,
"difficulty": 2.7857142857142856,
"effort": 203.58673610095406,
"length": 22.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 9.0,
"n_2": 13.0,
"time": 11.310374227830781,
"vocabulary": 10.0,
"volume": 73.08241808752197
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 4
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts:createMockTransport:12",
"entity_name": "createMockTransport",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts",
"issues": [],
"line_number": 13,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.11122285350045975,
"calculated_length": 127.70604521880493,
"difficulty": 4.9,
"effort": 1634.9759464567585,
"length": 68.0,
"n1": 5.0,
"n2": 25.0,
"n_1": 19.0,
"n_2": 49.0,
"time": 90.83199702537547,
"vocabulary": 30.0,
"volume": 333.66856050137926
},
"lines_of_code": 37.0,
"maintainability_index": 82.06035934957515,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 15.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 13
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts:anonymous_function_15:15",
"entity_name": "anonymous_function_15",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts",
"issues": [],
"line_number": 16,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 16
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts:anonymous_function_16:16",
"entity_name": "anonymous_function_16",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts",
"issues": [],
"line_number": 17,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 17
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts:anonymous_function_17:17",
"entity_name": "anonymous_function_17",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts",
"issues": [],
"line_number": 18,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 18
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts:anonymous_function_18:18",
"entity_name": "anonymous_function_18",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts",
"issues": [],
"line_number": 19,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 19
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts:anonymous_function_21:21",
"entity_name": "anonymous_function_21",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts",
"issues": [],
"line_number": 22,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 22
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts:anonymous_function_22:22",
"entity_name": "anonymous_function_22",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts",
"issues": [],
"line_number": 23,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 23
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts:anonymous_function_23:23",
"entity_name": "anonymous_function_23",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts",
"issues": [],
"line_number": 24,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 2.25,
"effort": 31.34602928097939,
"length": 6.0,
"n1": 3.0,
"n2": 2.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.7414460711655217,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 24
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts:anonymous_function_25:25",
"entity_name": "anonymous_function_25",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts",
"issues": [],
"line_number": 26,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 26
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts:anonymous_function_27:27",
"entity_name": "anonymous_function_27",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts",
"issues": [],
"line_number": 28,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 2.25,
"effort": 31.34602928097939,
"length": 6.0,
"n1": 3.0,
"n2": 2.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.7414460711655217,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 28
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts:anonymous_function_29:29",
"entity_name": "anonymous_function_29",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts",
"issues": [],
"line_number": 30,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 30
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts:anonymous_function_31:31",
"entity_name": "anonymous_function_31",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts",
"issues": [],
"line_number": 32,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 2.25,
"effort": 31.34602928097939,
"length": 6.0,
"n1": 3.0,
"n2": 2.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.7414460711655217,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 32
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts:anonymous_function_33:33",
"entity_name": "anonymous_function_33",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts",
"issues": [],
"line_number": 34,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts:anonymous_function_35:35",
"entity_name": "anonymous_function_35",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts",
"issues": [],
"line_number": 36,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 2.25,
"effort": 31.34602928097939,
"length": 6.0,
"n1": 3.0,
"n2": 2.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.7414460711655217,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 36
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts:anonymous_function_37:37",
"entity_name": "anonymous_function_37",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts",
"issues": [],
"line_number": 38,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 38
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts:anonymous_function_44:44",
"entity_name": "anonymous_function_44",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts",
"issues": [],
"line_number": 45,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 0.0,
"difficulty": 0.5,
"effort": 1.0,
"length": 2.0,
"n1": 1.0,
"n2": 1.0,
"n_1": 1.0,
"n_2": 1.0,
"time": 0.05555555555555555,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 45
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts:anonymous_function_45:45",
"entity_name": "anonymous_function_45",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts",
"issues": [],
"line_number": 46,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 46
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts:anonymous_function_46:46",
"entity_name": "anonymous_function_46",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts",
"issues": [],
"line_number": 47,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 47
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts:anonymous_function_47:47",
"entity_name": "anonymous_function_47",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts",
"issues": [],
"line_number": 48,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 48
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts:anonymous_function_51:51",
"entity_name": "anonymous_function_51",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts",
"issues": [],
"line_number": 52,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.5832662002653854,
"calculated_length": 472.76392511682724,
"difficulty": 11.5,
"effort": 20122.683909155796,
"length": 276.0,
"n1": 9.0,
"n2": 72.0,
"n_1": 92.0,
"n_2": 184.0,
"time": 1117.9268838419887,
"vocabulary": 81.0,
"volume": 1749.7986007961563
},
"lines_of_code": 88.0,
"maintainability_index": 59.40741253526896,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 27.0,
"technical_debt_score": 19.6
},
"recommendations": [],
"severity": "Low",
"start_line": 52
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts:anonymous_function_54:54",
"entity_name": "anonymous_function_54",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts",
"issues": [],
"line_number": 55,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017297158093186486,
"calculated_length": 27.11941547876375,
"difficulty": 4.199999999999999,
"effort": 217.9441919741497,
"length": 15.0,
"n1": 6.0,
"n2": 5.0,
"n_1": 8.0,
"n_2": 7.0,
"time": 12.10801066523054,
"vocabulary": 11.0,
"volume": 51.89147427955946
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 55
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts:anonymous_function_61:61",
"entity_name": "anonymous_function_61",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts",
"issues": [],
"line_number": 62,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.5199452629459215,
"calculated_length": 418.58149633206114,
"difficulty": 9.121212121212121,
"effort": 14227.593104247488,
"length": 252.0,
"n1": 7.0,
"n2": 66.0,
"n_1": 80.0,
"n_2": 172.0,
"time": 790.4218391248604,
"vocabulary": 73.0,
"volume": 1559.8357888377645
},
"lines_of_code": 77.0,
"maintainability_index": 62.16820584405559,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 21.0,
"technical_debt_score": 17.400000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 62
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts:anonymous_function_69:69",
"entity_name": "anonymous_function_69",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.test.ts",
"issues": [],
"line_number": 70,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 70
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_64:64",
"entity_name": "anonymous_function_64",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 65,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.5,
"effort": 31.019550008653873,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 6.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 65
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_65:65",
"entity_name": "anonymous_function_65",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 66,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.5,
"effort": 31.019550008653873,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 6.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 66
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_66:66",
"entity_name": "anonymous_function_66",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 67,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.5,
"effort": 31.019550008653873,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 6.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 67
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_67:67",
"entity_name": "anonymous_function_67",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 68,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.5,
"effort": 31.019550008653873,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 6.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 68
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:constructor:241",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 242,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "ConditionalExpression",
"line": 244,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.642857142857143,
"effort": 416.11171883370565,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 12.0,
"n_2": 13.0,
"time": 23.11731771298365,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 242
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:connect:253",
"entity_name": "connect",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 254,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 255,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 258,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07237699129691222,
"calculated_length": 81.83229392178727,
"difficulty": 6.107142857142858,
"effort": 1326.0498762612847,
"length": 48.0,
"n1": 9.0,
"n2": 14.0,
"n_1": 29.0,
"n_2": 19.0,
"time": 73.66943757007137,
"vocabulary": 23.0,
"volume": 217.13097389073664
},
"lines_of_code": 16.0,
"maintainability_index": 97.41545886323705,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 12.4
},
"recommendations": [],
"severity": "Low",
"start_line": 254
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_262:262",
"entity_name": "anonymous_function_262",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 263,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.016906266674359,
"calculated_length": 19.60964047443681,
"difficulty": 2.8,
"effort": 142.01264006461557,
"length": 16.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 9.0,
"n_2": 7.0,
"time": 7.889591114700865,
"vocabulary": 9.0,
"volume": 50.718800023076994
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 263
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:attemptConnect:271",
"entity_name": "attemptConnect",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [
{
"description": "Cyclomatic complexity of 17.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:attemptConnect:271",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:272",
"metric_value": 17.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 50.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:attemptConnect:271",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:272",
"metric_value": 50.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 272,
"metrics": {
"cognitive_complexity": 50.0,
"cyclomatic_complexity": 17.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 273,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 278,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 283,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 287,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 304,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 314,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 319,
"nesting_level": 2
},
{
"column": 17,
"kind": "ConditionalExpression",
"line": 324,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 334,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 336,
"nesting_level": 3
},
{
"column": 17,
"kind": "If",
"line": 339,
"nesting_level": 4
},
{
"column": 19,
"kind": "LogicalOr",
"line": 340,
"nesting_level": 5
},
{
"column": 11,
"kind": "If",
"line": 352,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 362,
"nesting_level": 2
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 364,
"nesting_level": 2
},
{
"column": 26,
"kind": "ConditionalExpression",
"line": 367,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.6415316224402399,
"calculated_length": 376.5781431779841,
"difficulty": 19.227272727272727,
"effort": 37004.71040348474,
"length": 314.0,
"n1": 15.0,
"n2": 55.0,
"n_1": 173.0,
"n_2": 141.0,
"time": 2055.8172446380413,
"vocabulary": 70.0,
"volume": 1924.5948673207195
},
"lines_of_code": 97.0,
"maintainability_index": 53.65483416484922,
"max_nesting_depth": 5.0,
"parameter_count": 0.0,
"statement_count": 52.0,
"technical_debt_score": 93.39999999999999
},
"recommendations": [],
"severity": "Critical",
"start_line": 272
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_302:302",
"entity_name": "anonymous_function_302",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 303,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 304,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.04533333333333334,
"calculated_length": 48.72905595320056,
"difficulty": 3.9000000000000004,
"effort": 530.4000000000001,
"length": 34.0,
"n1": 6.0,
"n2": 10.0,
"n_1": 21.0,
"n_2": 13.0,
"time": 29.466666666666672,
"vocabulary": 16.0,
"volume": 136.0
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 8.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 303
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_312:312",
"entity_name": "anonymous_function_312",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 313,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 314,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 319,
"nesting_level": 2
},
{
"column": 17,
"kind": "ConditionalExpression",
"line": 324,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.059470985188210194,
"calculated_length": 62.6710344630571,
"difficulty": 5.541666666666666,
"effort": 988.7051287539944,
"length": 42.0,
"n1": 7.0,
"n2": 12.0,
"n_1": 23.0,
"n_2": 19.0,
"time": 54.928062708555245,
"vocabulary": 19.0,
"volume": 178.41295556463058
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 18.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 313
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_327:327",
"entity_name": "anonymous_function_327",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 328,
"metrics": {
"cognitive_complexity": 21.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 334,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 336,
"nesting_level": 3
},
{
"column": 17,
"kind": "If",
"line": 339,
"nesting_level": 4
},
{
"column": 19,
"kind": "LogicalOr",
"line": 340,
"nesting_level": 5
},
{
"column": 11,
"kind": "If",
"line": 352,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.15869404584083402,
"calculated_length": 113.92990370430175,
"difficulty": 11.31578947368421,
"effort": 5387.245240386207,
"length": 98.0,
"n1": 10.0,
"n2": 19.0,
"n_1": 55.0,
"n_2": 43.0,
"time": 299.2914022436782,
"vocabulary": 29.0,
"volume": 476.082137522502
},
"lines_of_code": 31.0,
"maintainability_index": 81.9283372220805,
"max_nesting_depth": 5.0,
"parameter_count": 1.0,
"statement_count": 18.0,
"technical_debt_score": 35.0
},
"recommendations": [],
"severity": "Moderate",
"start_line": 328
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_336:336",
"entity_name": "anonymous_function_336",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 337,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 17,
"kind": "If",
"line": 339,
"nesting_level": 4
},
{
"column": 19,
"kind": "LogicalOr",
"line": 340,
"nesting_level": 5
}
],
"halstead": {
"bugs": 0.05239110599913755,
"calculated_length": 62.6710344630571,
"difficulty": 4.666666666666666,
"effort": 733.4754839879256,
"length": 37.0,
"n1": 7.0,
"n2": 12.0,
"n_1": 21.0,
"n_2": 16.0,
"time": 40.7486379993292,
"vocabulary": 19.0,
"volume": 157.17331799741265
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 5.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 16.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 337
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_359:359",
"entity_name": "anonymous_function_359",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 360,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.0,
"difficulty": 1.5,
"effort": 15.0,
"length": 5.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.8333333333333334,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 360
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:resolveConnect:370",
"entity_name": "resolveConnect",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 371,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 372,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.02767545294909838,
"calculated_length": 27.11941547876375,
"difficulty": 5.4,
"effort": 448.3423377753938,
"length": 24.0,
"n1": 6.0,
"n2": 5.0,
"n_1": 15.0,
"n_2": 9.0,
"time": 24.907907654188545,
"vocabulary": 11.0,
"volume": 83.02635884729514
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 371
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:rejectConnect:379",
"entity_name": "rejectConnect",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 380,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 381,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03330395746326983,
"calculated_length": 35.161259458730164,
"difficulty": 5.142857142857142,
"effort": 513.832486576163,
"length": 27.0,
"n1": 6.0,
"n2": 7.0,
"n_1": 15.0,
"n_2": 12.0,
"time": 28.546249254231277,
"vocabulary": 13.0,
"volume": 99.91187238980949
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 380
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:close:388",
"entity_name": "close",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 389,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 394,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 399,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 400,
"nesting_level": 2
},
{
"column": 9,
"kind": "Catch",
"line": 402,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.11659154388306171,
"calculated_length": 114.96788691072805,
"difficulty": 6.5249999999999995,
"effort": 2282.279471510933,
"length": 72.0,
"n1": 9.0,
"n2": 20.0,
"n_1": 43.0,
"n_2": 29.0,
"time": 126.79330397282962,
"vocabulary": 29.0,
"volume": 349.77463164918515
},
"lines_of_code": 23.0,
"maintainability_index": 88.59709070689112,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 14.0,
"technical_debt_score": 23.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 389
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:ensureConnected:413",
"entity_name": "ensureConnected",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 414,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 415,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 418,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 419,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.04359960364000362,
"calculated_length": 52.529325012980806,
"difficulty": 6.1875,
"effort": 809.3176425675672,
"length": 32.0,
"n1": 9.0,
"n2": 8.0,
"n_1": 21.0,
"n_2": 11.0,
"time": 44.962091253753734,
"vocabulary": 17.0,
"volume": 130.79881092001085
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 15.8
},
"recommendations": [],
"severity": "Low",
"start_line": 414
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:getConnectionState:426",
"entity_name": "getConnectionState",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 427,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 427
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:subscribeConnectionStatus:430",
"entity_name": "subscribeConnectionStatus",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 431,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02867970000576925,
"calculated_length": 32.0,
"difficulty": 3.0,
"effort": 258.1173000519232,
"length": 24.0,
"n1": 4.0,
"n2": 8.0,
"n_1": 12.0,
"n_2": 12.0,
"time": 14.339850002884624,
"vocabulary": 12.0,
"volume": 86.03910001730775
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 431
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_435:435",
"entity_name": "anonymous_function_435",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 436,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 27.14210625757214,
"length": 7.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 3.0,
"time": 1.5078947920873411,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 436
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:isConnected:440",
"entity_name": "isConnected",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 441,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.5,
"effort": 33.68825906469125,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 1.871569948038403,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 441
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:isConnecting:444",
"entity_name": "isConnecting",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 445,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.5,
"effort": 33.68825906469125,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 1.871569948038403,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 445
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:lastError:448",
"entity_name": "lastError",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 449,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 15.509775004326936,
"length": 6.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.861654166907052,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 449
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:subscribe:456",
"entity_name": "subscribe",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 457,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.018824259204361718,
"calculated_length": 23.509775004326936,
"difficulty": 3.0,
"effort": 169.41833283925547,
"length": 17.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 8.0,
"n_2": 9.0,
"time": 9.41212960218086,
"vocabulary": 10.0,
"volume": 56.47277761308516
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 457
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_458:458",
"entity_name": "anonymous_function_458",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 459,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 13.931568569324174,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 0.7739760316291208,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 459
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:on:463",
"entity_name": "on",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 464,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 468,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 475,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 482,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 486,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.15805768240656487,
"calculated_length": 136.1612434150308,
"difficulty": 12.0,
"effort": 5690.076566636336,
"length": 94.0,
"n1": 11.0,
"n2": 22.0,
"n_1": 46.0,
"n_2": 48.0,
"time": 316.11536481312976,
"vocabulary": 33.0,
"volume": 474.17304721969464
},
"lines_of_code": 26.0,
"maintainability_index": 85.02865994937,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 14.0,
"technical_debt_score": 21.6
},
"recommendations": [],
"severity": "Low",
"start_line": 464
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_479:479",
"entity_name": "anonymous_function_479",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 480,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 482,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 486,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.042666666666666665,
"calculated_length": 48.0,
"difficulty": 7.0,
"effort": 896.0,
"length": 32.0,
"n1": 8.0,
"n2": 8.0,
"n_1": 18.0,
"n_2": 14.0,
"time": 49.77777777777778,
"vocabulary": 16.0,
"volume": 128.0
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 11.0
},
"recommendations": [],
"severity": "Low",
"start_line": 480
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:sendSessionMessage:495",
"entity_name": "sendSessionMessage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 496,
"metrics": {
"cognitive_complexity": 19.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 497,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 497,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 498,
"nesting_level": 2
},
{
"column": 5,
"kind": "Try",
"line": 504,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 506,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 507,
"nesting_level": 2
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 510,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.11455398737843758,
"calculated_length": 146.21321194585474,
"difficulty": 9.454545454545455,
"effort": 3249.1676420065937,
"length": 67.0,
"n1": 13.0,
"n2": 22.0,
"n_1": 35.0,
"n_2": 32.0,
"time": 180.50931344481077,
"vocabulary": 35.0,
"volume": 343.66196213531276
},
"lines_of_code": 16.0,
"maintainability_index": 93.87783846837432,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 34.400000000000006
},
"recommendations": [],
"severity": "Moderate",
"start_line": 496
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:sendSessionMessageStrict:513",
"entity_name": "sendSessionMessageStrict",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 514,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 515,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 515,
"nesting_level": 2
},
{
"column": 5,
"kind": "Try",
"line": 519,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 521,
"nesting_level": 2
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 522,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.08833333333333333,
"calculated_length": 129.45811190640111,
"difficulty": 8.399999999999999,
"effort": 2225.9999999999995,
"length": 53.0,
"n1": 12.0,
"n2": 20.0,
"n_1": 25.0,
"n_2": 28.0,
"time": 123.66666666666664,
"vocabulary": 32.0,
"volume": 265.0
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 24.4
},
"recommendations": [],
"severity": "Low",
"start_line": 514
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:sendUserMessage:525",
"entity_name": "sendUserMessage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 526,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009509775004326936,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 42.793987519471216,
"length": 9.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 2.377443751081734,
"vocabulary": 9.0,
"volume": 28.52932501298081
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 526
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:clearAgentAttention:529",
"entity_name": "clearAgentAttention",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 530,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009509775004326936,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 42.793987519471216,
"length": 9.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 2.377443751081734,
"vocabulary": 9.0,
"volume": 28.52932501298081
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 530
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:sendHeartbeat:533",
"entity_name": "sendHeartbeat",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 534,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0472591500163462,
"calculated_length": 63.35824643629125,
"difficulty": 2.7,
"effort": 382.79911513240427,
"length": 34.0,
"n1": 3.0,
"n2": 15.0,
"n_1": 7.0,
"n_2": 27.0,
"time": 21.266617507355793,
"vocabulary": 18.0,
"volume": 141.7774500490386
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 4.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 534
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:registerPushToken:548",
"entity_name": "registerPushToken",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 549,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009509775004326936,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 42.793987519471216,
"length": 9.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 2.377443751081734,
"vocabulary": 9.0,
"volume": 28.52932501298081
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 549
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:requestSessionState:559",
"entity_name": "requestSessionState",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 560,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02665148445440323,
"calculated_length": 42.80863530717374,
"difficulty": 1.9090909090909092,
"effort": 152.6403200570367,
"length": 21.0,
"n1": 3.0,
"n2": 11.0,
"n_1": 7.0,
"n_2": 14.0,
"time": 8.480017780946483,
"vocabulary": 14.0,
"volume": 79.9544533632097
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 560
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:loadVoiceConversation:568",
"entity_name": "loadVoiceConversation",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 569,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 581,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 584,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09743252743760854,
"calculated_length": 129.69058447171096,
"difficulty": 5.25,
"effort": 1534.5623071423345,
"length": 59.0,
"n1": 7.0,
"n2": 24.0,
"n_1": 23.0,
"n_2": 36.0,
"time": 85.25346150790747,
"vocabulary": 31.0,
"volume": 292.2975823128256
},
"lines_of_code": 25.0,
"maintainability_index": 88.6397951528178,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 10.0,
"technical_debt_score": 14.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 569
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_579:579",
"entity_name": "anonymous_function_579",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 580,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 581,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 584,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 384.1031250772667,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 21.339062504292595,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 580
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:listVoiceConversations:595",
"entity_name": "listVoiceConversations",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 596,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 604,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 607,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09230163890742386,
"calculated_length": 117.75898006442377,
"difficulty": 5.409090909090909,
"effort": 1497.8038677250145,
"length": 57.0,
"n1": 7.0,
"n2": 22.0,
"n_1": 23.0,
"n_2": 34.0,
"time": 83.21132598472303,
"vocabulary": 29.0,
"volume": 276.9049167222716
},
"lines_of_code": 21.0,
"maintainability_index": 91.74563073996771,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 13.4
},
"recommendations": [],
"severity": "Low",
"start_line": 596
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_602:602",
"entity_name": "anonymous_function_602",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 603,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 604,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 607,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 384.1031250772667,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 21.339062504292595,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 603
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:deleteVoiceConversation:618",
"entity_name": "deleteVoiceConversation",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 619,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 631,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 634,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09743252743760854,
"calculated_length": 129.69058447171096,
"difficulty": 5.25,
"effort": 1534.5623071423345,
"length": 59.0,
"n1": 7.0,
"n2": 24.0,
"n_1": 23.0,
"n_2": 36.0,
"time": 85.25346150790747,
"vocabulary": 31.0,
"volume": 292.2975823128256
},
"lines_of_code": 25.0,
"maintainability_index": 88.6397951528178,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 10.0,
"technical_debt_score": 14.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 619
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_629:629",
"entity_name": "anonymous_function_629",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 630,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 631,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 634,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 384.1031250772667,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 21.339062504292595,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 630
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:createAgent:649",
"entity_name": "createAgent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 650,
"metrics": {
"cognitive_complexity": 24.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 11,
"kind": "ConditionalExpression",
"line": 658,
"nesting_level": 1
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 659,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 659,
"nesting_level": 1
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 662,
"nesting_level": 1
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 663,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 668,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 672,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 672,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 676,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 676,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 687,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.34200585313279314,
"calculated_length": 320.2465572937465,
"difficulty": 10.78,
"effort": 11060.46929031453,
"length": 173.0,
"n1": 11.0,
"n2": 50.0,
"n_1": 75.0,
"n_2": 98.0,
"time": 614.470516128585,
"vocabulary": 61.0,
"volume": 1026.0175593983795
},
"lines_of_code": 46.0,
"maintainability_index": 70.16212064883696,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 18.0,
"technical_debt_score": 52.400000000000006
},
"recommendations": [],
"severity": "Moderate",
"start_line": 650
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_666:666",
"entity_name": "anonymous_function_666",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 667,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 668,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 672,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 672,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 676,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 676,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.08931984729433882,
"calculated_length": 68.81274391313339,
"difficulty": 6.857142857142857,
"effort": 1837.4368586263986,
"length": 62.0,
"n1": 6.0,
"n2": 14.0,
"n_1": 30.0,
"n_2": 32.0,
"time": 102.07982547924436,
"vocabulary": 20.0,
"volume": 267.95954188301647
},
"lines_of_code": 13.0,
"maintainability_index": 98.99547317796623,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 24.2
},
"recommendations": [],
"severity": "Low",
"start_line": 667
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_692:692",
"entity_name": "anonymous_function_692",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 693,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 693
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:createAgentExpectFail:697",
"entity_name": "createAgentExpectFail",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 698,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 11,
"kind": "ConditionalExpression",
"line": 708,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 713,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 717,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 717,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.15179730679751238,
"calculated_length": 190.46500593882897,
"difficulty": 6.181818181818182,
"effort": 2815.150053335684,
"length": 85.0,
"n1": 8.0,
"n2": 33.0,
"n_1": 34.0,
"n_2": 51.0,
"time": 156.39722518531576,
"vocabulary": 41.0,
"volume": 455.39192039253714
},
"lines_of_code": 30.0,
"maintainability_index": 82.9205786762831,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 23.2
},
"recommendations": [],
"severity": "Low",
"start_line": 698
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_711:711",
"entity_name": "anonymous_function_711",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 712,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 713,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 717,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 717,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.05142907501778852,
"calculated_length": 58.529325012980806,
"difficulty": 4.75,
"effort": 732.8643190034863,
"length": 37.0,
"n1": 6.0,
"n2": 12.0,
"n_1": 18.0,
"n_2": 19.0,
"time": 40.71468438908258,
"vocabulary": 18.0,
"volume": 154.28722505336555
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 15.4
},
"recommendations": [],
"severity": "Low",
"start_line": 712
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:deleteAgent:729",
"entity_name": "deleteAgent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 730,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 739,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 742,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09247833112722166,
"calculated_length": 128.0419249893113,
"difficulty": 5.565217391304348,
"effort": 1543.9860501240485,
"length": 56.0,
"n1": 8.0,
"n2": 23.0,
"n_1": 24.0,
"n_2": 32.0,
"time": 85.77700278466936,
"vocabulary": 31.0,
"volume": 277.434993381665
},
"lines_of_code": 22.0,
"maintainability_index": 90.98206168776491,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 13.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 730
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_737:737",
"entity_name": "anonymous_function_737",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 738,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 739,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 742,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 384.1031250772667,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 21.339062504292595,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 738
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:listAgents:753",
"entity_name": "listAgents",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 754,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 57.05865002596162,
"length": 12.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 6.0,
"time": 3.169925001442312,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 754
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:getMessageQueue:757",
"entity_name": "getMessageQueue",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 758,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 758
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:clearMessageQueue:761",
"entity_name": "clearMessageQueue",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 762,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.5,
"effort": 17.414460711655217,
"length": 5.0,
"n1": 3.0,
"n2": 2.0,
"n_1": 3.0,
"n_2": 2.0,
"time": 0.9674700395364009,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 762
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:resumeAgent:765",
"entity_name": "resumeAgent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 766,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 11,
"kind": "ConditionalExpression",
"line": 775,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 780,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 784,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 784,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.17119697108983328,
"calculated_length": 248.18895720232226,
"difficulty": 6.036585365853659,
"effort": 3100.335391078079,
"length": 91.0,
"n1": 9.0,
"n2": 41.0,
"n_1": 36.0,
"n_2": 55.0,
"time": 172.24085505989328,
"vocabulary": 50.0,
"volume": 513.5909132694999
},
"lines_of_code": 35.0,
"maintainability_index": 79.7979406919393,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 12.0,
"technical_debt_score": 24.2
},
"recommendations": [],
"severity": "Low",
"start_line": 766
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_778:778",
"entity_name": "anonymous_function_778",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 779,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 780,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 784,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 784,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.05142907501778852,
"calculated_length": 58.529325012980806,
"difficulty": 4.75,
"effort": 732.8643190034863,
"length": 37.0,
"n1": 6.0,
"n2": 12.0,
"n_1": 18.0,
"n_2": 19.0,
"time": 40.71468438908258,
"vocabulary": 18.0,
"volume": 154.28722505336555
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 15.4
},
"recommendations": [],
"severity": "Low",
"start_line": 779
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_797:797",
"entity_name": "anonymous_function_797",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 798,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 798
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:refreshAgent:802",
"entity_name": "refreshAgent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 803,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 815,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 819,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 819,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.1223548917008014,
"calculated_length": 160.5329333131028,
"difficulty": 5.189655172413794,
"effort": 1904.9390897555804,
"length": 71.0,
"n1": 7.0,
"n2": 29.0,
"n_1": 28.0,
"n_2": 43.0,
"time": 105.82994943086558,
"vocabulary": 36.0,
"volume": 367.0646751024042
},
"lines_of_code": 26.0,
"maintainability_index": 86.59003817743096,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 11.0,
"technical_debt_score": 18.8
},
"recommendations": [],
"severity": "Low",
"start_line": 803
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_813:813",
"entity_name": "anonymous_function_813",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 814,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 815,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 819,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 819,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.05142907501778852,
"calculated_length": 58.529325012980806,
"difficulty": 4.75,
"effort": 732.8643190034863,
"length": 37.0,
"n1": 6.0,
"n2": 12.0,
"n_1": 18.0,
"n_2": 19.0,
"time": 40.71468438908258,
"vocabulary": 18.0,
"volume": 154.28722505336555
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 15.4
},
"recommendations": [],
"severity": "Low",
"start_line": 814
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:initializeAgent:830",
"entity_name": "initializeAgent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 831,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 843,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 846,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 856,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.1354457875063527,
"calculated_length": 161.60124350728728,
"difficulty": 8.518518518518519,
"effort": 3461.3923473845693,
"length": 78.0,
"n1": 10.0,
"n2": 27.0,
"n_1": 32.0,
"n_2": 46.0,
"time": 192.2995748546983,
"vocabulary": 37.0,
"volume": 406.3373625190581
},
"lines_of_code": 29.0,
"maintainability_index": 84.29245201924607,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 13.0,
"technical_debt_score": 18.6
},
"recommendations": [],
"severity": "Low",
"start_line": 831
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_841:841",
"entity_name": "anonymous_function_841",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 842,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 843,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 846,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 384.1031250772667,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 21.339062504292595,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 842
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_858:858",
"entity_name": "anonymous_function_858",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 859,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 859
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:sendAgentMessage:865",
"entity_name": "sendAgentMessage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 866,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.051962908341506436,
"calculated_length": 94.43856189774725,
"difficulty": 2.4,
"effort": 374.1329400588464,
"length": 34.0,
"n1": 4.0,
"n2": 20.0,
"n_1": 10.0,
"n_2": 24.0,
"time": 20.785163336602576,
"vocabulary": 24.0,
"volume": 155.88872502451932
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 3.0,
"technical_debt_score": 4.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 866
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:sendMessage:881",
"entity_name": "sendMessage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 882,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01614401422030739,
"calculated_length": 27.651484454403228,
"difficulty": 2.857142857142857,
"effort": 138.3772647454919,
"length": 14.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 4.0,
"n_2": 10.0,
"time": 7.687625819193995,
"vocabulary": 11.0,
"volume": 48.432042660922164
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 1.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 882
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:cancelAgent:889",
"entity_name": "cancelAgent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 890,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01107309364962454,
"calculated_length": 24.406371956566694,
"difficulty": 1.5,
"effort": 49.82892142331043,
"length": 10.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 3.0,
"n_2": 7.0,
"time": 2.7682734124061352,
"vocabulary": 10.0,
"volume": 33.219280948873624
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 890
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:setAgentMode:893",
"entity_name": "setAgentMode",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 894,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014339850002884624,
"calculated_length": 33.284212515144276,
"difficulty": 1.5,
"effort": 64.5293250129808,
"length": 12.0,
"n1": 3.0,
"n2": 9.0,
"n_1": 3.0,
"n_2": 9.0,
"time": 3.584962500721156,
"vocabulary": 12.0,
"volume": 43.01955000865387
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 894
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:restartServer:897",
"entity_name": "restartServer",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 898,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 11,
"kind": "ConditionalExpression",
"line": 905,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 905,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 911,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 917,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 920,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.15536900813392443,
"calculated_length": 188.52932501298082,
"difficulty": 6.890625,
"effort": 3211.7687150184693,
"length": 87.0,
"n1": 9.0,
"n2": 32.0,
"n_1": 38.0,
"n_2": 49.0,
"time": 178.43159527880385,
"vocabulary": 41.0,
"volume": 466.1070244017733
},
"lines_of_code": 33.0,
"maintainability_index": 81.02561808019884,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 13.0,
"technical_debt_score": 26.6
},
"recommendations": [],
"severity": "Low",
"start_line": 898
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_909:909",
"entity_name": "anonymous_function_909",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 910,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 911,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 917,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 920,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05805500935039566,
"calculated_length": 62.6710344630571,
"difficulty": 5.833333333333334,
"effort": 1015.9626636319242,
"length": 41.0,
"n1": 7.0,
"n2": 12.0,
"n_1": 21.0,
"n_2": 20.0,
"time": 56.44237020177357,
"vocabulary": 19.0,
"volume": 174.165028051187
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 15.6
},
"recommendations": [],
"severity": "Low",
"start_line": 910
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:setVoiceConversation:936",
"entity_name": "setVoiceConversation",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 937,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014339850002884624,
"calculated_length": 33.284212515144276,
"difficulty": 1.5,
"effort": 64.5293250129808,
"length": 12.0,
"n1": 3.0,
"n2": 9.0,
"n_1": 3.0,
"n_2": 9.0,
"time": 3.584962500721156,
"vocabulary": 12.0,
"volume": 43.01955000865387
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 937
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:sendRealtimeAudioChunk:940",
"entity_name": "sendRealtimeAudioChunk",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 941,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017767656302935485,
"calculated_length": 42.80863530717374,
"difficulty": 1.5,
"effort": 79.95445336320968,
"length": 14.0,
"n1": 3.0,
"n2": 11.0,
"n_1": 3.0,
"n_2": 11.0,
"time": 4.441914075733871,
"vocabulary": 14.0,
"volume": 53.302968908806456
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 1.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 941
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:startDictationStream:948",
"entity_name": "startDictationStream",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 949,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 952,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 955,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 958,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 969,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 972,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.19027447987904095,
"calculated_length": 174.1007298075732,
"difficulty": 10.0,
"effort": 5708.234396371228,
"length": 108.0,
"n1": 10.0,
"n2": 29.0,
"n_1": 50.0,
"n_2": 58.0,
"time": 317.1241331317349,
"vocabulary": 39.0,
"volume": 570.8234396371229
},
"lines_of_code": 36.0,
"maintainability_index": 78.56217746067439,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 17.0,
"technical_debt_score": 27.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 949
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_950:950",
"entity_name": "anonymous_function_950",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 951,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 952,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 955,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 958,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04818498401250507,
"calculated_length": 44.039100017307746,
"difficulty": 5.666666666666666,
"effort": 819.144728212586,
"length": 37.0,
"n1": 6.0,
"n2": 9.0,
"n_1": 20.0,
"n_2": 17.0,
"time": 45.508040456254776,
"vocabulary": 15.0,
"volume": 144.5549520375152
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 15.0
},
"recommendations": [],
"severity": "Low",
"start_line": 951
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_964:964",
"entity_name": "anonymous_function_964",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 965,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 965
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_967:967",
"entity_name": "anonymous_function_967",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 968,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 969,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 972,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 384.1031250772667,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 21.339062504292595,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 968
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_978:978",
"entity_name": "anonymous_function_978",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 979,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 9.509775004326936,
"difficulty": 2.0,
"effort": 36.18947501009619,
"length": 7.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 4.0,
"time": 2.0105263894497885,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 979
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:sendDictationStreamChunk:986",
"entity_name": "sendDictationStreamChunk",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 987,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.019534452978042596,
"calculated_length": 47.77443751081734,
"difficulty": 1.5,
"effort": 87.90503840119167,
"length": 15.0,
"n1": 3.0,
"n2": 12.0,
"n_1": 3.0,
"n_2": 12.0,
"time": 4.883613244510649,
"vocabulary": 15.0,
"volume": 58.60335893412778
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 4.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 987
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:finishDictationStream:990",
"entity_name": "finishDictationStream",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 991,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 994,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 997,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1008,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1011,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.16496602324491674,
"calculated_length": 163.13526283059372,
"difficulty": 8.678571428571429,
"effort": 4295.008248055155,
"length": 95.0,
"n1": 9.0,
"n2": 28.0,
"n_1": 41.0,
"n_2": 54.0,
"time": 238.61156933639748,
"vocabulary": 37.0,
"volume": 494.89806973475027
},
"lines_of_code": 33.0,
"maintainability_index": 80.94394803173303,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 15.0,
"technical_debt_score": 23.0
},
"recommendations": [],
"severity": "Low",
"start_line": 991
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_992:992",
"entity_name": "anonymous_function_992",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 993,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 994,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 997,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 384.1031250772667,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 21.339062504292595,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 993
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1006:1006",
"entity_name": "anonymous_function_1006",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1007,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1008,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1011,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 384.1031250772667,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 21.339062504292595,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1007
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1017:1017",
"entity_name": "anonymous_function_1017",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1018,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 9.509775004326936,
"difficulty": 2.0,
"effort": 36.18947501009619,
"length": 7.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 4.0,
"time": 2.0105263894497885,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1018
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:cancelDictationStream:1025",
"entity_name": "cancelDictationStream",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1026,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009509775004326936,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 42.793987519471216,
"length": 9.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 2.377443751081734,
"vocabulary": 9.0,
"volume": 28.52932501298081
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1026
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:abortRequest:1029",
"entity_name": "abortRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1030,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008,
"calculated_length": 16.36452797660028,
"difficulty": 1.5,
"effort": 36.0,
"length": 8.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.0,
"vocabulary": 8.0,
"volume": 24.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1030
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:audioPlayed:1033",
"entity_name": "audioPlayed",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1034,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01107309364962454,
"calculated_length": 24.406371956566694,
"difficulty": 1.5,
"effort": 49.82892142331043,
"length": 10.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 3.0,
"n_2": 7.0,
"time": 2.7682734124061352,
"vocabulary": 10.0,
"volume": 33.219280948873624
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1034
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:getCheckoutStatus:1041",
"entity_name": "getCheckoutStatus",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1042,
"metrics": {
"cognitive_complexity": 14.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1046,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1048,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1063,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 1066,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1078,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1081,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.20084528431676543,
"calculated_length": 177.58008562199313,
"difficulty": 7.612903225806452,
"effort": 4587.0471385893525,
"length": 114.0,
"n1": 8.0,
"n2": 31.0,
"n_1": 55.0,
"n_2": 59.0,
"time": 254.83595214385292,
"vocabulary": 39.0,
"volume": 602.5358529502963
},
"lines_of_code": 46.0,
"maintainability_index": 74.08004408993456,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 21.0,
"technical_debt_score": 34.400000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1042
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1059:1059",
"entity_name": "anonymous_function_1059",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1060,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 1063,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 1066,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05710012649612389,
"calculated_length": 72.95445336320968,
"difficulty": 5.0,
"effort": 856.5018974418583,
"length": 39.0,
"n1": 7.0,
"n2": 14.0,
"n_1": 19.0,
"n_2": 20.0,
"time": 47.58343874676991,
"vocabulary": 21.0,
"volume": 171.30037948837168
},
"lines_of_code": 16.0,
"maintainability_index": 98.6482858722248,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 12.4
},
"recommendations": [],
"severity": "Low",
"start_line": 1060
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1061:1061",
"entity_name": "anonymous_function_1061",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1062,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 1063,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 1066,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 384.1031250772667,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 21.339062504292595,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1062
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1079:1079",
"entity_name": "anonymous_function_1079",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1080,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1081,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.019603445838944685,
"calculated_length": 27.11941547876375,
"difficulty": 4.199999999999999,
"effort": 247.003417570703,
"length": 17.0,
"n1": 6.0,
"n2": 5.0,
"n_1": 10.0,
"n_2": 7.0,
"time": 13.722412087261278,
"vocabulary": 11.0,
"volume": 58.81033751683405
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1080
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:getCheckoutDiff:1089",
"entity_name": "getCheckoutDiff",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1090,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1104,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1107,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.11804064955459022,
"calculated_length": 179.65148445440323,
"difficulty": 4.8125,
"effort": 1704.2118779443963,
"length": 67.0,
"n1": 7.0,
"n2": 32.0,
"n_1": 23.0,
"n_2": 44.0,
"time": 94.67843766357757,
"vocabulary": 39.0,
"volume": 354.12194866377064
},
"lines_of_code": 27.0,
"maintainability_index": 86.39530779460614,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 10.0,
"technical_debt_score": 14.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1090
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1102:1102",
"entity_name": "anonymous_function_1102",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1103,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1104,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1107,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 384.1031250772667,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 21.339062504292595,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1103
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:checkoutCommit:1118",
"entity_name": "checkoutCommit",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1119,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1134,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1137,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.11870746629584124,
"calculated_length": 148.03344701281688,
"difficulty": 5.833333333333334,
"effort": 2077.380660177222,
"length": 70.0,
"n1": 7.0,
"n2": 27.0,
"n_1": 25.0,
"n_2": 45.0,
"time": 115.41003667651233,
"vocabulary": 34.0,
"volume": 356.12239888752373
},
"lines_of_code": 28.0,
"maintainability_index": 85.77685959308833,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 10.0,
"technical_debt_score": 14.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 1119
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1132:1132",
"entity_name": "anonymous_function_1132",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1133,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1134,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1137,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 384.1031250772667,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 21.339062504292595,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1133
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:checkoutMerge:1148",
"entity_name": "checkoutMerge",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1149,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1165,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1168,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.1391822584300392,
"calculated_length": 179.65148445440323,
"difficulty": 5.796875,
"effort": 2420.4664630099005,
"length": 79.0,
"n1": 7.0,
"n2": 32.0,
"n_1": 26.0,
"n_2": 53.0,
"time": 134.4703590561056,
"vocabulary": 39.0,
"volume": 417.54677529011764
},
"lines_of_code": 29.0,
"maintainability_index": 84.3809453660999,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 10.0,
"technical_debt_score": 15.0
},
"recommendations": [],
"severity": "Low",
"start_line": 1149
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1163:1163",
"entity_name": "anonymous_function_1163",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1164,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1165,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1168,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 384.1031250772667,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 21.339062504292595,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1164
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:checkoutMergeFromBase:1179",
"entity_name": "checkoutMergeFromBase",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1180,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1195,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1198,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.11870746629584124,
"calculated_length": 148.03344701281688,
"difficulty": 5.833333333333334,
"effort": 2077.380660177222,
"length": 70.0,
"n1": 7.0,
"n2": 27.0,
"n_1": 25.0,
"n_2": 45.0,
"time": 115.41003667651233,
"vocabulary": 34.0,
"volume": 356.12239888752373
},
"lines_of_code": 28.0,
"maintainability_index": 85.77685959308833,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 10.0,
"technical_debt_score": 14.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 1180
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1193:1193",
"entity_name": "anonymous_function_1193",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1194,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1195,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1198,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 384.1031250772667,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 21.339062504292595,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1194
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:checkoutPush:1209",
"entity_name": "checkoutPush",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1210,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1219,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1222,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09743252743760854,
"calculated_length": 129.69058447171096,
"difficulty": 5.25,
"effort": 1534.5623071423345,
"length": 59.0,
"n1": 7.0,
"n2": 24.0,
"n_1": 23.0,
"n_2": 36.0,
"time": 85.25346150790747,
"vocabulary": 31.0,
"volume": 292.2975823128256
},
"lines_of_code": 22.0,
"maintainability_index": 90.71069577127793,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 10.0,
"technical_debt_score": 13.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1210
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1217:1217",
"entity_name": "anonymous_function_1217",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1218,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1219,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1222,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 384.1031250772667,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 21.339062504292595,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1218
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:checkoutPrCreate:1233",
"entity_name": "checkoutPrCreate",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1234,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1250,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1253,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.12823207542362416,
"calculated_length": 154.25742227201613,
"difficulty": 6.125,
"effort": 2356.264385909094,
"length": 75.0,
"n1": 7.0,
"n2": 28.0,
"n_1": 26.0,
"n_2": 49.0,
"time": 130.90357699494967,
"vocabulary": 35.0,
"volume": 384.6962262708725
},
"lines_of_code": 29.0,
"maintainability_index": 84.80704675332211,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 10.0,
"technical_debt_score": 15.0
},
"recommendations": [],
"severity": "Low",
"start_line": 1234
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1248:1248",
"entity_name": "anonymous_function_1248",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1249,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1250,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1253,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 384.1031250772667,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 21.339062504292595,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1249
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:checkoutPrStatus:1264",
"entity_name": "checkoutPrStatus",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1265,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1277,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1280,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09743252743760854,
"calculated_length": 129.69058447171096,
"difficulty": 5.25,
"effort": 1534.5623071423345,
"length": 59.0,
"n1": 7.0,
"n2": 24.0,
"n_1": 23.0,
"n_2": 36.0,
"time": 85.25346150790747,
"vocabulary": 31.0,
"volume": 292.2975823128256
},
"lines_of_code": 25.0,
"maintainability_index": 88.6397951528178,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 10.0,
"technical_debt_score": 14.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1265
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1275:1275",
"entity_name": "anonymous_function_1275",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1276,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1277,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1280,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 384.1031250772667,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 21.339062504292595,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1276
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:getPaseoWorktreeList:1291",
"entity_name": "getPaseoWorktreeList",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1292,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1305,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1308,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.11333333333333333,
"calculated_length": 135.74788919877133,
"difficulty": 6.02,
"effort": 2046.8,
"length": 68.0,
"n1": 7.0,
"n2": 25.0,
"n_1": 25.0,
"n_2": 43.0,
"time": 113.71111111111111,
"vocabulary": 32.0,
"volume": 340.0
},
"lines_of_code": 26.0,
"maintainability_index": 87.2183188724789,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 10.0,
"technical_debt_score": 14.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 1292
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1303:1303",
"entity_name": "anonymous_function_1303",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1304,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1305,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1308,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 384.1031250772667,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 21.339062504292595,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1304
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:archivePaseoWorktree:1319",
"entity_name": "archivePaseoWorktree",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1320,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1334,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1337,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.1227469235710557,
"calculated_length": 141.8629171260716,
"difficulty": 6.326923076923077,
"effort": 2329.831030089076,
"length": 73.0,
"n1": 7.0,
"n2": 26.0,
"n_1": 26.0,
"n_2": 47.0,
"time": 129.4350572271709,
"vocabulary": 33.0,
"volume": 368.2407707131671
},
"lines_of_code": 27.0,
"maintainability_index": 86.19201040988028,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 10.0,
"technical_debt_score": 14.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1320
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1332:1332",
"entity_name": "anonymous_function_1332",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1333,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1334,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1337,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 384.1031250772667,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 21.339062504292595,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1333
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:getGitDiff:1348",
"entity_name": "getGitDiff",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1349,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1361,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1364,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09743252743760854,
"calculated_length": 129.69058447171096,
"difficulty": 5.25,
"effort": 1534.5623071423345,
"length": 59.0,
"n1": 7.0,
"n2": 24.0,
"n_1": 23.0,
"n_2": 36.0,
"time": 85.25346150790747,
"vocabulary": 31.0,
"volume": 292.2975823128256
},
"lines_of_code": 25.0,
"maintainability_index": 88.6397951528178,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 10.0,
"technical_debt_score": 14.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1349
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1359:1359",
"entity_name": "anonymous_function_1359",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1360,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1361,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1364,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 384.1031250772667,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 21.339062504292595,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1360
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:getHighlightedDiff:1375",
"entity_name": "getHighlightedDiff",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1376,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1388,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1391,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09743252743760854,
"calculated_length": 129.69058447171096,
"difficulty": 5.25,
"effort": 1534.5623071423345,
"length": 59.0,
"n1": 7.0,
"n2": 24.0,
"n_1": 23.0,
"n_2": 36.0,
"time": 85.25346150790747,
"vocabulary": 31.0,
"volume": 292.2975823128256
},
"lines_of_code": 25.0,
"maintainability_index": 88.6397951528178,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 10.0,
"technical_debt_score": 14.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1376
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1386:1386",
"entity_name": "anonymous_function_1386",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1387,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1388,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1391,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 384.1031250772667,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 21.339062504292595,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1387
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:getGitRepoInfo:1402",
"entity_name": "getGitRepoInfo",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1403,
"metrics": {
"cognitive_complexity": 16.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 7,
"kind": "ConditionalExpression",
"line": 1408,
"nesting_level": 1
},
{
"column": 7,
"kind": "ConditionalExpression",
"line": 1411,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1416,
"nesting_level": 1
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 1418,
"nesting_level": 2
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 1422,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 1434,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1437,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.2240350836843314,
"calculated_length": 227.95057052383706,
"difficulty": 8.763157894736842,
"effort": 5889.764436859134,
"length": 121.0,
"n1": 9.0,
"n2": 38.0,
"n_1": 47.0,
"n_2": 74.0,
"time": 327.209135381063,
"vocabulary": 47.0,
"volume": 672.1052510529942
},
"lines_of_code": 44.0,
"maintainability_index": 74.00197018090563,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 14.0,
"technical_debt_score": 37.60000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 1403
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1412:1412",
"entity_name": "anonymous_function_1412",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1413,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 25.84962500721156,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.43609027817842,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1413
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1432:1432",
"entity_name": "anonymous_function_1432",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1433,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1434,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1437,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 384.1031250772667,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 21.339062504292595,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1433
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:exploreFileSystem:1452",
"entity_name": "exploreFileSystem",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1453,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1469,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1472,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.11980245029421097,
"calculated_length": 179.65148445440323,
"difficulty": 4.921875,
"effort": 1768.9580551254587,
"length": 68.0,
"n1": 7.0,
"n2": 32.0,
"n_1": 23.0,
"n_2": 45.0,
"time": 98.27544750696993,
"vocabulary": 39.0,
"volume": 359.4073508826329
},
"lines_of_code": 29.0,
"maintainability_index": 85.16063413201266,
"max_nesting_depth": 1.0,
"parameter_count": 4.0,
"statement_count": 10.0,
"technical_debt_score": 15.0
},
"recommendations": [],
"severity": "Low",
"start_line": 1453
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1467:1467",
"entity_name": "anonymous_function_1467",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1468,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1469,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1472,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 384.1031250772667,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 21.339062504292595,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1468
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:requestDownloadToken:1483",
"entity_name": "requestDownloadToken",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1484,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1498,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1501,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10256934709362188,
"calculated_length": 141.8629171260716,
"difficulty": 5.115384615384615,
"effort": 1574.0449803982742,
"length": 61.0,
"n1": 7.0,
"n2": 26.0,
"n_1": 23.0,
"n_2": 38.0,
"time": 87.44694335545968,
"vocabulary": 33.0,
"volume": 307.70804128086564
},
"lines_of_code": 27.0,
"maintainability_index": 87.12585541015068,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 10.0,
"technical_debt_score": 14.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1484
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1496:1496",
"entity_name": "anonymous_function_1496",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1497,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1498,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1501,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 384.1031250772667,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 21.339062504292595,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1497
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:listProviderModels:1516",
"entity_name": "listProviderModels",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1517,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1530,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1533,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.11433960003879162,
"calculated_length": 141.8629171260716,
"difficulty": 5.788461538461538,
"effort": 1985.551131442862,
"length": 68.0,
"n1": 7.0,
"n2": 26.0,
"n_1": 25.0,
"n_2": 43.0,
"time": 110.3083961912701,
"vocabulary": 33.0,
"volume": 343.01880011637485
},
"lines_of_code": 26.0,
"maintainability_index": 87.17235275025826,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 10.0,
"technical_debt_score": 14.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 1517
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1528:1528",
"entity_name": "anonymous_function_1528",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1529,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1530,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1533,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 384.1031250772667,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 21.339062504292595,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1529
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:listCommands:1544",
"entity_name": "listCommands",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1545,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1557,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1560,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09743252743760854,
"calculated_length": 129.69058447171096,
"difficulty": 5.25,
"effort": 1534.5623071423345,
"length": 59.0,
"n1": 7.0,
"n2": 24.0,
"n_1": 23.0,
"n_2": 36.0,
"time": 85.25346150790747,
"vocabulary": 31.0,
"volume": 292.2975823128256
},
"lines_of_code": 25.0,
"maintainability_index": 88.6397951528178,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 10.0,
"technical_debt_score": 14.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1545
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1555:1555",
"entity_name": "anonymous_function_1555",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1556,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1557,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1560,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 384.1031250772667,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 21.339062504292595,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1556
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:executeCommand:1571",
"entity_name": "executeCommand",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1572,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1588,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1591,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10771494335584429,
"calculated_length": 154.25742227201613,
"difficulty": 5.0,
"effort": 1615.7241503376645,
"length": 63.0,
"n1": 7.0,
"n2": 28.0,
"n_1": 23.0,
"n_2": 40.0,
"time": 89.76245279653692,
"vocabulary": 35.0,
"volume": 323.1448300675329
},
"lines_of_code": 29.0,
"maintainability_index": 85.71368436647495,
"max_nesting_depth": 1.0,
"parameter_count": 4.0,
"statement_count": 10.0,
"technical_debt_score": 15.0
},
"recommendations": [],
"severity": "Low",
"start_line": 1572
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1586:1586",
"entity_name": "anonymous_function_1586",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1587,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1588,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1591,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 384.1031250772667,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 21.339062504292595,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1587
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:respondToPermission:1606",
"entity_name": "respondToPermission",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1607,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.019534452978042596,
"calculated_length": 47.77443751081734,
"difficulty": 1.5,
"effort": 87.90503840119167,
"length": 15.0,
"n1": 3.0,
"n2": 12.0,
"n_1": 3.0,
"n_2": 12.0,
"time": 4.883613244510649,
"vocabulary": 15.0,
"volume": 58.60335893412778
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 1.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1607
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:respondToPermissionAndWait:1619",
"entity_name": "respondToPermissionAndWait",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1620,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1634,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1637,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1640,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.11797350938973422,
"calculated_length": 154.25742227201613,
"difficulty": 5.25,
"effort": 1858.082772888314,
"length": 69.0,
"n1": 7.0,
"n2": 28.0,
"n_1": 27.0,
"n_2": 42.0,
"time": 103.22682071601744,
"vocabulary": 35.0,
"volume": 353.92052816920267
},
"lines_of_code": 30.0,
"maintainability_index": 84.46142598265916,
"max_nesting_depth": 1.0,
"parameter_count": 4.0,
"statement_count": 11.0,
"technical_debt_score": 18.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1620
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1632:1632",
"entity_name": "anonymous_function_1632",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1633,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1634,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1637,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1640,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04568825906469125,
"calculated_length": 40.13896548741762,
"difficulty": 4.722222222222222,
"effort": 647.2503367497927,
"length": 36.0,
"n1": 5.0,
"n2": 9.0,
"n_1": 19.0,
"n_2": 17.0,
"time": 35.958352041655154,
"vocabulary": 14.0,
"volume": 137.06477719407374
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 15.0
},
"recommendations": [],
"severity": "Low",
"start_line": 1633
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:waitForAgentState:1655",
"entity_name": "waitForAgentState",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1656,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1662,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1662,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 1667,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1667,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1668,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.0955756076022022,
"calculated_length": 101.94833690207419,
"difficulty": 5.25,
"effort": 1505.3158197346847,
"length": 61.0,
"n1": 6.0,
"n2": 20.0,
"n_1": 26.0,
"n_2": 35.0,
"time": 83.62865665192693,
"vocabulary": 26.0,
"volume": 286.7268228066066
},
"lines_of_code": 21.0,
"maintainability_index": 90.8743808959455,
"max_nesting_depth": 2.0,
"parameter_count": 3.0,
"statement_count": 8.0,
"technical_debt_score": 26.6
},
"recommendations": [],
"severity": "Low",
"start_line": 1656
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1665:1665",
"entity_name": "anonymous_function_1665",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1666,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1667,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1667,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1668,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.03680443091322351,
"calculated_length": 39.50977500432694,
"difficulty": 5.25,
"effort": 579.6697868832703,
"length": 29.0,
"n1": 6.0,
"n2": 8.0,
"n_1": 15.0,
"n_2": 14.0,
"time": 32.20387704907057,
"vocabulary": 14.0,
"volume": 110.41329273967052
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 15.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 1666
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:waitForAgentIdle:1678",
"entity_name": "waitForAgentIdle",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [
{
"description": "Cyclomatic complexity of 31.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:waitForAgentIdle:1678",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:1679",
"metric_value": 31.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 83.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:waitForAgentIdle:1678",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:1679",
"metric_value": 83.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 1679,
"metrics": {
"cognitive_complexity": 83.0,
"cyclomatic_complexity": 31.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1685,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1698,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1699,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 1705,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1706,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 1712,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1712,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 1713,
"nesting_level": 2
},
{
"column": 16,
"kind": "If",
"line": 1715,
"nesting_level": 3
},
{
"column": 7,
"kind": "If",
"line": 1723,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 1723,
"nesting_level": 2
},
{
"column": 9,
"kind": "LogicalOr",
"line": 1728,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1730,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 1730,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 1734,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1735,
"nesting_level": 2
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1735,
"nesting_level": 2
},
{
"column": 10,
"kind": "LogicalOr",
"line": 1736,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 1742,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 1751,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 1751,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1758,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1758,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalOr",
"line": 1761,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1763,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalOr",
"line": 1763,
"nesting_level": 3
},
{
"column": 11,
"kind": "If",
"line": 1766,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1767,
"nesting_level": 3
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1767,
"nesting_level": 3
},
{
"column": 14,
"kind": "LogicalOr",
"line": 1768,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.6973493244083236,
"calculated_length": 330.2985258245704,
"difficulty": 23.27,
"effort": 48681.95633694508,
"length": 350.0,
"n1": 13.0,
"n2": 50.0,
"n_1": 171.0,
"n_2": 179.0,
"time": 2704.553129830282,
"vocabulary": 63.0,
"volume": 2092.047973224971
},
"lines_of_code": 100.0,
"maintainability_index": 49.50756945228923,
"max_nesting_depth": 3.0,
"parameter_count": 2.0,
"statement_count": 43.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 1679
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1696:1696",
"entity_name": "anonymous_function_1696",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1697,
"metrics": {
"cognitive_complexity": 22.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 1698,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1699,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 1705,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1706,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 1712,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1712,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 1713,
"nesting_level": 2
},
{
"column": 16,
"kind": "If",
"line": 1715,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.18801758872564364,
"calculated_length": 99.05865002596161,
"difficulty": 12.666666666666666,
"effort": 7144.668371574458,
"length": 120.0,
"n1": 8.0,
"n2": 18.0,
"n_1": 63.0,
"n_2": 57.0,
"time": 396.9260206430255,
"vocabulary": 26.0,
"volume": 564.052766176931
},
"lines_of_code": 22.0,
"maintainability_index": 85.91234367389481,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 11.0,
"technical_debt_score": 40.0
},
"recommendations": [],
"severity": "Moderate",
"start_line": 1697
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1755:1755",
"entity_name": "anonymous_function_1755",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [
{
"description": "Cognitive complexity of 30.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1755:1755",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:1756",
"metric_value": 30.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 1756,
"metrics": {
"cognitive_complexity": 30.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1758,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1758,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalOr",
"line": 1761,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1763,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalOr",
"line": 1763,
"nesting_level": 3
},
{
"column": 11,
"kind": "If",
"line": 1766,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1767,
"nesting_level": 3
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1767,
"nesting_level": 3
},
{
"column": 14,
"kind": "LogicalOr",
"line": 1768,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.1259435252872853,
"calculated_length": 120.76799089133478,
"difficulty": 8.142857142857142,
"effort": 3076.620403446541,
"length": 77.0,
"n1": 9.0,
"n2": 21.0,
"n_1": 39.0,
"n_2": 38.0,
"time": 170.92335574703006,
"vocabulary": 30.0,
"volume": 377.83057586185595
},
"lines_of_code": 19.0,
"maintainability_index": 90.14096994519183,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 47.8
},
"recommendations": [],
"severity": "High",
"start_line": 1756
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:waitForPermission:1780",
"entity_name": "waitForPermission",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [
{
"description": "Cyclomatic complexity of 21.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:waitForPermission:1780",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:1781",
"metric_value": 21.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 54.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:waitForPermission:1780",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:1781",
"metric_value": 54.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 1781,
"metrics": {
"cognitive_complexity": 54.0,
"cyclomatic_complexity": 21.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1786,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1793,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1794,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 1801,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1802,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1804,
"nesting_level": 3
},
{
"column": 7,
"kind": "If",
"line": 1810,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1810,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 1811,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 1819,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1821,
"nesting_level": 3
},
{
"column": 5,
"kind": "If",
"line": 1828,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1828,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 1831,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1836,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 1843,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1844,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 1849,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1849,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1850,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.6099470498410968,
"calculated_length": 255.89667380414838,
"difficulty": 24.450000000000003,
"effort": 44739.616105844456,
"length": 321.0,
"n1": 12.0,
"n2": 40.0,
"n_1": 158.0,
"n_2": 163.0,
"time": 2485.5342281024696,
"vocabulary": 52.0,
"volume": 1829.8411495232904
},
"lines_of_code": 78.0,
"maintainability_index": 56.528997927279704,
"max_nesting_depth": 3.0,
"parameter_count": 2.0,
"statement_count": 40.0,
"technical_debt_score": 95.60000000000001
},
"recommendations": [],
"severity": "Critical",
"start_line": 1781
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1841:1841",
"entity_name": "anonymous_function_1841",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1842,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1843,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1844,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 1849,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1849,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1850,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.07733333333333334,
"calculated_length": 49.66338827944708,
"difficulty": 6.363636363636363,
"effort": 1476.3636363636363,
"length": 58.0,
"n1": 5.0,
"n2": 11.0,
"n_1": 30.0,
"n_2": 28.0,
"time": 82.02020202020202,
"vocabulary": 16.0,
"volume": 232.0
},
"lines_of_code": 13.0,
"maintainability_index": 99.7447860764583,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 25.0
},
"recommendations": [],
"severity": "Low",
"start_line": 1842
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:listTerminals:1864",
"entity_name": "listTerminals",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1865,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1877,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1880,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09743252743760854,
"calculated_length": 129.69058447171096,
"difficulty": 5.25,
"effort": 1534.5623071423345,
"length": 59.0,
"n1": 7.0,
"n2": 24.0,
"n_1": 23.0,
"n_2": 36.0,
"time": 85.25346150790747,
"vocabulary": 31.0,
"volume": 292.2975823128256
},
"lines_of_code": 25.0,
"maintainability_index": 88.6397951528178,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 10.0,
"technical_debt_score": 14.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1865
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1875:1875",
"entity_name": "anonymous_function_1875",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1876,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1877,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1880,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 384.1031250772667,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 21.339062504292595,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1876
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:createTerminal:1891",
"entity_name": "createTerminal",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1892,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1906,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1909,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10256934709362188,
"calculated_length": 141.8629171260716,
"difficulty": 5.115384615384615,
"effort": 1574.0449803982742,
"length": 61.0,
"n1": 7.0,
"n2": 26.0,
"n_1": 23.0,
"n_2": 38.0,
"time": 87.44694335545968,
"vocabulary": 33.0,
"volume": 307.70804128086564
},
"lines_of_code": 27.0,
"maintainability_index": 87.12585541015068,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 10.0,
"technical_debt_score": 14.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1892
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1904:1904",
"entity_name": "anonymous_function_1904",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1905,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1906,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1909,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 384.1031250772667,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 21.339062504292595,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1905
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:subscribeTerminal:1920",
"entity_name": "subscribeTerminal",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1921,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1933,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1936,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09743252743760854,
"calculated_length": 129.69058447171096,
"difficulty": 5.25,
"effort": 1534.5623071423345,
"length": 59.0,
"n1": 7.0,
"n2": 24.0,
"n_1": 23.0,
"n_2": 36.0,
"time": 85.25346150790747,
"vocabulary": 31.0,
"volume": 292.2975823128256
},
"lines_of_code": 25.0,
"maintainability_index": 88.6397951528178,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 10.0,
"technical_debt_score": 14.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1921
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1931:1931",
"entity_name": "anonymous_function_1931",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1932,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1933,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1936,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 384.1031250772667,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 21.339062504292595,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1932
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:unsubscribeTerminal:1947",
"entity_name": "unsubscribeTerminal",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1948,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009509775004326936,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 42.793987519471216,
"length": 9.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 2.377443751081734,
"vocabulary": 9.0,
"volume": 28.52932501298081
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1948
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:sendTerminalInput:1954",
"entity_name": "sendTerminalInput",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1955,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017767656302935485,
"calculated_length": 42.80863530717374,
"difficulty": 1.5,
"effort": 79.95445336320968,
"length": 14.0,
"n1": 3.0,
"n2": 11.0,
"n_1": 3.0,
"n_2": 11.0,
"time": 4.441914075733871,
"vocabulary": 14.0,
"volume": 53.302968908806456
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 1955
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:killTerminal:1965",
"entity_name": "killTerminal",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1966,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1978,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1981,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09743252743760854,
"calculated_length": 129.69058447171096,
"difficulty": 5.25,
"effort": 1534.5623071423345,
"length": 59.0,
"n1": 7.0,
"n2": 24.0,
"n_1": 23.0,
"n_2": 36.0,
"time": 85.25346150790747,
"vocabulary": 31.0,
"volume": 292.2975823128256
},
"lines_of_code": 25.0,
"maintainability_index": 88.6397951528178,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 10.0,
"technical_debt_score": 14.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1966
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1976:1976",
"entity_name": "anonymous_function_1976",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1977,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1978,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1981,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 384.1031250772667,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 21.339062504292595,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1977
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:waitForTerminalOutput:1992",
"entity_name": "waitForTerminalOutput",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1993,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1999,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 2002,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05563602068853097,
"calculated_length": 74.11313393845472,
"difficulty": 4.3999999999999995,
"effort": 734.3954730886087,
"length": 38.0,
"n1": 6.0,
"n2": 15.0,
"n_1": 16.0,
"n_2": 22.0,
"time": 40.799748504922704,
"vocabulary": 21.0,
"volume": 166.9080620655929
},
"lines_of_code": 17.0,
"maintainability_index": 97.80123952809552,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 6.0,
"technical_debt_score": 12.6
},
"recommendations": [],
"severity": "Low",
"start_line": 1993
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_1997:1997",
"entity_name": "anonymous_function_1997",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 1998,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1999,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 2002,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 31.26112492884004,
"difficulty": 4.285714285714286,
"effort": 384.1031250772667,
"length": 25.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 21.339062504292595,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1998
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:createRequestId:2015",
"entity_name": "createRequestId",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 2016,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009,
"calculated_length": 16.0,
"difficulty": 2.5,
"effort": 67.5,
"length": 9.0,
"n1": 4.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 5.0,
"time": 3.75,
"vocabulary": 8.0,
"volume": 27.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 2016
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:cleanupTransport:2019",
"entity_name": "cleanupTransport",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 2020,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 2021,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 2026,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 2028,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.03646431222567951,
"calculated_length": 44.039100017307746,
"difficulty": 7.5,
"effort": 820.4470250777889,
"length": 28.0,
"n1": 9.0,
"n2": 6.0,
"n_1": 18.0,
"n_2": 10.0,
"time": 45.58039028209939,
"vocabulary": 15.0,
"volume": 109.39293667703852
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 16.2
},
"recommendations": [],
"severity": "Low",
"start_line": 2020
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:handleTransportMessage:2034",
"entity_name": "handleTransportMessage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 2035,
"metrics": {
"cognitive_complexity": 17.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 7,
"kind": "ConditionalExpression",
"line": 2037,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 2037,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 2037,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 2041,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 2046,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 2048,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 2053,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 2059,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.17618007396207497,
"calculated_length": 170.3171490075026,
"difficulty": 12.5,
"effort": 6606.752773577811,
"length": 100.0,
"n1": 13.0,
"n2": 26.0,
"n_1": 50.0,
"n_2": 50.0,
"time": 367.0418207543228,
"vocabulary": 39.0,
"volume": 528.5402218862249
},
"lines_of_code": 29.0,
"maintainability_index": 81.77518923179034,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 16.0,
"technical_debt_score": 37.400000000000006
},
"recommendations": [],
"severity": "Moderate",
"start_line": 2035
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:updateConnectionState:2065",
"entity_name": "updateConnectionState",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 2066,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 2069,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 2071,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.022202638308846556,
"calculated_length": 35.161259458730164,
"difficulty": 5.25,
"effort": 349.69155336433323,
"length": 18.0,
"n1": 7.0,
"n2": 6.0,
"n_1": 9.0,
"n_2": 9.0,
"time": 19.427308520240736,
"vocabulary": 13.0,
"volume": 66.60791492653966
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 11.8
},
"recommendations": [],
"severity": "Low",
"start_line": 2066
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:scheduleReconnect:2076",
"entity_name": "scheduleReconnect",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 2077,
"metrics": {
"cognitive_complexity": 16.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 2078,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 2083,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 2083,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 2098,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 2098,
"nesting_level": 2
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 2104,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 2108,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.24946165836554496,
"calculated_length": 230.80352233328142,
"difficulty": 8.77027027027027,
"effort": 6563.538497806973,
"length": 134.0,
"n1": 11.0,
"n2": 37.0,
"n_1": 75.0,
"n_2": 59.0,
"time": 364.64102765594293,
"vocabulary": 48.0,
"volume": 748.3849750966349
},
"lines_of_code": 36.0,
"maintainability_index": 76.69382210255274,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 19.0,
"technical_debt_score": 36.00000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 2077
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_2105:2105",
"entity_name": "anonymous_function_2105",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 2106,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 2108,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.01792481250360578,
"calculated_length": 32.0,
"difficulty": 4.0,
"effort": 215.09775004326937,
"length": 15.0,
"n1": 8.0,
"n2": 4.0,
"n_1": 11.0,
"n_2": 4.0,
"time": 11.949875002403854,
"vocabulary": 12.0,
"volume": 53.77443751081734
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 2106
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:handleSessionMessage:2114",
"entity_name": "handleSessionMessage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [
{
"description": "Cognitive complexity of 29.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:handleSessionMessage:2114",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:2115",
"metric_value": 29.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 2115,
"metrics": {
"cognitive_complexity": 29.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 2116,
"nesting_level": 1
},
{
"column": 12,
"kind": "If",
"line": 2120,
"nesting_level": 2
},
{
"column": 12,
"kind": "If",
"line": 2122,
"nesting_level": 3
},
{
"column": 5,
"kind": "If",
"line": 2126,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 2128,
"nesting_level": 2
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 2129,
"nesting_level": 3
},
{
"column": 5,
"kind": "If",
"line": 2140,
"nesting_level": 1
},
{
"column": 9,
"kind": "Try",
"line": 2142,
"nesting_level": 2
},
{
"column": 11,
"kind": "Catch",
"line": 2144,
"nesting_level": 3
},
{
"column": 5,
"kind": "If",
"line": 2151,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.2784310125505021,
"calculated_length": 203.01955000865388,
"difficulty": 13.125,
"effort": 10963.221119176022,
"length": 153.0,
"n1": 12.0,
"n2": 32.0,
"n_1": 83.0,
"n_2": 70.0,
"time": 609.0678399542235,
"vocabulary": 44.0,
"volume": 835.2930376515064
},
"lines_of_code": 43.0,
"maintainability_index": 72.55408857154893,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 20.0,
"technical_debt_score": 53.800000000000004
},
"recommendations": [],
"severity": "High",
"start_line": 2115
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_2117:2117",
"entity_name": "anonymous_function_2117",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 2118,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026416041678685932,
"calculated_length": 2.0,
"difficulty": 1.0,
"effort": 7.92481250360578,
"length": 5.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.44026736131143224,
"vocabulary": 3.0,
"volume": 7.92481250360578
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 2118
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:resolveWaiters:2159",
"entity_name": "resolveWaiters",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 2160,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 2163,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 2165,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.06734886714927432,
"calculated_length": 72.95445336320968,
"difficulty": 6.0,
"effort": 1212.279608686938,
"length": 46.0,
"n1": 7.0,
"n2": 14.0,
"n_1": 22.0,
"n_2": 24.0,
"time": 67.34886714927433,
"vocabulary": 21.0,
"volume": 202.04660144782298
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 12.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 2160
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:clearWaiters:2172",
"entity_name": "clearWaiters",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 2173,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 2175,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.046324578867503845,
"calculated_length": 53.5635228093372,
"difficulty": 4.636363636363637,
"effort": 644.3327787934626,
"length": 34.0,
"n1": 6.0,
"n2": 11.0,
"n_1": 17.0,
"n_2": 17.0,
"time": 35.7962654885257,
"vocabulary": 17.0,
"volume": 138.97373660251154
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 2173
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:toEvent:2182",
"entity_name": "toEvent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 2183,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.18227068758293297,
"calculated_length": 112.0419249893113,
"difficulty": 6.956521739130435,
"effort": 3803.9100017307746,
"length": 115.0,
"n1": 4.0,
"n2": 23.0,
"n_1": 35.0,
"n_2": 80.0,
"time": 211.3283334294875,
"vocabulary": 27.0,
"volume": 546.8120627487989
},
"lines_of_code": 37.0,
"maintainability_index": 79.491782955969,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 2183
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:waitFor:2221",
"entity_name": "waitFor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 2222,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 2227,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 2227,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 2230,
"nesting_level": 2
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 2241,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.15374416804989277,
"calculated_length": 198.05374780501026,
"difficulty": 9.28125,
"effort": 4280.814179139202,
"length": 85.0,
"n1": 11.0,
"n2": 32.0,
"n_1": 31.0,
"n_2": 54.0,
"time": 237.82300995217787,
"vocabulary": 43.0,
"volume": 461.23250414967833
},
"lines_of_code": 34.0,
"maintainability_index": 80.82666773230511,
"max_nesting_depth": 2.0,
"parameter_count": 3.0,
"statement_count": 12.0,
"technical_debt_score": 24.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 2222
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_2238:2238",
"entity_name": "anonymous_function_2238",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 2239,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "ConditionalExpression",
"line": 2241,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05428274347268416,
"calculated_length": 86.66829050039843,
"difficulty": 3.194444444444444,
"effort": 520.2096249465565,
"length": 36.0,
"n1": 5.0,
"n2": 18.0,
"n_1": 13.0,
"n_2": 23.0,
"time": 28.900534719253137,
"vocabulary": 23.0,
"volume": 162.84823041805248
},
"lines_of_code": 16.0,
"maintainability_index": 99.1414056399863,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 8.8
},
"recommendations": [],
"severity": "Low",
"start_line": 2239
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_2241:2241",
"entity_name": "anonymous_function_2241",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 2242,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011,
"calculated_length": 16.36452797660028,
"difficulty": 1.5,
"effort": 49.5,
"length": 11.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 6.0,
"n_2": 5.0,
"time": 2.75,
"vocabulary": 8.0,
"volume": 33.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 2242
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:defaultWebSocketFactory:2262",
"entity_name": "defaultWebSocketFactory",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 2263,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 2268,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03539939594536321,
"calculated_length": 62.05374780501027,
"difficulty": 5.454545454545454,
"effort": 579.262842742307,
"length": 25.0,
"n1": 8.0,
"n2": 11.0,
"n_1": 10.0,
"n_2": 15.0,
"time": 32.18126904123928,
"vocabulary": 19.0,
"volume": 106.19818783608963
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 2263
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:createWebSocketTransportFactory:2273",
"entity_name": "createWebSocketTransportFactory",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 2274,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 2281,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 2281,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.13644611534953321,
"calculated_length": 167.82521876648653,
"difficulty": 9.821428571428571,
"effort": 4020.2873272630322,
"length": 78.0,
"n1": 10.0,
"n2": 28.0,
"n_1": 23.0,
"n_2": 55.0,
"time": 223.34929595905734,
"vocabulary": 38.0,
"volume": 409.33834604859965
},
"lines_of_code": 19.0,
"maintainability_index": 91.33446979424615,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 12.2
},
"recommendations": [],
"severity": "Low",
"start_line": 2274
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_2276:2276",
"entity_name": "anonymous_function_2276",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 2277,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 2281,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 2281,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.12481255341232751,
"calculated_length": 149.31568569324173,
"difficulty": 10.2,
"effort": 3819.2641344172216,
"length": 73.0,
"n1": 10.0,
"n2": 25.0,
"n_1": 22.0,
"n_2": 51.0,
"time": 212.18134080095675,
"vocabulary": 35.0,
"volume": 374.43766023698254
},
"lines_of_code": 15.0,
"maintainability_index": 95.62737503766436,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 11.399999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 2277
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_2279:2279",
"entity_name": "anonymous_function_2279",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 2280,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 2281,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 2281,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.036,
"calculated_length": 48.18080946738404,
"difficulty": 8.357142857142858,
"effort": 902.5714285714287,
"length": 27.0,
"n1": 9.0,
"n2": 7.0,
"n_1": 14.0,
"n_2": 13.0,
"time": 50.142857142857146,
"vocabulary": 16.0,
"volume": 108.0
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 2280
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_2285:2285",
"entity_name": "anonymous_function_2285",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 2286,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.5,
"effort": 31.019550008653873,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 6.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 2286
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_2286:2286",
"entity_name": "anonymous_function_2286",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 2287,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 8.0,
"difficulty": 0.625,
"effort": 8.707230355827608,
"length": 6.0,
"n1": 1.0,
"n2": 4.0,
"n_1": 1.0,
"n_2": 5.0,
"time": 0.48373501976820044,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 2287
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_2287:2287",
"entity_name": "anonymous_function_2287",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 2288,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 8.0,
"difficulty": 0.625,
"effort": 8.707230355827608,
"length": 6.0,
"n1": 1.0,
"n2": 4.0,
"n_1": 1.0,
"n_2": 5.0,
"time": 0.48373501976820044,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 2288
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_2288:2288",
"entity_name": "anonymous_function_2288",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 2289,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 8.0,
"difficulty": 0.625,
"effort": 8.707230355827608,
"length": 6.0,
"n1": 1.0,
"n2": 4.0,
"n_1": 1.0,
"n_2": 5.0,
"time": 0.48373501976820044,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 2289
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_2289:2289",
"entity_name": "anonymous_function_2289",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 2290,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 8.0,
"difficulty": 0.625,
"effort": 8.707230355827608,
"length": 6.0,
"n1": 1.0,
"n2": 4.0,
"n_1": 1.0,
"n_2": 5.0,
"time": 0.48373501976820044,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 2290
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:bindWsHandler:2294",
"entity_name": "bindWsHandler",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 2295,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 2300,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 2303,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 2308,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 2311,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 2315,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 2324,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.24624916230689675,
"calculated_length": 191.6338334270034,
"difficulty": 12.774193548387098,
"effort": 9436.903381309463,
"length": 137.0,
"n1": 11.0,
"n2": 31.0,
"n_1": 65.0,
"n_2": 72.0,
"time": 524.2724100727479,
"vocabulary": 42.0,
"volume": 738.7474869206902
},
"lines_of_code": 33.0,
"maintainability_index": 78.40080543628439,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 19.0,
"technical_debt_score": 27.799999999999997
},
"recommendations": [],
"severity": "Low",
"start_line": 2295
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_2301:2301",
"entity_name": "anonymous_function_2301",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 2302,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 2303,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.01792481250360578,
"calculated_length": 31.26112492884004,
"difficulty": 4.8999999999999995,
"effort": 263.49474380300495,
"length": 15.0,
"n1": 7.0,
"n2": 5.0,
"n_1": 8.0,
"n_2": 7.0,
"time": 14.63859687794472,
"vocabulary": 12.0,
"volume": 53.77443751081734
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 2302
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_2309:2309",
"entity_name": "anonymous_function_2309",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 2310,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 2311,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 2315,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03934266752792858,
"calculated_length": 39.50977500432694,
"difficulty": 9.333333333333334,
"effort": 1101.5946907820003,
"length": 31.0,
"n1": 8.0,
"n2": 6.0,
"n_1": 17.0,
"n_2": 14.0,
"time": 61.19970504344446,
"vocabulary": 14.0,
"volume": 118.02800258378574
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 2310
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:anonymous_function_2322:2322",
"entity_name": "anonymous_function_2322",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 2323,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 2324,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.022704762504567322,
"calculated_length": 31.26112492884004,
"difficulty": 4.8999999999999995,
"effort": 333.7600088171396,
"length": 19.0,
"n1": 7.0,
"n2": 5.0,
"n_1": 12.0,
"n_2": 7.0,
"time": 18.54222271206331,
"vocabulary": 12.0,
"volume": 68.11428751370197
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 2323
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:describeTransportClose:2329",
"entity_name": "describeTransportClose",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 2330,
"metrics": {
"cognitive_complexity": 16.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 2331,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 2334,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 2337,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 2340,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 2342,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 2342,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 2345,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 2345,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 2348,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.15310715223988053,
"calculated_length": 77.30296890880646,
"difficulty": 13.142857142857142,
"effort": 6036.7962883152895,
"length": 103.0,
"n1": 8.0,
"n2": 14.0,
"n_1": 57.0,
"n_2": 46.0,
"time": 335.37757157307163,
"vocabulary": 22.0,
"volume": 459.3214567196416
},
"lines_of_code": 23.0,
"maintainability_index": 86.03029210880791,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 15.0,
"technical_debt_score": 37.4
},
"recommendations": [],
"severity": "Moderate",
"start_line": 2330
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:describeTransportError:2354",
"entity_name": "describeTransportError",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 2355,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 2356,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 2359,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 2362,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 2365,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 2367,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 2367,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.08920647778231529,
"calculated_length": 62.05374780501027,
"difficulty": 10.181818181818182,
"effort": 2724.8524122598124,
"length": 63.0,
"n1": 8.0,
"n2": 11.0,
"n_1": 35.0,
"n_2": 28.0,
"time": 151.38068956998958,
"vocabulary": 19.0,
"volume": 267.61943334694587
},
"lines_of_code": 17.0,
"maintainability_index": 94.42620090451385,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 11.0,
"technical_debt_score": 24.599999999999998
},
"recommendations": [],
"severity": "Low",
"start_line": 2355
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:decodeMessageData:2373",
"entity_name": "decodeMessageData",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 2374,
"metrics": {
"cognitive_complexity": 17.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 2375,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 2375,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 2378,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 2381,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 2381,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 2382,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 2385,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 2389,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 2395,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 2398,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 2402,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.21051250978886143,
"calculated_length": 114.96788691072805,
"difficulty": 13.049999999999999,
"effort": 8241.564758233924,
"length": 130.0,
"n1": 9.0,
"n2": 20.0,
"n_1": 72.0,
"n_2": 58.0,
"time": 457.8647087907736,
"vocabulary": 29.0,
"volume": 631.5375293665843
},
"lines_of_code": 32.0,
"maintainability_index": 78.56466005610223,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 18.0,
"technical_debt_score": 44.0
},
"recommendations": [],
"severity": "Moderate",
"start_line": 2374
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts:resolveAgentConfig:2407",
"entity_name": "resolveAgentConfig",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/client/daemon-client-v2.ts",
"issues": [],
"line_number": 2408,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 9,
"kind": "ConditionalExpression",
"line": 2422,
"nesting_level": 0
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 2423,
"nesting_level": 0
},
{
"column": 18,
"kind": "ConditionalExpression",
"line": 2427,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 2429,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 2429,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 2433,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.14828003360090122,
"calculated_length": 209.48455594748285,
"difficulty": 9.636363636363637,
"effort": 4286.640971371508,
"length": 81.0,
"n1": 12.0,
"n2": 33.0,
"n_1": 28.0,
"n_2": 53.0,
"time": 238.14672063175047,
"vocabulary": 45.0,
"volume": 444.84010080270366
},
"lines_of_code": 34.0,
"maintainability_index": 80.55484205473206,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 26.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 2408
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/commands-poc.test.ts:createEmptyPrompt:27",
"entity_name": "createEmptyPrompt",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/commands-poc.test.ts",
"issues": [],
"line_number": 28,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008,
"calculated_length": 16.36452797660028,
"difficulty": 1.5,
"effort": 36.0,
"length": 8.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.0,
"vocabulary": 8.0,
"volume": 24.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 28
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/commands-poc.test.ts:anonymous_function_31:31",
"entity_name": "anonymous_function_31",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/commands-poc.test.ts",
"issues": [],
"line_number": 32,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 49,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 57,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 65,
"nesting_level": 1
},
{
"column": 11,
"kind": "Try",
"line": 66,
"nesting_level": 2
},
{
"column": 13,
"kind": "Catch",
"line": 68,
"nesting_level": 3
},
{
"column": 7,
"kind": "Try",
"line": 87,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.5394960077322447,
"calculated_length": 309.17139236468313,
"difficulty": 19.638297872340427,
"effort": 31784.349902352886,
"length": 274.0,
"n1": 13.0,
"n2": 47.0,
"n_1": 132.0,
"n_2": 142.0,
"time": 1765.7972167973826,
"vocabulary": 60.0,
"volume": 1618.488023196734
},
"lines_of_code": 93.0,
"maintainability_index": 57.53780030924406,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 35.0,
"technical_debt_score": 43.00000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 32
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/commands-poc.test.ts:anonymous_function_32:32",
"entity_name": "anonymous_function_32",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/commands-poc.test.ts",
"issues": [],
"line_number": 33,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 49,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 57,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 65,
"nesting_level": 1
},
{
"column": 11,
"kind": "Try",
"line": 66,
"nesting_level": 2
},
{
"column": 13,
"kind": "Catch",
"line": 68,
"nesting_level": 3
},
{
"column": 7,
"kind": "Try",
"line": 87,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.49168938340087714,
"calculated_length": 281.4351007880244,
"difficulty": 19.953488372093023,
"effort": 29432.75518311297,
"length": 254.0,
"n1": 13.0,
"n2": 43.0,
"n_1": 122.0,
"n_2": 132.0,
"time": 1635.1530657284984,
"vocabulary": 56.0,
"volume": 1475.0681502026314
},
"lines_of_code": 74.0,
"maintainability_index": 61.722556239676805,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 31.0,
"technical_debt_score": 39.2
},
"recommendations": [],
"severity": "Low",
"start_line": 33
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/commands-poc.test.ts:anonymous_function_33:33",
"entity_name": "anonymous_function_33",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/commands-poc.test.ts",
"issues": [],
"line_number": 34,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 49,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 57,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 65,
"nesting_level": 1
},
{
"column": 11,
"kind": "Try",
"line": 66,
"nesting_level": 2
},
{
"column": 13,
"kind": "Catch",
"line": 68,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.2105210353593042,
"calculated_length": 209.48455594748285,
"difficulty": 10.727272727272727,
"effort": 6774.949683381244,
"length": 115.0,
"n1": 12.0,
"n2": 33.0,
"n_1": 56.0,
"n_2": 59.0,
"time": 376.3860935211802,
"vocabulary": 45.0,
"volume": 631.5631060779126
},
"lines_of_code": 39.0,
"maintainability_index": 76.7396724230214,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 14.0,
"technical_debt_score": 29.400000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/commands-poc.test.ts:anonymous_function_74:74",
"entity_name": "anonymous_function_74",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/commands-poc.test.ts",
"issues": [],
"line_number": 75,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 87,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.23037473619857762,
"calculated_length": 190.46500593882897,
"difficulty": 8.121212121212121,
"effort": 5612.7663001108,
"length": 129.0,
"n1": 8.0,
"n2": 33.0,
"n_1": 62.0,
"n_2": 67.0,
"time": 311.8203500061556,
"vocabulary": 41.0,
"volume": 691.1242085957329
},
"lines_of_code": 31.0,
"maintainability_index": 80.91014557761957,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 15.0,
"technical_debt_score": 11.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 75
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/commands-poc.test.ts:anonymous_function_108:108",
"entity_name": "anonymous_function_108",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/commands-poc.test.ts",
"issues": [],
"line_number": 109,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 64.8,
"length": 12.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 6.0,
"n_2": 6.0,
"time": 3.5999999999999996,
"vocabulary": 8.0,
"volume": 36.0
},
"lines_of_code": 15.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 5.0
},
"recommendations": [],
"severity": "Low",
"start_line": 109
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/commands-poc.test.ts:anonymous_function_109:109",
"entity_name": "anonymous_function_109",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/commands-poc.test.ts",
"issues": [],
"line_number": 110,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 9.509775004326936,
"difficulty": 2.0,
"effort": 41.3594000115385,
"length": 8.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 2.2977444450854723,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 4.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 110
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/investigate-command-output.ts:push:20",
"entity_name": "push",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/investigate-command-output.ts",
"issues": [],
"line_number": 21,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 22,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 23,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05648613383607243,
"calculated_length": 76.63504134881501,
"difficulty": 6.230769230769231,
"effort": 1055.8561940127386,
"length": 38.0,
"n1": 9.0,
"n2": 13.0,
"n_1": 20.0,
"n_2": 18.0,
"time": 58.65867744515214,
"vocabulary": 22.0,
"volume": 169.4584015082173
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 21
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/investigate-command-output.ts:end:30",
"entity_name": "end",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/investigate-command-output.ts",
"issues": [],
"line_number": 31,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "While",
"line": 33,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03752932501298081,
"calculated_length": 57.219280948873624,
"difficulty": 5.2,
"effort": 585.4574702025006,
"length": 27.0,
"n1": 8.0,
"n2": 10.0,
"n_1": 14.0,
"n_2": 13.0,
"time": 32.52541501125003,
"vocabulary": 18.0,
"volume": 112.58797503894243
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/investigate-command-output.ts:[Symbol.asyncIterator]:38",
"entity_name": "[Symbol.asyncIterator]",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/investigate-command-output.ts",
"issues": [],
"line_number": 39,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 42,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 44,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 48,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10333333333333333,
"calculated_length": 134.03910001730776,
"difficulty": 5.666666666666667,
"effort": 1756.6666666666667,
"length": 62.0,
"n1": 8.0,
"n2": 24.0,
"n_1": 28.0,
"n_2": 34.0,
"time": 97.5925925925926,
"vocabulary": 32.0,
"volume": 310.0
},
"lines_of_code": 17.0,
"maintainability_index": 94.3517678793975,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 17.0
},
"recommendations": [],
"severity": "Low",
"start_line": 39
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/investigate-command-output.ts:anonymous_function_40:40",
"entity_name": "anonymous_function_40",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/investigate-command-output.ts",
"issues": [],
"line_number": 41,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 42,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 44,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 48,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08558797503894243,
"calculated_length": 104.71062275542812,
"difficulty": 5.894736842105263,
"effort": 1513.5557691097188,
"length": 54.0,
"n1": 8.0,
"n2": 19.0,
"n_1": 26.0,
"n_2": 28.0,
"time": 84.0864316172066,
"vocabulary": 27.0,
"volume": 256.7639251168273
},
"lines_of_code": 13.0,
"maintainability_index": 99.67740357528322,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 16.2
},
"recommendations": [],
"severity": "Low",
"start_line": 41
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/investigate-command-output.ts:anonymous_function_50:50",
"entity_name": "anonymous_function_50",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/investigate-command-output.ts",
"issues": [],
"line_number": 51,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 9.509775004326936,
"difficulty": 2.0,
"effort": 41.3594000115385,
"length": 8.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 2.2977444450854723,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 51
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/investigate-command-output.ts:investigateCommand:58",
"entity_name": "investigateCommand",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/investigate-command-output.ts",
"issues": [
{
"description": "Cognitive complexity of 26.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/investigate-command-output.ts:investigateCommand:58",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/investigate-command-output.ts:59",
"metric_value": 26.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 59,
"metrics": {
"cognitive_complexity": 26.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 76,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 99,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 112,
"nesting_level": 1
},
{
"column": 15,
"kind": "If",
"line": 115,
"nesting_level": 2
},
{
"column": 22,
"kind": "If",
"line": 117,
"nesting_level": 3
},
{
"column": 11,
"kind": "If",
"line": 131,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 133,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 141,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 141,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 146,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 158,
"nesting_level": 1
}
],
"halstead": {
"bugs": 1.020669187611779,
"calculated_length": 565.320023097217,
"difficulty": 28.730769230769234,
"effort": 87973.83267069221,
"length": 465.0,
"n1": 18.0,
"n2": 78.0,
"n_1": 216.0,
"n_2": 249.0,
"time": 4887.435148371789,
"vocabulary": 96.0,
"volume": 3062.0075628353375
},
"lines_of_code": 110.0,
"maintainability_index": 50.352722634364426,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 55.0,
"technical_debt_score": 64.8
},
"recommendations": [],
"severity": "High",
"start_line": 59
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/investigate-command-output.ts:anonymous_function_144:144",
"entity_name": "anonymous_function_144",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/investigate-command-output.ts",
"issues": [],
"line_number": 145,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 145
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/investigate-command-output.ts:main:170",
"entity_name": "main",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/investigate-command-output.ts",
"issues": [],
"line_number": 171,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04061178583528111,
"calculated_length": 41.219280948873624,
"difficulty": 3.0,
"effort": 365.50607251753,
"length": 32.0,
"n1": 4.0,
"n2": 10.0,
"n_1": 17.0,
"n_2": 15.0,
"time": 20.305892917640556,
"vocabulary": 14.0,
"volume": 121.83535750584333
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 4.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 171
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/investigate-command-output.ts:anonymous_function_185:185",
"entity_name": "anonymous_function_185",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/investigate-command-output.ts",
"issues": [],
"line_number": 186,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01584962500721156,
"calculated_length": 20.264662506490403,
"difficulty": 2.0,
"effort": 95.09775004326937,
"length": 15.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 7.0,
"n_2": 8.0,
"time": 5.2832083357371875,
"vocabulary": 9.0,
"volume": 47.548875021634686
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 186
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/run-poc.ts:createEmptyPrompt:26",
"entity_name": "createEmptyPrompt",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/run-poc.ts",
"issues": [],
"line_number": 27,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008,
"calculated_length": 16.36452797660028,
"difficulty": 1.5,
"effort": 36.0,
"length": 8.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.0,
"vocabulary": 8.0,
"volume": 24.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 27
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/run-poc.ts:push:36",
"entity_name": "push",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/run-poc.ts",
"issues": [],
"line_number": 37,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 38,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 39,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05648613383607243,
"calculated_length": 76.63504134881501,
"difficulty": 6.230769230769231,
"effort": 1055.8561940127386,
"length": 38.0,
"n1": 9.0,
"n2": 13.0,
"n_1": 20.0,
"n_2": 18.0,
"time": 58.65867744515214,
"vocabulary": 22.0,
"volume": 169.4584015082173
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 37
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/run-poc.ts:end:46",
"entity_name": "end",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/run-poc.ts",
"issues": [],
"line_number": 47,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "While",
"line": 49,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03752932501298081,
"calculated_length": 57.219280948873624,
"difficulty": 5.2,
"effort": 585.4574702025006,
"length": 27.0,
"n1": 8.0,
"n2": 10.0,
"n_1": 14.0,
"n_2": 13.0,
"time": 32.52541501125003,
"vocabulary": 18.0,
"volume": 112.58797503894243
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 47
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/run-poc.ts:[Symbol.asyncIterator]:54",
"entity_name": "[Symbol.asyncIterator]",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/run-poc.ts",
"issues": [],
"line_number": 55,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 58,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 60,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 64,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10333333333333333,
"calculated_length": 134.03910001730776,
"difficulty": 5.666666666666667,
"effort": 1756.6666666666667,
"length": 62.0,
"n1": 8.0,
"n2": 24.0,
"n_1": 28.0,
"n_2": 34.0,
"time": 97.5925925925926,
"vocabulary": 32.0,
"volume": 310.0
},
"lines_of_code": 17.0,
"maintainability_index": 94.3517678793975,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 17.0
},
"recommendations": [],
"severity": "Low",
"start_line": 55
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/run-poc.ts:anonymous_function_56:56",
"entity_name": "anonymous_function_56",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/run-poc.ts",
"issues": [],
"line_number": 57,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 58,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 60,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 64,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08558797503894243,
"calculated_length": 104.71062275542812,
"difficulty": 5.894736842105263,
"effort": 1513.5557691097188,
"length": 54.0,
"n1": 8.0,
"n2": 19.0,
"n_1": 26.0,
"n_2": 28.0,
"time": 84.0864316172066,
"vocabulary": 27.0,
"volume": 256.7639251168273
},
"lines_of_code": 13.0,
"maintainability_index": 99.67740357528322,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 16.2
},
"recommendations": [],
"severity": "Low",
"start_line": 57
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/run-poc.ts:anonymous_function_66:66",
"entity_name": "anonymous_function_66",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/run-poc.ts",
"issues": [],
"line_number": 67,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 9.509775004326936,
"difficulty": 2.0,
"effort": 41.3594000115385,
"length": 8.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 2.2977444450854723,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 67
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/run-poc.ts:listAvailableCommands:74",
"entity_name": "listAvailableCommands",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/run-poc.ts",
"issues": [],
"line_number": 75,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 90,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 96,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 97,
"nesting_level": 2
},
{
"column": 9,
"kind": "Catch",
"line": 99,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.08479104735417232,
"calculated_length": 141.1270456186744,
"difficulty": 7.909090909090908,
"effort": 2011.860305403543,
"length": 50.0,
"n1": 12.0,
"n2": 22.0,
"n_1": 21.0,
"n_2": 29.0,
"time": 111.7700169668635,
"vocabulary": 34.0,
"volume": 254.37314206251696
},
"lines_of_code": 29.0,
"maintainability_index": 86.49803584257606,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 23.8
},
"recommendations": [],
"severity": "Low",
"start_line": 75
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/run-poc.ts:executeCommand:105",
"entity_name": "executeCommand",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/run-poc.ts",
"issues": [],
"line_number": 106,
"metrics": {
"cognitive_complexity": 24.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 122,
"nesting_level": 0
},
{
"column": 51,
"kind": "ConditionalExpression",
"line": 139,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 141,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 141,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 147,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 149,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 151,
"nesting_level": 3
},
{
"column": 80,
"kind": "ConditionalExpression",
"line": 152,
"nesting_level": 4
},
{
"column": 7,
"kind": "If",
"line": 158,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.4044059460305181,
"calculated_length": 356.882753000656,
"difficulty": 15.18867924528302,
"effort": 18427.176597428326,
"length": 200.0,
"n1": 14.0,
"n2": 53.0,
"n_1": 85.0,
"n_2": 115.0,
"time": 1023.7320331904625,
"vocabulary": 67.0,
"volume": 1213.2178380915543
},
"lines_of_code": 61.0,
"maintainability_index": 65.1784797093537,
"max_nesting_depth": 4.0,
"parameter_count": 1.0,
"statement_count": 24.0,
"technical_debt_score": 51.4
},
"recommendations": [],
"severity": "Moderate",
"start_line": 106
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/run-poc.ts:main:168",
"entity_name": "main",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/run-poc.ts",
"issues": [],
"line_number": 169,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 175,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 182,
"nesting_level": 1
},
{
"column": 5,
"kind": "Catch",
"line": 203,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.3113770324643194,
"calculated_length": 169.4107738716804,
"difficulty": 13.810344827586208,
"effort": 12900.672569168268,
"length": 178.0,
"n1": 9.0,
"n2": 29.0,
"n_1": 89.0,
"n_2": 89.0,
"time": 716.7040316204593,
"vocabulary": 38.0,
"volume": 934.1310973929582
},
"lines_of_code": 40.0,
"maintainability_index": 74.75414553736375,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 23.0,
"technical_debt_score": 20.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 169
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/run-poc.ts:anonymous_function_178:178",
"entity_name": "anonymous_function_178",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/run-poc.ts",
"issues": [],
"line_number": 179,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 182,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.064,
"calculated_length": 48.72905595320056,
"difficulty": 7.5,
"effort": 1440.0,
"length": 48.0,
"n1": 6.0,
"n2": 10.0,
"n_1": 23.0,
"n_2": 25.0,
"time": 80.0,
"vocabulary": 16.0,
"volume": 192.0
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 179
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/run-poc.ts:anonymous_function_210:210",
"entity_name": "anonymous_function_210",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/poc-commands/run-poc.ts",
"issues": [],
"line_number": 211,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01584962500721156,
"calculated_length": 20.264662506490403,
"difficulty": 2.0,
"effort": 95.09775004326937,
"length": 15.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 7.0,
"n_2": 8.0,
"time": 5.2832083357371875,
"vocabulary": 9.0,
"volume": 47.548875021634686
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 211
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts:anonymous_function_4:4",
"entity_name": "anonymous_function_4",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "For",
"line": 252,
"nesting_level": 0
}
],
"halstead": {
"bugs": 1.9736716922559714,
"calculated_length": 1052.1206846620962,
"difficulty": 13.805555555555557,
"effort": 81742.9025876015,
"length": 818.0,
"n1": 7.0,
"n2": 144.0,
"n_1": 250.0,
"n_2": 568.0,
"time": 4541.27236597786,
"vocabulary": 151.0,
"volume": 5921.015076767914
},
"lines_of_code": 327.0,
"maintainability_index": 31.57407670144582,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 112.0,
"technical_debt_score": 24.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts:anonymous_function_5:5",
"entity_name": "anonymous_function_5",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts",
"issues": [],
"line_number": 6,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.3908036309490377,
"calculated_length": 315.51881261899075,
"difficulty": 3.888888888888889,
"effort": 4559.375694405439,
"length": 201.0,
"n1": 3.0,
"n2": 54.0,
"n_1": 61.0,
"n_2": 140.0,
"time": 253.29864968919108,
"vocabulary": 57.0,
"volume": 1172.410892847113
},
"lines_of_code": 92.0,
"maintainability_index": 60.76957405252985,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 31.0,
"technical_debt_score": 20.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 6
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts:anonymous_function_6:6",
"entity_name": "anonymous_function_6",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts",
"issues": [],
"line_number": 7,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.022844129532345624,
"calculated_length": 42.80863530717374,
"difficulty": 1.772727272727273,
"effort": 121.48923433111084,
"length": 18.0,
"n1": 3.0,
"n2": 11.0,
"n_1": 5.0,
"n_2": 13.0,
"time": 6.749401907283936,
"vocabulary": 14.0,
"volume": 68.53238859703687
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 7
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts:anonymous_function_16:16",
"entity_name": "anonymous_function_16",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts",
"issues": [],
"line_number": 17,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.022202638308846556,
"calculated_length": 37.974168451037094,
"difficulty": 1.9500000000000002,
"effort": 129.88543410675234,
"length": 18.0,
"n1": 3.0,
"n2": 10.0,
"n_1": 5.0,
"n_2": 13.0,
"time": 7.21585745037513,
"vocabulary": 13.0,
"volume": 66.60791492653966
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 17
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts:anonymous_function_26:26",
"entity_name": "anonymous_function_26",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts",
"issues": [],
"line_number": 27,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.022844129532345624,
"calculated_length": 42.80863530717374,
"difficulty": 1.772727272727273,
"effort": 121.48923433111084,
"length": 18.0,
"n1": 3.0,
"n2": 11.0,
"n_1": 5.0,
"n_2": 13.0,
"time": 6.749401907283936,
"vocabulary": 14.0,
"volume": 68.53238859703687
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 27
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts:anonymous_function_36:36",
"entity_name": "anonymous_function_36",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts",
"issues": [],
"line_number": 37,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03660264518982301,
"calculated_length": 79.81353752812508,
"difficulty": 1.6666666666666667,
"effort": 183.01322594911505,
"length": 25.0,
"n1": 3.0,
"n2": 18.0,
"n_1": 5.0,
"n_2": 20.0,
"time": 10.167401441617503,
"vocabulary": 21.0,
"volume": 109.80793556946902
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 4.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 37
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts:anonymous_function_52:52",
"entity_name": "anonymous_function_52",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts",
"issues": [],
"line_number": 53,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03256744426973415,
"calculated_length": 68.75488750216347,
"difficulty": 1.6875,
"effort": 164.87268661552915,
"length": 23.0,
"n1": 3.0,
"n2": 16.0,
"n_1": 5.0,
"n_2": 18.0,
"time": 9.15959370086273,
"vocabulary": 19.0,
"volume": 97.70233280920246
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 4.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 53
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts:anonymous_function_68:68",
"entity_name": "anonymous_function_68",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts",
"issues": [],
"line_number": 69,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0799162612236739,
"calculated_length": 91.19344939991072,
"difficulty": 2.7,
"effort": 647.3217159117586,
"length": 53.0,
"n1": 3.0,
"n2": 20.0,
"n_1": 17.0,
"n_2": 36.0,
"time": 35.96231755065325,
"vocabulary": 23.0,
"volume": 239.7487836710217
},
"lines_of_code": 18.0,
"maintainability_index": 95.45210099185364,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 69
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts:anonymous_function_88:88",
"entity_name": "anonymous_function_88",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts",
"issues": [],
"line_number": 89,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.022844129532345624,
"calculated_length": 42.80863530717374,
"difficulty": 1.772727272727273,
"effort": 121.48923433111084,
"length": 18.0,
"n1": 3.0,
"n2": 11.0,
"n_1": 5.0,
"n_2": 13.0,
"time": 6.749401907283936,
"vocabulary": 14.0,
"volume": 68.53238859703687
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 89
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts:anonymous_function_99:99",
"entity_name": "anonymous_function_99",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts",
"issues": [],
"line_number": 100,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.32840077272829005,
"calculated_length": 283.1207823616452,
"difficulty": 4.8979591836734695,
"effort": 4825.4807421299765,
"length": 172.0,
"n1": 4.0,
"n2": 49.0,
"n_1": 52.0,
"n_2": 120.0,
"time": 268.08226345166537,
"vocabulary": 53.0,
"volume": 985.2023181848701
},
"lines_of_code": 49.0,
"maintainability_index": 71.87970667049214,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 17.0,
"technical_debt_score": 11.8
},
"recommendations": [],
"severity": "Low",
"start_line": 100
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts:anonymous_function_100:100",
"entity_name": "anonymous_function_100",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts",
"issues": [],
"line_number": 101,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.16793368043019472,
"calculated_length": 184.27979309523727,
"difficulty": 3.0428571428571427,
"effort": 1532.9945970699202,
"length": 96.0,
"n1": 3.0,
"n2": 35.0,
"n_1": 25.0,
"n_2": 71.0,
"time": 85.16636650388446,
"vocabulary": 38.0,
"volume": 503.8010412905842
},
"lines_of_code": 30.0,
"maintainability_index": 83.31525897696869,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 8.0
},
"recommendations": [],
"severity": "Low",
"start_line": 101
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts:anonymous_function_132:132",
"entity_name": "anonymous_function_132",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts",
"issues": [],
"line_number": 133,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10526074030156042,
"calculated_length": 100.23866587835397,
"difficulty": 4.285714285714286,
"effort": 1353.3523753057768,
"length": 68.0,
"n1": 4.0,
"n2": 21.0,
"n_1": 23.0,
"n_2": 45.0,
"time": 75.18624307254316,
"vocabulary": 25.0,
"volume": 315.78222090468125
},
"lines_of_code": 15.0,
"maintainability_index": 96.9733121735911,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 5.0
},
"recommendations": [],
"severity": "Low",
"start_line": 133
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts:anonymous_function_150:150",
"entity_name": "anonymous_function_150",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts",
"issues": [],
"line_number": 151,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.09499480107719728,
"calculated_length": 91.19344939991072,
"difficulty": 3.1500000000000004,
"effort": 897.7008701795144,
"length": 63.0,
"n1": 3.0,
"n2": 20.0,
"n_1": 21.0,
"n_2": 42.0,
"time": 49.872270565528574,
"vocabulary": 23.0,
"volume": 284.98440323159184
},
"lines_of_code": 27.0,
"maintainability_index": 87.98478361373645,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 11.0,
"technical_debt_score": 7.400000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 151
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts:anonymous_function_151:151",
"entity_name": "anonymous_function_151",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts",
"issues": [],
"line_number": 152,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 59.39999999999999,
"length": 11.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 3.2999999999999994,
"vocabulary": 8.0,
"volume": 33.0
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 152
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts:anonymous_function_157:157",
"entity_name": "anonymous_function_157",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts",
"issues": [],
"line_number": 158,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02865053103446247,
"calculated_length": 47.77443751081734,
"difficulty": 2.125,
"effort": 182.64713534469826,
"length": 22.0,
"n1": 3.0,
"n2": 12.0,
"n_1": 5.0,
"n_2": 17.0,
"time": 10.147063074705459,
"vocabulary": 15.0,
"volume": 85.95159310338741
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 158
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts:anonymous_function_168:168",
"entity_name": "anonymous_function_168",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts",
"issues": [],
"line_number": 169,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.022844129532345624,
"calculated_length": 42.80863530717374,
"difficulty": 1.772727272727273,
"effort": 121.48923433111084,
"length": 18.0,
"n1": 3.0,
"n2": 11.0,
"n_1": 5.0,
"n_2": 13.0,
"time": 6.749401907283936,
"vocabulary": 14.0,
"volume": 68.53238859703687
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 169
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts:anonymous_function_179:179",
"entity_name": "anonymous_function_179",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts",
"issues": [],
"line_number": 180,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1814654761809372,
"calculated_length": 190.87218755408668,
"difficulty": 3.291666666666667,
"effort": 1791.9715772867548,
"length": 103.0,
"n1": 3.0,
"n2": 36.0,
"n_1": 24.0,
"n_2": 79.0,
"time": 99.55397651593083,
"vocabulary": 39.0,
"volume": 544.3964285428116
},
"lines_of_code": 48.0,
"maintainability_index": 75.29821952920736,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 13.0,
"technical_debt_score": 11.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 180
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts:anonymous_function_180:180",
"entity_name": "anonymous_function_180",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts",
"issues": [],
"line_number": 181,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.034666666666666665,
"calculated_length": 52.860603837997665,
"difficulty": 2.4230769230769234,
"effort": 252.00000000000003,
"length": 26.0,
"n1": 3.0,
"n2": 13.0,
"n_1": 5.0,
"n_2": 21.0,
"time": 14.000000000000002,
"vocabulary": 16.0,
"volume": 104.0
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 181
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts:anonymous_function_192:192",
"entity_name": "anonymous_function_192",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts",
"issues": [],
"line_number": 193,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02865053103446247,
"calculated_length": 47.77443751081734,
"difficulty": 2.125,
"effort": 182.64713534469826,
"length": 22.0,
"n1": 3.0,
"n2": 12.0,
"n_1": 5.0,
"n_2": 17.0,
"time": 10.147063074705459,
"vocabulary": 15.0,
"volume": 85.95159310338741
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 193
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts:anonymous_function_203:203",
"entity_name": "anonymous_function_203",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts",
"issues": [],
"line_number": 204,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.06656193872010438,
"calculated_length": 102.862383112184,
"difficulty": 2.3863636363636362,
"effort": 476.52297038256546,
"length": 43.0,
"n1": 3.0,
"n2": 22.0,
"n_1": 8.0,
"n_2": 35.0,
"time": 26.47349835458697,
"vocabulary": 25.0,
"volume": 199.68581616031315
},
"lines_of_code": 23.0,
"maintainability_index": 92.43191859870393,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 204
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts:anonymous_function_229:229",
"entity_name": "anonymous_function_229",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts",
"issues": [],
"line_number": 230,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "For",
"line": 252,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.23571911164459905,
"calculated_length": 150.11571282193984,
"difficulty": 9.321428571428571,
"effort": 6591.716586347181,
"length": 139.0,
"n1": 6.0,
"n2": 28.0,
"n_1": 52.0,
"n_2": 87.0,
"time": 366.20647701928783,
"vocabulary": 34.0,
"volume": 707.1573349337972
},
"lines_of_code": 35.0,
"maintainability_index": 78.82484486817519,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 18.0,
"technical_debt_score": 11.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 230
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts:anonymous_function_230:230",
"entity_name": "anonymous_function_230",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts",
"issues": [],
"line_number": 231,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1037262742772967,
"calculated_length": 74.24175580341924,
"difficulty": 4.323529411764706,
"effort": 1345.3907928319954,
"length": 72.0,
"n1": 3.0,
"n2": 17.0,
"n_1": 23.0,
"n_2": 49.0,
"time": 74.74393293511086,
"vocabulary": 20.0,
"volume": 311.1788228318901
},
"lines_of_code": 17.0,
"maintainability_index": 95.02203157848342,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 231
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts:anonymous_function_249:249",
"entity_name": "anonymous_function_249",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts",
"issues": [],
"line_number": 250,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "For",
"line": 252,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0901709291808494,
"calculated_length": 90.56842503028855,
"difficulty": 5.666666666666666,
"effort": 1532.9057960744396,
"length": 59.0,
"n1": 6.0,
"n2": 18.0,
"n_1": 25.0,
"n_2": 34.0,
"time": 85.16143311524665,
"vocabulary": 24.0,
"volume": 270.5127875425482
},
"lines_of_code": 14.0,
"maintainability_index": 98.66561053158438,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 7.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 250
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts:anonymous_function_266:266",
"entity_name": "anonymous_function_266",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts",
"issues": [],
"line_number": 267,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.20143219680431942,
"calculated_length": 177.728624104675,
"difficulty": 3.882352941176471,
"effort": 2346.092645132662,
"length": 116.0,
"n1": 3.0,
"n2": 34.0,
"n_1": 28.0,
"n_2": 88.0,
"time": 130.33848028514788,
"vocabulary": 37.0,
"volume": 604.2965904129583
},
"lines_of_code": 64.0,
"maintainability_index": 70.09495541963305,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 16.0,
"technical_debt_score": 14.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 267
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts:anonymous_function_267:267",
"entity_name": "anonymous_function_267",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts",
"issues": [],
"line_number": 268,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03660264518982301,
"calculated_length": 79.81353752812508,
"difficulty": 1.6666666666666667,
"effort": 183.01322594911505,
"length": 25.0,
"n1": 3.0,
"n2": 18.0,
"n_1": 5.0,
"n_2": 20.0,
"time": 10.167401441617503,
"vocabulary": 21.0,
"volume": 109.80793556946902
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 4.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 268
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts:anonymous_function_283:283",
"entity_name": "anonymous_function_283",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts",
"issues": [],
"line_number": 284,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03660264518982301,
"calculated_length": 79.81353752812508,
"difficulty": 1.6666666666666667,
"effort": 183.01322594911505,
"length": 25.0,
"n1": 3.0,
"n2": 18.0,
"n_1": 5.0,
"n_2": 20.0,
"time": 10.167401441617503,
"vocabulary": 21.0,
"volume": 109.80793556946902
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 4.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 284
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts:anonymous_function_299:299",
"entity_name": "anonymous_function_299",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts",
"issues": [],
"line_number": 300,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03660264518982301,
"calculated_length": 79.81353752812508,
"difficulty": 1.6666666666666667,
"effort": 183.01322594911505,
"length": 25.0,
"n1": 3.0,
"n2": 18.0,
"n_1": 5.0,
"n_2": 20.0,
"time": 10.167401441617503,
"vocabulary": 21.0,
"volume": 109.80793556946902
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 4.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 300
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts:anonymous_function_315:315",
"entity_name": "anonymous_function_315",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.test.ts",
"issues": [],
"line_number": 316,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03660264518982301,
"calculated_length": 79.81353752812508,
"difficulty": 1.6666666666666667,
"effort": 183.01322594911505,
"length": 25.0,
"n1": 3.0,
"n2": 18.0,
"n_1": 5.0,
"n_2": 20.0,
"time": 10.167401441617503,
"vocabulary": 21.0,
"volume": 109.80793556946902
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 4.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 316
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.ts:appendText:5",
"entity_name": "appendText",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.ts",
"issues": [],
"line_number": 6,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 8,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 11,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02652230907621928,
"calculated_length": 27.11941547876375,
"difficulty": 7.199999999999999,
"effort": 572.8818760463363,
"length": 23.0,
"n1": 6.0,
"n2": 5.0,
"n_1": 11.0,
"n_2": 12.0,
"time": 31.826770891463127,
"vocabulary": 11.0,
"volume": 79.56692722865783
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 6.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 6
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.ts:flushBuffers:16",
"entity_name": "flushBuffers",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.ts",
"issues": [],
"line_number": 17,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 18,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 21,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06980150690438941,
"calculated_length": 39.50977500432694,
"difficulty": 10.125,
"effort": 2120.2207722208286,
"length": 55.0,
"n1": 6.0,
"n2": 8.0,
"n_1": 28.0,
"n_2": 27.0,
"time": 117.79004290115715,
"vocabulary": 14.0,
"volume": 209.40452071316824
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 6.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 17
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.ts:collapseTimeline:32",
"entity_name": "collapseTimeline",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.ts",
"issues": [],
"line_number": 33,
"metrics": {
"cognitive_complexity": 16.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 40,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 47,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 61,
"nesting_level": 0
},
{
"column": 12,
"kind": "If",
"line": 65,
"nesting_level": 1
},
{
"column": 12,
"kind": "If",
"line": 69,
"nesting_level": 2
},
{
"column": 16,
"kind": "LogicalAnd",
"line": 69,
"nesting_level": 3
},
{
"column": 12,
"kind": "If",
"line": 73,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.31881204175560923,
"calculated_length": 153.0586500259616,
"difficulty": 22.75,
"effort": 21758.92184982033,
"length": 185.0,
"n1": 12.0,
"n2": 24.0,
"n_1": 94.0,
"n_2": 91.0,
"time": 1208.828991656685,
"vocabulary": 36.0,
"volume": 956.4361252668277
},
"lines_of_code": 58.0,
"maintainability_index": 67.69211039273452,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 42.0,
"technical_debt_score": 40.400000000000006
},
"recommendations": [],
"severity": "Moderate",
"start_line": 33
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.ts:flushAssistant:38",
"entity_name": "flushAssistant",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.ts",
"issues": [],
"line_number": 39,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 40,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02157501122499309,
"calculated_length": 39.50977500432694,
"difficulty": 3.75,
"effort": 242.71887628117227,
"length": 17.0,
"n1": 6.0,
"n2": 8.0,
"n_1": 7.0,
"n_2": 10.0,
"time": 13.484382015620682,
"vocabulary": 14.0,
"volume": 64.72503367497927
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 39
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.ts:flushReasoning:45",
"entity_name": "flushReasoning",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.ts",
"issues": [],
"line_number": 46,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 47,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02157501122499309,
"calculated_length": 39.50977500432694,
"difficulty": 3.75,
"effort": 242.71887628117227,
"length": 17.0,
"n1": 6.0,
"n2": 8.0,
"n_1": 7.0,
"n_2": 10.0,
"time": 13.484382015620682,
"vocabulary": 14.0,
"volume": 64.72503367497927
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 46
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.ts:flushToolCalls:52",
"entity_name": "flushToolCalls",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.ts",
"issues": [],
"line_number": 53,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.020756589711823783,
"calculated_length": 27.651484454403228,
"difficulty": 2.5714285714285716,
"effort": 160.12226349121207,
"length": 18.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 9.0,
"n_2": 9.0,
"time": 8.895681305067336,
"vocabulary": 11.0,
"volume": 62.26976913547135
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 53
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.ts:curateAgentActivity:95",
"entity_name": "curateAgentActivity",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/activity-curator.ts",
"issues": [],
"line_number": 96,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 100,
"nesting_level": 0
},
{
"column": 5,
"kind": "ConditionalExpression",
"line": 109,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 109,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 131,
"nesting_level": 0
},
{
"column": 28,
"kind": "ConditionalExpression",
"line": 142,
"nesting_level": 0
},
{
"column": 10,
"kind": "ConditionalExpression",
"line": 155,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.4019806083730592,
"calculated_length": 300.4363582436418,
"difficulty": 18.2,
"effort": 21948.14121716903,
"length": 205.0,
"n1": 14.0,
"n2": 45.0,
"n_1": 88.0,
"n_2": 117.0,
"time": 1219.341178731613,
"vocabulary": 59.0,
"volume": 1205.9418251191776
},
"lines_of_code": 60.0,
"maintainability_index": 66.16753417312441,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 33.0,
"technical_debt_score": 30.8
},
"recommendations": [],
"severity": "Low",
"start_line": 96
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:createSession:30",
"entity_name": "createSession",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 31,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009,
"calculated_length": 17.509775004326936,
"difficulty": 1.1666666666666667,
"effort": 31.500000000000004,
"length": 9.0,
"n1": 2.0,
"n2": 6.0,
"n_1": 2.0,
"n_2": 7.0,
"time": 1.7500000000000002,
"vocabulary": 8.0,
"volume": 27.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:resumeSession:34",
"entity_name": "resumeSession",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 35,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02666666666666667,
"calculated_length": 49.66338827944708,
"difficulty": 3.1818181818181817,
"effort": 254.54545454545453,
"length": 20.0,
"n1": 5.0,
"n2": 11.0,
"n_1": 6.0,
"n_2": 14.0,
"time": 14.14141414141414,
"vocabulary": 16.0,
"volume": 80.0
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 35
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:constructor:48",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 49,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 4.754887502163468,
"difficulty": 0.0,
"effort": 0.0,
"length": 3.0,
"n1": 0.0,
"n2": 3.0,
"n_1": 0.0,
"n_2": 3.0,
"time": 0.0,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 49
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:run:50",
"entity_name": "run",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 51,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01850219859070546,
"calculated_length": 37.974168451037094,
"difficulty": 1.5,
"effort": 83.25989365817458,
"length": 15.0,
"n1": 3.0,
"n2": 10.0,
"n_1": 5.0,
"n_2": 10.0,
"time": 4.625549647676365,
"vocabulary": 13.0,
"volume": 55.506595772116384
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 51
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:stream:58",
"entity_name": "stream",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 59,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.027136557933034676,
"calculated_length": 36.529325012980806,
"difficulty": 2.888888888888889,
"effort": 235.1835020863005,
"length": 22.0,
"n1": 4.0,
"n2": 9.0,
"n_1": 9.0,
"n_2": 13.0,
"time": 13.065750115905583,
"vocabulary": 13.0,
"volume": 81.40967379910403
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 59
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:streamHistory:64",
"entity_name": "streamHistory",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 65,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 4.754887502163468,
"difficulty": 0.0,
"effort": 0.0,
"length": 3.0,
"n1": 0.0,
"n2": 3.0,
"n_1": 0.0,
"n_2": 3.0,
"time": 0.0,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 65
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:getRuntimeInfo:66",
"entity_name": "getRuntimeInfo",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 67,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.029874687506009637,
"calculated_length": 33.284212515144276,
"difficulty": 2.3333333333333335,
"effort": 209.12281254206746,
"length": 25.0,
"n1": 3.0,
"n2": 9.0,
"n_1": 11.0,
"n_2": 14.0,
"time": 11.61793403011486,
"vocabulary": 12.0,
"volume": 89.62406251802891
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 67
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:getAvailableModes:75",
"entity_name": "getAvailableModes",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 76,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 0.0,
"difficulty": 0.5,
"effort": 1.0,
"length": 2.0,
"n1": 1.0,
"n2": 1.0,
"n_1": 1.0,
"n_2": 1.0,
"time": 0.05555555555555555,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 76
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:getCurrentMode:79",
"entity_name": "getCurrentMode",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 80,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 80
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:setMode:83",
"entity_name": "setMode",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 84,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 2.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 2.0,
"n1": 0.0,
"n2": 2.0,
"n_1": 0.0,
"n_2": 2.0,
"time": 0.0,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 84
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:getPendingPermissions:85",
"entity_name": "getPendingPermissions",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 86,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 0.0,
"difficulty": 0.5,
"effort": 1.0,
"length": 2.0,
"n1": 1.0,
"n2": 1.0,
"n_1": 1.0,
"n_2": 1.0,
"time": 0.05555555555555555,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 86
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:respondToPermission:89",
"entity_name": "respondToPermission",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 90,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 2.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 2.0,
"n1": 0.0,
"n2": 2.0,
"n_1": 0.0,
"n_2": 2.0,
"time": 0.0,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 90
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:describePersistence:91",
"entity_name": "describePersistence",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 92,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 25.84962500721156,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.43609027817842,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 92
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:interrupt:98",
"entity_name": "interrupt",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 99,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 2.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 2.0,
"n1": 0.0,
"n2": 2.0,
"n_1": 0.0,
"n_2": 2.0,
"time": 0.0,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 99
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:close:100",
"entity_name": "close",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 101,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 2.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 2.0,
"n1": 0.0,
"n2": 2.0,
"n_1": 0.0,
"n_2": 2.0,
"time": 0.0,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 101
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:anonymous_function_103:103",
"entity_name": "anonymous_function_103",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 104,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 281,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 323,
"nesting_level": 0
}
],
"halstead": {
"bugs": 1.7335608371257842,
"calculated_length": 665.3756810181046,
"difficulty": 25.885416666666664,
"effort": 134621.83375804918,
"length": 773.0,
"n1": 10.0,
"n2": 96.0,
"n_1": 276.0,
"n_2": 497.0,
"time": 7478.990764336066,
"vocabulary": 106.0,
"volume": 5200.682511377353
},
"lines_of_code": 267.0,
"maintainability_index": 35.30253696356375,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 93.0,
"technical_debt_score": 27.6
},
"recommendations": [],
"severity": "Low",
"start_line": 104
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:anonymous_function_106:106",
"entity_name": "anonymous_function_106",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 107,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.08166666666666667,
"calculated_length": 139.99160303285046,
"difficulty": 3.1481481481481484,
"effort": 771.2962962962963,
"length": 49.0,
"n1": 5.0,
"n2": 27.0,
"n_1": 15.0,
"n_2": 34.0,
"time": 42.84979423868313,
"vocabulary": 32.0,
"volume": 245.0
},
"lines_of_code": 19.0,
"maintainability_index": 94.46354584267111,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 107
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:anonymous_function_116:116",
"entity_name": "anonymous_function_116",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 117,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 117
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:anonymous_function_127:127",
"entity_name": "anonymous_function_127",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 128,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1556885162321597,
"calculated_length": 178.07464641326578,
"difficulty": 4.242424242424242,
"effort": 1981.4902065911233,
"length": 89.0,
"n1": 5.0,
"n2": 33.0,
"n_1": 33.0,
"n_2": 56.0,
"time": 110.08278925506241,
"vocabulary": 38.0,
"volume": 467.0655486964791
},
"lines_of_code": 25.0,
"maintainability_index": 86.66256967005639,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 128
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:anonymous_function_137:137",
"entity_name": "anonymous_function_137",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 138,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 138
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:anonymous_function_154:154",
"entity_name": "anonymous_function_154",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 155,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.14270585990928072,
"calculated_length": 184.58337707694835,
"difficulty": 3.8235294117647056,
"effort": 1636.9201577829258,
"length": 81.0,
"n1": 5.0,
"n2": 34.0,
"n_1": 29.0,
"n_2": 52.0,
"time": 90.9400087657181,
"vocabulary": 39.0,
"volume": 428.11757972784216
},
"lines_of_code": 23.0,
"maintainability_index": 88.46612474236039,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 155
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:anonymous_function_164:164",
"entity_name": "anonymous_function_164",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 165,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 165
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:anonymous_function_179:179",
"entity_name": "anonymous_function_179",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 180,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.14918744869687905,
"calculated_length": 201.62707505625016,
"difficulty": 4.333333333333333,
"effort": 1939.4368330594275,
"length": 83.0,
"n1": 6.0,
"n2": 36.0,
"n_1": 31.0,
"n_2": 52.0,
"time": 107.74649072552376,
"vocabulary": 42.0,
"volume": 447.56234609063716
},
"lines_of_code": 24.0,
"maintainability_index": 87.54568553416863,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 180
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:anonymous_function_189:189",
"entity_name": "anonymous_function_189",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 190,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 190
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:anonymous_function_205:205",
"entity_name": "anonymous_function_205",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 206,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1555529229681268,
"calculated_length": 205.76878450632645,
"difficulty": 5.541666666666666,
"effort": 2586.067344345108,
"length": 86.0,
"n1": 7.0,
"n2": 36.0,
"n_1": 29.0,
"n_2": 57.0,
"time": 143.67040801917267,
"vocabulary": 43.0,
"volume": 466.6587689043804
},
"lines_of_code": 32.0,
"maintainability_index": 82.66796719896278,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 8.4
},
"recommendations": [],
"severity": "Low",
"start_line": 206
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:anonymous_function_216:216",
"entity_name": "anonymous_function_216",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 217,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 0.0,
"difficulty": 0.5,
"effort": 1.0,
"length": 2.0,
"n1": 1.0,
"n2": 1.0,
"n_1": 1.0,
"n_2": 1.0,
"time": 0.05555555555555555,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 217
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:anonymous_function_239:239",
"entity_name": "anonymous_function_239",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 240,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.12070233280920246,
"calculated_length": 178.07464641326578,
"difficulty": 3.4848484848484853,
"effort": 1261.8880248234805,
"length": 69.0,
"n1": 5.0,
"n2": 33.0,
"n_1": 23.0,
"n_2": 46.0,
"time": 70.10489026797114,
"vocabulary": 38.0,
"volume": 362.1069984276074
},
"lines_of_code": 23.0,
"maintainability_index": 89.33690703357038,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 240
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:anonymous_function_249:249",
"entity_name": "anonymous_function_249",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 250,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 250
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:anonymous_function_264:264",
"entity_name": "anonymous_function_264",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 265,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 281,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.22444061258437528,
"calculated_length": 275.6627143478162,
"difficulty": 7.3,
"effort": 4915.249415597818,
"length": 117.0,
"n1": 9.0,
"n2": 45.0,
"n_1": 44.0,
"n_2": 73.0,
"time": 273.06941197765656,
"vocabulary": 54.0,
"volume": 673.3218377531258
},
"lines_of_code": 39.0,
"maintainability_index": 77.3267395022246,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 13.0,
"technical_debt_score": 12.600000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 265
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:anonymous_function_275:275",
"entity_name": "anonymous_function_275",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 276,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 0.0,
"difficulty": 0.5,
"effort": 1.0,
"length": 2.0,
"n1": 1.0,
"n2": 1.0,
"n_1": 1.0,
"n_2": 1.0,
"time": 0.05555555555555555,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 276
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:anonymous_function_279:279",
"entity_name": "anonymous_function_279",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 280,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 281,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.022202638308846556,
"calculated_length": 35.161259458730164,
"difficulty": 3.8571428571428577,
"effort": 256.9162432880816,
"length": 18.0,
"n1": 6.0,
"n2": 7.0,
"n_1": 9.0,
"n_2": 9.0,
"time": 14.273124627115644,
"vocabulary": 13.0,
"volume": 66.60791492653966
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 280
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:anonymous_function_301:301",
"entity_name": "anonymous_function_301",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 302,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 302
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:anonymous_function_302:302",
"entity_name": "anonymous_function_302",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 303,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 303
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:anonymous_function_305:305",
"entity_name": "anonymous_function_305",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 306,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 323,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.16911304497151905,
"calculated_length": 264.21499122004104,
"difficulty": 5.2727272727272725,
"effort": 2675.060893185847,
"length": 89.0,
"n1": 8.0,
"n2": 44.0,
"n_1": 31.0,
"n_2": 58.0,
"time": 148.6144940658804,
"vocabulary": 52.0,
"volume": 507.3391349145572
},
"lines_of_code": 33.0,
"maintainability_index": 81.50484314156306,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 11.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 306
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:anonymous_function_315:315",
"entity_name": "anonymous_function_315",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 316,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 316
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:anonymous_function_321:321",
"entity_name": "anonymous_function_321",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 322,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 323,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.022202638308846556,
"calculated_length": 35.161259458730164,
"difficulty": 3.8571428571428577,
"effort": 256.9162432880816,
"length": 18.0,
"n1": 6.0,
"n2": 7.0,
"n_1": 9.0,
"n_2": 9.0,
"time": 14.273124627115644,
"vocabulary": 13.0,
"volume": 66.60791492653966
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 322
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:anonymous_function_337:337",
"entity_name": "anonymous_function_337",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 338,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 338
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:anonymous_function_340:340",
"entity_name": "anonymous_function_340",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 341,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.12920654830774939,
"calculated_length": 217.7403270100645,
"difficulty": 3.141025641025641,
"effort": 1217.5232436691767,
"length": 71.0,
"n1": 5.0,
"n2": 39.0,
"n_1": 22.0,
"n_2": 49.0,
"time": 67.64018020384316,
"vocabulary": 44.0,
"volume": 387.61964492324813
},
"lines_of_code": 29.0,
"maintainability_index": 85.2276798306296,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 7.8
},
"recommendations": [],
"severity": "Low",
"start_line": 341
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:anonymous_function_351:351",
"entity_name": "anonymous_function_351",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 352,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 352
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts:anonymous_function_352:352",
"entity_name": "anonymous_function_352",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.test.ts",
"issues": [],
"line_number": 353,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.00655049481813441,
"calculated_length": 12.754887502163468,
"difficulty": 1.5,
"effort": 29.47722668160484,
"length": 7.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 4.0,
"time": 1.6376237045336022,
"vocabulary": 7.0,
"volume": 19.651484454403228
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 353
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:isAgentBusy:165",
"entity_name": "isAgentBusy",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 166,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 48.599999999999994,
"length": 9.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 2.6999999999999997,
"vocabulary": 8.0,
"volume": 27.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 166
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:createAbortError:169",
"entity_name": "createAbortError",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 170,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "ConditionalExpression",
"line": 176,
"nesting_level": 0
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 178,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05277488948733182,
"calculated_length": 83.65148445440323,
"difficulty": 5.25,
"effort": 831.2045094254762,
"length": 35.0,
"n1": 7.0,
"n2": 16.0,
"n_1": 11.0,
"n_2": 24.0,
"time": 46.178028301415345,
"vocabulary": 23.0,
"volume": 158.32466846199546
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 3.0,
"technical_debt_score": 10.0
},
"recommendations": [],
"severity": "Low",
"start_line": 170
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:constructor:195",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 196,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 204,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 206,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.14,
"calculated_length": 132.57125000229212,
"difficulty": 8.021739130434781,
"effort": 3369.130434782608,
"length": 84.0,
"n1": 9.0,
"n2": 23.0,
"n_1": 43.0,
"n_2": 41.0,
"time": 187.17391304347822,
"vocabulary": 32.0,
"volume": 420.0
},
"lines_of_code": 15.0,
"maintainability_index": 95.03026224350165,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 13.0
},
"recommendations": [],
"severity": "Low",
"start_line": 196
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:anonymous_function_198:198",
"entity_name": "anonymous_function_198",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 199,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 0.0,
"difficulty": 0.5,
"effort": 1.0,
"length": 2.0,
"n1": 1.0,
"n2": 1.0,
"n_1": 1.0,
"n_2": 1.0,
"time": 0.05555555555555555,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 199
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:registerClient:212",
"entity_name": "registerClient",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 213,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014395021744511903,
"calculated_length": 24.406371956566694,
"difficulty": 1.9285714285714288,
"effort": 83.2854829503903,
"length": 13.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 4.0,
"n_2": 9.0,
"time": 4.626971275021684,
"vocabulary": 10.0,
"volume": 43.18506523353571
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 213
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:setAgentAttentionCallback:216",
"entity_name": "setAgentAttentionCallback",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 217,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 217
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:subscribe:220",
"entity_name": "subscribe",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 221,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 228,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 229,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 231,
"nesting_level": 3
},
{
"column": 11,
"kind": "If",
"line": 240,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.13619864122267825,
"calculated_length": 137.26120593818493,
"difficulty": 9.565217391304348,
"effort": 3908.3088350855496,
"length": 81.0,
"n1": 10.0,
"n2": 23.0,
"n_1": 37.0,
"n_2": 44.0,
"time": 217.12826861586387,
"vocabulary": 33.0,
"volume": 408.59592366803474
},
"lines_of_code": 33.0,
"maintainability_index": 81.94039863306837,
"max_nesting_depth": 3.0,
"parameter_count": 2.0,
"statement_count": 13.0,
"technical_debt_score": 27.0
},
"recommendations": [],
"severity": "Low",
"start_line": 221
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:anonymous_function_250:250",
"entity_name": "anonymous_function_250",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 251,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 27.14210625757214,
"length": 7.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 3.0,
"time": 1.5078947920873411,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 251
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:listAgents:255",
"entity_name": "listAgents",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 256,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.033859718495273826,
"calculated_length": 44.82892142331043,
"difficulty": 3.25,
"effort": 330.1322553289198,
"length": 26.0,
"n1": 5.0,
"n2": 10.0,
"n_1": 13.0,
"n_2": 13.0,
"time": 18.340680851606656,
"vocabulary": 15.0,
"volume": 101.57915548582149
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 256
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:anonymous_function_257:257",
"entity_name": "anonymous_function_257",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 258,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.0,
"difficulty": 1.5,
"effort": 15.0,
"length": 5.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.8333333333333334,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 258
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:anonymous_function_258:258",
"entity_name": "anonymous_function_258",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 259,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001,
"calculated_length": 0.0,
"difficulty": 1.0,
"effort": 3.0,
"length": 3.0,
"n1": 1.0,
"n2": 1.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.16666666666666666,
"vocabulary": 2.0,
"volume": 3.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 259
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:listPersistedAgents:263",
"entity_name": "listPersistedAgents",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 264,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 267,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 269,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 277,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 280,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 285,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.19896304100574358,
"calculated_length": 195.31243420408975,
"difficulty": 12.783333333333333,
"effort": 7630.232622570266,
"length": 110.0,
"n1": 13.0,
"n2": 30.0,
"n_1": 51.0,
"n_2": 59.0,
"time": 423.9018123650148,
"vocabulary": 43.0,
"volume": 596.8891230172308
},
"lines_of_code": 36.0,
"maintainability_index": 78.32999005972705,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 15.0,
"technical_debt_score": 28.799999999999997
},
"recommendations": [],
"severity": "Low",
"start_line": 264
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:anonymous_function_295:295",
"entity_name": "anonymous_function_295",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 296,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01403677461028802,
"calculated_length": 12.754887502163468,
"difficulty": 3.0,
"effort": 126.33097149259218,
"length": 15.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 7.0,
"n_2": 8.0,
"time": 7.01838730514401,
"vocabulary": 7.0,
"volume": 42.11032383086406
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 296
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:getAgent:301",
"entity_name": "getAgent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 302,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 12,
"kind": "ConditionalExpression",
"line": 304,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.02031478750408655,
"calculated_length": 32.0,
"difficulty": 3.0,
"effort": 182.83308753677895,
"length": 17.0,
"n1": 4.0,
"n2": 8.0,
"n_1": 5.0,
"n_2": 12.0,
"time": 10.157393752043275,
"vocabulary": 12.0,
"volume": 60.94436251225965
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 302
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:getTimeline:306",
"entity_name": "getTimeline",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 307,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 20.264662506490403,
"difficulty": 2.0,
"effort": 76.07820003461549,
"length": 12.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 4.0,
"n_2": 8.0,
"time": 4.22656666858975,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 307
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:createAgent:311",
"entity_name": "createAgent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 312,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05330377983694414,
"calculated_length": 70.2129994085646,
"difficulty": 3.6666666666666665,
"effort": 586.3415782063855,
"length": 37.0,
"n1": 5.0,
"n2": 15.0,
"n_1": 15.0,
"n_2": 22.0,
"time": 32.574532122576976,
"vocabulary": 20.0,
"volume": 159.91133951083242
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 4.4
},
"recommendations": [],
"severity": "Low",
"start_line": 312
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:resumeAgent:325",
"entity_name": "resumeAgent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 326,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "ConditionalExpression",
"line": 339,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.12220350898954291,
"calculated_length": 128.0419249893113,
"difficulty": 8.347826086956522,
"effort": 3060.400920781596,
"length": 74.0,
"n1": 8.0,
"n2": 23.0,
"n_1": 26.0,
"n_2": 48.0,
"time": 170.02227337675535,
"vocabulary": 31.0,
"volume": 366.61052696862873
},
"lines_of_code": 23.0,
"maintainability_index": 89.0426334412785,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 7.0,
"technical_debt_score": 10.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 326
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:refreshAgentFromPersistence:350",
"entity_name": "refreshAgentFromPersistence",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 351,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 354,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 370,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 372,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.1391822584300392,
"calculated_length": 171.40151256706753,
"difficulty": 10.0,
"effort": 4175.467752901176,
"length": 79.0,
"n1": 12.0,
"n2": 27.0,
"n_1": 34.0,
"n_2": 45.0,
"time": 231.970430716732,
"vocabulary": 39.0,
"volume": 417.54677529011764
},
"lines_of_code": 29.0,
"maintainability_index": 84.1509453660999,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 19.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 351
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:closeAgent:381",
"entity_name": "closeAgent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 382,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.06837795148577189,
"calculated_length": 83.05865002596161,
"difficulty": 3.111111111111111,
"effort": 638.1942138672043,
"length": 46.0,
"n1": 4.0,
"n2": 18.0,
"n_1": 18.0,
"n_2": 28.0,
"time": 35.455234103733574,
"vocabulary": 22.0,
"volume": 205.13385445731566
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 4.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 382
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:setAgentMode:397",
"entity_name": "setAgentMode",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 398,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 403,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.06088696102602472,
"calculated_length": 62.6710344630571,
"difficulty": 6.708333333333334,
"effort": 1225.3500906487477,
"length": 43.0,
"n1": 7.0,
"n2": 12.0,
"n_1": 20.0,
"n_2": 23.0,
"time": 68.07500503604155,
"vocabulary": 19.0,
"volume": 182.66088307807416
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 6.0,
"technical_debt_score": 7.400000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 398
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:setTitle:408",
"entity_name": "setTitle",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 409,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02748471250552886,
"calculated_length": 32.0,
"difficulty": 3.25,
"effort": 267.9759469289064,
"length": 23.0,
"n1": 4.0,
"n2": 8.0,
"n_1": 10.0,
"n_2": 13.0,
"time": 14.887552607161467,
"vocabulary": 12.0,
"volume": 82.45413751658658
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 409
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:clearAgentAttention:414",
"entity_name": "clearAgentAttention",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 415,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 417,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04496209125375373,
"calculated_length": 52.87076540327685,
"difficulty": 5.95,
"effort": 802.5733288795041,
"length": 33.0,
"n1": 7.0,
"n2": 10.0,
"n_1": 16.0,
"n_2": 17.0,
"time": 44.58740715997245,
"vocabulary": 17.0,
"volume": 134.88627376126118
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 415
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:runAgent:423",
"entity_name": "runAgent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 424,
"metrics": {
"cognitive_complexity": 19.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 436,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 438,
"nesting_level": 2
},
{
"column": 14,
"kind": "If",
"line": 441,
"nesting_level": 2
},
{
"column": 14,
"kind": "If",
"line": 443,
"nesting_level": 3
},
{
"column": 14,
"kind": "If",
"line": 445,
"nesting_level": 4
},
{
"column": 5,
"kind": "If",
"line": 452,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.24003733677838093,
"calculated_length": 281.4351007880244,
"difficulty": 10.732558139534884,
"effort": 7728.644017899266,
"length": 124.0,
"n1": 13.0,
"n2": 43.0,
"n_1": 53.0,
"n_2": 71.0,
"time": 429.3691121055148,
"vocabulary": 56.0,
"volume": 720.1120103351428
},
"lines_of_code": 40.0,
"maintainability_index": 75.41723764028877,
"max_nesting_depth": 4.0,
"parameter_count": 3.0,
"statement_count": 21.0,
"technical_debt_score": 37.2
},
"recommendations": [],
"severity": "Moderate",
"start_line": 424
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:recordUserMessage:465",
"entity_name": "recordUserMessage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 466,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.08930835464468073,
"calculated_length": 103.84830635279079,
"difficulty": 4.285714285714286,
"effort": 1148.250274003038,
"length": 57.0,
"n1": 5.0,
"n2": 21.0,
"n_1": 21.0,
"n_2": 36.0,
"time": 63.791681889057664,
"vocabulary": 26.0,
"volume": 267.9250639340422
},
"lines_of_code": 20.0,
"maintainability_index": 93.16745905645188,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 7.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 466
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:appendTimelineItem:487",
"entity_name": "appendTimelineItem",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 488,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.06094556545470973,
"calculated_length": 79.50977500432694,
"difficulty": 4.5,
"effort": 822.7651336385813,
"length": 41.0,
"n1": 6.0,
"n2": 16.0,
"n_1": 17.0,
"n_2": 24.0,
"time": 45.709174091032295,
"vocabulary": 22.0,
"volume": 182.83669636412918
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 488
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:streamAgent:499",
"entity_name": "streamAgent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 500,
"metrics": {
"cognitive_complexity": 19.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 506,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 519,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 524,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 525,
"nesting_level": 2
},
{
"column": 32,
"kind": "ConditionalExpression",
"line": 533,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 543,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 548,
"nesting_level": 2
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 550,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.3431541778794408,
"calculated_length": 294.718282215303,
"difficulty": 20.414634146341463,
"effort": 21016.10099159209,
"length": 175.0,
"n1": 18.0,
"n2": 41.0,
"n_1": 82.0,
"n_2": 93.0,
"time": 1167.5611661995606,
"vocabulary": 59.0,
"volume": 1029.4625336383224
},
"lines_of_code": 59.0,
"maintainability_index": 66.80257431696725,
"max_nesting_depth": 2.0,
"parameter_count": 3.0,
"statement_count": 35.0,
"technical_debt_score": 45.00000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 500
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:anonymous_function_517:517",
"entity_name": "anonymous_function_517",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 518,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 519,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 524,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 525,
"nesting_level": 2
},
{
"column": 32,
"kind": "ConditionalExpression",
"line": 533,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10619248754831746,
"calculated_length": 102.70614925012939,
"difficulty": 9.411764705882353,
"effort": 2998.376119011317,
"length": 67.0,
"n1": 10.0,
"n2": 17.0,
"n_1": 35.0,
"n_2": 32.0,
"time": 166.57645105618428,
"vocabulary": 27.0,
"volume": 318.5774626449524
},
"lines_of_code": 19.0,
"maintainability_index": 92.17798712496499,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 13.0,
"technical_debt_score": 21.0
},
"recommendations": [],
"severity": "Low",
"start_line": 518
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:respondToPermission:560",
"entity_name": "respondToPermission",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 561,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04533333333333334,
"calculated_length": 51.01955000865387,
"difficulty": 3.3333333333333335,
"effort": 453.33333333333337,
"length": 34.0,
"n1": 4.0,
"n2": 12.0,
"n_1": 14.0,
"n_2": 20.0,
"time": 25.185185185185187,
"vocabulary": 16.0,
"volume": 136.0
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 4.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 561
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:cancelAgentRun:571",
"entity_name": "cancelAgentRun",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 572,
"metrics": {
"cognitive_complexity": 15.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 575,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 575,
"nesting_level": 2
},
{
"column": 5,
"kind": "Try",
"line": 579,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 581,
"nesting_level": 2
},
{
"column": 5,
"kind": "Try",
"line": 588,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 593,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.12209910819000815,
"calculated_length": 140.34438221418816,
"difficulty": 11.142857142857142,
"effort": 4081.5987594945577,
"length": 72.0,
"n1": 13.0,
"n2": 21.0,
"n_1": 36.0,
"n_2": 36.0,
"time": 226.75548663858655,
"vocabulary": 34.0,
"volume": 366.29732457002444
},
"lines_of_code": 28.0,
"maintainability_index": 84.71037103286152,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 31.6
},
"recommendations": [],
"severity": "Moderate",
"start_line": 572
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:getPendingPermissions:601",
"entity_name": "getPendingPermissions",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 602,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.022704762504567322,
"calculated_length": 33.284212515144276,
"difficulty": 1.8333333333333335,
"effort": 124.87619377512029,
"length": 19.0,
"n1": 3.0,
"n2": 9.0,
"n_1": 8.0,
"n_2": 11.0,
"time": 6.937566320840016,
"vocabulary": 12.0,
"volume": 68.11428751370197
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 602
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:peekPendingPermission:606",
"entity_name": "peekPendingPermission",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 607,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 12,
"kind": "ConditionalExpression",
"line": 609,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03333333333333333,
"calculated_length": 51.01955000865387,
"difficulty": 2.6666666666666665,
"effort": 266.66666666666663,
"length": 25.0,
"n1": 4.0,
"n2": 12.0,
"n_1": 9.0,
"n_2": 16.0,
"time": 14.814814814814813,
"vocabulary": 16.0,
"volume": 100.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 607
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:primeAgentHistory:611",
"entity_name": "primeAgentHistory",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 612,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.015502331109474358,
"calculated_length": 23.509775004326936,
"difficulty": 2.6666666666666665,
"effort": 124.01864887579485,
"length": 14.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 6.8899249375441585,
"vocabulary": 10.0,
"volume": 46.50699332842307
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 612
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:getLastAssistantMessage:616",
"entity_name": "getLastAssistantMessage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 617,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 619,
"nesting_level": 1
},
{
"column": 5,
"kind": "For",
"line": 625,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 627,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 628,
"nesting_level": 3
},
{
"column": 5,
"kind": "If",
"line": 636,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.13057821292542537,
"calculated_length": 140.34438221418816,
"difficulty": 12.071428571428571,
"effort": 4728.79671094219,
"length": 77.0,
"n1": 13.0,
"n2": 21.0,
"n_1": 38.0,
"n_2": 39.0,
"time": 262.7109283856772,
"vocabulary": 34.0,
"volume": 391.7346387762761
},
"lines_of_code": 24.0,
"maintainability_index": 87.08848767130743,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 15.0,
"technical_debt_score": 27.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 617
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:waitForAgentEvent:642",
"entity_name": "waitForAgentEvent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [
{
"description": "Cyclomatic complexity of 30.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:waitForAgentEvent:642",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:643",
"metric_value": 30.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 77.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:waitForAgentEvent:642",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:643",
"metric_value": 77.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 643,
"metrics": {
"cognitive_complexity": 77.0,
"cyclomatic_complexity": 30.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 648,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 654,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 666,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 667,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 667,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 674,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 674,
"nesting_level": 2
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 674,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 682,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 690,
"nesting_level": 1
},
{
"column": 24,
"kind": "LogicalOr",
"line": 696,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 704,
"nesting_level": 1
},
{
"column": 11,
"kind": "Try",
"line": 705,
"nesting_level": 2
},
{
"column": 13,
"kind": "Catch",
"line": 707,
"nesting_level": 3
},
{
"column": 9,
"kind": "If",
"line": 714,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 714,
"nesting_level": 2
},
{
"column": 11,
"kind": "Try",
"line": 715,
"nesting_level": 2
},
{
"column": 13,
"kind": "Catch",
"line": 717,
"nesting_level": 3
},
{
"column": 7,
"kind": "If",
"line": 735,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 747,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 750,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 754,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 758,
"nesting_level": 2
},
{
"column": 17,
"kind": "LogicalOr",
"line": 758,
"nesting_level": 3
},
{
"column": 11,
"kind": "If",
"line": 764,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 765,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 769,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 775,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 780,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.8262937837092961,
"calculated_length": 459.7309446694772,
"difficulty": 21.626865671641788,
"effort": 53610.43399678074,
"length": 391.0,
"n1": 14.0,
"n2": 67.0,
"n_1": 184.0,
"n_2": 207.0,
"time": 2978.3574442655968,
"vocabulary": 81.0,
"volume": 2478.881351127888
},
"lines_of_code": 147.0,
"maintainability_index": 42.61406621380564,
"max_nesting_depth": 3.0,
"parameter_count": 2.0,
"statement_count": 71.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 643
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:anonymous_function_686:686",
"entity_name": "anonymous_function_686",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [
{
"description": "Cyclomatic complexity of 21.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:anonymous_function_686:686",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:687",
"metric_value": 21.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 56.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:anonymous_function_686:686",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:687",
"metric_value": 56.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 687,
"metrics": {
"cognitive_complexity": 56.0,
"cyclomatic_complexity": 21.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 690,
"nesting_level": 1
},
{
"column": 24,
"kind": "LogicalOr",
"line": 696,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 704,
"nesting_level": 1
},
{
"column": 11,
"kind": "Try",
"line": 705,
"nesting_level": 2
},
{
"column": 13,
"kind": "Catch",
"line": 707,
"nesting_level": 3
},
{
"column": 9,
"kind": "If",
"line": 714,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 714,
"nesting_level": 2
},
{
"column": 11,
"kind": "Try",
"line": 715,
"nesting_level": 2
},
{
"column": 13,
"kind": "Catch",
"line": 717,
"nesting_level": 3
},
{
"column": 7,
"kind": "If",
"line": 735,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 747,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 750,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 754,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 758,
"nesting_level": 2
},
{
"column": 17,
"kind": "LogicalOr",
"line": 758,
"nesting_level": 3
},
{
"column": 11,
"kind": "If",
"line": 764,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 765,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 769,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 775,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 780,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.5439324730384923,
"calculated_length": 334.47661314834704,
"difficulty": 14.701923076923077,
"effort": 23990.56013295735,
"length": 273.0,
"n1": 11.0,
"n2": 52.0,
"n_1": 134.0,
"n_2": 139.0,
"time": 1332.8088962754084,
"vocabulary": 63.0,
"volume": 1631.7974191154772
},
"lines_of_code": 102.0,
"maintainability_index": 52.77876595844336,
"max_nesting_depth": 3.0,
"parameter_count": 2.0,
"statement_count": 54.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 687
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:anonymous_function_701:701",
"entity_name": "anonymous_function_701",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 702,
"metrics": {
"cognitive_complexity": 21.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 704,
"nesting_level": 1
},
{
"column": 11,
"kind": "Try",
"line": 705,
"nesting_level": 2
},
{
"column": 13,
"kind": "Catch",
"line": 707,
"nesting_level": 3
},
{
"column": 9,
"kind": "If",
"line": 714,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 714,
"nesting_level": 2
},
{
"column": 11,
"kind": "Try",
"line": 715,
"nesting_level": 2
},
{
"column": 13,
"kind": "Catch",
"line": 717,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.04533333333333334,
"calculated_length": 48.18080946738404,
"difficulty": 9.0,
"effort": 1224.0,
"length": 34.0,
"n1": 9.0,
"n2": 7.0,
"n_1": 20.0,
"n_2": 14.0,
"time": 68.0,
"vocabulary": 16.0,
"volume": 136.0
},
"lines_of_code": 20.0,
"maintainability_index": 95.08333176259787,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 36.80000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 702
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:anonymous_function_723:723",
"entity_name": "anonymous_function_723",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 724,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02344134357365111,
"calculated_length": 47.77443751081734,
"difficulty": 1.5,
"effort": 105.48604608143,
"length": 18.0,
"n1": 3.0,
"n2": 12.0,
"n_1": 6.0,
"n_2": 12.0,
"time": 5.860335893412778,
"vocabulary": 15.0,
"volume": 70.32403072095333
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 724
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:anonymous_function_735:735",
"entity_name": "anonymous_function_735",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 736,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 57.05865002596162,
"length": 12.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 6.0,
"time": 3.169925001442312,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 736
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:anonymous_function_745:745",
"entity_name": "anonymous_function_745",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [
{
"description": "Cognitive complexity of 29.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:anonymous_function_745:745",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:746",
"metric_value": 29.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 746,
"metrics": {
"cognitive_complexity": 29.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 747,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 750,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 754,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 758,
"nesting_level": 2
},
{
"column": 17,
"kind": "LogicalOr",
"line": 758,
"nesting_level": 3
},
{
"column": 11,
"kind": "If",
"line": 764,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 765,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 769,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 775,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 780,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.24166666666666667,
"calculated_length": 132.57125000229212,
"difficulty": 12.91304347826087,
"effort": 9361.95652173913,
"length": 145.0,
"n1": 9.0,
"n2": 23.0,
"n_1": 79.0,
"n_2": 66.0,
"time": 520.1086956521739,
"vocabulary": 32.0,
"volume": 725.0
},
"lines_of_code": 40.0,
"maintainability_index": 74.46206023810991,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 29.0,
"technical_debt_score": 53.2
},
"recommendations": [],
"severity": "High",
"start_line": 746
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:registerSession:791",
"entity_name": "registerSession",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 792,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 797,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.29969454762280606,
"calculated_length": 325.2123594973901,
"difficulty": 11.040000000000001,
"effort": 9925.883417267336,
"length": 151.0,
"n1": 12.0,
"n2": 50.0,
"n_1": 59.0,
"n_2": 92.0,
"time": 551.4379676259631,
"vocabulary": 62.0,
"volume": 899.0836428684181
},
"lines_of_code": 50.0,
"maintainability_index": 71.79807174784663,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 14.0,
"technical_debt_score": 15.600000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 792
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:persistSnapshot:843",
"entity_name": "persistSnapshot",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 844,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 848,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03398342010754868,
"calculated_length": 62.05374780501027,
"difficulty": 5.090909090909091,
"effort": 519.0195070971072,
"length": 24.0,
"n1": 8.0,
"n2": 11.0,
"n_1": 10.0,
"n_2": 14.0,
"time": 28.8344170609504,
"vocabulary": 19.0,
"volume": 101.95026032264605
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 3.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 844
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:refreshSessionState:853",
"entity_name": "refreshSessionState",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 854,
"metrics": {
"cognitive_complexity": 15.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 855,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 858,
"nesting_level": 2
},
{
"column": 5,
"kind": "Try",
"line": 862,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 864,
"nesting_level": 2
},
{
"column": 5,
"kind": "Try",
"line": 868,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 873,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.13300348617692703,
"calculated_length": 110.43856189774725,
"difficulty": 7.8,
"effort": 3112.281576540093,
"length": 83.0,
"n1": 8.0,
"n2": 20.0,
"n_1": 44.0,
"n_2": 39.0,
"time": 172.90453203000516,
"vocabulary": 28.0,
"volume": 399.01045853078114
},
"lines_of_code": 24.0,
"maintainability_index": 86.76279228066801,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 30.8
},
"recommendations": [],
"severity": "Moderate",
"start_line": 854
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:anonymous_function_870:870",
"entity_name": "anonymous_function_870",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 871,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026416041678685932,
"calculated_length": 2.0,
"difficulty": 1.0,
"effort": 7.92481250360578,
"length": 5.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.44026736131143224,
"vocabulary": 3.0,
"volume": 7.92481250360578
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 871
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:refreshRuntimeInfo:879",
"entity_name": "refreshRuntimeInfo",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 880,
"metrics": {
"cognitive_complexity": 14.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 881,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 884,
"nesting_level": 2
},
{
"column": 9,
"kind": "LogicalOr",
"line": 884,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 889,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 892,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.08745553115043558,
"calculated_length": 81.32499728470782,
"difficulty": 11.538461538461537,
"effort": 3027.3068475150776,
"length": 58.0,
"n1": 10.0,
"n2": 13.0,
"n_1": 28.0,
"n_2": 30.0,
"time": 168.18371375083765,
"vocabulary": 23.0,
"volume": 262.36659345130676
},
"lines_of_code": 15.0,
"maintainability_index": 96.78692450754536,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 26.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 880
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:primeHistory:896",
"entity_name": "primeHistory",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 897,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 898,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 902,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 906,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.04977959745815929,
"calculated_length": 71.27302875388389,
"difficulty": 8.181818181818182,
"effort": 1221.8628467002734,
"length": 34.0,
"n1": 10.0,
"n2": 11.0,
"n_1": 16.0,
"n_2": 18.0,
"time": 67.8812692611263,
"vocabulary": 21.0,
"volume": 149.33879237447786
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 16.0
},
"recommendations": [],
"severity": "Low",
"start_line": 897
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:handleStreamEvent:910",
"entity_name": "handleStreamEvent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 911,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 917,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 929,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 930,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 963,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.30903459170657066,
"calculated_length": 230.80352233328142,
"difficulty": 11.594594594594593,
"effort": 10749.392419631253,
"length": 166.0,
"n1": 11.0,
"n2": 37.0,
"n_1": 88.0,
"n_2": 78.0,
"time": 597.1884677572918,
"vocabulary": 48.0,
"volume": 927.1037751197119
},
"lines_of_code": 55.0,
"maintainability_index": 69.40446176506643,
"max_nesting_depth": 2.0,
"parameter_count": 3.0,
"statement_count": 27.0,
"technical_debt_score": 28.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 911
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:recordTimeline:967",
"entity_name": "recordTimeline",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 968,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 970,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05313701693625441,
"calculated_length": 53.5635228093372,
"difficulty": 5.7272727272727275,
"effort": 912.9905637229167,
"length": 39.0,
"n1": 6.0,
"n2": 11.0,
"n_1": 18.0,
"n_2": 21.0,
"time": 50.721697984606486,
"vocabulary": 17.0,
"volume": 159.41105080876324
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 3.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 968
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:emitState:974",
"entity_name": "emitState",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 975,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.018450301966065584,
"calculated_length": 28.75488750216347,
"difficulty": 1.875,
"effort": 103.78294855911892,
"length": 16.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 6.0,
"n_2": 10.0,
"time": 5.765719364395496,
"vocabulary": 11.0,
"volume": 55.35090589819676
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 975
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:checkAndSetAttention:984",
"entity_name": "checkAndSetAttention",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 985,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 993,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 998,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1003,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1003,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 1015,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1027,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.2396348548189317,
"calculated_length": 161.60124350728728,
"difficulty": 12.962962962962962,
"effort": 9319.133242958455,
"length": 138.0,
"n1": 10.0,
"n2": 27.0,
"n_1": 68.0,
"n_2": 70.0,
"time": 517.7296246088031,
"vocabulary": 37.0,
"volume": 718.9045644567951
},
"lines_of_code": 52.0,
"maintainability_index": 71.17566295997622,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 22.0,
"technical_debt_score": 34.8
},
"recommendations": [],
"severity": "Low",
"start_line": 985
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:broadcastAgentAttention:1038",
"entity_name": "broadcastAgentAttention",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 1039,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03196942501105773,
"calculated_length": 63.35824643629125,
"difficulty": 1.7999999999999998,
"effort": 172.6348950597117,
"length": 23.0,
"n1": 3.0,
"n2": 15.0,
"n_1": 5.0,
"n_2": 18.0,
"time": 9.590827503317318,
"vocabulary": 18.0,
"volume": 95.90827503317318
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 1039
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:dispatchStream:1049",
"entity_name": "dispatchStream",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 1050,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014339850002884624,
"calculated_length": 33.284212515144276,
"difficulty": 1.5,
"effort": 64.5293250129808,
"length": 12.0,
"n1": 3.0,
"n2": 9.0,
"n_1": 3.0,
"n_2": 9.0,
"time": 3.584962500721156,
"vocabulary": 12.0,
"volume": 43.01955000865387
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1050
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:dispatch:1053",
"entity_name": "dispatch",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [
{
"description": "Cognitive complexity of 32.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:dispatch:1053",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:1054",
"metric_value": 32.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 1054,
"metrics": {
"cognitive_complexity": 32.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 1056,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1057,
"nesting_level": 2
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1057,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 1063,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1064,
"nesting_level": 2
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1064,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 1071,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1072,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1072,
"nesting_level": 3
},
{
"column": 9,
"kind": "If",
"line": 1075,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1077,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.1501513501360494,
"calculated_length": 92.5293250129808,
"difficulty": 12.65625,
"effort": 5701.059075478126,
"length": 97.0,
"n1": 9.0,
"n2": 16.0,
"n_1": 52.0,
"n_2": 45.0,
"time": 316.7255041932292,
"vocabulary": 25.0,
"volume": 450.45405040814825
},
"lines_of_code": 30.0,
"maintainability_index": 81.36727082721816,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 13.0,
"technical_debt_score": 55.60000000000001
},
"recommendations": [],
"severity": "High",
"start_line": 1054
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:normalizeConfig:1086",
"entity_name": "normalizeConfig",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 1087,
"metrics": {
"cognitive_complexity": 17.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1093,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1097,
"nesting_level": 1
},
{
"column": 26,
"kind": "ConditionalExpression",
"line": 1099,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 1102,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1102,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 1106,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 1107,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.1394463783048524,
"calculated_length": 97.21928094887363,
"difficulty": 14.0625,
"effort": 5882.89408473596,
"length": 89.0,
"n1": 10.0,
"n2": 16.0,
"n_1": 44.0,
"n_2": 45.0,
"time": 326.82744915199777,
"vocabulary": 26.0,
"volume": 418.3391349145572
},
"lines_of_code": 29.0,
"maintainability_index": 83.22108691237815,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 11.0,
"technical_debt_score": 35.400000000000006
},
"recommendations": [],
"severity": "Moderate",
"start_line": 1087
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:requireClient:1117",
"entity_name": "requireClient",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 1118,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1120,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.028,
"calculated_length": 48.0,
"difficulty": 6.0,
"effort": 504.0,
"length": 21.0,
"n1": 8.0,
"n2": 8.0,
"n_1": 9.0,
"n_2": 12.0,
"time": 28.0,
"vocabulary": 16.0,
"volume": 84.0
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1118
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts:requireAgent:1125",
"entity_name": "requireAgent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-manager.ts",
"issues": [],
"line_number": 1126,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1128,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.026045937304056792,
"calculated_length": 43.65148445440323,
"difficulty": 6.285714285714286,
"effort": 491.1519605907852,
"length": 20.0,
"n1": 8.0,
"n2": 7.0,
"n_1": 9.0,
"n_2": 11.0,
"time": 27.2862200328214,
"vocabulary": 15.0,
"volume": 78.13781191217038
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1126
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-mcp.e2e.test.ts:getAvailablePort:24",
"entity_name": "getAvailablePort",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-mcp.e2e.test.ts",
"issues": [],
"line_number": 25,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 31,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 31,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09614709844115209,
"calculated_length": 109.23994776840892,
"difficulty": 7.342105263157895,
"effort": 2117.7663525064286,
"length": 60.0,
"n1": 9.0,
"n2": 19.0,
"n_1": 29.0,
"n_2": 31.0,
"time": 117.65368625035714,
"vocabulary": 28.0,
"volume": 288.44129532345625
},
"lines_of_code": 13.0,
"maintainability_index": 99.30246417841522,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 10.999999999999998
},
"recommendations": [],
"severity": "Low",
"start_line": 25
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-mcp.e2e.test.ts:anonymous_function_25:25",
"entity_name": "anonymous_function_25",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-mcp.e2e.test.ts",
"issues": [],
"line_number": 26,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 31,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 31,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08513736347920328,
"calculated_length": 92.5293250129808,
"difficulty": 7.875,
"effort": 2011.3702121961774,
"length": 55.0,
"n1": 9.0,
"n2": 16.0,
"n_1": 27.0,
"n_2": 28.0,
"time": 111.74278956645429,
"vocabulary": 25.0,
"volume": 255.41209043760983
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 8.0,
"technical_debt_score": 10.6
},
"recommendations": [],
"severity": "Low",
"start_line": 26
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-mcp.e2e.test.ts:anonymous_function_28:28",
"entity_name": "anonymous_function_28",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-mcp.e2e.test.ts",
"issues": [],
"line_number": 29,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 31,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 31,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04955915432350849,
"calculated_length": 61.74860596185444,
"difficulty": 7.2,
"effort": 1070.4777333877835,
"length": 35.0,
"n1": 9.0,
"n2": 10.0,
"n_1": 19.0,
"n_2": 16.0,
"time": 59.47098518821019,
"vocabulary": 19.0,
"volume": 148.67746297052548
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 9.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 29
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-mcp.e2e.test.ts:anonymous_function_31:31",
"entity_name": "anonymous_function_31",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-mcp.e2e.test.ts",
"issues": [],
"line_number": 32,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 32
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-mcp.e2e.test.ts:anonymous_function_34:34",
"entity_name": "anonymous_function_34",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-mcp.e2e.test.ts",
"issues": [],
"line_number": 35,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 35
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-mcp.e2e.test.ts:isStructuredContent:39",
"entity_name": "isStructuredContent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-mcp.e2e.test.ts",
"issues": [],
"line_number": 40,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 10,
"kind": "LogicalAnd",
"line": 41,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.013,
"calculated_length": 16.36452797660028,
"difficulty": 2.4000000000000004,
"effort": 93.60000000000001,
"length": 13.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 5.2,
"vocabulary": 8.0,
"volume": 39.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 40
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-mcp.e2e.test.ts:getStructuredContent:43",
"entity_name": "getStructuredContent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-mcp.e2e.test.ts",
"issues": [],
"line_number": 44,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 45,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 45,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 49,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 49,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 49,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 52,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07613350199483186,
"calculated_length": 72.10571633583419,
"difficulty": 8.615384615384615,
"effort": 1967.7582054048848,
"length": 52.0,
"n1": 8.0,
"n2": 13.0,
"n_1": 24.0,
"n_2": 28.0,
"time": 109.31990030027139,
"vocabulary": 21.0,
"volume": 228.40050598449557
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 23.599999999999994
},
"recommendations": [],
"severity": "Low",
"start_line": 44
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-mcp.e2e.test.ts:waitForAgentCompletion:57",
"entity_name": "waitForAgentCompletion",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-mcp.e2e.test.ts",
"issues": [],
"line_number": 58,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "ConditionalExpression",
"line": 69,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 70,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 77,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 77,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.12508785251307322,
"calculated_length": 172.65968562262316,
"difficulty": 8.25,
"effort": 3095.9243496985623,
"length": 71.0,
"n1": 11.0,
"n2": 28.0,
"n_1": 29.0,
"n_2": 42.0,
"time": 171.9957972054757,
"vocabulary": 39.0,
"volume": 375.2635575392197
},
"lines_of_code": 26.0,
"maintainability_index": 86.24516736814641,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 8.0,
"technical_debt_score": 19.2
},
"recommendations": [],
"severity": "Low",
"start_line": 58
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-mcp.e2e.test.ts:anonymous_function_85:85",
"entity_name": "anonymous_function_85",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-mcp.e2e.test.ts",
"issues": [
{
"description": "Cyclomatic complexity of 16.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-mcp.e2e.test.ts:anonymous_function_85:85",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-mcp.e2e.test.ts:86",
"metric_value": 16.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 31.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-mcp.e2e.test.ts:anonymous_function_85:85",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-mcp.e2e.test.ts:86",
"metric_value": 31.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 86,
"metrics": {
"cognitive_complexity": 31.0,
"cyclomatic_complexity": 16.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 131,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 161,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 188,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 195,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 200,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 205,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 264,
"nesting_level": 0
},
{
"column": 9,
"kind": "Try",
"line": 303,
"nesting_level": 1
},
{
"column": 11,
"kind": "Catch",
"line": 312,
"nesting_level": 2
},
{
"column": 32,
"kind": "ConditionalExpression",
"line": 314,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 321,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 325,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 339,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 344,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 349,
"nesting_level": 1
}
],
"halstead": {
"bugs": 2.1552895621656973,
"calculated_length": 1095.974713725093,
"difficulty": 34.72183098591549,
"effort": 224506.79970967543,
"length": 882.0,
"n1": 19.0,
"n2": 142.0,
"n_1": 363.0,
"n_2": 519.0,
"time": 12472.599983870858,
"vocabulary": 161.0,
"volume": 6465.868686497092
},
"lines_of_code": 277.0,
"maintainability_index": 30.5845946209417,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 110.0,
"technical_debt_score": 76.8
},
"recommendations": [],
"severity": "High",
"start_line": 86
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-mcp.e2e.test.ts:anonymous_function_88:88",
"entity_name": "anonymous_function_88",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-mcp.e2e.test.ts",
"issues": [],
"line_number": 89,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 131,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 161,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 188,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 195,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 200,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 205,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.9656827357004288,
"calculated_length": 777.1595681836991,
"difficulty": 18.566037735849058,
"effort": 53786.70633561634,
"length": 418.0,
"n1": 16.0,
"n2": 106.0,
"n_1": 172.0,
"n_2": 246.0,
"time": 2988.1503519786856,
"vocabulary": 122.0,
"volume": 2897.0482071012866
},
"lines_of_code": 127.0,
"maintainability_index": 49.46264148185699,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 52.0,
"technical_debt_score": 42.8
},
"recommendations": [],
"severity": "Low",
"start_line": 89
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-mcp.e2e.test.ts:anonymous_function_221:221",
"entity_name": "anonymous_function_221",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-mcp.e2e.test.ts",
"issues": [],
"line_number": 222,
"metrics": {
"cognitive_complexity": 20.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 264,
"nesting_level": 0
},
{
"column": 9,
"kind": "Try",
"line": 303,
"nesting_level": 1
},
{
"column": 11,
"kind": "Catch",
"line": 312,
"nesting_level": 2
},
{
"column": 32,
"kind": "ConditionalExpression",
"line": 314,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 321,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 325,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 339,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 344,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 349,
"nesting_level": 1
}
],
"halstead": {
"bugs": 1.0643913475660007,
"calculated_length": 845.7388727788779,
"difficulty": 21.265486725663717,
"effort": 67904.40021772831,
"length": 454.0,
"n1": 18.0,
"n2": 113.0,
"n_1": 187.0,
"n_2": 267.0,
"time": 3772.466678762684,
"vocabulary": 131.0,
"volume": 3193.1740426980023
},
"lines_of_code": 138.0,
"maintainability_index": 46.92088266665297,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 56.0,
"technical_debt_score": 56.00000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 222
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-mcp.e2e.test.ts:anonymous_function_296:296",
"entity_name": "anonymous_function_296",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-mcp.e2e.test.ts",
"issues": [],
"line_number": 297,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 297
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.test.ts:createManagedAgent:21",
"entity_name": "createManagedAgent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.test.ts",
"issues": [],
"line_number": 22,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "ConditionalExpression",
"line": 51,
"nesting_level": 0
},
{
"column": 6,
"kind": "ConditionalExpression",
"line": 54,
"nesting_level": 0
},
{
"column": 6,
"kind": "ConditionalExpression",
"line": 57,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.380166153397303,
"calculated_length": 573.3275545846855,
"difficulty": 7.7294117647058815,
"effort": 8815.382215836284,
"length": 174.0,
"n1": 9.0,
"n2": 85.0,
"n_1": 28.0,
"n_2": 146.0,
"time": 489.7434564353491,
"vocabulary": 94.0,
"volume": 1140.4984601919089
},
"lines_of_code": 85.0,
"maintainability_index": 61.50510204850134,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 27.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 22
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.test.ts:createPermission:108",
"entity_name": "createPermission",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.test.ts",
"issues": [],
"line_number": 109,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05561142675022988,
"calculated_length": 136.6059378176129,
"difficulty": 1.1428571428571428,
"effort": 190.667748857931,
"length": 34.0,
"n1": 2.0,
"n2": 28.0,
"n_1": 2.0,
"n_2": 32.0,
"time": 10.5926527143295,
"vocabulary": 30.0,
"volume": 166.83428025068963
},
"lines_of_code": 15.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 5.0
},
"recommendations": [],
"severity": "Low",
"start_line": 109
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.test.ts:anonymous_function_125:125",
"entity_name": "anonymous_function_125",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.test.ts",
"issues": [],
"line_number": 126,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.6564380916201015,
"calculated_length": 356.47473080739024,
"difficulty": 13.543859649122806,
"effort": 26672.116143722018,
"length": 327.0,
"n1": 8.0,
"n2": 57.0,
"n_1": 134.0,
"n_2": 193.0,
"time": 1481.7842302067788,
"vocabulary": 65.0,
"volume": 1969.3142748603045
},
"lines_of_code": 84.0,
"maintainability_index": 59.546476336728716,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 30.0,
"technical_debt_score": 18.8
},
"recommendations": [],
"severity": "Low",
"start_line": 126
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.test.ts:anonymous_function_126:126",
"entity_name": "anonymous_function_126",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.test.ts",
"issues": [],
"line_number": 127,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.4275329788605819,
"calculated_length": 269.5936249829495,
"difficulty": 8.608695652173912,
"effort": 11041.503888834157,
"length": 225.0,
"n1": 6.0,
"n2": 46.0,
"n_1": 93.0,
"n_2": 132.0,
"time": 613.4168827130087,
"vocabulary": 52.0,
"volume": 1282.5989365817456
},
"lines_of_code": 48.0,
"maintainability_index": 70.84199629175637,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 14.0,
"technical_debt_score": 11.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 127
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.test.ts:anonymous_function_176:176",
"entity_name": "anonymous_function_176",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.test.ts",
"issues": [],
"line_number": 177,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05837895002019237,
"calculated_length": 63.35824643629125,
"difficulty": 2.5,
"effort": 437.84212515144276,
"length": 42.0,
"n1": 3.0,
"n2": 15.0,
"n_1": 17.0,
"n_2": 25.0,
"time": 24.324562508413486,
"vocabulary": 18.0,
"volume": 175.1368500605771
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 177
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.test.ts:anonymous_function_189:189",
"entity_name": "anonymous_function_189",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.test.ts",
"issues": [],
"line_number": 190,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.024669598120940616,
"calculated_length": 37.974168451037094,
"difficulty": 1.9500000000000002,
"effort": 144.31714900750262,
"length": 20.0,
"n1": 3.0,
"n2": 10.0,
"n_1": 7.0,
"n_2": 13.0,
"time": 8.0176193893057,
"vocabulary": 13.0,
"volume": 74.00879436282185
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 190
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.test.ts:anonymous_function_202:202",
"entity_name": "anonymous_function_202",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.test.ts",
"issues": [],
"line_number": 203,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.032,
"calculated_length": 49.66338827944708,
"difficulty": 3.4090909090909087,
"effort": 327.27272727272725,
"length": 24.0,
"n1": 5.0,
"n2": 11.0,
"n_1": 9.0,
"n_2": 15.0,
"time": 18.18181818181818,
"vocabulary": 16.0,
"volume": 96.0
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 203
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.test.ts:anonymous_function_211:211",
"entity_name": "anonymous_function_211",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.test.ts",
"issues": [],
"line_number": 212,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 1.1984631751312504,
"calculated_length": 585.878049853254,
"difficulty": 17.848837209302324,
"effort": 64173.522342783814,
"length": 546.0,
"n1": 10.0,
"n2": 86.0,
"n_1": 239.0,
"n_2": 307.0,
"time": 3565.195685710212,
"vocabulary": 96.0,
"volume": 3595.3895253937512
},
"lines_of_code": 96.0,
"maintainability_index": 54.2530396936034,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 53.0,
"technical_debt_score": 21.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 212
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.test.ts:anonymous_function_212:212",
"entity_name": "anonymous_function_212",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.test.ts",
"issues": [],
"line_number": 213,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.754845392315042,
"calculated_length": 378.41343573651113,
"difficulty": 13.533333333333333,
"effort": 30646.722927990704,
"length": 372.0,
"n1": 8.0,
"n2": 60.0,
"n_1": 169.0,
"n_2": 203.0,
"time": 1702.5957182217057,
"vocabulary": 68.0,
"volume": 2264.536176945126
},
"lines_of_code": 51.0,
"maintainability_index": 66.90377350937212,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 30.0,
"technical_debt_score": 12.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 213
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.test.ts:anonymous_function_236:236",
"entity_name": "anonymous_function_236",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.test.ts",
"issues": [],
"line_number": 237,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 237
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.test.ts:anonymous_function_265:265",
"entity_name": "anonymous_function_265",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.test.ts",
"issues": [],
"line_number": 266,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.06120795266453346,
"calculated_length": 47.77443751081734,
"difficulty": 3.125,
"effort": 573.8245562300012,
"length": 47.0,
"n1": 3.0,
"n2": 12.0,
"n_1": 22.0,
"n_2": 25.0,
"time": 31.879142012777848,
"vocabulary": 15.0,
"volume": 183.62385799360038
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 266
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.test.ts:anonymous_function_274:274",
"entity_name": "anonymous_function_274",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.test.ts",
"issues": [],
"line_number": 275,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.032,
"calculated_length": 49.66338827944708,
"difficulty": 3.4090909090909087,
"effort": 327.27272727272725,
"length": 24.0,
"n1": 5.0,
"n2": 11.0,
"n_1": 9.0,
"n_2": 15.0,
"time": 18.18181818181818,
"vocabulary": 16.0,
"volume": 96.0
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 275
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.test.ts:anonymous_function_282:282",
"entity_name": "anonymous_function_282",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.test.ts",
"issues": [],
"line_number": 283,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10631596290485124,
"calculated_length": 122.10749561002054,
"difficulty": 7.818181818181818,
"effort": 2493.592584495602,
"length": 65.0,
"n1": 8.0,
"n2": 22.0,
"n_1": 22.0,
"n_2": 43.0,
"time": 138.53292136086677,
"vocabulary": 30.0,
"volume": 318.9478887145537
},
"lines_of_code": 18.0,
"maintainability_index": 93.96783331995216,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 283
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.test.ts:anonymous_function_302:302",
"entity_name": "anonymous_function_302",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.test.ts",
"issues": [],
"line_number": 303,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.021509775004326936,
"calculated_length": 33.284212515144276,
"difficulty": 1.8333333333333335,
"effort": 118.30376252379816,
"length": 18.0,
"n1": 3.0,
"n2": 9.0,
"n_1": 7.0,
"n_2": 11.0,
"time": 6.5724312513221195,
"vocabulary": 12.0,
"volume": 64.5293250129808
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 303
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts:toStoredAgentRecord:26",
"entity_name": "toStoredAgentRecord",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts",
"issues": [],
"line_number": 27,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 24,
"kind": "ConditionalExpression",
"line": 43,
"nesting_level": 0
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 53,
"nesting_level": 0
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 56,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2724957231654793,
"calculated_length": 228.38689879982144,
"difficulty": 7.199999999999999,
"effort": 5885.9076203743525,
"length": 148.0,
"n1": 6.0,
"n2": 40.0,
"n_1": 52.0,
"n_2": 96.0,
"time": 326.9948677985751,
"vocabulary": 46.0,
"volume": 817.4871694964379
},
"lines_of_code": 35.0,
"maintainability_index": 77.61093832308966,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 17.4
},
"recommendations": [],
"severity": "Low",
"start_line": 27
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts:toAgentPayload:63",
"entity_name": "toAgentPayload",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts",
"issues": [],
"line_number": 64,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 24,
"kind": "ConditionalExpression",
"line": 78,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 92,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 96,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 102,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.3610278488156025,
"calculated_length": 259.6966127055816,
"difficulty": 13.333333333333332,
"effort": 14441.113952624099,
"length": 190.0,
"n1": 10.0,
"n2": 42.0,
"n_1": 78.0,
"n_2": 112.0,
"time": 802.2841084791166,
"vocabulary": 52.0,
"volume": 1083.0835464468075
},
"lines_of_code": 47.0,
"maintainability_index": 71.1422584369897,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 14.0,
"technical_debt_score": 22.6
},
"recommendations": [],
"severity": "Low",
"start_line": 64
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts:buildSerializableConfig:112",
"entity_name": "buildSerializableConfig",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts",
"issues": [],
"line_number": 113,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 117,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 120,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 124,
"nesting_level": 0
},
{
"column": 10,
"kind": "ConditionalExpression",
"line": 127,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.09322757084799685,
"calculated_length": 87.13268394710859,
"difficulty": 10.2,
"effort": 2852.763667948703,
"length": 61.0,
"n1": 9.0,
"n2": 15.0,
"n_1": 27.0,
"n_2": 34.0,
"time": 158.48687044159462,
"vocabulary": 24.0,
"volume": 279.68271254399053
},
"lines_of_code": 15.0,
"maintainability_index": 96.68457662810428,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 16.2
},
"recommendations": [],
"severity": "Low",
"start_line": 113
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts:sanitizePendingPermissions:129",
"entity_name": "sanitizePendingPermissions",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts",
"issues": [],
"line_number": 130,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05281905001826929,
"calculated_length": 61.302968908806456,
"difficulty": 3.4285714285714284,
"effort": 543.2816573307698,
"length": 38.0,
"n1": 4.0,
"n2": 14.0,
"n_1": 14.0,
"n_2": 24.0,
"time": 30.182314296153876,
"vocabulary": 18.0,
"volume": 158.45715005480787
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 130
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts:anonymous_function_132:132",
"entity_name": "anonymous_function_132",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts",
"issues": [],
"line_number": 133,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.022189475010096184,
"calculated_length": 20.264662506490403,
"difficulty": 3.5,
"effort": 232.98948760600993,
"length": 21.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 7.0,
"n_2": 14.0,
"time": 12.943860422556106,
"vocabulary": 9.0,
"volume": 66.56842503028855
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 133
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts:sanitizePersistenceHandle:142",
"entity_name": "sanitizePersistenceHandle",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts",
"issues": [],
"line_number": 143,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 146,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 153,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 157,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08198992522520354,
"calculated_length": 71.54887502163469,
"difficulty": 12.375,
"effort": 3043.8759739856814,
"length": 56.0,
"n1": 9.0,
"n2": 12.0,
"n_1": 23.0,
"n_2": 33.0,
"time": 169.1042207769823,
"vocabulary": 21.0,
"volume": 245.9697756756106
},
"lines_of_code": 18.0,
"maintainability_index": 94.62889246264278,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 14.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 143
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts:cloneCapabilities:162",
"entity_name": "cloneCapabilities",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts",
"issues": [],
"line_number": 163,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004,
"calculated_length": 4.754887502163468,
"difficulty": 0.8333333333333334,
"effort": 10.0,
"length": 6.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 5.0,
"time": 0.5555555555555556,
"vocabulary": 4.0,
"volume": 12.0
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 163
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts:cloneAvailableModes:168",
"entity_name": "cloneAvailableModes",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts",
"issues": [],
"line_number": 169,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 19.60964047443681,
"difficulty": 3.2,
"effort": 121.72512005538479,
"length": 12.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 8.0,
"time": 6.762506669743599,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 169
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts:anonymous_function_169:169",
"entity_name": "anonymous_function_169",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts",
"issues": [],
"line_number": 170,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001,
"calculated_length": 0.0,
"difficulty": 1.0,
"effort": 3.0,
"length": 3.0,
"n1": 1.0,
"n2": 1.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.16666666666666666,
"vocabulary": 2.0,
"volume": 3.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 170
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts:sanitizeOptionalJson:172",
"entity_name": "sanitizeOptionalJson",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts",
"issues": [],
"line_number": 173,
"metrics": {
"cognitive_complexity": 14.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 174,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 177,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 180,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 186,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 189,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 193,
"nesting_level": 1
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 197,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 199,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 200,
"nesting_level": 1
},
{
"column": 5,
"kind": "LogicalOr",
"line": 200,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.18956391671955145,
"calculated_length": 153.0586500259616,
"difficulty": 13.5,
"effort": 7677.338627141834,
"length": 110.0,
"n1": 12.0,
"n2": 24.0,
"n_1": 56.0,
"n_2": 54.0,
"time": 426.51881261899075,
"vocabulary": 36.0,
"volume": 568.6917501586544
},
"lines_of_code": 34.0,
"maintainability_index": 78.35759905309143,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 19.0,
"technical_debt_score": 40.00000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 173
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts:anonymous_function_181:181",
"entity_name": "anonymous_function_181",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts",
"issues": [],
"line_number": 182,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 182
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts:anonymous_function_182:182",
"entity_name": "anonymous_function_182",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts",
"issues": [],
"line_number": 183,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001,
"calculated_length": 0.0,
"difficulty": 1.0,
"effort": 3.0,
"length": 3.0,
"n1": 1.0,
"n2": 1.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.16666666666666666,
"vocabulary": 2.0,
"volume": 3.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 183
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts:isJsonObject:208",
"entity_name": "isJsonObject",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts",
"issues": [],
"line_number": 209,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 10,
"kind": "LogicalAnd",
"line": 212,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalAnd",
"line": 212,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.027136557933034676,
"calculated_length": 35.60964047443681,
"difficulty": 4.0625,
"effort": 330.7267998088601,
"length": 22.0,
"n1": 5.0,
"n2": 8.0,
"n_1": 9.0,
"n_2": 13.0,
"time": 18.37371110049223,
"vocabulary": 13.0,
"volume": 81.40967379910403
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 8.399999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 209
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts:sanitizeMetadata:214",
"entity_name": "sanitizeMetadata",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts",
"issues": [],
"line_number": 215,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 217,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 217,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.024669598120940616,
"calculated_length": 35.161259458730164,
"difficulty": 4.714285714285714,
"effort": 348.89860199616015,
"length": 20.0,
"n1": 6.0,
"n2": 7.0,
"n_1": 9.0,
"n_2": 11.0,
"time": 19.38325566645334,
"vocabulary": 13.0,
"volume": 74.00879436282185
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 9.6
},
"recommendations": [],
"severity": "Low",
"start_line": 215
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts:sanitizeMetadataArray:222",
"entity_name": "sanitizeMetadataArray",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts",
"issues": [],
"line_number": 223,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 224,
"nesting_level": 0
},
{
"column": 10,
"kind": "ConditionalExpression",
"line": 230,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05563602068853097,
"calculated_length": 72.10571633583419,
"difficulty": 6.769230769230769,
"effort": 1129.8391893670903,
"length": 38.0,
"n1": 8.0,
"n2": 13.0,
"n_1": 16.0,
"n_2": 22.0,
"time": 62.76884385372724,
"vocabulary": 21.0,
"volume": 166.9080620655929
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 223
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts:anonymous_function_227:227",
"entity_name": "anonymous_function_227",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts",
"issues": [],
"line_number": 228,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 228
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts:anonymous_function_228:228",
"entity_name": "anonymous_function_228",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts",
"issues": [],
"line_number": 229,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026416041678685932,
"calculated_length": 2.0,
"difficulty": 1.0,
"effort": 7.92481250360578,
"length": 5.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.44026736131143224,
"vocabulary": 3.0,
"volume": 7.92481250360578
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 229
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts:sanitizeUsage:232",
"entity_name": "sanitizeUsage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts",
"issues": [
{
"description": "Cyclomatic complexity of 16.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts:sanitizeUsage:232",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts:233",
"metric_value": 16.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 28.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts:sanitizeUsage:232",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts:233",
"metric_value": 28.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 233,
"metrics": {
"cognitive_complexity": 28.0,
"cyclomatic_complexity": 16.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 235,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 235,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 240,
"nesting_level": 0
},
{
"column": 10,
"kind": "If",
"line": 242,
"nesting_level": 1
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 242,
"nesting_level": 2
},
{
"column": 3,
"kind": "If",
"line": 246,
"nesting_level": 0
},
{
"column": 10,
"kind": "If",
"line": 248,
"nesting_level": 1
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 248,
"nesting_level": 2
},
{
"column": 3,
"kind": "If",
"line": 252,
"nesting_level": 0
},
{
"column": 10,
"kind": "If",
"line": 254,
"nesting_level": 1
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 254,
"nesting_level": 2
},
{
"column": 3,
"kind": "If",
"line": 258,
"nesting_level": 0
},
{
"column": 10,
"kind": "If",
"line": 260,
"nesting_level": 1
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 260,
"nesting_level": 2
},
{
"column": 10,
"kind": "ConditionalExpression",
"line": 263,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.22333333333333333,
"calculated_length": 130.29241368336423,
"difficulty": 15.976190476190476,
"effort": 10704.047619047618,
"length": 134.0,
"n1": 11.0,
"n2": 21.0,
"n_1": 73.0,
"n_2": 61.0,
"time": 594.6693121693121,
"vocabulary": 32.0,
"volume": 670.0
},
"lines_of_code": 31.0,
"maintainability_index": 77.85156318293858,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 25.0,
"technical_debt_score": 60.60000000000001
},
"recommendations": [],
"severity": "High",
"start_line": 233
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts:sanitizeRuntimeInfo:265",
"entity_name": "sanitizeRuntimeInfo",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-projections.ts",
"issues": [],
"line_number": 266,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 269,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 276,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 279,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 283,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.09809508910872565,
"calculated_length": 71.54887502163469,
"difficulty": 13.5,
"effort": 3972.8511089033886,
"length": 67.0,
"n1": 9.0,
"n2": 12.0,
"n_1": 31.0,
"n_2": 36.0,
"time": 220.7139504946327,
"vocabulary": 21.0,
"volume": 294.28526732617695
},
"lines_of_code": 21.0,
"maintainability_index": 90.96907862043093,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 11.0,
"technical_debt_score": 17.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 266
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.e2e.test.ts:anonymous_function_15:15",
"entity_name": "anonymous_function_15",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.e2e.test.ts",
"issues": [],
"line_number": 16,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.232,
"calculated_length": 352.12621526179345,
"difficulty": 4.482456140350877,
"effort": 3119.78947368421,
"length": 116.0,
"n1": 7.0,
"n2": 57.0,
"n_1": 43.0,
"n_2": 73.0,
"time": 173.32163742690057,
"vocabulary": 64.0,
"volume": 696.0
},
"lines_of_code": 45.0,
"maintainability_index": 75.06624943198186,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 14.0,
"technical_debt_score": 11.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 16
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.e2e.test.ts:anonymous_function_19:19",
"entity_name": "anonymous_function_19",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.e2e.test.ts",
"issues": [],
"line_number": 20,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03889735285398626,
"calculated_length": 70.2129994085646,
"difficulty": 2.6666666666666665,
"effort": 311.1788228318901,
"length": 27.0,
"n1": 5.0,
"n2": 15.0,
"n_1": 11.0,
"n_2": 16.0,
"time": 17.28771237954945,
"vocabulary": 20.0,
"volume": 116.69205856195879
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.e2e.test.ts:anonymous_function_28:28",
"entity_name": "anonymous_function_28",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.e2e.test.ts",
"issues": [],
"line_number": 29,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.019119800003846166,
"calculated_length": 33.284212515144276,
"difficulty": 1.6666666666666667,
"effort": 95.59900001923083,
"length": 16.0,
"n1": 3.0,
"n2": 9.0,
"n_1": 6.0,
"n_2": 10.0,
"time": 5.311055556623935,
"vocabulary": 12.0,
"volume": 57.3594000115385
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 29
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.e2e.test.ts:anonymous_function_35:35",
"entity_name": "anonymous_function_35",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.e2e.test.ts",
"issues": [],
"line_number": 36,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0991661383276027,
"calculated_length": 158.81635834269238,
"difficulty": 3.1666666666666665,
"effort": 942.0783141122255,
"length": 58.0,
"n1": 5.0,
"n2": 30.0,
"n_1": 20.0,
"n_2": 38.0,
"time": 52.33768411734586,
"vocabulary": 35.0,
"volume": 297.4984149828081
},
"lines_of_code": 22.0,
"maintainability_index": 91.07898599024571,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 36
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.test.ts:createScriptedCaller:8",
"entity_name": "createScriptedCaller",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.test.ts",
"issues": [],
"line_number": 9,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04955915432350849,
"calculated_length": 63.61549134016113,
"difficulty": 5.076923076923077,
"effort": 754.824042773437,
"length": 35.0,
"n1": 6.0,
"n2": 13.0,
"n_1": 13.0,
"n_2": 22.0,
"time": 41.93466904296872,
"vocabulary": 19.0,
"volume": 148.67746297052548
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 9
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.test.ts:anonymous_function_10:10",
"entity_name": "anonymous_function_10",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.test.ts",
"issues": [],
"line_number": 11,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03426619429851844,
"calculated_length": 39.50977500432694,
"difficulty": 5.625,
"effort": 578.2420287874986,
"length": 27.0,
"n1": 6.0,
"n2": 8.0,
"n_1": 12.0,
"n_2": 15.0,
"time": 32.12455715486104,
"vocabulary": 14.0,
"volume": 102.79858289555531
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 11
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.test.ts:anonymous_function_18:18",
"entity_name": "anonymous_function_18",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.test.ts",
"issues": [],
"line_number": 19,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 67,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 75,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.5367834751254812,
"calculated_length": 405.09796019347556,
"difficulty": 11.5,
"effort": 18519.0298918291,
"length": 261.0,
"n1": 9.0,
"n2": 63.0,
"n_1": 100.0,
"n_2": 161.0,
"time": 1028.8349939905056,
"vocabulary": 72.0,
"volume": 1610.3504253764436
},
"lines_of_code": 93.0,
"maintainability_index": 58.48401134391409,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 31.0,
"technical_debt_score": 27.0
},
"recommendations": [],
"severity": "Low",
"start_line": 19
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.test.ts:anonymous_function_19:19",
"entity_name": "anonymous_function_19",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.test.ts",
"issues": [],
"line_number": 20,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.105,
"calculated_length": 139.99160303285046,
"difficulty": 3.5185185185185186,
"effort": 1108.3333333333333,
"length": 63.0,
"n1": 5.0,
"n2": 27.0,
"n_1": 25.0,
"n_2": 38.0,
"time": 61.57407407407407,
"vocabulary": 32.0,
"volume": 315.0
},
"lines_of_code": 18.0,
"maintainability_index": 94.03259980018886,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.test.ts:anonymous_function_39:39",
"entity_name": "anonymous_function_39",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.test.ts",
"issues": [],
"line_number": 40,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10403812251812437,
"calculated_length": 133.8210731461052,
"difficulty": 3.6538461538461537,
"effort": 1140.417881448671,
"length": 63.0,
"n1": 5.0,
"n2": 26.0,
"n_1": 25.0,
"n_2": 38.0,
"time": 63.356548969370614,
"vocabulary": 31.0,
"volume": 312.11436755437313
},
"lines_of_code": 18.0,
"maintainability_index": 94.08045516883858,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 40
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.test.ts:anonymous_function_59:59",
"entity_name": "anonymous_function_59",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.test.ts",
"issues": [],
"line_number": 60,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 67,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 75,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.11451704807534872,
"calculated_length": 177.58008562199313,
"difficulty": 5.032258064516129,
"effort": 1728.8380161052646,
"length": 65.0,
"n1": 8.0,
"n2": 31.0,
"n_1": 26.0,
"n_2": 39.0,
"time": 96.04655645029248,
"vocabulary": 39.0,
"volume": 343.5511442260462
},
"lines_of_code": 25.0,
"maintainability_index": 87.79966447838713,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 13.4
},
"recommendations": [],
"severity": "Low",
"start_line": 60
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.test.ts:anonymous_function_86:86",
"entity_name": "anonymous_function_86",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.test.ts",
"issues": [],
"line_number": 87,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.09305865002596161,
"calculated_length": 165.18972609642995,
"difficulty": 3.064516129032258,
"effort": 855.5392018515827,
"length": 54.0,
"n1": 5.0,
"n2": 31.0,
"n_1": 16.0,
"n_2": 38.0,
"time": 47.52995565842126,
"vocabulary": 36.0,
"volume": 279.17595007788486
},
"lines_of_code": 24.0,
"maintainability_index": 89.99994836022287,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 87
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts:constructor:15",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts",
"issues": [],
"line_number": 16,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.031134884567735676,
"calculated_length": 27.651484454403228,
"difficulty": 4.0,
"effort": 373.6186148128281,
"length": 27.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 14.0,
"time": 20.756589711823786,
"vocabulary": 11.0,
"volume": 93.40465370320703
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 16
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts:isZodSchema:46",
"entity_name": "isZodSchema",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts",
"issues": [],
"line_number": 47,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.024113247839698163,
"calculated_length": 39.50977500432694,
"difficulty": 4.875,
"effort": 352.6562496555856,
"length": 19.0,
"n1": 6.0,
"n2": 8.0,
"n_1": 6.0,
"n_2": 13.0,
"time": 19.592013869754755,
"vocabulary": 14.0,
"volume": 72.33974351909448
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 47
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts:buildZodValidator:50",
"entity_name": "buildZodValidator",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts",
"issues": [],
"line_number": 51,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 61,
"nesting_level": 0
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 65,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.15552848784697387,
"calculated_length": 230.1306865356277,
"difficulty": 5.948717948717949,
"effort": 2775.5853215767643,
"length": 84.0,
"n1": 8.0,
"n2": 39.0,
"n_1": 26.0,
"n_2": 58.0,
"time": 154.19918453204247,
"vocabulary": 47.0,
"volume": 466.5854635409216
},
"lines_of_code": 20.0,
"maintainability_index": 89.82284290192463,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 10.0,
"technical_debt_score": 11.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 51
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts:anonymous_function_58:58",
"entity_name": "anonymous_function_58",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts",
"issues": [],
"line_number": 59,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 61,
"nesting_level": 0
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 65,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.09584348826781063,
"calculated_length": 140.0964047443681,
"difficulty": 5.6,
"effort": 1610.1706028992185,
"length": 57.0,
"n1": 8.0,
"n2": 25.0,
"n_1": 22.0,
"n_2": 35.0,
"time": 89.45392238328992,
"vocabulary": 33.0,
"volume": 287.53046480343187
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 9.6
},
"recommendations": [],
"severity": "Low",
"start_line": 59
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts:anonymous_function_63:63",
"entity_name": "anonymous_function_63",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts",
"issues": [],
"line_number": 64,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 22,
"kind": "ConditionalExpression",
"line": 65,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.029189721069108297,
"calculated_length": 40.13896548741762,
"difficulty": 3.888888888888889,
"effort": 340.54674580626346,
"length": 23.0,
"n1": 5.0,
"n2": 9.0,
"n_1": 9.0,
"n_2": 14.0,
"time": 18.919263655903524,
"vocabulary": 14.0,
"volume": 87.56916320732489
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 64
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts:buildJsonSchemaValidator:72",
"entity_name": "buildJsonSchemaValidator",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts",
"issues": [],
"line_number": 73,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 87,
"nesting_level": 0
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 91,
"nesting_level": 0
},
{
"column": 22,
"kind": "LogicalAnd",
"line": 91,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1731338375223558,
"calculated_length": 234.6600115486085,
"difficulty": 7.615384615384615,
"effort": 3955.4422880107445,
"length": 93.0,
"n1": 9.0,
"n2": 39.0,
"n_1": 27.0,
"n_2": 66.0,
"time": 219.7467937783747,
"vocabulary": 48.0,
"volume": 519.4015125670675
},
"lines_of_code": 25.0,
"maintainability_index": 85.42029013802473,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 15.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 73
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts:anonymous_function_84:84",
"entity_name": "anonymous_function_84",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts",
"issues": [],
"line_number": 85,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 87,
"nesting_level": 0
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 91,
"nesting_level": 0
},
{
"column": 22,
"kind": "LogicalAnd",
"line": 91,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0915952911180257,
"calculated_length": 122.10749561002054,
"difficulty": 6.363636363636363,
"effort": 1748.6373758895813,
"length": 56.0,
"n1": 8.0,
"n2": 22.0,
"n_1": 21.0,
"n_2": 35.0,
"time": 97.14652088275452,
"vocabulary": 30.0,
"volume": 274.78587335407707
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 12.6
},
"recommendations": [],
"severity": "Low",
"start_line": 85
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts:anonymous_function_89:89",
"entity_name": "anonymous_function_89",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts",
"issues": [],
"line_number": 90,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 22,
"kind": "ConditionalExpression",
"line": 91,
"nesting_level": 0
},
{
"column": 22,
"kind": "LogicalAnd",
"line": 91,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03553531260587097,
"calculated_length": 41.219280948873624,
"difficulty": 3.6,
"effort": 383.7813761434065,
"length": 28.0,
"n1": 4.0,
"n2": 10.0,
"n_1": 10.0,
"n_2": 18.0,
"time": 21.32118756352258,
"vocabulary": 14.0,
"volume": 106.60593781761291
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 8.399999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 90
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts:buildValidator:99",
"entity_name": "buildValidator",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts",
"issues": [],
"line_number": 100,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 101,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03333333333333333,
"calculated_length": 51.01955000865387,
"difficulty": 3.0,
"effort": 300.0,
"length": 25.0,
"n1": 4.0,
"n2": 12.0,
"n_1": 7.0,
"n_2": 18.0,
"time": 16.666666666666668,
"vocabulary": 16.0,
"volume": 100.0
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 100
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts:buildBasePrompt:106",
"entity_name": "buildBasePrompt",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts",
"issues": [],
"line_number": 107,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.032699702730002715,
"calculated_length": 58.057856410969926,
"difficulty": 1.8214285714285712,
"effort": 178.68051848894336,
"length": 24.0,
"n1": 3.0,
"n2": 14.0,
"n_1": 7.0,
"n_2": 17.0,
"time": 9.926695471607964,
"vocabulary": 17.0,
"volume": 98.09910819000814
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 107
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts:buildRetryPrompt:116",
"entity_name": "buildRetryPrompt",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts",
"issues": [],
"line_number": 117,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "ConditionalExpression",
"line": 123,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04531122681006491,
"calculated_length": 64.91260938324326,
"difficulty": 3.9285714285714284,
"effort": 534.0251731186221,
"length": 32.0,
"n1": 5.0,
"n2": 14.0,
"n_1": 10.0,
"n_2": 22.0,
"time": 29.66806517325678,
"vocabulary": 19.0,
"volume": 135.93368043019473
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 117
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts:anonymous_function_117:117",
"entity_name": "anonymous_function_117",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts",
"issues": [],
"line_number": 118,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 2.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 2.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 118
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts:getStructuredAgentResponse:128",
"entity_name": "getStructuredAgentResponse",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts",
"issues": [],
"line_number": 129,
"metrics": {
"cognitive_complexity": 16.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 3,
"kind": "For",
"line": 140,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 145,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 147,
"nesting_level": 2
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 148,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 150,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 158,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 163,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.27095198384044716,
"calculated_length": 348.78882279004364,
"difficulty": 16.427083333333336,
"effort": 13352.852453637039,
"length": 134.0,
"n1": 19.0,
"n2": 48.0,
"n_1": 51.0,
"n_2": 83.0,
"time": 741.8251363131689,
"vocabulary": 67.0,
"volume": 812.8559515213415
},
"lines_of_code": 47.0,
"maintainability_index": 71.94472850756345,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 27.0,
"technical_debt_score": 38.2
},
"recommendations": [],
"severity": "Moderate",
"start_line": 129
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts:generateStructuredAgentResponse:177",
"entity_name": "generateStructuredAgentResponse",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts",
"issues": [],
"line_number": 178,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 185,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 198,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 200,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.139930236220111,
"calculated_length": 221.27909954125198,
"difficulty": 5.95945945945946,
"effort": 2501.725709719012,
"length": 76.0,
"n1": 9.0,
"n2": 37.0,
"n_1": 27.0,
"n_2": 49.0,
"time": 138.9847616510562,
"vocabulary": 46.0,
"volume": 419.790708660333
},
"lines_of_code": 26.0,
"maintainability_index": 85.89210345735464,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 18.0
},
"recommendations": [],
"severity": "Low",
"start_line": 178
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts:anonymous_function_185:185",
"entity_name": "anonymous_function_185",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-response-loop.ts",
"issues": [],
"line_number": 186,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017297158093186486,
"calculated_length": 27.651484454403228,
"difficulty": 2.5714285714285716,
"effort": 133.43521957601004,
"length": 15.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 9.0,
"time": 7.41306775422278,
"vocabulary": 11.0,
"volume": 51.89147427955946
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 186
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts:createSession:33",
"entity_name": "createSession",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts",
"issues": [],
"line_number": 34,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009,
"calculated_length": 17.509775004326936,
"difficulty": 1.1666666666666667,
"effort": 31.500000000000004,
"length": 9.0,
"n1": 2.0,
"n2": 6.0,
"n_1": 2.0,
"n_2": 7.0,
"time": 1.7500000000000002,
"vocabulary": 8.0,
"volume": 27.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts:resumeSession:37",
"entity_name": "resumeSession",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts",
"issues": [],
"line_number": 38,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02666666666666667,
"calculated_length": 49.66338827944708,
"difficulty": 3.1818181818181817,
"effort": 254.54545454545453,
"length": 20.0,
"n1": 5.0,
"n2": 11.0,
"n_1": 6.0,
"n_2": 14.0,
"time": 14.14141414141414,
"vocabulary": 16.0,
"volume": 80.0
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 38
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts:constructor:50",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts",
"issues": [],
"line_number": 51,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 4.754887502163468,
"difficulty": 0.0,
"effort": 0.0,
"length": 3.0,
"n1": 0.0,
"n2": 3.0,
"n_1": 0.0,
"n_2": 3.0,
"time": 0.0,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 51
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts:run:52",
"entity_name": "run",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts",
"issues": [],
"line_number": 53,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01850219859070546,
"calculated_length": 37.974168451037094,
"difficulty": 1.5,
"effort": 83.25989365817458,
"length": 15.0,
"n1": 3.0,
"n2": 10.0,
"n_1": 5.0,
"n_2": 10.0,
"time": 4.625549647676365,
"vocabulary": 13.0,
"volume": 55.506595772116384
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 53
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts:stream:60",
"entity_name": "stream",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts",
"issues": [],
"line_number": 61,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.018824259204361718,
"calculated_length": 24.406371956566694,
"difficulty": 2.357142857142857,
"effort": 133.11440437370072,
"length": 17.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 11.0,
"time": 7.395244687427818,
"vocabulary": 10.0,
"volume": 56.47277761308516
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 61
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts:streamHistory:65",
"entity_name": "streamHistory",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts",
"issues": [],
"line_number": 66,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 4.754887502163468,
"difficulty": 0.0,
"effort": 0.0,
"length": 3.0,
"n1": 0.0,
"n2": 3.0,
"n_1": 0.0,
"n_2": 3.0,
"time": 0.0,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 66
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts:getRuntimeInfo:67",
"entity_name": "getRuntimeInfo",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts",
"issues": [],
"line_number": 68,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.025369165203340177,
"calculated_length": 28.75488750216347,
"difficulty": 2.4375,
"effort": 185.51202054942505,
"length": 22.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 9.0,
"n_2": 13.0,
"time": 10.306223363856947,
"vocabulary": 11.0,
"volume": 76.10749561002054
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 68
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts:getAvailableModes:76",
"entity_name": "getAvailableModes",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts",
"issues": [],
"line_number": 77,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 0.0,
"difficulty": 0.5,
"effort": 1.0,
"length": 2.0,
"n1": 1.0,
"n2": 1.0,
"n_1": 1.0,
"n_2": 1.0,
"time": 0.05555555555555555,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 77
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts:getCurrentMode:80",
"entity_name": "getCurrentMode",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts",
"issues": [],
"line_number": 81,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 81
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts:setMode:84",
"entity_name": "setMode",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts",
"issues": [],
"line_number": 85,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 2.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 2.0,
"n1": 0.0,
"n2": 2.0,
"n_1": 0.0,
"n_2": 2.0,
"time": 0.0,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 85
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts:getPendingPermissions:86",
"entity_name": "getPendingPermissions",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts",
"issues": [],
"line_number": 87,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 0.0,
"difficulty": 0.5,
"effort": 1.0,
"length": 2.0,
"n1": 1.0,
"n2": 1.0,
"n_1": 1.0,
"n_2": 1.0,
"time": 0.05555555555555555,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 87
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts:respondToPermission:90",
"entity_name": "respondToPermission",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts",
"issues": [],
"line_number": 91,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 2.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 2.0,
"n1": 0.0,
"n2": 2.0,
"n_1": 0.0,
"n_2": 2.0,
"time": 0.0,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 91
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts:describePersistence:92",
"entity_name": "describePersistence",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts",
"issues": [],
"line_number": 93,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 25.84962500721156,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.43609027817842,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 93
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts:interrupt:99",
"entity_name": "interrupt",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts",
"issues": [],
"line_number": 100,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 2.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 2.0,
"n1": 0.0,
"n2": 2.0,
"n_1": 0.0,
"n_2": 2.0,
"time": 0.0,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 100
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts:close:101",
"entity_name": "close",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts",
"issues": [],
"line_number": 102,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 2.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 2.0,
"n1": 0.0,
"n2": 2.0,
"n_1": 0.0,
"n_2": 2.0,
"time": 0.0,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 102
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts:initGitRepo:104",
"entity_name": "initGitRepo",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts",
"issues": [],
"line_number": 105,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.07363074356635547,
"calculated_length": 68.75488750216347,
"difficulty": 3.5625,
"effort": 786.9285718654241,
"length": 52.0,
"n1": 3.0,
"n2": 16.0,
"n_1": 14.0,
"n_2": 38.0,
"time": 43.718253992523564,
"vocabulary": 19.0,
"volume": 220.89223069906643
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 4.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 105
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts:anonymous_function_119:119",
"entity_name": "anonymous_function_119",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts",
"issues": [],
"line_number": 120,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 127,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 179,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 232,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 267,
"nesting_level": 0
}
],
"halstead": {
"bugs": 1.059343727399501,
"calculated_length": 562.3475537506683,
"difficulty": 19.397590361445783,
"effort": 61646.14702818783,
"length": 486.0,
"n1": 10.0,
"n2": 83.0,
"n_1": 164.0,
"n_2": 322.0,
"time": 3424.785946010435,
"vocabulary": 93.0,
"volume": 3178.031182198503
},
"lines_of_code": 177.0,
"maintainability_index": 44.06348510580388,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 58.0,
"technical_debt_score": 33.2
},
"recommendations": [],
"severity": "Low",
"start_line": 120
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts:anonymous_function_122:122",
"entity_name": "anonymous_function_122",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts",
"issues": [],
"line_number": 123,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 127,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2755899833977566,
"calculated_length": 402.3794521928599,
"difficulty": 7.258064516129032,
"effort": 6000.749638499538,
"length": 134.0,
"n1": 10.0,
"n2": 62.0,
"n_1": 44.0,
"n_2": 90.0,
"time": 333.374979916641,
"vocabulary": 72.0,
"volume": 826.7699501932698
},
"lines_of_code": 50.0,
"maintainability_index": 72.23408960339414,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 15.0,
"technical_debt_score": 14.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 123
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts:anonymous_function_142:142",
"entity_name": "anonymous_function_142",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts",
"issues": [],
"line_number": 143,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 143
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts:anonymous_function_174:174",
"entity_name": "anonymous_function_174",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts",
"issues": [],
"line_number": 175,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 179,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.3010595700406342,
"calculated_length": 424.67318879572315,
"difficulty": 7.538461538461538,
"effort": 6808.577968611266,
"length": 145.0,
"n1": 10.0,
"n2": 65.0,
"n_1": 47.0,
"n_2": 98.0,
"time": 378.2543315895148,
"vocabulary": 75.0,
"volume": 903.1787101219027
},
"lines_of_code": 52.0,
"maintainability_index": 71.13906546605284,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 17.0,
"technical_debt_score": 15.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 175
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts:anonymous_function_196:196",
"entity_name": "anonymous_function_196",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts",
"issues": [],
"line_number": 197,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 197
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts:anonymous_function_228:228",
"entity_name": "anonymous_function_228",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts",
"issues": [],
"line_number": 229,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 232,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.18665248045327174,
"calculated_length": 294.2849569777226,
"difficulty": 6.702127659574469,
"effort": 3752.906255922166,
"length": 96.0,
"n1": 10.0,
"n2": 47.0,
"n_1": 33.0,
"n_2": 63.0,
"time": 208.49479199567588,
"vocabulary": 57.0,
"volume": 559.9574413598152
},
"lines_of_code": 33.0,
"maintainability_index": 80.99170143124174,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 11.0,
"technical_debt_score": 11.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 229
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts:anonymous_function_239:239",
"entity_name": "anonymous_function_239",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts",
"issues": [],
"line_number": 240,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 240
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts:anonymous_function_263:263",
"entity_name": "anonymous_function_263",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts",
"issues": [],
"line_number": 264,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 267,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1780922176097665,
"calculated_length": 287.3031309274962,
"difficulty": 6.630434782608695,
"effort": 3542.486502455138,
"length": 92.0,
"n1": 10.0,
"n2": 46.0,
"n_1": 31.0,
"n_2": 61.0,
"time": 196.8048056919521,
"vocabulary": 56.0,
"volume": 534.2766528292996
},
"lines_of_code": 32.0,
"maintainability_index": 81.73432671207017,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 11.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 264
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts:anonymous_function_273:273",
"entity_name": "anonymous_function_273",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-self-identification.e2e.test.ts",
"issues": [],
"line_number": 274,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 274
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts:createManagedAgent:27",
"entity_name": "createManagedAgent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts",
"issues": [],
"line_number": 28,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "ConditionalExpression",
"line": 44,
"nesting_level": 0
},
{
"column": 6,
"kind": "ConditionalExpression",
"line": 49,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.456469200207693,
"calculated_length": 475.8571927982413,
"difficulty": 8.10958904109589,
"effort": 11105.33287080634,
"length": 216.0,
"n1": 8.0,
"n2": 73.0,
"n_1": 68.0,
"n_2": 148.0,
"time": 616.9629372670189,
"vocabulary": 81.0,
"volume": 1369.407600623079
},
"lines_of_code": 65.0,
"maintainability_index": 65.1298319392781,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 20.6
},
"recommendations": [],
"severity": "Low",
"start_line": 28
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts:anonymous_function_94:94",
"entity_name": "anonymous_function_94",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts",
"issues": [],
"line_number": 95,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 321,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 324,
"nesting_level": 1
},
{
"column": 11,
"kind": "Try",
"line": 328,
"nesting_level": 1
},
{
"column": 13,
"kind": "Catch",
"line": 331,
"nesting_level": 2
},
{
"column": 9,
"kind": "Catch",
"line": 335,
"nesting_level": 1
}
],
"halstead": {
"bugs": 2.0364045333301224,
"calculated_length": 1016.3428198225972,
"difficulty": 30.44776119402985,
"effort": 186011.8767758261,
"length": 844.0,
"n1": 17.0,
"n2": 134.0,
"n_1": 364.0,
"n_2": 480.0,
"time": 10333.993154212561,
"vocabulary": 151.0,
"volume": 6109.213599990367
},
"lines_of_code": 252.0,
"maintainability_index": 34.71197143073155,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 106.0,
"technical_debt_score": 40.0
},
"recommendations": [],
"severity": "Low",
"start_line": 95
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts:anonymous_function_100:100",
"entity_name": "anonymous_function_100",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts",
"issues": [],
"line_number": 101,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04087462841250339,
"calculated_length": 54.62919048309068,
"difficulty": 3.333333333333333,
"effort": 408.74628412503387,
"length": 30.0,
"n1": 5.0,
"n2": 12.0,
"n_1": 14.0,
"n_2": 16.0,
"time": 22.708126895835214,
"vocabulary": 17.0,
"volume": 122.62388523751017
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 101
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts:anonymous_function_106:106",
"entity_name": "anonymous_function_106",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts",
"issues": [],
"line_number": 107,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 13.60964047443681,
"difficulty": 1.2,
"effort": 26.950607251753,
"length": 8.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 2.0,
"n_2": 6.0,
"time": 1.4972559584307221,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 107
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts:anonymous_function_110:110",
"entity_name": "anonymous_function_110",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts",
"issues": [],
"line_number": 111,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.23394643753498967,
"calculated_length": 197.72694052636004,
"difficulty": 5.277777777777778,
"effort": 3704.1519276373365,
"length": 131.0,
"n1": 5.0,
"n2": 36.0,
"n_1": 55.0,
"n_2": 76.0,
"time": 205.78621820207425,
"vocabulary": 41.0,
"volume": 701.839312604969
},
"lines_of_code": 28.0,
"maintainability_index": 82.70902364747538,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 13.0,
"technical_debt_score": 7.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 111
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts:anonymous_function_140:140",
"entity_name": "anonymous_function_140",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts",
"issues": [],
"line_number": 141,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.13787956506547203,
"calculated_length": 103.84830635279079,
"difficulty": 5.9523809523809526,
"effort": 2462.1350904548576,
"length": 88.0,
"n1": 5.0,
"n2": 21.0,
"n_1": 38.0,
"n_2": 50.0,
"time": 136.78528280304764,
"vocabulary": 26.0,
"volume": 413.63869519641605
},
"lines_of_code": 22.0,
"maintainability_index": 89.36514930107478,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 141
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts:anonymous_function_164:164",
"entity_name": "anonymous_function_164",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts",
"issues": [],
"line_number": 165,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0955756076022022,
"calculated_length": 103.84830635279079,
"difficulty": 4.166666666666667,
"effort": 1194.6950950275277,
"length": 61.0,
"n1": 5.0,
"n2": 21.0,
"n_1": 26.0,
"n_2": 35.0,
"time": 66.37194972375154,
"vocabulary": 26.0,
"volume": 286.7268228066066
},
"lines_of_code": 16.0,
"maintainability_index": 96.42970708678051,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 165
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts:anonymous_function_182:182",
"entity_name": "anonymous_function_182",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts",
"issues": [],
"line_number": 183,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.019119800003846166,
"calculated_length": 32.0,
"difficulty": 2.0,
"effort": 114.718800023077,
"length": 16.0,
"n1": 4.0,
"n2": 8.0,
"n_1": 8.0,
"n_2": 8.0,
"time": 6.373266667948722,
"vocabulary": 12.0,
"volume": 57.3594000115385
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 183
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts:anonymous_function_187:187",
"entity_name": "anonymous_function_187",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts",
"issues": [],
"line_number": 188,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04133333333333333,
"calculated_length": 51.01955000865387,
"difficulty": 3.0,
"effort": 372.0,
"length": 31.0,
"n1": 4.0,
"n2": 12.0,
"n_1": 13.0,
"n_2": 18.0,
"time": 20.666666666666668,
"vocabulary": 16.0,
"volume": 124.0
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 188
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts:anonymous_function_198:198",
"entity_name": "anonymous_function_198",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts",
"issues": [],
"line_number": 199,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1279268328716927,
"calculated_length": 121.64874049174456,
"difficulty": 4.791666666666667,
"effort": 1838.948222530583,
"length": 79.0,
"n1": 5.0,
"n2": 24.0,
"n_1": 33.0,
"n_2": 46.0,
"time": 102.16379014058795,
"vocabulary": 29.0,
"volume": 383.78049861507816
},
"lines_of_code": 24.0,
"maintainability_index": 88.3451599393616,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 199
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts:anonymous_function_224:224",
"entity_name": "anonymous_function_224",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts",
"issues": [],
"line_number": 225,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.06194763602671887,
"calculated_length": 72.0,
"difficulty": 3.25,
"effort": 603.989451260509,
"length": 43.0,
"n1": 4.0,
"n2": 16.0,
"n_1": 17.0,
"n_2": 26.0,
"time": 33.554969514472724,
"vocabulary": 20.0,
"volume": 185.8429080801566
},
"lines_of_code": 22.0,
"maintainability_index": 93.52562322506637,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 225
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts:anonymous_function_248:248",
"entity_name": "anonymous_function_248",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts",
"issues": [],
"line_number": 249,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.06194763602671887,
"calculated_length": 72.0,
"difficulty": 3.125,
"effort": 580.7590877504894,
"length": 43.0,
"n1": 4.0,
"n2": 16.0,
"n_1": 18.0,
"n_2": 25.0,
"time": 32.264393763916075,
"vocabulary": 20.0,
"volume": 185.8429080801566
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 4.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 249
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts:anonymous_function_263:263",
"entity_name": "anonymous_function_263",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts",
"issues": [],
"line_number": 264,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10525625489443072,
"calculated_length": 119.55169999363824,
"difficulty": 4.956521739130435,
"effort": 1565.1147466911002,
"length": 65.0,
"n1": 6.0,
"n2": 23.0,
"n_1": 27.0,
"n_2": 38.0,
"time": 86.95081926061668,
"vocabulary": 29.0,
"volume": 315.76876468329215
},
"lines_of_code": 19.0,
"maintainability_index": 93.14403555787318,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 264
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts:anonymous_function_284:284",
"entity_name": "anonymous_function_284",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts",
"issues": [],
"line_number": 285,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 321,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 324,
"nesting_level": 1
},
{
"column": 11,
"kind": "Try",
"line": 328,
"nesting_level": 1
},
{
"column": 13,
"kind": "Catch",
"line": 331,
"nesting_level": 2
},
{
"column": 9,
"kind": "Catch",
"line": 335,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.40178347847430596,
"calculated_length": 383.8152345693536,
"difficulty": 14.464285714285715,
"effort": 17434.533083795777,
"length": 196.0,
"n1": 15.0,
"n2": 56.0,
"n_1": 88.0,
"n_2": 108.0,
"time": 968.5851713219877,
"vocabulary": 71.0,
"volume": 1205.3504354229178
},
"lines_of_code": 61.0,
"maintainability_index": 66.13231016898851,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 29.0,
"technical_debt_score": 32.2
},
"recommendations": [],
"severity": "Low",
"start_line": 285
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts:anonymous_function_290:290",
"entity_name": "anonymous_function_290",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts",
"issues": [],
"line_number": 291,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04754120904376099,
"calculated_length": 68.81274391313339,
"difficulty": 3.8571428571428577,
"effort": 550.1197046492344,
"length": 33.0,
"n1": 6.0,
"n2": 14.0,
"n_1": 15.0,
"n_2": 18.0,
"time": 30.562205813846358,
"vocabulary": 20.0,
"volume": 142.62362713128297
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 291
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts:anonymous_function_315:315",
"entity_name": "anonymous_function_315",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts",
"issues": [],
"line_number": 316,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 316
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts:anonymous_function_319:319",
"entity_name": "anonymous_function_319",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts",
"issues": [],
"line_number": 320,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 321,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 324,
"nesting_level": 1
},
{
"column": 11,
"kind": "Try",
"line": 328,
"nesting_level": 1
},
{
"column": 13,
"kind": "Catch",
"line": 331,
"nesting_level": 2
},
{
"column": 9,
"kind": "Catch",
"line": 335,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07132331253245203,
"calculated_length": 101.62290894278166,
"difficulty": 8.799999999999999,
"effort": 1882.9354508567333,
"length": 45.0,
"n1": 12.0,
"n2": 15.0,
"n_1": 23.0,
"n_2": 22.0,
"time": 104.6075250475963,
"vocabulary": 27.0,
"volume": 213.96993759735608
},
"lines_of_code": 19.0,
"maintainability_index": 94.01774379899236,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 23.8
},
"recommendations": [],
"severity": "Low",
"start_line": 320
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts:anonymous_function_344:344",
"entity_name": "anonymous_function_344",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.test.ts",
"issues": [],
"line_number": 345,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 345
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts:constructor:76",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts",
"issues": [],
"line_number": 77,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02734823416925963,
"calculated_length": 46.05374780501027,
"difficulty": 2.3636363636363638,
"effort": 193.92384229111377,
"length": 21.0,
"n1": 4.0,
"n2": 11.0,
"n_1": 8.0,
"n_2": 13.0,
"time": 10.773546793950764,
"vocabulary": 15.0,
"volume": 82.0447025077789
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 77
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts:list:81",
"entity_name": "list",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts",
"issues": [],
"line_number": 82,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.022202638308846556,
"calculated_length": 35.60964047443681,
"difficulty": 2.5,
"effort": 166.51978731634915,
"length": 18.0,
"n1": 5.0,
"n2": 8.0,
"n_1": 10.0,
"n_2": 8.0,
"time": 9.25109929535273,
"vocabulary": 13.0,
"volume": 66.60791492653966
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 82
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts:get:86",
"entity_name": "get",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts",
"issues": [],
"line_number": 87,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 90,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 95,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 100,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10545413751658658,
"calculated_length": 88.0,
"difficulty": 8.5,
"effort": 2689.080506672958,
"length": 69.0,
"n1": 8.0,
"n2": 16.0,
"n_1": 35.0,
"n_2": 34.0,
"time": 149.393361481831,
"vocabulary": 24.0,
"volume": 316.36241254975977
},
"lines_of_code": 20.0,
"maintainability_index": 91.6133173241809,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 13.0,
"technical_debt_score": 16.8
},
"recommendations": [],
"severity": "Low",
"start_line": 87
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts:upsert:108",
"entity_name": "upsert",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts",
"issues": [],
"line_number": 109,
"metrics": {
"cognitive_complexity": 16.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 114,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 124,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 124,
"nesting_level": 2
},
{
"column": 9,
"kind": "Try",
"line": 125,
"nesting_level": 2
},
{
"column": 11,
"kind": "Catch",
"line": 127,
"nesting_level": 3
},
{
"column": 9,
"kind": "If",
"line": 139,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.25592503729730826,
"calculated_length": 219.33658100079685,
"difficulty": 9.444444444444445,
"effort": 7251.209390090401,
"length": 139.0,
"n1": 10.0,
"n2": 36.0,
"n_1": 71.0,
"n_2": 68.0,
"time": 402.8449661161334,
"vocabulary": 46.0,
"volume": 767.7751118919248
},
"lines_of_code": 37.0,
"maintainability_index": 76.3469461056755,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 19.0,
"technical_debt_score": 34.2
},
"recommendations": [],
"severity": "Moderate",
"start_line": 109
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts:anonymous_function_112:112",
"entity_name": "anonymous_function_112",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts",
"issues": [],
"line_number": 113,
"metrics": {
"cognitive_complexity": 14.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 114,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 124,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 124,
"nesting_level": 2
},
{
"column": 9,
"kind": "Try",
"line": 125,
"nesting_level": 2
},
{
"column": 11,
"kind": "Catch",
"line": 127,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.1311542471033198,
"calculated_length": 137.26120593818493,
"difficulty": 8.26086956521739,
"effort": 3250.3443847344465,
"length": 78.0,
"n1": 10.0,
"n2": 23.0,
"n_1": 40.0,
"n_2": 38.0,
"time": 180.57468804080258,
"vocabulary": 33.0,
"volume": 393.46274130995937
},
"lines_of_code": 21.0,
"maintainability_index": 89.22880734321672,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 11.0,
"technical_debt_score": 27.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 113
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts:anonymous_function_137:137",
"entity_name": "anonymous_function_137",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts",
"issues": [],
"line_number": 138,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 139,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.019603445838944685,
"calculated_length": 27.11941547876375,
"difficulty": 4.199999999999999,
"effort": 247.003417570703,
"length": 17.0,
"n1": 6.0,
"n2": 5.0,
"n_1": 10.0,
"n_2": 7.0,
"time": 13.722412087261278,
"vocabulary": 11.0,
"volume": 58.81033751683405
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 138
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts:beginDelete:147",
"entity_name": "beginDelete",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts",
"issues": [],
"line_number": 148,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008422064766172813,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 47.374114309722074,
"length": 9.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 5.0,
"time": 2.6318952394290043,
"vocabulary": 7.0,
"volume": 25.26619429851844
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 148
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts:remove:151",
"entity_name": "remove",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts",
"issues": [
{
"description": "Cognitive complexity of 32.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts:remove:151",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts:152",
"metric_value": 32.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 152,
"metrics": {
"cognitive_complexity": 32.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 160,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 166,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 169,
"nesting_level": 2
},
{
"column": 9,
"kind": "Try",
"line": 177,
"nesting_level": 2
},
{
"column": 11,
"kind": "Catch",
"line": 179,
"nesting_level": 3
},
{
"column": 11,
"kind": "If",
"line": 183,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 189,
"nesting_level": 2
},
{
"column": 7,
"kind": "Try",
"line": 197,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 199,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 201,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 201,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.416,
"calculated_length": 333.72414129577294,
"difficulty": 15.459183673469386,
"effort": 19293.061224489793,
"length": 208.0,
"n1": 15.0,
"n2": 49.0,
"n_1": 107.0,
"n_2": 101.0,
"time": 1071.8367346938774,
"vocabulary": 64.0,
"volume": 1248.0
},
"lines_of_code": 60.0,
"maintainability_index": 64.83927083756925,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 31.0,
"technical_debt_score": 61.6
},
"recommendations": [],
"severity": "High",
"start_line": 152
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts:applySnapshot:213",
"entity_name": "applySnapshot",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts",
"issues": [],
"line_number": 214,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "LogicalAnd",
"line": 221,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 223,
"nesting_level": 1
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 225,
"nesting_level": 1
},
{
"column": 17,
"kind": "ConditionalExpression",
"line": 227,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.15666666666666668,
"calculated_length": 135.74788919877133,
"difficulty": 7.700000000000001,
"effort": 3619.0000000000005,
"length": 94.0,
"n1": 7.0,
"n2": 25.0,
"n_1": 39.0,
"n_2": 55.0,
"time": 201.05555555555557,
"vocabulary": 32.0,
"volume": 470.0
},
"lines_of_code": 18.0,
"maintainability_index": 91.03176750962079,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 6.0,
"technical_debt_score": 20.0
},
"recommendations": [],
"severity": "Low",
"start_line": 214
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts:setTitle:233",
"entity_name": "setTitle",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts",
"issues": [],
"line_number": 234,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 237,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.042479275134435855,
"calculated_length": 61.74860596185444,
"difficulty": 6.3,
"effort": 802.8583000408375,
"length": 30.0,
"n1": 9.0,
"n2": 10.0,
"n_1": 16.0,
"n_2": 14.0,
"time": 44.603238891157645,
"vocabulary": 19.0,
"volume": 127.43782540330756
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 234
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts:load:242",
"entity_name": "load",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts",
"issues": [],
"line_number": 243,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 244,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 248,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04447920001538466,
"calculated_length": 57.219280948873624,
"difficulty": 4.8,
"effort": 640.5004802215391,
"length": 32.0,
"n1": 8.0,
"n2": 10.0,
"n_1": 20.0,
"n_2": 12.0,
"time": 35.58336001230773,
"vocabulary": 18.0,
"volume": 133.437600046154
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 11.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 243
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts:doLoad:254",
"entity_name": "doLoad",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts",
"issues": [],
"line_number": 255,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 259,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 263,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 264,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.105,
"calculated_length": 129.45811190640111,
"difficulty": 8.399999999999999,
"effort": 2645.9999999999995,
"length": 63.0,
"n1": 12.0,
"n2": 20.0,
"n_1": 35.0,
"n_2": 28.0,
"time": 146.99999999999997,
"vocabulary": 32.0,
"volume": 315.0
},
"lines_of_code": 17.0,
"maintainability_index": 94.26856610439603,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 17.8
},
"recommendations": [],
"severity": "Low",
"start_line": 255
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts:scanDisk:273",
"entity_name": "scanDisk",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts",
"issues": [],
"line_number": 274,
"metrics": {
"cognitive_complexity": 22.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 277,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 279,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 280,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 287,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 292,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 294,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 299,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalOr",
"line": 299,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 304,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.2877443751081734,
"calculated_length": 263.42124551085624,
"difficulty": 15.789473684210526,
"effort": 13629.996715650319,
"length": 150.0,
"n1": 16.0,
"n2": 38.0,
"n_1": 75.0,
"n_2": 75.0,
"time": 757.222039758351,
"vocabulary": 54.0,
"volume": 863.2331253245202
},
"lines_of_code": 40.0,
"maintainability_index": 73.78459194452687,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 26.0,
"technical_debt_score": 45.6
},
"recommendations": [],
"severity": "Moderate",
"start_line": 274
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts:readRecordFile:315",
"entity_name": "readRecordFile",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts",
"issues": [],
"line_number": 316,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 317,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 321,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.0649834625295674,
"calculated_length": 106.09004635215048,
"difficulty": 4.55,
"effort": 887.0242635285949,
"length": 41.0,
"n1": 7.0,
"n2": 20.0,
"n_1": 15.0,
"n_2": 26.0,
"time": 49.27912575158861,
"vocabulary": 27.0,
"volume": 194.9503875887022
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 11.8
},
"recommendations": [],
"severity": "Low",
"start_line": 316
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts:buildRecordPath:326",
"entity_name": "buildRecordPath",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts",
"issues": [],
"line_number": 327,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.024669598120940616,
"calculated_length": 37.974168451037094,
"difficulty": 1.9500000000000002,
"effort": 144.31714900750262,
"length": 20.0,
"n1": 3.0,
"n2": 10.0,
"n_1": 7.0,
"n_2": 13.0,
"time": 8.0176193893057,
"vocabulary": 13.0,
"volume": 74.00879436282185
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 327
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts:findAgentPathById:331",
"entity_name": "findAgentPathById",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts",
"issues": [],
"line_number": 332,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 334,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 336,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 341,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 345,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 348,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.10514089871917368,
"calculated_length": 140.34438221418816,
"difficulty": 9.904761904761905,
"effort": 3124.1867047983037,
"length": 62.0,
"n1": 13.0,
"n2": 21.0,
"n_1": 30.0,
"n_2": 32.0,
"time": 173.56592804435022,
"vocabulary": 34.0,
"volume": 315.42269615752105
},
"lines_of_code": 22.0,
"maintainability_index": 89.62476136994411,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 26.0
},
"recommendations": [],
"severity": "Low",
"start_line": 332
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts:projectDirNameFromCwd:356",
"entity_name": "projectDirNameFromCwd",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts",
"issues": [],
"line_number": 357,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 359,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.029603517745128736,
"calculated_length": 35.161259458730164,
"difficulty": 5.571428571428571,
"effort": 494.8016537400089,
"length": 24.0,
"n1": 6.0,
"n2": 7.0,
"n_1": 11.0,
"n_2": 13.0,
"time": 27.488980763333828,
"vocabulary": 13.0,
"volume": 88.81055323538621
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 357
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts:writeFileAtomically:364",
"entity_name": "writeFileAtomically",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/agent-storage.ts",
"issues": [],
"line_number": 365,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.06002833811130973,
"calculated_length": 77.48686830125577,
"difficulty": 2.9411764705882355,
"effort": 529.6618068644976,
"length": 41.0,
"n1": 4.0,
"n2": 17.0,
"n_1": 16.0,
"n_2": 25.0,
"time": 29.425655936916534,
"vocabulary": 21.0,
"volume": 180.0850143339292
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 365
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/audio-utils.ts:anonymous_function_1:1",
"entity_name": "anonymous_function_1",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/audio-utils.ts",
"issues": [],
"line_number": 2,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 2
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/audio-utils.ts:anonymous_function_2:2",
"entity_name": "anonymous_function_2",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/audio-utils.ts",
"issues": [],
"line_number": 3,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 3
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/audio-utils.ts:anonymous_function_3:3",
"entity_name": "anonymous_function_3",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/audio-utils.ts",
"issues": [],
"line_number": 4,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 4
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/audio-utils.ts:anonymous_function_4:4",
"entity_name": "anonymous_function_4",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/audio-utils.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/audio-utils.ts:anonymous_function_5:5",
"entity_name": "anonymous_function_5",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/audio-utils.ts",
"issues": [],
"line_number": 6,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 24,
"kind": "LogicalOr",
"line": 6,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 12.754887502163468,
"difficulty": 2.625,
"effort": 88.43168004481454,
"length": 12.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 4.912871113600808,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 6
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/audio-utils.ts:anonymous_function_6:6",
"entity_name": "anonymous_function_6",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/audio-utils.ts",
"issues": [],
"line_number": 7,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 7
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/audio-utils.ts:anonymous_function_7:7",
"entity_name": "anonymous_function_7",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/audio-utils.ts",
"issues": [],
"line_number": 8,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 8
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/audio-utils.ts:inferAudioExtension:10",
"entity_name": "inferAudioExtension",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/audio-utils.ts",
"issues": [],
"line_number": 11,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 23,
"kind": "LogicalOr",
"line": 12,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.038149653185003164,
"calculated_length": 54.62919048309068,
"difficulty": 3.541666666666667,
"effort": 405.34006509065864,
"length": 28.0,
"n1": 5.0,
"n2": 12.0,
"n_1": 11.0,
"n_2": 17.0,
"time": 22.51889250503659,
"vocabulary": 17.0,
"volume": 114.4489595550095
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 11
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/audio-utils.ts:anonymous_function_12:12",
"entity_name": "anonymous_function_12",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/audio-utils.ts",
"issues": [],
"line_number": 13,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 13
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/audio-utils.ts:sanitizeForFilename:16",
"entity_name": "sanitizeForFilename",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/audio-utils.ts",
"issues": [],
"line_number": 17,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 17,
"kind": "ConditionalExpression",
"line": 18,
"nesting_level": 0
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 18,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.034666666666666665,
"calculated_length": 49.66338827944708,
"difficulty": 3.8636363636363633,
"effort": 401.81818181818176,
"length": 26.0,
"n1": 5.0,
"n2": 11.0,
"n_1": 9.0,
"n_2": 17.0,
"time": 22.323232323232318,
"vocabulary": 16.0,
"volume": 104.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 8.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 17
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/dictation-debug.ts:maybePersistDictationDebugAudio:15",
"entity_name": "maybePersistDictationDebugAudio",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/dictation-debug.ts",
"issues": [],
"line_number": 16,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 21,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 25,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.17307825648642486,
"calculated_length": 246.09640474436813,
"difficulty": 7.25,
"effort": 3764.452078579741,
"length": 92.0,
"n1": 10.0,
"n2": 40.0,
"n_1": 34.0,
"n_2": 58.0,
"time": 209.1362265877634,
"vocabulary": 50.0,
"volume": 519.2347694592746
},
"lines_of_code": 23.0,
"maintainability_index": 87.00274182324821,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 13.0,
"technical_debt_score": 12.2
},
"recommendations": [],
"severity": "Low",
"start_line": 16
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/llm-openai.ts:getAllTools:6",
"entity_name": "getAllTools",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/llm-openai.ts",
"issues": [],
"line_number": 7,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005417832221403845,
"calculated_length": 6.754887502163468,
"difficulty": 1.6666666666666667,
"effort": 27.089161107019226,
"length": 7.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 5.0,
"time": 1.5049533948344014,
"vocabulary": 5.0,
"volume": 16.253496664211536
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 7
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.test.ts:createTestDeps:16",
"entity_name": "createTestDeps",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.test.ts",
"issues": [],
"line_number": 17,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.18159818829690433,
"calculated_length": 146.2155782920497,
"difficulty": 5.803571428571429,
"effort": 3161.754171240745,
"length": 108.0,
"n1": 5.0,
"n2": 28.0,
"n_1": 43.0,
"n_2": 65.0,
"time": 175.65300951337474,
"vocabulary": 33.0,
"volume": 544.794564890713
},
"lines_of_code": 30.0,
"maintainability_index": 82.90847676914919,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 8.0
},
"recommendations": [],
"severity": "Low",
"start_line": 17
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.test.ts:anonymous_function_24:24",
"entity_name": "anonymous_function_24",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.test.ts",
"issues": [],
"line_number": 25,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 1.0,
"effort": 4.754887502163468,
"length": 3.0,
"n1": 2.0,
"n2": 1.0,
"n_1": 2.0,
"n_2": 1.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 25
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.test.ts:anonymous_function_48:48",
"entity_name": "anonymous_function_48",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.test.ts",
"issues": [],
"line_number": 49,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.5664787612188851,
"calculated_length": 441.1396719720969,
"difficulty": 8.166666666666668,
"effort": 13878.729649862686,
"length": 272.0,
"n1": 7.0,
"n2": 69.0,
"n_1": 111.0,
"n_2": 161.0,
"time": 771.0405361034825,
"vocabulary": 76.0,
"volume": 1699.4362836566552
},
"lines_of_code": 78.0,
"maintainability_index": 61.513447246164915,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 28.0,
"technical_debt_score": 17.600000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 49
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.test.ts:anonymous_function_51:51",
"entity_name": "anonymous_function_51",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.test.ts",
"issues": [],
"line_number": 52,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.24021499122004109,
"calculated_length": 212.4012589826744,
"difficulty": 7.189189189189189,
"effort": 5180.853053880885,
"length": 132.0,
"n1": 7.0,
"n2": 37.0,
"n_1": 56.0,
"n_2": 76.0,
"time": 287.8251696600492,
"vocabulary": 44.0,
"volume": 720.6449736601232
},
"lines_of_code": 27.0,
"maintainability_index": 83.16068041030604,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 7.400000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 52
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.test.ts:anonymous_function_80:80",
"entity_name": "anonymous_function_80",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.test.ts",
"issues": [],
"line_number": 81,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.12240434618240933,
"calculated_length": 186.1164903932322,
"difficulty": 4.666666666666666,
"effort": 1713.6608465537304,
"length": 69.0,
"n1": 7.0,
"n2": 33.0,
"n_1": 25.0,
"n_2": 44.0,
"time": 95.20338036409613,
"vocabulary": 40.0,
"volume": 367.213038547228
},
"lines_of_code": 23.0,
"maintainability_index": 89.26409443800856,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 81
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.test.ts:anonymous_function_105:105",
"entity_name": "anonymous_function_105",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.test.ts",
"issues": [],
"line_number": 106,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.094965973036673,
"calculated_length": 148.03344701281688,
"difficulty": 4.277777777777779,
"effort": 1218.7299873039701,
"length": 56.0,
"n1": 7.0,
"n2": 27.0,
"n_1": 23.0,
"n_2": 33.0,
"time": 67.70722151688723,
"vocabulary": 34.0,
"volume": 284.89791911001896
},
"lines_of_code": 20.0,
"maintainability_index": 92.84805629318588,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 106
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:mapModeAcrossProviders:61",
"entity_name": "mapModeAcrossProviders",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 62,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 67,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 71,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 71,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 73,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 79,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 79,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 81,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07493681875625623,
"calculated_length": 54.62919048309068,
"difficulty": 6.25,
"effort": 1405.065351679804,
"length": 55.0,
"n1": 5.0,
"n2": 12.0,
"n_1": 25.0,
"n_2": 30.0,
"time": 78.05918620443356,
"vocabulary": 17.0,
"volume": 224.81045626876866
},
"lines_of_code": 26.0,
"maintainability_index": 88.21949640498963,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 13.0,
"technical_debt_score": 30.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 62
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:anonymous_function_90:90",
"entity_name": "anonymous_function_90",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 91,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 91
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:expandPath:107",
"entity_name": "expandPath",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 108,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 109,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 109,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03516201536047667,
"calculated_length": 44.039100017307746,
"difficulty": 4.666666666666667,
"effort": 492.2682150466734,
"length": 27.0,
"n1": 6.0,
"n2": 9.0,
"n_1": 13.0,
"n_2": 14.0,
"time": 27.348234169259634,
"vocabulary": 15.0,
"volume": 105.48604608143
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 108
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:constructor:119",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 120,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.019603445838944685,
"calculated_length": 27.651484454403228,
"difficulty": 2.5714285714285716,
"effort": 151.22658218614473,
"length": 17.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 8.0,
"n_2": 9.0,
"time": 8.401476788119151,
"vocabulary": 11.0,
"volume": 58.81033751683405
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 120
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:waitForAgentWithTimeout:131",
"entity_name": "waitForAgentWithTimeout",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 132,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 148,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 154,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 155,
"nesting_level": 1
},
{
"column": 3,
"kind": "Try",
"line": 173,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 179,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 180,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 180,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.3426973822806619,
"calculated_length": 325.06567602884894,
"difficulty": 17.19148936170213,
"effort": 17674.4352052835,
"length": 172.0,
"n1": 16.0,
"n2": 47.0,
"n_1": 71.0,
"n_2": 101.0,
"time": 981.9130669601943,
"vocabulary": 63.0,
"volume": 1028.0921468419856
},
"lines_of_code": 63.0,
"maintainability_index": 65.97682502163754,
"max_nesting_depth": 2.0,
"parameter_count": 3.0,
"statement_count": 23.0,
"technical_debt_score": 38.2
},
"recommendations": [],
"severity": "Low",
"start_line": 132
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:anonymous_function_142:142",
"entity_name": "anonymous_function_142",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 143,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008,
"calculated_length": 16.0,
"difficulty": 2.0,
"effort": 48.0,
"length": 8.0,
"n1": 4.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 2.6666666666666665,
"vocabulary": 8.0,
"volume": 24.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 143
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:anonymous_function_146:146",
"entity_name": "anonymous_function_146",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 147,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 148,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.017297158093186486,
"calculated_length": 27.11941547876375,
"difficulty": 4.199999999999999,
"effort": 217.9441919741497,
"length": 15.0,
"n1": 6.0,
"n2": 5.0,
"n_1": 8.0,
"n_2": 7.0,
"time": 12.10801066523054,
"vocabulary": 11.0,
"volume": 51.89147427955946
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 147
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:anonymous_function_159:159",
"entity_name": "anonymous_function_159",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 160,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.5,
"effort": 33.68825906469125,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 1.871569948038403,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 160
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:anonymous_function_168:168",
"entity_name": "anonymous_function_168",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 169,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 18.094737505048094,
"length": 7.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 4.0,
"time": 1.0052631947248942,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 169
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:startAgentRun:196",
"entity_name": "startAgentRun",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 197,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 205,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 209,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.051962908341506436,
"calculated_length": 88.0,
"difficulty": 5.5,
"effort": 857.3879876348562,
"length": 34.0,
"n1": 8.0,
"n2": 16.0,
"n_1": 12.0,
"n_2": 22.0,
"time": 47.63266597971423,
"vocabulary": 24.0,
"volume": 155.88872502451932
},
"lines_of_code": 19.0,
"maintainability_index": 96.35454778916092,
"max_nesting_depth": 1.0,
"parameter_count": 4.0,
"statement_count": 5.0,
"technical_debt_score": 12.2
},
"recommendations": [],
"severity": "Low",
"start_line": 197
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:anonymous_function_203:203",
"entity_name": "anonymous_function_203",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 204,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 205,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 209,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.01903677461028802,
"calculated_length": 39.50977500432694,
"difficulty": 3.375,
"effort": 192.7473429291662,
"length": 15.0,
"n1": 6.0,
"n2": 8.0,
"n_1": 6.0,
"n_2": 9.0,
"time": 10.70818571828701,
"vocabulary": 14.0,
"volume": 57.11032383086406
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 10.6
},
"recommendations": [],
"severity": "Low",
"start_line": 204
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:sanitizePermissionRequest:217",
"entity_name": "sanitizePermissionRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 218,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 221,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 225,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 228,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 231,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 234,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 237,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.10619818783608963,
"calculated_length": 62.6710344630571,
"difficulty": 10.208333333333332,
"effort": 3252.3195024802444,
"length": 75.0,
"n1": 7.0,
"n2": 12.0,
"n_1": 40.0,
"n_2": 35.0,
"time": 180.684416804458,
"vocabulary": 19.0,
"volume": 318.5945635082689
},
"lines_of_code": 23.0,
"maintainability_index": 88.62261316701947,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 14.0,
"technical_debt_score": 23.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 218
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:resolveAgentTitle:242",
"entity_name": "resolveAgentTitle",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 243,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 248,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 251,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05572627427729669,
"calculated_length": 93.48686830125577,
"difficulty": 5.647058823529412,
"effort": 944.0686465800852,
"length": 36.0,
"n1": 8.0,
"n2": 17.0,
"n_1": 12.0,
"n_2": 24.0,
"time": 52.448258143338066,
"vocabulary": 25.0,
"volume": 167.17882283189007
},
"lines_of_code": 15.0,
"maintainability_index": 99.82045376053509,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 5.0,
"technical_debt_score": 11.399999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 243
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:serializeSnapshotWithMetadata:259",
"entity_name": "serializeSnapshotWithMetadata",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 260,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.028,
"calculated_length": 51.01955000865387,
"difficulty": 2.6666666666666665,
"effort": 224.0,
"length": 21.0,
"n1": 4.0,
"n2": 12.0,
"n_1": 5.0,
"n_2": 16.0,
"time": 12.444444444444445,
"vocabulary": 16.0,
"volume": 84.0
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 2.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 260
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:createAgentMcpServer:268",
"entity_name": "createAgentMcpServer",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [
{
"description": "Cyclomatic complexity of 54.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:createAgentMcpServer:268",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:269",
"metric_value": 54.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 94.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:createAgentMcpServer:268",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:269",
"metric_value": 94.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 269,
"metrics": {
"cognitive_complexity": 94.0,
"cyclomatic_complexity": 54.0,
"decision_points": [
{
"column": 34,
"kind": "ConditionalExpression",
"line": 361,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 410,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 412,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 420,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 445,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 446,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 473,
"nesting_level": 0
},
{
"column": 9,
"kind": "Try",
"line": 478,
"nesting_level": 1
},
{
"column": 11,
"kind": "Catch",
"line": 480,
"nesting_level": 2
},
{
"column": 9,
"kind": "Try",
"line": 487,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 491,
"nesting_level": 2
},
{
"column": 11,
"kind": "Catch",
"line": 516,
"nesting_level": 2
},
{
"column": 9,
"kind": "While",
"line": 566,
"nesting_level": 0
},
{
"column": 11,
"kind": "Try",
"line": 568,
"nesting_level": 1
},
{
"column": 13,
"kind": "Catch",
"line": 570,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 577,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 583,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 584,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 595,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 601,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 657,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 661,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 661,
"nesting_level": 1
},
{
"column": 9,
"kind": "Try",
"line": 666,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 668,
"nesting_level": 2
},
{
"column": 11,
"kind": "While",
"line": 684,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 686,
"nesting_level": 3
},
{
"column": 13,
"kind": "If",
"line": 689,
"nesting_level": 3
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 689,
"nesting_level": 4
},
{
"column": 11,
"kind": "Catch",
"line": 694,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 703,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 707,
"nesting_level": 0
},
{
"column": 9,
"kind": "Catch",
"line": 709,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 719,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 776,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 834,
"nesting_level": 0
},
{
"column": 34,
"kind": "ConditionalExpression",
"line": 890,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 899,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 899,
"nesting_level": 1
},
{
"column": 65,
"kind": "ConditionalExpression",
"line": 900,
"nesting_level": 1
},
{
"column": 52,
"kind": "ConditionalExpression",
"line": 902,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 937,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 945,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 950,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 953,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 989,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 997,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1002,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 1010,
"nesting_level": 0
},
{
"column": 9,
"kind": "Catch",
"line": 1012,
"nesting_level": 1
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 1014,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1023,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1031,
"nesting_level": 0
}
],
"halstead": {
"bugs": 5.291073106420474,
"calculated_length": 2921.8944771366405,
"difficulty": 35.89317507418397,
"effort": 569740.2400171696,
"length": 1871.0,
"n1": 21.0,
"n2": 337.0,
"n_1": 719.0,
"n_2": 1152.0,
"time": 31652.235556509422,
"vocabulary": 358.0,
"volume": 15873.219319261423
},
"lines_of_code": 861.0,
"maintainability_index": 0.0,
"max_nesting_depth": 4.0,
"parameter_count": 1.0,
"statement_count": 195.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 269
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:anonymous_function_388:388",
"entity_name": "anonymous_function_388",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 389,
"metrics": {
"cognitive_complexity": 24.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 410,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 412,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 420,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 445,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 446,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 473,
"nesting_level": 0
},
{
"column": 9,
"kind": "Try",
"line": 478,
"nesting_level": 1
},
{
"column": 11,
"kind": "Catch",
"line": 480,
"nesting_level": 2
},
{
"column": 9,
"kind": "Try",
"line": 487,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 491,
"nesting_level": 2
},
{
"column": 11,
"kind": "Catch",
"line": 516,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.7088840553891944,
"calculated_length": 685.6182203589536,
"difficulty": 18.989361702127656,
"effort": 40383.76719796953,
"length": 313.0,
"n1": 17.0,
"n2": 94.0,
"n_1": 103.0,
"n_2": 210.0,
"time": 2243.5426221094185,
"vocabulary": 111.0,
"volume": 2126.6521661675833
},
"lines_of_code": 151.0,
"maintainability_index": 47.11608444359713,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 43.0,
"technical_debt_score": 63.2
},
"recommendations": [],
"severity": "Moderate",
"start_line": 389
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:anonymous_function_560:560",
"entity_name": "anonymous_function_560",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 561,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 9,
"kind": "While",
"line": 566,
"nesting_level": 0
},
{
"column": 11,
"kind": "Try",
"line": 568,
"nesting_level": 1
},
{
"column": 13,
"kind": "Catch",
"line": 570,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 577,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 583,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 584,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 595,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 601,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2921712714516381,
"calculated_length": 298.81835015416885,
"difficulty": 14.318181818181818,
"effort": 12550.08416008173,
"length": 149.0,
"n1": 15.0,
"n2": 44.0,
"n_1": 65.0,
"n_2": 84.0,
"time": 697.2268977823182,
"vocabulary": 59.0,
"volume": 876.5138143549144
},
"lines_of_code": 62.0,
"maintainability_index": 66.8354701439953,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 26.0,
"technical_debt_score": 40.0
},
"recommendations": [],
"severity": "Low",
"start_line": 561
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:anonymous_function_564:564",
"entity_name": "anonymous_function_564",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 565,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "While",
"line": 566,
"nesting_level": 0
},
{
"column": 11,
"kind": "Try",
"line": 568,
"nesting_level": 1
},
{
"column": 13,
"kind": "Catch",
"line": 570,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.017297158093186486,
"calculated_length": 27.651484454403228,
"difficulty": 5.25,
"effort": 272.43023996768716,
"length": 15.0,
"n1": 7.0,
"n2": 4.0,
"n_1": 9.0,
"n_2": 6.0,
"time": 15.135013331538175,
"vocabulary": 11.0,
"volume": 51.89147427955946
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 14.6
},
"recommendations": [],
"severity": "Low",
"start_line": 565
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:anonymous_function_575:575",
"entity_name": "anonymous_function_575",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 576,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 577,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.029974727502502484,
"calculated_length": 52.529325012980806,
"difficulty": 4.888888888888889,
"effort": 439.6293367033698,
"length": 22.0,
"n1": 8.0,
"n2": 9.0,
"n_1": 11.0,
"n_2": 11.0,
"time": 24.4238520390761,
"vocabulary": 17.0,
"volume": 89.92418250750745
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 576
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:anonymous_function_587:587",
"entity_name": "anonymous_function_587",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 588,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 15.509775004326936,
"length": 6.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.861654166907052,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 588
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:anonymous_function_593:593",
"entity_name": "anonymous_function_593",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 594,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 595,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.024743640438853954,
"calculated_length": 43.65148445440323,
"difficulty": 5.142857142857143,
"effort": 381.7590239137467,
"length": 19.0,
"n1": 8.0,
"n2": 7.0,
"n_1": 10.0,
"n_2": 9.0,
"time": 21.208834661874818,
"vocabulary": 15.0,
"volume": 74.23092131656186
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 594
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:anonymous_function_653:653",
"entity_name": "anonymous_function_653",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [
{
"description": "Cognitive complexity of 33.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:anonymous_function_653:653",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:654",
"metric_value": 33.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 654,
"metrics": {
"cognitive_complexity": 33.0,
"cyclomatic_complexity": 15.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 657,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 661,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 661,
"nesting_level": 1
},
{
"column": 9,
"kind": "Try",
"line": 666,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 668,
"nesting_level": 2
},
{
"column": 11,
"kind": "While",
"line": 684,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 686,
"nesting_level": 3
},
{
"column": 13,
"kind": "If",
"line": 689,
"nesting_level": 3
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 689,
"nesting_level": 4
},
{
"column": 11,
"kind": "Catch",
"line": 694,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 703,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 707,
"nesting_level": 0
},
{
"column": 9,
"kind": "Catch",
"line": 709,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 719,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.4994323194961016,
"calculated_length": 448.0,
"difficulty": 17.75,
"effort": 26594.77101316741,
"length": 237.0,
"n1": 16.0,
"n2": 64.0,
"n_1": 95.0,
"n_2": 142.0,
"time": 1477.4872785093005,
"vocabulary": 80.0,
"volume": 1498.2969584883049
},
"lines_of_code": 103.0,
"maintainability_index": 54.44455160910583,
"max_nesting_depth": 4.0,
"parameter_count": 1.0,
"statement_count": 39.0,
"technical_debt_score": 76.4
},
"recommendations": [],
"severity": "High",
"start_line": 654
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:anonymous_function_691:691",
"entity_name": "anonymous_function_691",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 692,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 692
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:anonymous_function_773:773",
"entity_name": "anonymous_function_773",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 774,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 776,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05108241808752197,
"calculated_length": 92.5293250129808,
"difficulty": 5.90625,
"effort": 905.1165954882799,
"length": 33.0,
"n1": 9.0,
"n2": 16.0,
"n_1": 12.0,
"n_2": 21.0,
"time": 50.28425530490444,
"vocabulary": 25.0,
"volume": 153.24725426256592
},
"lines_of_code": 18.0,
"maintainability_index": 97.5493037008191,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 8.4
},
"recommendations": [],
"severity": "Low",
"start_line": 774
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:anonymous_function_804:804",
"entity_name": "anonymous_function_804",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 805,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03823134762099227,
"calculated_length": 66.60335893412778,
"difficulty": 2.2666666666666666,
"effort": 259.9731638227474,
"length": 27.0,
"n1": 4.0,
"n2": 15.0,
"n_1": 10.0,
"n_2": 17.0,
"time": 14.442953545708187,
"vocabulary": 19.0,
"volume": 114.6940428629768
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 805
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:anonymous_function_807:807",
"entity_name": "anonymous_function_807",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 808,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 8.0,
"difficulty": 0.625,
"effort": 8.707230355827608,
"length": 6.0,
"n1": 1.0,
"n2": 4.0,
"n_1": 1.0,
"n_2": 5.0,
"time": 0.48373501976820044,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 808
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:anonymous_function_831:831",
"entity_name": "anonymous_function_831",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 832,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 834,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03398342010754868,
"calculated_length": 62.6710344630571,
"difficulty": 4.083333333333334,
"effort": 416.2968963174714,
"length": 24.0,
"n1": 7.0,
"n2": 12.0,
"n_1": 10.0,
"n_2": 14.0,
"time": 23.127605350970633,
"vocabulary": 19.0,
"volume": 101.95026032264605
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 832
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:anonymous_function_855:855",
"entity_name": "anonymous_function_855",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 856,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.029974727502502484,
"calculated_length": 54.62919048309068,
"difficulty": 2.708333333333333,
"effort": 243.54466095783266,
"length": 22.0,
"n1": 5.0,
"n2": 12.0,
"n_1": 9.0,
"n_2": 13.0,
"time": 13.530258942101815,
"vocabulary": 17.0,
"volume": 89.92418250750745
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 856
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:anonymous_function_885:885",
"entity_name": "anonymous_function_885",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 886,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 34,
"kind": "ConditionalExpression",
"line": 890,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 899,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 899,
"nesting_level": 1
},
{
"column": 65,
"kind": "ConditionalExpression",
"line": 900,
"nesting_level": 1
},
{
"column": 52,
"kind": "ConditionalExpression",
"line": 902,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.15503846508662597,
"calculated_length": 172.65968562262316,
"difficulty": 11.589285714285715,
"effort": 5390.355205779657,
"length": 88.0,
"n1": 11.0,
"n2": 28.0,
"n_1": 29.0,
"n_2": 59.0,
"time": 299.4641780988698,
"vocabulary": 39.0,
"volume": 465.1153952598779
},
"lines_of_code": 30.0,
"maintainability_index": 82.5807176264957,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 24.4
},
"recommendations": [],
"severity": "Low",
"start_line": 886
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:anonymous_function_935:935",
"entity_name": "anonymous_function_935",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 936,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 937,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 945,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 950,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 953,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.11797350938973422,
"calculated_length": 148.09284782231802,
"difficulty": 8.479166666666668,
"effort": 3000.9511451013645,
"length": 69.0,
"n1": 11.0,
"n2": 24.0,
"n_1": 32.0,
"n_2": 37.0,
"time": 166.71950806118693,
"vocabulary": 35.0,
"volume": 353.92052816920267
},
"lines_of_code": 32.0,
"maintainability_index": 83.1859019402305,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 19.6
},
"recommendations": [],
"severity": "Low",
"start_line": 936
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:anonymous_function_987:987",
"entity_name": "anonymous_function_987",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 988,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 989,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 997,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1002,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 1010,
"nesting_level": 0
},
{
"column": 9,
"kind": "Catch",
"line": 1012,
"nesting_level": 1
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 1014,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1023,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1031,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.23293543181890342,
"calculated_length": 258.024604444984,
"difficulty": 13.223684210526315,
"effort": 9240.793775447286,
"length": 122.0,
"n1": 15.0,
"n2": 38.0,
"n_1": 55.0,
"n_2": 67.0,
"time": 513.3774319692936,
"vocabulary": 53.0,
"volume": 698.8062954567102
},
"lines_of_code": 56.0,
"maintainability_index": 69.66255995679188,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 19.0,
"technical_debt_score": 37.2
},
"recommendations": [],
"severity": "Low",
"start_line": 988
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:anonymous_function_1061:1061",
"entity_name": "anonymous_function_1061",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 1062,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.025887264661252147,
"calculated_length": 54.62919048309068,
"difficulty": 2.708333333333333,
"effort": 210.33402537267366,
"length": 19.0,
"n1": 5.0,
"n2": 12.0,
"n_1": 6.0,
"n_2": 13.0,
"time": 11.685223631815203,
"vocabulary": 17.0,
"volume": 77.66179398375644
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 1062
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:anonymous_function_1087:1087",
"entity_name": "anonymous_function_1087",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 1088,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05499965662986,
"calculated_length": 83.05865002596161,
"difficulty": 2.5555555555555554,
"effort": 421.66403416225995,
"length": 37.0,
"n1": 4.0,
"n2": 18.0,
"n_1": 14.0,
"n_2": 23.0,
"time": 23.42577967568111,
"vocabulary": 22.0,
"volume": 164.99896988958
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 4.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1088
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:anonymous_function_1088:1088",
"entity_name": "anonymous_function_1088",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 1089,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.029189721069108297,
"calculated_length": 41.219280948873624,
"difficulty": 3.0,
"effort": 262.7074896219747,
"length": 23.0,
"n1": 4.0,
"n2": 10.0,
"n_1": 8.0,
"n_2": 15.0,
"time": 14.59486053455415,
"vocabulary": 14.0,
"volume": 87.56916320732489
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1089
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:anonymous_function_1090:1090",
"entity_name": "anonymous_function_1090",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 1091,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 21.651484454403228,
"difficulty": 1.1428571428571428,
"effort": 39.85048573241764,
"length": 11.0,
"n1": 2.0,
"n2": 7.0,
"n_1": 3.0,
"n_2": 8.0,
"time": 2.2139158740232023,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1091
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts:anonymous_function_1119:1119",
"entity_name": "anonymous_function_1119",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/mcp-server.ts",
"issues": [],
"line_number": 1120,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.026409525009134644,
"calculated_length": 59.715356810271004,
"difficulty": 2.5,
"effort": 198.07143756850985,
"length": 19.0,
"n1": 5.0,
"n2": 13.0,
"n_1": 6.0,
"n_2": 13.0,
"time": 11.003968753806102,
"vocabulary": 18.0,
"volume": 79.22857502740393
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 1120
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-catalog.e2e.test.ts:anonymous_function_7:7",
"entity_name": "anonymous_function_7",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-catalog.e2e.test.ts",
"issues": [],
"line_number": 8,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.57,
"calculated_length": 349.2118756352258,
"difficulty": 10.5,
"effort": 17955.0,
"length": 285.0,
"n1": 8.0,
"n2": 56.0,
"n_1": 138.0,
"n_2": 147.0,
"time": 997.5,
"vocabulary": 64.0,
"volume": 1710.0
},
"lines_of_code": 62.0,
"maintainability_index": 65.20032998488664,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 30.0,
"technical_debt_score": 14.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 8
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-catalog.e2e.test.ts:anonymous_function_10:10",
"entity_name": "anonymous_function_10",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-catalog.e2e.test.ts",
"issues": [],
"line_number": 11,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 11
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-catalog.e2e.test.ts:anonymous_function_14:14",
"entity_name": "anonymous_function_14",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-catalog.e2e.test.ts",
"issues": [],
"line_number": 15,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 15
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-catalog.e2e.test.ts:anonymous_function_20:20",
"entity_name": "anonymous_function_20",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-catalog.e2e.test.ts",
"issues": [],
"line_number": 21,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.13706609792070354,
"calculated_length": 133.8210731461052,
"difficulty": 4.230769230769231,
"effort": 1739.685088993545,
"length": 83.0,
"n1": 5.0,
"n2": 26.0,
"n_1": 39.0,
"n_2": 44.0,
"time": 96.64917161075249,
"vocabulary": 31.0,
"volume": 411.1982937621106
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 21
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-catalog.e2e.test.ts:anonymous_function_27:27",
"entity_name": "anonymous_function_27",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-catalog.e2e.test.ts",
"issues": [],
"line_number": 28,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012,
"calculated_length": 16.36452797660028,
"difficulty": 2.0999999999999996,
"effort": 75.6,
"length": 12.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 4.199999999999999,
"vocabulary": 8.0,
"volume": 36.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 28
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-catalog.e2e.test.ts:anonymous_function_29:29",
"entity_name": "anonymous_function_29",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-catalog.e2e.test.ts",
"issues": [],
"line_number": 30,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 30
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-catalog.e2e.test.ts:anonymous_function_30:30",
"entity_name": "anonymous_function_30",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-catalog.e2e.test.ts",
"issues": [],
"line_number": 31,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-catalog.e2e.test.ts:anonymous_function_37:37",
"entity_name": "anonymous_function_37",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-catalog.e2e.test.ts",
"issues": [],
"line_number": 38,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.06936128332620753,
"calculated_length": 88.71062275542812,
"difficulty": 2.6315789473684212,
"effort": 547.5890788911121,
"length": 46.0,
"n1": 4.0,
"n2": 19.0,
"n_1": 21.0,
"n_2": 25.0,
"time": 30.42161549395067,
"vocabulary": 23.0,
"volume": 208.0838499786226
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 38
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-catalog.e2e.test.ts:anonymous_function_41:41",
"entity_name": "anonymous_function_41",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-catalog.e2e.test.ts",
"issues": [],
"line_number": 42,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 42
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-catalog.e2e.test.ts:anonymous_function_42:42",
"entity_name": "anonymous_function_42",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-catalog.e2e.test.ts",
"issues": [],
"line_number": 43,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 43
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-catalog.e2e.test.ts:anonymous_function_49:49",
"entity_name": "anonymous_function_49",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-catalog.e2e.test.ts",
"issues": [],
"line_number": 50,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.20517132067779864,
"calculated_length": 156.3912238630265,
"difficulty": 6.206896551724139,
"effort": 3820.431488483148,
"length": 120.0,
"n1": 6.0,
"n2": 29.0,
"n_1": 60.0,
"n_2": 60.0,
"time": 212.24619380461934,
"vocabulary": 35.0,
"volume": 615.513962033396
},
"lines_of_code": 17.0,
"maintainability_index": 91.47516415331447,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 50
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-catalog.e2e.test.ts:anonymous_function_64:64",
"entity_name": "anonymous_function_64",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-catalog.e2e.test.ts",
"issues": [],
"line_number": 65,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 8.0,
"length": 6.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 12.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 65
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-resolver.test.ts:anonymous_function_4:4",
"entity_name": "anonymous_function_4",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-resolver.test.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-resolver.test.ts:anonymous_function_13:13",
"entity_name": "anonymous_function_13",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-resolver.test.ts",
"issues": [],
"line_number": 14,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.45302112443346154,
"calculated_length": 304.80346744487315,
"difficulty": 8.176470588235293,
"effort": 11112.341699338438,
"length": 233.0,
"n1": 6.0,
"n2": 51.0,
"n_1": 94.0,
"n_2": 139.0,
"time": 617.3523166299133,
"vocabulary": 57.0,
"volume": 1359.0633733003847
},
"lines_of_code": 66.0,
"maintainability_index": 65.38192774326176,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 24.0,
"technical_debt_score": 15.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 14
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-resolver.test.ts:anonymous_function_14:14",
"entity_name": "anonymous_function_14",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-resolver.test.ts",
"issues": [],
"line_number": 15,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012,
"calculated_length": 16.36452797660028,
"difficulty": 1.5,
"effort": 54.0,
"length": 12.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 7.0,
"n_2": 5.0,
"time": 3.0,
"vocabulary": 8.0,
"volume": 36.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 15
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-resolver.test.ts:anonymous_function_19:19",
"entity_name": "anonymous_function_19",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-resolver.test.ts",
"issues": [],
"line_number": 20,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.041778638250577836,
"calculated_length": 72.0,
"difficulty": 2.25,
"effort": 282.0058081914004,
"length": 29.0,
"n1": 4.0,
"n2": 16.0,
"n_1": 11.0,
"n_2": 18.0,
"time": 15.666989343966687,
"vocabulary": 20.0,
"volume": 125.33591475173351
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-resolver.test.ts:anonymous_function_31:31",
"entity_name": "anonymous_function_31",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-resolver.test.ts",
"issues": [],
"line_number": 32,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.11192418250750745,
"calculated_length": 152.4910893331364,
"difficulty": 3.6206896551724137,
"effort": 1215.7281893056843,
"length": 66.0,
"n1": 5.0,
"n2": 29.0,
"n_1": 24.0,
"n_2": 42.0,
"time": 67.5404549614269,
"vocabulary": 34.0,
"volume": 335.77254752252236
},
"lines_of_code": 17.0,
"maintainability_index": 94.6264870843352,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 32
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-resolver.test.ts:anonymous_function_50:50",
"entity_name": "anonymous_function_50",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-resolver.test.ts",
"issues": [],
"line_number": 51,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.08420500391554459,
"calculated_length": 121.64874049174456,
"difficulty": 3.541666666666667,
"effort": 894.6781666026612,
"length": 52.0,
"n1": 5.0,
"n2": 24.0,
"n_1": 18.0,
"n_2": 34.0,
"time": 49.704342589036735,
"vocabulary": 29.0,
"volume": 252.61501174663374
},
"lines_of_code": 14.0,
"maintainability_index": 99.25156474743622,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 4.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 51
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-resolver.test.ts:anonymous_function_66:66",
"entity_name": "anonymous_function_66",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-resolver.test.ts",
"issues": [],
"line_number": 67,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.08906298491067215,
"calculated_length": 119.55169999363824,
"difficulty": 4.043478260869565,
"effort": 1080.3727300033709,
"length": 55.0,
"n1": 6.0,
"n2": 23.0,
"n_1": 24.0,
"n_2": 31.0,
"time": 60.02070722240949,
"vocabulary": 29.0,
"volume": 267.18895473201644
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 4.4
},
"recommendations": [],
"severity": "Low",
"start_line": 67
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-resolver.ts:resolveAgentModel:12",
"entity_name": "resolveAgentModel",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-resolver.ts",
"issues": [],
"line_number": 13,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 17,
"nesting_level": 0
},
{
"column": 3,
"kind": "Try",
"line": 21,
"nesting_level": 0
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 24,
"nesting_level": 1
},
{
"column": 5,
"kind": "Catch",
"line": 28,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.13644611534953321,
"calculated_length": 165.23098268032226,
"difficulty": 10.615384615384615,
"effort": 4345.283981131289,
"length": 78.0,
"n1": 12.0,
"n2": 26.0,
"n_1": 32.0,
"n_2": 46.0,
"time": 241.40466561840492,
"vocabulary": 38.0,
"volume": 409.33834604859965
},
"lines_of_code": 22.0,
"maintainability_index": 88.49949351233775,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 19.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 13
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-resolver.ts:anonymous_function_25:25",
"entity_name": "anonymous_function_25",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/model-resolver.ts",
"issues": [],
"line_number": 26,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 26
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts:constructor:75",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts",
"issues": [],
"line_number": 76,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.09801050904790194,
"calculated_length": 86.66829050039843,
"difficulty": 5.0,
"effort": 1470.157635718529,
"length": 65.0,
"n1": 5.0,
"n2": 18.0,
"n_1": 29.0,
"n_2": 36.0,
"time": 81.67542420658495,
"vocabulary": 23.0,
"volume": 294.03152714370583
},
"lines_of_code": 15.0,
"maintainability_index": 97.34441435892941,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 5.0
},
"recommendations": [],
"severity": "Low",
"start_line": 76
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts:connect:92",
"entity_name": "connect",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts",
"issues": [
{
"description": "Cyclomatic complexity of 21.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts:connect:92",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts:93",
"metric_value": 21.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 44.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts:connect:92",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts:93",
"metric_value": 44.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 93,
"metrics": {
"cognitive_complexity": 44.0,
"cyclomatic_complexity": 21.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 94,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 111,
"nesting_level": 1
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 130,
"nesting_level": 1
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 131,
"nesting_level": 1
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 142,
"nesting_level": 1
},
{
"column": 9,
"kind": "Try",
"line": 144,
"nesting_level": 1
},
{
"column": 11,
"kind": "Catch",
"line": 146,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 151,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 152,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 155,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 162,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 170,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 175,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 180,
"nesting_level": 1
},
{
"column": 24,
"kind": "ConditionalExpression",
"line": 183,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 189,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 195,
"nesting_level": 1
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 202,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 207,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 210,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.8973999354230967,
"calculated_length": 685.4593689780374,
"difficulty": 15.166666666666666,
"effort": 40831.6970617509,
"length": 397.0,
"n1": 14.0,
"n2": 96.0,
"n_1": 189.0,
"n_2": 208.0,
"time": 2268.4276145417166,
"vocabulary": 110.0,
"volume": 2692.19980626929
},
"lines_of_code": 126.0,
"maintainability_index": 46.75204077408611,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 64.0,
"technical_debt_score": 95.19999999999999
},
"recommendations": [],
"severity": "High",
"start_line": 93
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts:anonymous_function_98:98",
"entity_name": "anonymous_function_98",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts",
"issues": [
{
"description": "Cyclomatic complexity of 20.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts:anonymous_function_98:98",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts:99",
"metric_value": 20.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 42.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts:anonymous_function_98:98",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts:99",
"metric_value": 42.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 99,
"metrics": {
"cognitive_complexity": 42.0,
"cyclomatic_complexity": 20.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 111,
"nesting_level": 1
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 130,
"nesting_level": 1
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 131,
"nesting_level": 1
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 142,
"nesting_level": 1
},
{
"column": 9,
"kind": "Try",
"line": 144,
"nesting_level": 1
},
{
"column": 11,
"kind": "Catch",
"line": 146,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 151,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 152,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 155,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 162,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 170,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 175,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 180,
"nesting_level": 1
},
{
"column": 24,
"kind": "ConditionalExpression",
"line": 183,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 189,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 195,
"nesting_level": 1
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 202,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 207,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 210,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.8387474166688788,
"calculated_length": 653.4706688660516,
"difficulty": 15.141304347826088,
"effort": 38099.18972020918,
"length": 374.0,
"n1": 14.0,
"n2": 92.0,
"n_1": 175.0,
"n_2": 199.0,
"time": 2116.621651122732,
"vocabulary": 106.0,
"volume": 2516.2422500066364
},
"lines_of_code": 117.0,
"maintainability_index": 48.53406839202319,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 59.0,
"technical_debt_score": 93.6
},
"recommendations": [],
"severity": "High",
"start_line": 99
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts:anonymous_function_109:109",
"entity_name": "anonymous_function_109",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts",
"issues": [],
"line_number": 110,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 111,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.025382366147050694,
"calculated_length": 39.302968908806456,
"difficulty": 5.0,
"effort": 380.7354922057604,
"length": 20.0,
"n1": 7.0,
"n2": 7.0,
"n_1": 10.0,
"n_2": 10.0,
"time": 21.15197178920891,
"vocabulary": 14.0,
"volume": 76.14709844115208
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 110
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts:anonymous_function_118:118",
"entity_name": "anonymous_function_118",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts",
"issues": [],
"line_number": 119,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 23,
"kind": "ConditionalExpression",
"line": 130,
"nesting_level": 1
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 131,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08587273604670582,
"calculated_length": 133.8210731461052,
"difficulty": 3.173076923076923,
"effort": 817.4423912138343,
"length": 52.0,
"n1": 5.0,
"n2": 26.0,
"n_1": 19.0,
"n_2": 33.0,
"time": 45.41346617854635,
"vocabulary": 31.0,
"volume": 257.6182081401175
},
"lines_of_code": 20.0,
"maintainability_index": 92.91144805579434,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 13.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 119
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts:anonymous_function_140:140",
"entity_name": "anonymous_function_140",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts",
"issues": [
{
"description": "Cognitive complexity of 30.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts:anonymous_function_140:140",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts:141",
"metric_value": 30.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 141,
"metrics": {
"cognitive_complexity": 30.0,
"cyclomatic_complexity": 14.0,
"decision_points": [
{
"column": 22,
"kind": "ConditionalExpression",
"line": 142,
"nesting_level": 1
},
{
"column": 9,
"kind": "Try",
"line": 144,
"nesting_level": 1
},
{
"column": 11,
"kind": "Catch",
"line": 146,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 151,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 152,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 155,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 162,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 170,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 175,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 180,
"nesting_level": 1
},
{
"column": 24,
"kind": "ConditionalExpression",
"line": 183,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 189,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 195,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.43,
"calculated_length": 335.49577839754267,
"difficulty": 15.400000000000002,
"effort": 19866.000000000004,
"length": 215.0,
"n1": 14.0,
"n2": 50.0,
"n_1": 105.0,
"n_2": 110.0,
"time": 1103.666666666667,
"vocabulary": 64.0,
"volume": 1290.0
},
"lines_of_code": 58.0,
"maintainability_index": 64.75635624289828,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 34.0,
"technical_debt_score": 63.6
},
"recommendations": [],
"severity": "High",
"start_line": 141
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts:anonymous_function_200:200",
"entity_name": "anonymous_function_200",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts",
"issues": [],
"line_number": 201,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 14,
"kind": "ConditionalExpression",
"line": 202,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.014792983340064124,
"calculated_length": 19.60964047443681,
"difficulty": 5.0,
"effort": 221.89475010096186,
"length": 14.0,
"n1": 5.0,
"n2": 4.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 12.327486116720102,
"vocabulary": 9.0,
"volume": 44.37895002019237
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 201
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts:anonymous_function_204:204",
"entity_name": "anonymous_function_204",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts",
"issues": [],
"line_number": 205,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 207,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 210,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03866666666666667,
"calculated_length": 48.0,
"difficulty": 5.5,
"effort": 638.0,
"length": 29.0,
"n1": 8.0,
"n2": 8.0,
"n_1": 18.0,
"n_2": 11.0,
"time": 35.44444444444444,
"vocabulary": 16.0,
"volume": 116.0
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 11.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 205
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts:appendPcm16Base64:220",
"entity_name": "appendPcm16Base64",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts",
"issues": [],
"line_number": 221,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 222,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 222,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.057274226340554936,
"calculated_length": 92.5293250129808,
"difficulty": 5.625,
"effort": 966.5025694968646,
"length": 37.0,
"n1": 9.0,
"n2": 16.0,
"n_1": 17.0,
"n_2": 20.0,
"time": 53.694587194270255,
"vocabulary": 25.0,
"volume": 171.8226790216648
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 11.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 221
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts:commit:228",
"entity_name": "commit",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts",
"issues": [],
"line_number": 229,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 230,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 230,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.05126703550197948,
"calculated_length": 81.83229392178727,
"difficulty": 5.4642857142857135,
"effort": 840.413189121735,
"length": 34.0,
"n1": 9.0,
"n2": 14.0,
"n_1": 17.0,
"n_2": 17.0,
"time": 46.68962161787417,
"vocabulary": 23.0,
"volume": 153.80110650593844
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 11.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 229
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts:clear:236",
"entity_name": "clear",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts",
"issues": [],
"line_number": 237,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 238,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 238,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.04465992364716941,
"calculated_length": 67.01955000865388,
"difficulty": 5.0,
"effort": 669.8988547075412,
"length": 31.0,
"n1": 8.0,
"n2": 12.0,
"n_1": 16.0,
"n_2": 15.0,
"time": 37.21660303930784,
"vocabulary": 20.0,
"volume": 133.97977094150824
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 11.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 237
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts:close:244",
"entity_name": "close",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/openai-realtime-transcription.ts",
"issues": [],
"line_number": 245,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 246,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 249,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.030836997651175767,
"calculated_length": 35.161259458730164,
"difficulty": 5.25,
"effort": 485.6827130060184,
"length": 25.0,
"n1": 7.0,
"n2": 6.0,
"n_1": 16.0,
"n_2": 9.0,
"time": 26.9823729447788,
"vocabulary": 13.0,
"volume": 92.5109929535273
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 12.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 245
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/opencode-reasoning.e2e.test.ts:anonymous_function_11:11",
"entity_name": "anonymous_function_11",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/opencode-reasoning.e2e.test.ts",
"issues": [],
"line_number": 12,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 36,
"nesting_level": 0
},
{
"column": 7,
"kind": "For",
"line": 65,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 88,
"nesting_level": 0
},
{
"column": 24,
"kind": "LogicalAnd",
"line": 99,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 103,
"nesting_level": 0
},
{
"column": 7,
"kind": "For",
"line": 111,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 114,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 116,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.7454641044663155,
"calculated_length": 553.8599639268232,
"difficulty": 15.51875,
"effort": 34706.013213559905,
"length": 342.0,
"n1": 13.0,
"n2": 80.0,
"n_1": 151.0,
"n_2": 191.0,
"time": 1928.1118451977725,
"vocabulary": 93.0,
"volume": 2236.3923133989465
},
"lines_of_code": 121.0,
"maintainability_index": 51.132572946389715,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 44.0,
"technical_debt_score": 46.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 12
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/opencode-reasoning.e2e.test.ts:anonymous_function_15:15",
"entity_name": "anonymous_function_15",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/opencode-reasoning.e2e.test.ts",
"issues": [],
"line_number": 16,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02665148445440323,
"calculated_length": 40.13896548741762,
"difficulty": 2.5,
"effort": 199.88613340802425,
"length": 21.0,
"n1": 5.0,
"n2": 9.0,
"n_1": 12.0,
"n_2": 9.0,
"time": 11.104785189334681,
"vocabulary": 14.0,
"volume": 79.9544533632097
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 16
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/opencode-reasoning.e2e.test.ts:anonymous_function_20:20",
"entity_name": "anonymous_function_20",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/opencode-reasoning.e2e.test.ts",
"issues": [],
"line_number": 21,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017297158093186486,
"calculated_length": 27.651484454403228,
"difficulty": 2.2857142857142856,
"effort": 118.60908406756448,
"length": 15.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 7.0,
"n_2": 8.0,
"time": 6.589393559309138,
"vocabulary": 11.0,
"volume": 51.89147427955946
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 21
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/opencode-reasoning.e2e.test.ts:anonymous_function_27:27",
"entity_name": "anonymous_function_27",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/opencode-reasoning.e2e.test.ts",
"issues": [],
"line_number": 28,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 36,
"nesting_level": 0
},
{
"column": 7,
"kind": "For",
"line": 65,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 88,
"nesting_level": 0
},
{
"column": 24,
"kind": "LogicalAnd",
"line": 99,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 103,
"nesting_level": 0
},
{
"column": 7,
"kind": "For",
"line": 111,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 114,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 116,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.6004129822113617,
"calculated_length": 404.79452759999,
"difficulty": 16.229508196721312,
"effort": 29233.222248651546,
"length": 291.0,
"n1": 12.0,
"n2": 61.0,
"n_1": 126.0,
"n_2": 165.0,
"time": 1624.0679027028636,
"vocabulary": 73.0,
"volume": 1801.238946634085
},
"lines_of_code": 102.0,
"maintainability_index": 55.02504436864773,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 35.0,
"technical_debt_score": 46.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 28
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/opencode-reasoning.e2e.test.ts:anonymous_function_34:34",
"entity_name": "anonymous_function_34",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/opencode-reasoning.e2e.test.ts",
"issues": [],
"line_number": 35,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 36,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.025903078026987644,
"calculated_length": 35.161259458730164,
"difficulty": 5.142857142857142,
"effort": 399.6474895592379,
"length": 21.0,
"n1": 6.0,
"n2": 7.0,
"n_1": 9.0,
"n_2": 12.0,
"time": 22.20263830884655,
"vocabulary": 13.0,
"volume": 77.70923408096293
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 35
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/opencode-reasoning.e2e.test.ts:anonymous_function_83:83",
"entity_name": "anonymous_function_83",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/opencode-reasoning.e2e.test.ts",
"issues": [],
"line_number": 84,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 15.509775004326936,
"length": 6.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.861654166907052,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 84
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/opencode-reasoning.e2e.test.ts:anonymous_function_98:98",
"entity_name": "anonymous_function_98",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/opencode-reasoning.e2e.test.ts",
"issues": [],
"line_number": 99,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 24,
"kind": "LogicalAnd",
"line": 99,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.014,
"calculated_length": 17.509775004326936,
"difficulty": 1.3333333333333333,
"effort": 56.0,
"length": 14.0,
"n1": 2.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 3.111111111111111,
"vocabulary": 8.0,
"volume": 42.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 99
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/orchestrator-instructions.ts:getOrchestratorModeInstructions:5",
"entity_name": "getOrchestratorModeInstructions",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/orchestrator-instructions.ts",
"issues": [],
"line_number": 6,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 0.0,
"difficulty": 0.5,
"effort": 1.0,
"length": 2.0,
"n1": 1.0,
"n2": 1.0,
"n_1": 1.0,
"n_2": 1.0,
"time": 0.05555555555555555,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 44.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 6
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/paseo-instructions-tag.test.ts:anonymous_function_9:9",
"entity_name": "anonymous_function_9",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/paseo-instructions-tag.test.ts",
"issues": [],
"line_number": 10,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.15666666666666668,
"calculated_length": 145.63633636086303,
"difficulty": 2.689655172413793,
"effort": 1264.1379310344828,
"length": 94.0,
"n1": 3.0,
"n2": 29.0,
"n_1": 42.0,
"n_2": 52.0,
"time": 70.22988505747126,
"vocabulary": 32.0,
"volume": 470.0
},
"lines_of_code": 35.0,
"maintainability_index": 81.17915139141017,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 13.0,
"technical_debt_score": 9.0
},
"recommendations": [],
"severity": "Low",
"start_line": 10
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/paseo-instructions-tag.test.ts:anonymous_function_10:10",
"entity_name": "anonymous_function_10",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/paseo-instructions-tag.test.ts",
"issues": [],
"line_number": 11,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.36452797660028,
"difficulty": 1.5,
"effort": 45.0,
"length": 10.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 5.0,
"time": 2.5,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 11
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/paseo-instructions-tag.test.ts:anonymous_function_16:16",
"entity_name": "anonymous_function_16",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/paseo-instructions-tag.test.ts",
"issues": [],
"line_number": 17,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02214618729924908,
"calculated_length": 24.406371956566694,
"difficulty": 2.142857142857143,
"effort": 142.3683469237441,
"length": 20.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 10.0,
"n_2": 10.0,
"time": 7.9093526068746725,
"vocabulary": 10.0,
"volume": 66.43856189774725
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 17
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/paseo-instructions-tag.test.ts:anonymous_function_23:23",
"entity_name": "anonymous_function_23",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/paseo-instructions-tag.test.ts",
"issues": [],
"line_number": 24,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.025382366147050694,
"calculated_length": 42.80863530717374,
"difficulty": 1.772727272727273,
"effort": 134.9880381456787,
"length": 20.0,
"n1": 3.0,
"n2": 11.0,
"n_1": 7.0,
"n_2": 13.0,
"time": 7.499335452537705,
"vocabulary": 14.0,
"volume": 76.14709844115208
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 24
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/paseo-instructions-tag.test.ts:anonymous_function_34:34",
"entity_name": "anonymous_function_34",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/paseo-instructions-tag.test.ts",
"issues": [],
"line_number": 35,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 52.303762523798156,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 2.905764584655453,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 35
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/paseo-instructions-tag.test.ts:anonymous_function_40:40",
"entity_name": "anonymous_function_40",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/paseo-instructions-tag.test.ts",
"issues": [],
"line_number": 41,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.013736341672916685,
"calculated_length": 20.264662506490403,
"difficulty": 2.0,
"effort": 82.41805003750011,
"length": 13.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 4.578780557638895,
"vocabulary": 9.0,
"volume": 41.209025018750054
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 41
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/paseo-instructions-tag.ts:formatPaseoInstructionTag:3",
"entity_name": "formatPaseoInstructionTag",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/paseo-instructions-tag.ts",
"issues": [],
"line_number": 4,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 8.0,
"difficulty": 0.625,
"effort": 8.707230355827608,
"length": 6.0,
"n1": 1.0,
"n2": 4.0,
"n_1": 1.0,
"n_2": 5.0,
"time": 0.48373501976820044,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 4
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/paseo-instructions-tag.ts:hasLeadingPaseoInstructionTag:7",
"entity_name": "hasLeadingPaseoInstructionTag",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/paseo-instructions-tag.ts",
"issues": [],
"line_number": 8,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 9.509775004326936,
"difficulty": 2.0,
"effort": 36.18947501009619,
"length": 7.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 4.0,
"time": 2.0105263894497885,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 8
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/paseo-instructions-tag.ts:injectLeadingPaseoInstructionTag:15",
"entity_name": "injectLeadingPaseoInstructionTag",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/paseo-instructions-tag.ts",
"issues": [],
"line_number": 16,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 21,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 24,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.043089225014903886,
"calculated_length": 57.70523225941349,
"difficulty": 5.7272727272727275,
"effort": 740.3512298015305,
"length": 31.0,
"n1": 7.0,
"n2": 11.0,
"n_1": 13.0,
"n_2": 18.0,
"time": 41.1306238778628,
"vocabulary": 18.0,
"volume": 129.26767504471167
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 6.0,
"technical_debt_score": 10.0
},
"recommendations": [],
"severity": "Low",
"start_line": 16
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/paseo-instructions-tag.ts:stripLeadingPaseoInstructionTag:33",
"entity_name": "stripLeadingPaseoInstructionTag",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/paseo-instructions-tag.ts",
"issues": [],
"line_number": 34,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 36,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 36,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 42,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08293196919437858,
"calculated_length": 82.60335893412778,
"difficulty": 8.0,
"effort": 1990.3672606650857,
"length": 55.0,
"n1": 8.0,
"n2": 15.0,
"n_1": 25.0,
"n_2": 30.0,
"time": 110.5759589258381,
"vocabulary": 23.0,
"volume": 248.79590758313572
},
"lines_of_code": 14.0,
"maintainability_index": 98.64078011726653,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 14.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/pcm16-resampler.ts:constructor:7",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/pcm16-resampler.ts",
"issues": [],
"line_number": 8,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04563875652374013,
"calculated_length": 36.529325012980806,
"difficulty": 3.7777777777777777,
"effort": 517.2392406023881,
"length": 37.0,
"n1": 4.0,
"n2": 9.0,
"n_1": 20.0,
"n_2": 17.0,
"time": 28.73551336679934,
"vocabulary": 13.0,
"volume": 136.9162695712204
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 8
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/pcm16-resampler.ts:reset:15",
"entity_name": "reset",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/pcm16-resampler.ts",
"issues": [],
"line_number": 16,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011,
"calculated_length": 16.36452797660028,
"difficulty": 1.5,
"effort": 49.5,
"length": 11.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 6.0,
"n_2": 5.0,
"time": 2.75,
"vocabulary": 8.0,
"volume": 33.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 16
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/pcm16-resampler.ts:processChunk:20",
"entity_name": "processChunk",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/pcm16-resampler.ts",
"issues": [],
"line_number": 21,
"metrics": {
"cognitive_complexity": 19.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 22,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 25,
"nesting_level": 1
},
{
"column": 39,
"kind": "ConditionalExpression",
"line": 36,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 37,
"nesting_level": 1
},
{
"column": 26,
"kind": "ConditionalExpression",
"line": 38,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 44,
"nesting_level": 1
},
{
"column": 5,
"kind": "For",
"line": 48,
"nesting_level": 1
},
{
"column": 5,
"kind": "While",
"line": 55,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 74,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.5459248996796591,
"calculated_length": 322.19203936079697,
"difficulty": 29.4,
"effort": 48150.576151745925,
"length": 274.0,
"n1": 18.0,
"n2": 45.0,
"n_1": 127.0,
"n_2": 147.0,
"time": 2675.0320084303294,
"vocabulary": 63.0,
"volume": 1637.7746990389771
},
"lines_of_code": 60.0,
"maintainability_index": 63.88593080739432,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 38.0,
"technical_debt_score": 47.2
},
"recommendations": [],
"severity": "Moderate",
"start_line": 21
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-manifest.ts:getAgentProviderDefinition:89",
"entity_name": "getAgentProviderDefinition",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-manifest.ts",
"issues": [],
"line_number": 90,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 92,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0333594000115385,
"calculated_length": 57.05865002596162,
"difficulty": 7.0,
"effort": 700.5474002423084,
"length": 24.0,
"n1": 9.0,
"n2": 9.0,
"n_1": 10.0,
"n_2": 14.0,
"time": 38.91930001346158,
"vocabulary": 18.0,
"volume": 100.07820003461549
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 90
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-manifest.ts:anonymous_function_90:90",
"entity_name": "anonymous_function_90",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-manifest.ts",
"issues": [],
"line_number": 91,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 91
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-manifest.ts:anonymous_function_97:97",
"entity_name": "anonymous_function_97",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-manifest.ts",
"issues": [],
"line_number": 98,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 98
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-manifest.ts:isValidAgentProvider:101",
"entity_name": "isValidAgentProvider",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-manifest.ts",
"issues": [],
"line_number": 102,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 102
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-registry.ts:buildProviderRegistry:32",
"entity_name": "buildProviderRegistry",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-registry.ts",
"issues": [],
"line_number": 33,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.15805768240656487,
"calculated_length": 143.8917375627406,
"difficulty": 7.333333333333334,
"effort": 3477.2690129444277,
"length": 94.0,
"n1": 6.0,
"n2": 27.0,
"n_1": 28.0,
"n_2": 66.0,
"time": 193.18161183024597,
"vocabulary": 33.0,
"volume": 474.17304721969464
},
"lines_of_code": 22.0,
"maintainability_index": 88.6549361209133,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 33
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-registry.ts:anonymous_function_39:39",
"entity_name": "anonymous_function_39",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-registry.ts",
"issues": [],
"line_number": 40,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 40
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-registry.ts:anonymous_function_40:40",
"entity_name": "anonymous_function_40",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-registry.ts",
"issues": [],
"line_number": 41,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 8.0,
"difficulty": 0.5,
"effort": 5.804820237218405,
"length": 5.0,
"n1": 1.0,
"n2": 4.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.32249001317880027,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 41
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-registry.ts:anonymous_function_41:41",
"entity_name": "anonymous_function_41",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-registry.ts",
"issues": [],
"line_number": 42,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 42
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-registry.ts:anonymous_function_44:44",
"entity_name": "anonymous_function_44",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-registry.ts",
"issues": [],
"line_number": 45,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 45
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-registry.ts:anonymous_function_45:45",
"entity_name": "anonymous_function_45",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-registry.ts",
"issues": [],
"line_number": 46,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 46
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-registry.ts:anonymous_function_46:46",
"entity_name": "anonymous_function_46",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-registry.ts",
"issues": [],
"line_number": 47,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 47
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-registry.ts:anonymous_function_49:49",
"entity_name": "anonymous_function_49",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-registry.ts",
"issues": [],
"line_number": 50,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 50
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-registry.ts:anonymous_function_50:50",
"entity_name": "anonymous_function_50",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-registry.ts",
"issues": [],
"line_number": 51,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 51
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-registry.ts:anonymous_function_51:51",
"entity_name": "anonymous_function_51",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-registry.ts",
"issues": [],
"line_number": 52,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 52
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-registry.ts:createAllClients:59",
"entity_name": "createAllClients",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-registry.ts",
"issues": [],
"line_number": 60,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.045580390282099384,
"calculated_length": 47.77443751081734,
"difficulty": 3.0,
"effort": 410.2235125388945,
"length": 35.0,
"n1": 3.0,
"n2": 12.0,
"n_1": 11.0,
"n_2": 24.0,
"time": 22.790195141049693,
"vocabulary": 15.0,
"volume": 136.74117084629816
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 60
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-registry.ts:shutdownProviders:68",
"entity_name": "shutdownProviders",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/provider-registry.ts",
"issues": [],
"line_number": 69,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01614401422030739,
"calculated_length": 27.651484454403228,
"difficulty": 2.2857142857142856,
"effort": 110.70181179639351,
"length": 14.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 6.150100655355195,
"vocabulary": 11.0,
"volume": 48.432042660922164
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 69
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.e2e.test.ts:anonymous_function_7:7",
"entity_name": "anonymous_function_7",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.e2e.test.ts",
"issues": [],
"line_number": 8,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.42108235096696495,
"calculated_length": 327.57978409184955,
"difficulty": 8.377358490566039,
"effort": 10582.673424301838,
"length": 213.0,
"n1": 8.0,
"n2": 53.0,
"n_1": 102.0,
"n_2": 111.0,
"time": 587.9263013501021,
"vocabulary": 61.0,
"volume": 1263.247052900895
},
"lines_of_code": 55.0,
"maintainability_index": 68.71571070089371,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 25.0,
"technical_debt_score": 13.0
},
"recommendations": [],
"severity": "Low",
"start_line": 8
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.e2e.test.ts:anonymous_function_10:10",
"entity_name": "anonymous_function_10",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.e2e.test.ts",
"issues": [],
"line_number": 11,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 11
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.e2e.test.ts:anonymous_function_14:14",
"entity_name": "anonymous_function_14",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.e2e.test.ts",
"issues": [],
"line_number": 15,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02343611821489358,
"calculated_length": 35.60964047443681,
"difficulty": 3.4375,
"effort": 241.68496909109007,
"length": 19.0,
"n1": 5.0,
"n2": 8.0,
"n_1": 8.0,
"n_2": 11.0,
"time": 13.426942727282782,
"vocabulary": 13.0,
"volume": 70.30835464468075
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 15
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.e2e.test.ts:anonymous_function_16:16",
"entity_name": "anonymous_function_16",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.e2e.test.ts",
"issues": [],
"line_number": 17,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 17
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.e2e.test.ts:anonymous_function_20:20",
"entity_name": "anonymous_function_20",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.e2e.test.ts",
"issues": [],
"line_number": 21,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.23090881059151774,
"calculated_length": 175.50977500432694,
"difficulty": 6.46875,
"effort": 4481.074105541641,
"length": 132.0,
"n1": 6.0,
"n2": 32.0,
"n_1": 63.0,
"n_2": 69.0,
"time": 248.94856141898006,
"vocabulary": 38.0,
"volume": 692.7264317745532
},
"lines_of_code": 33.0,
"maintainability_index": 80.11527466232225,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 13.0,
"technical_debt_score": 8.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 21
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.e2e.test.ts:anonymous_function_49:49",
"entity_name": "anonymous_function_49",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.e2e.test.ts",
"issues": [],
"line_number": 50,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 50
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.e2e.test.ts:anonymous_function_55:55",
"entity_name": "anonymous_function_55",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.e2e.test.ts",
"issues": [],
"line_number": 56,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04933333333333333,
"calculated_length": 51.01955000865387,
"difficulty": 3.0,
"effort": 444.0,
"length": 37.0,
"n1": 4.0,
"n2": 12.0,
"n_1": 19.0,
"n_2": 18.0,
"time": 24.666666666666668,
"vocabulary": 16.0,
"volume": 148.0
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 56
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.test.ts:anonymous_function_19:19",
"entity_name": "anonymous_function_19",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.test.ts",
"issues": [],
"line_number": 20,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 2,
"kind": "ConditionalExpression",
"line": 20,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 39,
"nesting_level": 0
}
],
"halstead": {
"bugs": 1.0934989447943104,
"calculated_length": 472.0693611948015,
"difficulty": 21.6,
"effort": 70858.73162267133,
"length": 516.0,
"n1": 12.0,
"n2": 70.0,
"n_1": 264.0,
"n_2": 252.0,
"time": 3936.5962012595182,
"vocabulary": 82.0,
"volume": 3280.4968343829314
},
"lines_of_code": 150.0,
"maintainability_index": 47.03980738385772,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 67.0,
"technical_debt_score": 27.6
},
"recommendations": [],
"severity": "Low",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.test.ts:anonymous_function_33:33",
"entity_name": "anonymous_function_33",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.test.ts",
"issues": [],
"line_number": 34,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008,
"calculated_length": 16.0,
"difficulty": 2.0,
"effort": 48.0,
"length": 8.0,
"n1": 4.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 2.6666666666666665,
"vocabulary": 8.0,
"volume": 24.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.test.ts:anonymous_function_37:37",
"entity_name": "anonymous_function_37",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.test.ts",
"issues": [],
"line_number": 38,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 39,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.009,
"calculated_length": 17.509775004326936,
"difficulty": 4.5,
"effort": 121.5,
"length": 9.0,
"n1": 6.0,
"n2": 2.0,
"n_1": 6.0,
"n_2": 3.0,
"time": 6.75,
"vocabulary": 8.0,
"volume": 27.0
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 38
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.test.ts:anonymous_function_43:43",
"entity_name": "anonymous_function_43",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.test.ts",
"issues": [],
"line_number": 44,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.39611732709325315,
"calculated_length": 203.5249055930738,
"difficulty": 12.0,
"effort": 14260.223775357113,
"length": 219.0,
"n1": 8.0,
"n2": 35.0,
"n_1": 114.0,
"n_2": 105.0,
"time": 792.2346541865063,
"vocabulary": 43.0,
"volume": 1188.3519812797595
},
"lines_of_code": 51.0,
"maintainability_index": 70.2567465196567,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 26.0,
"technical_debt_score": 12.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 44
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.test.ts:anonymous_function_44:44",
"entity_name": "anonymous_function_44",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.test.ts",
"issues": [],
"line_number": 45,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.08293196919437858,
"calculated_length": 83.65148445440323,
"difficulty": 5.46875,
"effort": 1360.6026195952734,
"length": 55.0,
"n1": 7.0,
"n2": 16.0,
"n_1": 30.0,
"n_2": 25.0,
"time": 75.58903442195964,
"vocabulary": 23.0,
"volume": 248.79590758313572
},
"lines_of_code": 15.0,
"maintainability_index": 98.2130955991779,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 5.0
},
"recommendations": [],
"severity": "Low",
"start_line": 45
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.test.ts:anonymous_function_61:61",
"entity_name": "anonymous_function_61",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.test.ts",
"issues": [],
"line_number": 62,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.18,
"calculated_length": 134.03910001730776,
"difficulty": 8.5,
"effort": 4590.0,
"length": 108.0,
"n1": 8.0,
"n2": 24.0,
"n_1": 57.0,
"n_2": 51.0,
"time": 255.0,
"vocabulary": 32.0,
"volume": 540.0
},
"lines_of_code": 19.0,
"maintainability_index": 90.35392901180042,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 62
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.test.ts:anonymous_function_82:82",
"entity_name": "anonymous_function_82",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.test.ts",
"issues": [],
"line_number": 83,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.06002833811130973,
"calculated_length": 74.11313393845472,
"difficulty": 4.0,
"effort": 720.3400573357168,
"length": 41.0,
"n1": 6.0,
"n2": 15.0,
"n_1": 21.0,
"n_2": 20.0,
"time": 40.01889207420649,
"vocabulary": 21.0,
"volume": 180.0850143339292
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 83
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.test.ts:anonymous_function_86:86",
"entity_name": "anonymous_function_86",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.test.ts",
"issues": [],
"line_number": 87,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 87
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.test.ts:anonymous_function_96:96",
"entity_name": "anonymous_function_96",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.test.ts",
"issues": [],
"line_number": 97,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.4457649069497108,
"calculated_length": 196.97373660251154,
"difficulty": 13.882352941176471,
"effort": 18564.797301199724,
"length": 248.0,
"n1": 8.0,
"n2": 34.0,
"n_1": 130.0,
"n_2": 118.0,
"time": 1031.377627844429,
"vocabulary": 42.0,
"volume": 1337.2947208491325
},
"lines_of_code": 72.0,
"maintainability_index": 64.05630813822964,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 31.0,
"technical_debt_score": 16.4
},
"recommendations": [],
"severity": "Low",
"start_line": 97
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.test.ts:anonymous_function_97:97",
"entity_name": "anonymous_function_97",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.test.ts",
"issues": [],
"line_number": 98,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1201838730514401,
"calculated_length": 110.43856189774725,
"difficulty": 7.0,
"effort": 2523.861334080242,
"length": 75.0,
"n1": 8.0,
"n2": 20.0,
"n_1": 40.0,
"n_2": 35.0,
"time": 140.21451856001346,
"vocabulary": 28.0,
"volume": 360.5516191543203
},
"lines_of_code": 20.0,
"maintainability_index": 91.6234344708836,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 98
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.test.ts:anonymous_function_119:119",
"entity_name": "anonymous_function_119",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.test.ts",
"issues": [],
"line_number": 120,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.09752097998526921,
"calculated_length": 94.71013448036484,
"difficulty": 5.638888888888889,
"effort": 1649.729911417471,
"length": 63.0,
"n1": 7.0,
"n2": 18.0,
"n_1": 34.0,
"n_2": 29.0,
"time": 91.65166174541505,
"vocabulary": 25.0,
"volume": 292.5629399558076
},
"lines_of_code": 15.0,
"maintainability_index": 97.3704516632709,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 5.0
},
"recommendations": [],
"severity": "Low",
"start_line": 120
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.test.ts:anonymous_function_136:136",
"entity_name": "anonymous_function_136",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.test.ts",
"issues": [],
"line_number": 137,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.09509775004326937,
"calculated_length": 106.09004635215048,
"difficulty": 5.075,
"effort": 1447.8632444087762,
"length": 60.0,
"n1": 7.0,
"n2": 20.0,
"n_1": 31.0,
"n_2": 29.0,
"time": 80.43684691159868,
"vocabulary": 27.0,
"volume": 285.2932501298081
},
"lines_of_code": 17.0,
"maintainability_index": 95.47365231102873,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 137
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.test.ts:anonymous_function_155:155",
"entity_name": "anonymous_function_155",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent-commands.test.ts",
"issues": [],
"line_number": 156,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04,
"calculated_length": 48.72905595320056,
"difficulty": 3.9000000000000004,
"effort": 468.00000000000006,
"length": 30.0,
"n1": 6.0,
"n2": 10.0,
"n_1": 17.0,
"n_2": 13.0,
"time": 26.000000000000004,
"vocabulary": 16.0,
"volume": 120.0
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 4.4
},
"recommendations": [],
"severity": "Low",
"start_line": 156
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.history.test.ts:anonymous_function_4:4",
"entity_name": "anonymous_function_4",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.history.test.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.09244198112344147,
"calculated_length": 108.79681249147477,
"difficulty": 2.4782608695652173,
"effort": 687.2860335699344,
"length": 59.0,
"n1": 3.0,
"n2": 23.0,
"n_1": 21.0,
"n_2": 38.0,
"time": 38.18255742055191,
"vocabulary": 26.0,
"volume": 277.3259433703244
},
"lines_of_code": 22.0,
"maintainability_index": 91.44410602805172,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.history.test.ts:anonymous_function_5:5",
"entity_name": "anonymous_function_5",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.history.test.ts",
"issues": [],
"line_number": 6,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.36452797660028,
"difficulty": 1.5,
"effort": 45.0,
"length": 10.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 5.0,
"time": 2.5,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 6
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.history.test.ts:anonymous_function_9:9",
"entity_name": "anonymous_function_9",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.history.test.ts",
"issues": [],
"line_number": 10,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02343611821489358,
"calculated_length": 37.974168451037094,
"difficulty": 2.0999999999999996,
"effort": 147.64754475382955,
"length": 19.0,
"n1": 3.0,
"n2": 10.0,
"n_1": 5.0,
"n_2": 14.0,
"time": 8.202641375212753,
"vocabulary": 13.0,
"volume": 70.30835464468075
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 10
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.history.test.ts:anonymous_function_18:18",
"entity_name": "anonymous_function_18",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.history.test.ts",
"issues": [],
"line_number": 19,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.022844129532345624,
"calculated_length": 42.80863530717374,
"difficulty": 1.772727272727273,
"effort": 121.48923433111084,
"length": 18.0,
"n1": 3.0,
"n2": 11.0,
"n_1": 5.0,
"n_2": 13.0,
"time": 6.749401907283936,
"vocabulary": 14.0,
"volume": 68.53238859703687
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 19
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:tmpCwd:43",
"entity_name": "tmpCwd",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 44,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 46,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 48,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.02665148445440323,
"calculated_length": 40.13896548741762,
"difficulty": 3.055555555555556,
"effort": 244.305274165363,
"length": 21.0,
"n1": 5.0,
"n2": 9.0,
"n_1": 10.0,
"n_2": 11.0,
"time": 13.572515231409055,
"vocabulary": 14.0,
"volume": 79.9544533632097
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 9.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 44
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:autoApprove:52",
"entity_name": "autoApprove",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 53,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 54,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04372776557521779,
"calculated_length": 83.65148445440323,
"difficulty": 4.15625,
"effort": 545.2305770159968,
"length": 29.0,
"n1": 7.0,
"n2": 16.0,
"n_1": 10.0,
"n_2": 19.0,
"time": 30.290587611999822,
"vocabulary": 23.0,
"volume": 131.18329672565338
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 53
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:isKeyValueObject:62",
"entity_name": "isKeyValueObject",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 63,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 10,
"kind": "LogicalAnd",
"line": 64,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.013,
"calculated_length": 16.36452797660028,
"difficulty": 2.4000000000000004,
"effort": 93.60000000000001,
"length": 13.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 5.2,
"vocabulary": 8.0,
"volume": 39.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 63
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:isFileWriteResult:66",
"entity_name": "isFileWriteResult",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 67,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 10,
"kind": "LogicalAnd",
"line": 68,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalAnd",
"line": 68,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.029603517745128736,
"calculated_length": 35.60964047443681,
"difficulty": 4.6875,
"effort": 416.2994682908729,
"length": 24.0,
"n1": 5.0,
"n2": 8.0,
"n_1": 9.0,
"n_2": 15.0,
"time": 23.127748238381827,
"vocabulary": 13.0,
"volume": 88.81055323538621
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 8.0
},
"recommendations": [],
"severity": "Low",
"start_line": 67
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:extractCommandText:70",
"entity_name": "extractCommandText",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 71,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 72,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 76,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 76,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 79,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 81,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 85,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 87,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.13161231210795057,
"calculated_length": 100.36210720983135,
"difficulty": 7.921052631578947,
"effort": 3127.5241535126147,
"length": 84.0,
"n1": 7.0,
"n2": 19.0,
"n_1": 41.0,
"n_2": 43.0,
"time": 173.75134186181194,
"vocabulary": 26.0,
"volume": 394.8369363238517
},
"lines_of_code": 21.0,
"maintainability_index": 88.75067763566148,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 14.0,
"technical_debt_score": 28.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 71
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_79:79",
"entity_name": "anonymous_function_79",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 80,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004,
"calculated_length": 4.0,
"difficulty": 2.0,
"effort": 24.0,
"length": 6.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.3333333333333333,
"vocabulary": 4.0,
"volume": 12.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 80
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:isSleepCommandToolCall:93",
"entity_name": "isSleepCommandToolCall",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 94,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.025382366147050694,
"calculated_length": 41.219280948873624,
"difficulty": 2.4,
"effort": 182.75303625876498,
"length": 20.0,
"n1": 4.0,
"n2": 10.0,
"n_1": 8.0,
"n_2": 12.0,
"time": 10.152946458820276,
"vocabulary": 14.0,
"volume": 76.14709844115208
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 94
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:isPermissionCommandToolCall:98",
"entity_name": "isPermissionCommandToolCall",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 99,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 100,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04106329929662132,
"calculated_length": 63.61549134016113,
"difficulty": 3.6923076923076925,
"effort": 454.85500759334394,
"length": 29.0,
"n1": 6.0,
"n2": 13.0,
"n_1": 13.0,
"n_2": 16.0,
"time": 25.269722644074662,
"vocabulary": 19.0,
"volume": 123.18989788986397
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 99
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:startAgentMcpServer:111",
"entity_name": "startAgentMcpServer",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 112,
"metrics": {
"cognitive_complexity": 25.0,
"cyclomatic_complexity": 14.0,
"decision_points": [
{
"column": 11,
"kind": "ConditionalExpression",
"line": 147,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 151,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 164,
"nesting_level": 0
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 166,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 168,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 169,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 177,
"nesting_level": 2
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 187,
"nesting_level": 2
},
{
"column": 15,
"kind": "ConditionalExpression",
"line": 189,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 196,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 197,
"nesting_level": 1
},
{
"column": 15,
"kind": "ConditionalExpression",
"line": 214,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 214,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.830787569138929,
"calculated_length": 788.1312091677823,
"difficulty": 15.0,
"effort": 37385.440611251805,
"length": 359.0,
"n1": 15.0,
"n2": 108.0,
"n_1": 143.0,
"n_2": 216.0,
"time": 2076.9689228473226,
"vocabulary": 123.0,
"volume": 2492.362707416787
},
"lines_of_code": 116.0,
"maintainability_index": 50.102709530275234,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 50.0,
"technical_debt_score": 68.0
},
"recommendations": [],
"severity": "High",
"start_line": 112
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_129:129",
"entity_name": "anonymous_function_129",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 130,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 11,
"kind": "ConditionalExpression",
"line": 147,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 151,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1223548917008014,
"calculated_length": 155.430713620542,
"difficulty": 7.884615384615384,
"effort": 2894.1637844612637,
"length": 71.0,
"n1": 10.0,
"n2": 26.0,
"n_1": 30.0,
"n_2": 41.0,
"time": 160.78687691451466,
"vocabulary": 36.0,
"volume": 367.0646751024042
},
"lines_of_code": 31.0,
"maintainability_index": 83.9706093807196,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 13.8
},
"recommendations": [],
"severity": "Low",
"start_line": 130
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_138:138",
"entity_name": "anonymous_function_138",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 139,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 0.0,
"difficulty": 0.5,
"effort": 1.0,
"length": 2.0,
"n1": 1.0,
"n2": 1.0,
"n_1": 1.0,
"n_2": 1.0,
"time": 0.05555555555555555,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 139
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_139:139",
"entity_name": "anonymous_function_139",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 140,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 140
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_142:142",
"entity_name": "anonymous_function_142",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 143,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 9.509775004326936,
"difficulty": 2.0,
"effort": 36.18947501009619,
"length": 7.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 4.0,
"time": 2.0105263894497885,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 143
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_149:149",
"entity_name": "anonymous_function_149",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 150,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 151,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.013736341672916685,
"calculated_length": 19.60964047443681,
"difficulty": 3.75,
"effort": 154.5338438203127,
"length": 13.0,
"n1": 5.0,
"n2": 4.0,
"n_1": 7.0,
"n_2": 6.0,
"time": 8.585213545572929,
"vocabulary": 9.0,
"volume": 41.209025018750054
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 150
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_154:154",
"entity_name": "anonymous_function_154",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 155,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 155
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_162:162",
"entity_name": "anonymous_function_162",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 163,
"metrics": {
"cognitive_complexity": 21.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 164,
"nesting_level": 0
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 166,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 168,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 169,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 177,
"nesting_level": 2
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 187,
"nesting_level": 2
},
{
"column": 15,
"kind": "ConditionalExpression",
"line": 189,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 196,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 197,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.274316304269792,
"calculated_length": 266.18009270430093,
"difficulty": 14.349999999999998,
"effort": 11809.316898814544,
"length": 143.0,
"n1": 14.0,
"n2": 40.0,
"n_1": 61.0,
"n_2": 82.0,
"time": 656.0731610452525,
"vocabulary": 54.0,
"volume": 822.948912809376
},
"lines_of_code": 42.0,
"maintainability_index": 73.24270273693108,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 16.0,
"technical_debt_score": 45.2
},
"recommendations": [],
"severity": "Moderate",
"start_line": 163
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_210:210",
"entity_name": "anonymous_function_210",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 211,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 15,
"kind": "ConditionalExpression",
"line": 214,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 214,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03299707599116591,
"calculated_length": 39.50977500432694,
"difficulty": 5.25,
"effort": 519.703946860863,
"length": 26.0,
"n1": 6.0,
"n2": 8.0,
"n_1": 12.0,
"n_2": 14.0,
"time": 28.872441492270166,
"vocabulary": 14.0,
"volume": 98.99122797349771
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 8.6
},
"recommendations": [],
"severity": "Low",
"start_line": 211
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_211:211",
"entity_name": "anonymous_function_211",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 212,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 15,
"kind": "ConditionalExpression",
"line": 214,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 214,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02343611821489358,
"calculated_length": 35.161259458730164,
"difficulty": 4.285714285714286,
"effort": 301.3215199057746,
"length": 19.0,
"n1": 6.0,
"n2": 7.0,
"n_1": 9.0,
"n_2": 10.0,
"time": 16.7400844392097,
"vocabulary": 13.0,
"volume": 70.30835464468075
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 8.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 212
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_222:222",
"entity_name": "anonymous_function_222",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 223,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.024113247839698163,
"calculated_length": 40.13896548741762,
"difficulty": 3.055555555555556,
"effort": 221.03810519723316,
"length": 19.0,
"n1": 5.0,
"n2": 9.0,
"n_1": 8.0,
"n_2": 11.0,
"time": 12.27989473317962,
"vocabulary": 14.0,
"volume": 72.33974351909448
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 223
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_223:223",
"entity_name": "anonymous_function_223",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 224,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005417832221403845,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 21.67132888561538,
"length": 7.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 4.0,
"time": 1.2039627158675212,
"vocabulary": 5.0,
"volume": 16.253496664211536
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 224
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_223:223",
"entity_name": "anonymous_function_223",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 224,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 0.0,
"difficulty": 0.5,
"effort": 1.0,
"length": 2.0,
"n1": 1.0,
"n2": 1.0,
"n_1": 1.0,
"n_2": 1.0,
"time": 0.05555555555555555,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 224
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_231:231",
"entity_name": "anonymous_function_231",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [
{
"description": "Cyclomatic complexity of 104.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_231:231",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:232",
"metric_value": 104.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 188.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_231:231",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:232",
"metric_value": 188.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 232,
"metrics": {
"cognitive_complexity": 188.0,
"cyclomatic_complexity": 104.0,
"decision_points": [
{
"column": 13,
"kind": "ConditionalExpression",
"line": 247,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 303,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 303,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 306,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 306,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 328,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 333,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalOr",
"line": 333,
"nesting_level": 2
},
{
"column": 7,
"kind": "Try",
"line": 364,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 367,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 368,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 368,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 368,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 375,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalOr",
"line": 375,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 407,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 410,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 414,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 425,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 430,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 432,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 432,
"nesting_level": 2
},
{
"column": 60,
"kind": "LogicalAnd",
"line": 432,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 437,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 439,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalOr",
"line": 439,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 441,
"nesting_level": 2
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 441,
"nesting_level": 3
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 450,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 493,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 493,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 498,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 499,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 499,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 499,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 506,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 509,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 509,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 513,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 520,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 520,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 558,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 558,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 565,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 566,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 566,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 566,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 573,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 576,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 576,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 580,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 586,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 586,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 625,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 625,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 633,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 634,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 634,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 634,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 634,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 642,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 645,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 645,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 650,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 657,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 657,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 682,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 695,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 695,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 695,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 697,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 703,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalOr",
"line": 703,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 708,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 713,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 713,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 767,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 767,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 770,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 770,
"nesting_level": 1
},
{
"column": 16,
"kind": "LogicalAnd",
"line": 802,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 807,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 807,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 820,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 820,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 872,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 873,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 873,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 880,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 880,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 916,
"nesting_level": 0
},
{
"column": 9,
"kind": "Try",
"line": 921,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 925,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 929,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 941,
"nesting_level": 1
},
{
"column": 9,
"kind": "Try",
"line": 965,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 997,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1010,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 1042,
"nesting_level": 0
},
{
"column": 9,
"kind": "Try",
"line": 1045,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 1048,
"nesting_level": 2
},
{
"column": 17,
"kind": "LogicalOr",
"line": 1048,
"nesting_level": 3
},
{
"column": 9,
"kind": "Try",
"line": 1066,
"nesting_level": 1
}
],
"halstead": {
"bugs": 8.70031919998689,
"calculated_length": 2607.4713026193795,
"difficulty": 53.98856209150327,
"effort": 1409153.1700331708,
"length": 3128.0,
"n1": 19.0,
"n2": 306.0,
"n_1": 1389.0,
"n_2": 1739.0,
"time": 78286.28722406505,
"vocabulary": 325.0,
"volume": 26100.95759996067
},
"lines_of_code": 854.0,
"maintainability_index": 0.0,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 427.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 232
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_235:235",
"entity_name": "anonymous_function_235",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 236,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 13,
"kind": "ConditionalExpression",
"line": 247,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05654787084222759,
"calculated_length": 92.32026322986493,
"difficulty": 3.6842105263157894,
"effort": 625.0027829930418,
"length": 37.0,
"n1": 5.0,
"n2": 19.0,
"n_1": 9.0,
"n_2": 28.0,
"time": 34.722376832946765,
"vocabulary": 24.0,
"volume": 169.64361252668277
},
"lines_of_code": 16.0,
"maintainability_index": 98.92882353362687,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 8.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 236
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_253:253",
"entity_name": "anonymous_function_253",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 254,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.5,
"effort": 17.414460711655217,
"length": 5.0,
"n1": 3.0,
"n2": 2.0,
"n_1": 3.0,
"n_2": 2.0,
"time": 0.9674700395364009,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 254
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_256:256",
"entity_name": "anonymous_function_256",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 257,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 257
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_259:259",
"entity_name": "anonymous_function_259",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 260,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 260
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_262:262",
"entity_name": "anonymous_function_262",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 263,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 1.0,
"effort": 4.754887502163468,
"length": 3.0,
"n1": 2.0,
"n2": 1.0,
"n_1": 2.0,
"n_2": 1.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 263
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_267:267",
"entity_name": "anonymous_function_267",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 268,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.084929936956351,
"calculated_length": 115.65156546374811,
"difficulty": 3.5869565217391304,
"effort": 913.9199737694291,
"length": 53.0,
"n1": 5.0,
"n2": 23.0,
"n_1": 20.0,
"n_2": 33.0,
"time": 50.773331876079396,
"vocabulary": 28.0,
"volume": 254.78981086905299
},
"lines_of_code": 15.0,
"maintainability_index": 98.08930428452024,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 5.0
},
"recommendations": [],
"severity": "Low",
"start_line": 268
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_288:288",
"entity_name": "anonymous_function_288",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 289,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 303,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 303,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 306,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 306,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.16536440096521532,
"calculated_length": 191.6338334270034,
"difficulty": 9.225806451612904,
"effort": 4576.8598718759595,
"length": 92.0,
"n1": 11.0,
"n2": 31.0,
"n_1": 40.0,
"n_2": 52.0,
"time": 254.26999288199775,
"vocabulary": 42.0,
"volume": 496.09320289564596
},
"lines_of_code": 26.0,
"maintainability_index": 84.79366422974462,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 15.0,
"technical_debt_score": 20.0
},
"recommendations": [],
"severity": "Low",
"start_line": 289
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_320:320",
"entity_name": "anonymous_function_320",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 321,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 328,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 333,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalOr",
"line": 333,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.2265085984782661,
"calculated_length": 295.2391056706696,
"difficulty": 9.966666666666667,
"effort": 6772.607094500157,
"length": 116.0,
"n1": 13.0,
"n2": 45.0,
"n_1": 47.0,
"n_2": 69.0,
"time": 376.25594969445314,
"vocabulary": 58.0,
"volume": 679.5257954347983
},
"lines_of_code": 28.0,
"maintainability_index": 82.18703191987682,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 18.0,
"technical_debt_score": 18.4
},
"recommendations": [],
"severity": "Low",
"start_line": 321
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_343:343",
"entity_name": "anonymous_function_343",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 344,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012,
"calculated_length": 17.509775004326936,
"difficulty": 1.6666666666666667,
"effort": 60.0,
"length": 12.0,
"n1": 2.0,
"n2": 6.0,
"n_1": 2.0,
"n_2": 10.0,
"time": 3.3333333333333335,
"vocabulary": 8.0,
"volume": 36.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 344
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_354:354",
"entity_name": "anonymous_function_354",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 355,
"metrics": {
"cognitive_complexity": 17.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 364,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 367,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 368,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 368,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 368,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 375,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalOr",
"line": 375,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.2563069472995933,
"calculated_length": 274.5830480925421,
"difficulty": 10.988095238095237,
"effort": 8448.975441340164,
"length": 133.0,
"n1": 13.0,
"n2": 42.0,
"n_1": 62.0,
"n_2": 71.0,
"time": 469.38752451889803,
"vocabulary": 55.0,
"volume": 768.9208418987798
},
"lines_of_code": 31.0,
"maintainability_index": 78.97546954280759,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 17.0,
"technical_debt_score": 35.800000000000004
},
"recommendations": [],
"severity": "Moderate",
"start_line": 355
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_391:391",
"entity_name": "anonymous_function_391",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [
{
"description": "Cognitive complexity of 27.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_391:391",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:392",
"metric_value": 27.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 392,
"metrics": {
"cognitive_complexity": 27.0,
"cyclomatic_complexity": 15.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 407,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 410,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 414,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 425,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 430,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 432,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 432,
"nesting_level": 2
},
{
"column": 60,
"kind": "LogicalAnd",
"line": 432,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 437,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 439,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalOr",
"line": 439,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 441,
"nesting_level": 2
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 441,
"nesting_level": 3
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 450,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.6707529258216782,
"calculated_length": 561.6335665694888,
"difficulty": 13.481481481481481,
"effort": 27128.22944434343,
"length": 307.0,
"n1": 13.0,
"n2": 81.0,
"n_1": 139.0,
"n_2": 168.0,
"time": 1507.1238580190793,
"vocabulary": 94.0,
"volume": 2012.2587774650347
},
"lines_of_code": 72.0,
"maintainability_index": 58.711540544046485,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 40.0,
"technical_debt_score": 66.0
},
"recommendations": [],
"severity": "High",
"start_line": 392
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_419:419",
"entity_name": "anonymous_function_419",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 420,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012,
"calculated_length": 17.509775004326936,
"difficulty": 1.6666666666666667,
"effort": 60.0,
"length": 12.0,
"n1": 2.0,
"n2": 6.0,
"n_1": 2.0,
"n_2": 10.0,
"time": 3.3333333333333335,
"vocabulary": 8.0,
"volume": 36.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 420
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_423:423",
"entity_name": "anonymous_function_423",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 424,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 11,
"kind": "LogicalAnd",
"line": 425,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.017962908341506434,
"calculated_length": 20.264662506490403,
"difficulty": 2.25,
"effort": 121.24963130516844,
"length": 17.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 8.0,
"n_2": 9.0,
"time": 6.736090628064913,
"vocabulary": 9.0,
"volume": 53.8887250245193
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 424
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_427:427",
"entity_name": "anonymous_function_427",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 428,
"metrics": {
"cognitive_complexity": 22.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 430,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 432,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 432,
"nesting_level": 2
},
{
"column": 60,
"kind": "LogicalAnd",
"line": 432,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 437,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 439,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalOr",
"line": 439,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 441,
"nesting_level": 2
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 441,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.1394132927396705,
"calculated_length": 111.8901503327572,
"difficulty": 7.333333333333334,
"effort": 3067.0924402727514,
"length": 87.0,
"n1": 7.0,
"n2": 21.0,
"n_1": 43.0,
"n_2": 44.0,
"time": 170.3940244595973,
"vocabulary": 28.0,
"volume": 418.23987821901153
},
"lines_of_code": 19.0,
"maintainability_index": 89.61260181334687,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 11.0,
"technical_debt_score": 41.400000000000006
},
"recommendations": [],
"severity": "Moderate",
"start_line": 428
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_431:431",
"entity_name": "anonymous_function_431",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 432,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 15,
"kind": "LogicalAnd",
"line": 432,
"nesting_level": 2
},
{
"column": 60,
"kind": "LogicalAnd",
"line": 432,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.01584962500721156,
"calculated_length": 19.60964047443681,
"difficulty": 3.2,
"effort": 152.156400069231,
"length": 15.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 7.0,
"n_2": 8.0,
"time": 8.453133337179501,
"vocabulary": 9.0,
"volume": 47.548875021634686
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 11.0
},
"recommendations": [],
"severity": "Low",
"start_line": 432
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_449:449",
"entity_name": "anonymous_function_449",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 450,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 19,
"kind": "LogicalAnd",
"line": 450,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.027136557933034676,
"calculated_length": 36.529325012980806,
"difficulty": 2.4444444444444446,
"effort": 199.0014248422543,
"length": 22.0,
"n1": 4.0,
"n2": 9.0,
"n_1": 11.0,
"n_2": 11.0,
"time": 11.055634713458572,
"vocabulary": 13.0,
"volume": 81.40967379910403
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 450
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_469:469",
"entity_name": "anonymous_function_469",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 470,
"metrics": {
"cognitive_complexity": 19.0,
"cyclomatic_complexity": 13.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 493,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 493,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 498,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 499,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 499,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 499,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 506,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 509,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 509,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 513,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 520,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 520,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.5205274451308699,
"calculated_length": 497.5375690126529,
"difficulty": 12.833333333333332,
"effort": 20040.30663753849,
"length": 243.0,
"n1": 14.0,
"n2": 72.0,
"n_1": 111.0,
"n_2": 132.0,
"time": 1113.3503687521384,
"vocabulary": 86.0,
"volume": 1561.5823353926098
},
"lines_of_code": 59.0,
"maintainability_index": 63.715927909328826,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 31.0,
"technical_debt_score": 53.0
},
"recommendations": [],
"severity": "Moderate",
"start_line": 470
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_480:480",
"entity_name": "anonymous_function_480",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 481,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01614401422030739,
"calculated_length": 27.651484454403228,
"difficulty": 2.2857142857142856,
"effort": 110.70181179639351,
"length": 14.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 6.150100655355195,
"vocabulary": 11.0,
"volume": 48.432042660922164
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 481
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_518:518",
"entity_name": "anonymous_function_518",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 519,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 15,
"kind": "LogicalAnd",
"line": 520,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 520,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.016906266674359,
"calculated_length": 20.264662506490403,
"difficulty": 2.25,
"effort": 114.11730005192324,
"length": 16.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 7.0,
"n_2": 9.0,
"time": 6.339850002884624,
"vocabulary": 9.0,
"volume": 50.718800023076994
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 9.8
},
"recommendations": [],
"severity": "Low",
"start_line": 519
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_534:534",
"entity_name": "anonymous_function_534",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 535,
"metrics": {
"cognitive_complexity": 19.0,
"cyclomatic_complexity": 13.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 558,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 558,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 565,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 566,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 566,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 566,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 573,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 576,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 576,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 580,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 586,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 586,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.4696279047758901,
"calculated_length": 474.79115642650015,
"difficulty": 12.478260869565217,
"effort": 17580.41852226267,
"length": 221.0,
"n1": 14.0,
"n2": 69.0,
"n_1": 98.0,
"n_2": 123.0,
"time": 976.6899179034816,
"vocabulary": 83.0,
"volume": 1408.8837143276703
},
"lines_of_code": 60.0,
"maintainability_index": 63.978742607169295,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 29.0,
"technical_debt_score": 53.2
},
"recommendations": [],
"severity": "Moderate",
"start_line": 535
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_545:545",
"entity_name": "anonymous_function_545",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 546,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01614401422030739,
"calculated_length": 27.651484454403228,
"difficulty": 2.2857142857142856,
"effort": 110.70181179639351,
"length": 14.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 6.150100655355195,
"vocabulary": 11.0,
"volume": 48.432042660922164
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 546
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_584:584",
"entity_name": "anonymous_function_584",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 585,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 15,
"kind": "LogicalAnd",
"line": 586,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 586,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.016906266674359,
"calculated_length": 20.264662506490403,
"difficulty": 2.25,
"effort": 114.11730005192324,
"length": 16.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 7.0,
"n_2": 9.0,
"time": 6.339850002884624,
"vocabulary": 9.0,
"volume": 50.718800023076994
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 9.8
},
"recommendations": [],
"severity": "Low",
"start_line": 585
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_600:600",
"entity_name": "anonymous_function_600",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 601,
"metrics": {
"cognitive_complexity": 21.0,
"cyclomatic_complexity": 14.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 625,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 625,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 633,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 634,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 634,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 634,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 634,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 642,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 645,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 645,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 650,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 657,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 657,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.5191606658271538,
"calculated_length": 489.9350143936389,
"difficulty": 13.408450704225352,
"effort": 20883.42058594861,
"length": 243.0,
"n1": 14.0,
"n2": 71.0,
"n_1": 107.0,
"n_2": 136.0,
"time": 1160.1900325527006,
"vocabulary": 85.0,
"volume": 1557.4819974814616
},
"lines_of_code": 65.0,
"maintainability_index": 61.93063262931447,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 32.0,
"technical_debt_score": 57.8
},
"recommendations": [],
"severity": "Moderate",
"start_line": 601
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_612:612",
"entity_name": "anonymous_function_612",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 613,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01614401422030739,
"calculated_length": 27.651484454403228,
"difficulty": 2.2857142857142856,
"effort": 110.70181179639351,
"length": 14.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 6.150100655355195,
"vocabulary": 11.0,
"volume": 48.432042660922164
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 613
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_655:655",
"entity_name": "anonymous_function_655",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 656,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 15,
"kind": "LogicalAnd",
"line": 657,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 657,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.016906266674359,
"calculated_length": 20.264662506490403,
"difficulty": 2.25,
"effort": 114.11730005192324,
"length": 16.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 7.0,
"n_2": 9.0,
"time": 6.339850002884624,
"vocabulary": 9.0,
"volume": 50.718800023076994
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 9.8
},
"recommendations": [],
"severity": "Low",
"start_line": 656
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_671:671",
"entity_name": "anonymous_function_671",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 672,
"metrics": {
"cognitive_complexity": 24.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 682,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 695,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 695,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 695,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 697,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 703,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalOr",
"line": 703,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 708,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 713,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 713,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.41856015414158626,
"calculated_length": 355.0262242774645,
"difficulty": 16.153846153846153,
"effort": 20284.06900839995,
"length": 207.0,
"n1": 15.0,
"n2": 52.0,
"n_1": 95.0,
"n_2": 112.0,
"time": 1126.8927226888861,
"vocabulary": 67.0,
"volume": 1255.6804624247588
},
"lines_of_code": 52.0,
"maintainability_index": 67.3556006490121,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 33.0,
"technical_debt_score": 51.6
},
"recommendations": [],
"severity": "Moderate",
"start_line": 672
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_729:729",
"entity_name": "anonymous_function_729",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 730,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.12220350898954291,
"calculated_length": 133.8210731461052,
"difficulty": 4.038461538461538,
"effort": 1480.5425127579238,
"length": 74.0,
"n1": 5.0,
"n2": 26.0,
"n_1": 32.0,
"n_2": 42.0,
"time": 82.25236181988465,
"vocabulary": 31.0,
"volume": 366.61052696862873
},
"lines_of_code": 16.0,
"maintainability_index": 95.15170243904628,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 730
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_751:751",
"entity_name": "anonymous_function_751",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 752,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 767,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 767,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 770,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 770,
"nesting_level": 1
},
{
"column": 16,
"kind": "LogicalAnd",
"line": 802,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 807,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 807,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 820,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 820,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.6911591831941908,
"calculated_length": 517.8620410303663,
"difficulty": 13.815789473684212,
"effort": 28646.72930344344,
"length": 321.0,
"n1": 12.0,
"n2": 76.0,
"n_1": 146.0,
"n_2": 175.0,
"time": 1591.4849613024135,
"vocabulary": 88.0,
"volume": 2073.4775495825725
},
"lines_of_code": 75.0,
"maintainability_index": 59.04438380863439,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 38.0,
"technical_debt_score": 43.800000000000004
},
"recommendations": [],
"severity": "Moderate",
"start_line": 752
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_796:796",
"entity_name": "anonymous_function_796",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 797,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 797
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_801:801",
"entity_name": "anonymous_function_801",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 802,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 16,
"kind": "LogicalAnd",
"line": 802,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01310098963626882,
"calculated_length": 13.60964047443681,
"difficulty": 1.6,
"effort": 62.884750254090335,
"length": 14.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 3.493597236338352,
"vocabulary": 7.0,
"volume": 39.302968908806456
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 802
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_805:805",
"entity_name": "anonymous_function_805",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 806,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 11,
"kind": "LogicalAnd",
"line": 807,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 807,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02767545294909838,
"calculated_length": 28.75488750216347,
"difficulty": 2.4375,
"effort": 202.3767496902819,
"length": 24.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 11.0,
"n_2": 13.0,
"time": 11.243152760571217,
"vocabulary": 11.0,
"volume": 83.02635884729514
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 8.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 806
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_832:832",
"entity_name": "anonymous_function_832",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 833,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.16322953878970708,
"calculated_length": 171.60964047443682,
"difficulty": 3.984375,
"effort": 1951.1030808457176,
"length": 94.0,
"n1": 5.0,
"n2": 32.0,
"n_1": 43.0,
"n_2": 51.0,
"time": 108.39461560253987,
"vocabulary": 37.0,
"volume": 489.6886163691213
},
"lines_of_code": 19.0,
"maintainability_index": 90.8624860335125,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 833
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_839:839",
"entity_name": "anonymous_function_839",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 840,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 840
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_857:857",
"entity_name": "anonymous_function_857",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 858,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 872,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 873,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 873,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 880,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 880,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.307158310971643,
"calculated_length": 313.1745301666555,
"difficulty": 9.540816326530612,
"effort": 8791.623084443454,
"length": 156.0,
"n1": 11.0,
"n2": 49.0,
"n_1": 71.0,
"n_2": 85.0,
"time": 488.423504691303,
"vocabulary": 60.0,
"volume": 921.4749329149289
},
"lines_of_code": 36.0,
"maintainability_index": 76.07192021085824,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 20.0,
"technical_debt_score": 25.6
},
"recommendations": [],
"severity": "Low",
"start_line": 858
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_874:874",
"entity_name": "anonymous_function_874",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 875,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 25.84962500721156,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.43609027817842,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 875
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_899:899",
"entity_name": "anonymous_function_899",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 900,
"metrics": {
"cognitive_complexity": 17.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 916,
"nesting_level": 0
},
{
"column": 9,
"kind": "Try",
"line": 921,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 925,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 929,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 941,
"nesting_level": 1
},
{
"column": 9,
"kind": "Try",
"line": 965,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 997,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1010,
"nesting_level": 1
}
],
"halstead": {
"bugs": 1.2033691809254683,
"calculated_length": 785.3369675449228,
"difficulty": 21.53271028037383,
"effort": 77735.3997995966,
"length": 520.0,
"n1": 16.0,
"n2": 107.0,
"n_1": 232.0,
"n_2": 288.0,
"time": 4318.633322199811,
"vocabulary": 123.0,
"volume": 3610.107542776405
},
"lines_of_code": 125.0,
"maintainability_index": 48.11555468184764,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 63.0,
"technical_debt_score": 51.6
},
"recommendations": [],
"severity": "Moderate",
"start_line": 900
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_939:939",
"entity_name": "anonymous_function_939",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 940,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 11,
"kind": "LogicalAnd",
"line": 941,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03934266752792858,
"calculated_length": 41.219280948873624,
"difficulty": 3.0,
"effort": 354.0840077513572,
"length": 31.0,
"n1": 4.0,
"n2": 10.0,
"n_1": 16.0,
"n_2": 15.0,
"time": 19.671333763964288,
"vocabulary": 14.0,
"volume": 118.02800258378574
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 940
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_943:943",
"entity_name": "anonymous_function_943",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 944,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008422064766172813,
"calculated_length": 13.60964047443681,
"difficulty": 1.2,
"effort": 30.319433158222125,
"length": 9.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 1.6844129532345624,
"vocabulary": 7.0,
"volume": 25.26619429851844
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 944
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_946:946",
"entity_name": "anonymous_function_946",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 947,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008422064766172813,
"calculated_length": 13.60964047443681,
"difficulty": 1.2,
"effort": 30.319433158222125,
"length": 9.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 1.6844129532345624,
"vocabulary": 7.0,
"volume": 25.26619429851844
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 947
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_977:977",
"entity_name": "anonymous_function_977",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 978,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004666666666666667,
"calculated_length": 4.754887502163468,
"difficulty": 0.8333333333333334,
"effort": 11.666666666666668,
"length": 7.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 5.0,
"time": 0.6481481481481483,
"vocabulary": 4.0,
"volume": 14.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 978
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_983:983",
"entity_name": "anonymous_function_983",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 984,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 22.61842188131012,
"length": 7.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 5.0,
"time": 1.2565789934061178,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 984
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_985:985",
"entity_name": "anonymous_function_985",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 986,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0937027716859469,
"calculated_length": 75.60964047443682,
"difficulty": 5.0,
"effort": 1405.5415752892034,
"length": 64.0,
"n1": 5.0,
"n2": 16.0,
"n_1": 32.0,
"n_2": 32.0,
"time": 78.08564307162241,
"vocabulary": 21.0,
"volume": 281.1083150578407
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 986
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_995:995",
"entity_name": "anonymous_function_995",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 996,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 13,
"kind": "LogicalAnd",
"line": 997,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.016906266674359,
"calculated_length": 20.264662506490403,
"difficulty": 2.25,
"effort": 114.11730005192324,
"length": 16.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 7.0,
"n_2": 9.0,
"time": 6.339850002884624,
"vocabulary": 9.0,
"volume": 50.718800023076994
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 996
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_998:998",
"entity_name": "anonymous_function_998",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 999,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.048,
"calculated_length": 51.01955000865387,
"difficulty": 3.3333333333333335,
"effort": 480.0,
"length": 36.0,
"n1": 4.0,
"n2": 12.0,
"n_1": 16.0,
"n_2": 20.0,
"time": 26.666666666666668,
"vocabulary": 16.0,
"volume": 144.0
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 999
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_1008:1008",
"entity_name": "anonymous_function_1008",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1009,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 13,
"kind": "LogicalAnd",
"line": 1010,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.014,
"calculated_length": 16.36452797660028,
"difficulty": 2.7,
"effort": 113.4,
"length": 14.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 9.0,
"time": 6.300000000000001,
"vocabulary": 8.0,
"volume": 42.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1009
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_1011:1011",
"entity_name": "anonymous_function_1011",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1012,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.07084935591500588,
"calculated_length": 56.105716335834195,
"difficulty": 4.3076923076923075,
"effort": 915.591676440076,
"length": 52.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 24.0,
"n_2": 28.0,
"time": 50.86620424667089,
"vocabulary": 17.0,
"volume": 212.54806774501765
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1012
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_1030:1030",
"entity_name": "anonymous_function_1030",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1031,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 1042,
"nesting_level": 0
},
{
"column": 9,
"kind": "Try",
"line": 1045,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 1048,
"nesting_level": 2
},
{
"column": 17,
"kind": "LogicalOr",
"line": 1048,
"nesting_level": 3
},
{
"column": 9,
"kind": "Try",
"line": 1066,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.3963603017624412,
"calculated_length": 378.51484454403226,
"difficulty": 13.625,
"effort": 16201.227334539783,
"length": 194.0,
"n1": 14.0,
"n2": 56.0,
"n_1": 85.0,
"n_2": 109.0,
"time": 900.0681852522101,
"vocabulary": 70.0,
"volume": 1189.0809052873235
},
"lines_of_code": 52.0,
"maintainability_index": 68.78898487517853,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 33.0,
"technical_debt_score": 32.0
},
"recommendations": [],
"severity": "Low",
"start_line": 1031
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_1087:1087",
"entity_name": "anonymous_function_1087",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1088,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.20774426423226272,
"calculated_length": 255.13338933483536,
"difficulty": 3.511111111111111,
"effort": 2188.2395832465004,
"length": 111.0,
"n1": 4.0,
"n2": 45.0,
"n_1": 32.0,
"n_2": 79.0,
"time": 121.56886573591669,
"vocabulary": 49.0,
"volume": 623.2327926967881
},
"lines_of_code": 53.0,
"maintainability_index": 72.98968641268807,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 14.0,
"technical_debt_score": 12.6
},
"recommendations": [],
"severity": "Low",
"start_line": 1088
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_1088:1088",
"entity_name": "anonymous_function_1088",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1089,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.14558484316366127,
"calculated_length": 220.8771237954945,
"difficulty": 2.85,
"effort": 1244.7504090493037,
"length": 80.0,
"n1": 4.0,
"n2": 40.0,
"n_1": 23.0,
"n_2": 57.0,
"time": 69.1528005027391,
"vocabulary": 44.0,
"volume": 436.75452949098377
},
"lines_of_code": 32.0,
"maintainability_index": 83.01234751136555,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 8.4
},
"recommendations": [],
"severity": "Low",
"start_line": 1089
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_1122:1122",
"entity_name": "anonymous_function_1122",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1123,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.030666666666666665,
"calculated_length": 52.860603837997665,
"difficulty": 2.0769230769230766,
"effort": 191.07692307692304,
"length": 23.0,
"n1": 3.0,
"n2": 13.0,
"n_1": 5.0,
"n_2": 18.0,
"time": 10.615384615384613,
"vocabulary": 16.0,
"volume": 92.0
},
"lines_of_code": 17.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 1123
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_1131:1131",
"entity_name": "anonymous_function_1131",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1132,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1132
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:recordTimelineUpdate:1149",
"entity_name": "recordTimelineUpdate",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1150,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 1151,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04685138584297345,
"calculated_length": 72.10571633583419,
"difficulty": 6.461538461538462,
"effort": 908.1960948022545,
"length": 32.0,
"n1": 8.0,
"n2": 13.0,
"n_1": 11.0,
"n_2": 21.0,
"time": 50.45533860012525,
"vocabulary": 21.0,
"volume": 140.55415752892034
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 3.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1150
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:buildUserMessageUpdate:1163",
"entity_name": "buildUserMessageUpdate",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1164,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.026409525009134644,
"calculated_length": 66.0,
"difficulty": 1.0625,
"effort": 84.18036096661668,
"length": 19.0,
"n1": 2.0,
"n2": 16.0,
"n_1": 2.0,
"n_2": 17.0,
"time": 4.676686720367593,
"vocabulary": 18.0,
"volume": 79.22857502740393
},
"lines_of_code": 17.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 1.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 1164
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:stateIncludesUserMessage:1182",
"entity_name": "stateIncludesUserMessage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1183,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 15,
"kind": "LogicalAnd",
"line": 1185,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03776660909088234,
"calculated_length": 46.05374780501027,
"difficulty": 2.909090909090909,
"effort": 329.59949752042775,
"length": 29.0,
"n1": 4.0,
"n2": 11.0,
"n_1": 13.0,
"n_2": 16.0,
"time": 18.311083195579318,
"vocabulary": 15.0,
"volume": 113.29982727264704
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 1183
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_1184:1184",
"entity_name": "anonymous_function_1184",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1185,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 15,
"kind": "LogicalAnd",
"line": 1185,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02214618729924908,
"calculated_length": 24.406371956566694,
"difficulty": 2.142857142857143,
"effort": 142.3683469237441,
"length": 20.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 10.0,
"n_2": 10.0,
"time": 7.9093526068746725,
"vocabulary": 10.0,
"volume": 66.43856189774725
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1185
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:extractAgentToolSnapshots:1188",
"entity_name": "extractAgentToolSnapshots",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1189,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04359960364000362,
"calculated_length": 56.105716335834195,
"difficulty": 3.076923076923077,
"effort": 402.4578797538796,
"length": 32.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 12.0,
"n_2": 20.0,
"time": 22.358771097437753,
"vocabulary": 17.0,
"volume": 130.79881092001085
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1189
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_1189:1189",
"entity_name": "anonymous_function_1189",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1190,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02007619167580131,
"calculated_length": 20.264662506490403,
"difficulty": 3.0,
"effort": 180.6857250822118,
"length": 19.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 7.0,
"n_2": 12.0,
"time": 10.038095837900656,
"vocabulary": 9.0,
"volume": 60.228575027403934
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 1190
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:buildToolSnapshotKey:1195",
"entity_name": "buildToolSnapshotKey",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1196,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 22,
"kind": "ConditionalExpression",
"line": 1197,
"nesting_level": 0
},
{
"column": 22,
"kind": "LogicalAnd",
"line": 1197,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 1198,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06295654972649557,
"calculated_length": 72.10571633583419,
"difficulty": 7.384615384615385,
"effort": 1394.729717017748,
"length": 43.0,
"n1": 8.0,
"n2": 13.0,
"n_1": 19.0,
"n_2": 24.0,
"time": 77.48498427876378,
"vocabulary": 21.0,
"volume": 188.86964917948671
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 11.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1196
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:assertHydratedReplica:1203",
"entity_name": "assertHydratedReplica",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1204,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 1216,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 1216,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.15374923866240026,
"calculated_length": 123.69340944371453,
"difficulty": 8.369565217391305,
"effort": 3860.442840327659,
"length": 94.0,
"n1": 7.0,
"n2": 23.0,
"n_1": 39.0,
"n_2": 55.0,
"time": 214.46904668486994,
"vocabulary": 30.0,
"volume": 461.24771598720076
},
"lines_of_code": 15.0,
"maintainability_index": 94.5431234756675,
"max_nesting_depth": 1.0,
"parameter_count": 4.0,
"statement_count": 8.0,
"technical_debt_score": 11.399999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 1204
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:sanitizeClaudeProjectName:1220",
"entity_name": "sanitizeClaudeProjectName",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1221,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 12.754887502163468,
"difficulty": 2.625,
"effort": 88.43168004481454,
"length": 12.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 4.912871113600808,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1221
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:resolveClaudeHistoryPath:1224",
"entity_name": "resolveClaudeHistoryPath",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1225,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04531122681006491,
"calculated_length": 66.60335893412778,
"difficulty": 2.8,
"effort": 380.6143052045452,
"length": 32.0,
"n1": 4.0,
"n2": 15.0,
"n_1": 11.0,
"n_2": 21.0,
"time": 21.145239178030288,
"vocabulary": 19.0,
"volume": 135.93368043019473
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1225
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:getClaudeHistoryPaths:1230",
"entity_name": "getClaudeHistoryPaths",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1231,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01660964047443681,
"calculated_length": 24.406371956566694,
"difficulty": 2.142857142857143,
"effort": 106.77626019280807,
"length": 15.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 5.0,
"n_2": 10.0,
"time": 5.932014455156004,
"vocabulary": 10.0,
"volume": 49.82892142331043
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1231
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_1231:1231",
"entity_name": "anonymous_function_1231",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1232,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1232
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:normalizeCwdCandidates:1236",
"entity_name": "normalizeCwdCandidates",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1237,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 1239,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 1242,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.032,
"calculated_length": 48.18080946738404,
"difficulty": 5.444444444444445,
"effort": 522.6666666666667,
"length": 24.0,
"n1": 7.0,
"n2": 9.0,
"n_1": 10.0,
"n_2": 14.0,
"time": 29.03703703703704,
"vocabulary": 16.0,
"volume": 96.0
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.2
},
"recommendations": [],
"severity": "Low",
"start_line": 1237
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:cleanupClaudeHistory:1247",
"entity_name": "cleanupClaudeHistory",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1248,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1253,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07772769592204115,
"calculated_length": 117.75898006442377,
"difficulty": 4.931818181818182,
"effort": 1150.0165919374724,
"length": 48.0,
"n1": 7.0,
"n2": 22.0,
"n_1": 17.0,
"n_2": 31.0,
"time": 63.88981066319291,
"vocabulary": 29.0,
"volume": 233.18308776612344
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 1248
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:waitForHistoryFile:1258",
"entity_name": "waitForHistoryFile",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1259,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 22,
"kind": "ConditionalExpression",
"line": 1260,
"nesting_level": 0
},
{
"column": 3,
"kind": "While",
"line": 1262,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 1263,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10833333333333334,
"calculated_length": 130.29241368336423,
"difficulty": 9.69047619047619,
"effort": 3149.4047619047615,
"length": 65.0,
"n1": 11.0,
"n2": 21.0,
"n_1": 28.0,
"n_2": 37.0,
"time": 174.9669312169312,
"vocabulary": 32.0,
"volume": 325.0
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 7.0,
"technical_debt_score": 13.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1259
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_1262:1262",
"entity_name": "anonymous_function_1262",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1263,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1263
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_1265:1265",
"entity_name": "anonymous_function_1265",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1266,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1266
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_1267:1267",
"entity_name": "anonymous_function_1267",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1268,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1268
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:rawContainsText:1270",
"entity_name": "rawContainsText",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1271,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 1272,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 1272,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 1272,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 1275,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 1278,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 1281,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 1284,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1269320691871758,
"calculated_length": 94.71013448036484,
"difficulty": 8.166666666666668,
"effort": 3109.835695085808,
"length": 82.0,
"n1": 7.0,
"n2": 18.0,
"n_1": 40.0,
"n_2": 42.0,
"time": 172.76864972698934,
"vocabulary": 25.0,
"volume": 380.7962075615274
},
"lines_of_code": 19.0,
"maintainability_index": 90.56031395009221,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 11.0,
"technical_debt_score": 27.0
},
"recommendations": [],
"severity": "Low",
"start_line": 1271
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_1281:1281",
"entity_name": "anonymous_function_1281",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1282,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 13.60964047443681,
"difficulty": 1.2,
"effort": 26.950607251753,
"length": 8.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 2.0,
"n_2": 6.0,
"time": 1.4972559584307221,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1282
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_1284:1284",
"entity_name": "anonymous_function_1284",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1285,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 13.60964047443681,
"difficulty": 1.2,
"effort": 26.950607251753,
"length": 8.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 2.0,
"n_2": 6.0,
"time": 1.4972559584307221,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1285
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_1295:1295",
"entity_name": "anonymous_function_1295",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1296,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 11,
"kind": "LogicalOr",
"line": 1324,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 1324,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 1324,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2606286754343068,
"calculated_length": 196.97373660251154,
"difficulty": 9.058823529411764,
"effort": 7082.967532391161,
"length": 145.0,
"n1": 8.0,
"n2": 34.0,
"n_1": 68.0,
"n_2": 77.0,
"time": 393.4981962439534,
"vocabulary": 42.0,
"volume": 781.8860263029203
},
"lines_of_code": 37.0,
"maintainability_index": 76.94224310092423,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 15.0,
"technical_debt_score": 17.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1296
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_1300:1300",
"entity_name": "anonymous_function_1300",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1301,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 11,
"kind": "LogicalOr",
"line": 1324,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 1324,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 1324,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.23789837036372205,
"calculated_length": 164.88144885869957,
"difficulty": 9.931034482758621,
"effort": 7087.7307584226155,
"length": 137.0,
"n1": 8.0,
"n2": 29.0,
"n_1": 65.0,
"n_2": 72.0,
"time": 393.76281991236755,
"vocabulary": 37.0,
"volume": 713.6951110911662
},
"lines_of_code": 29.0,
"maintainability_index": 81.36343710372572,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 13.0,
"technical_debt_score": 16.2
},
"recommendations": [],
"severity": "Low",
"start_line": 1301
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_1320:1320",
"entity_name": "anonymous_function_1320",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1321,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1321
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts:anonymous_function_1322:1322",
"entity_name": "anonymous_function_1322",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.test.ts",
"issues": [],
"line_number": 1323,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 11,
"kind": "LogicalOr",
"line": 1324,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 1324,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 1324,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.025359400011538497,
"calculated_length": 20.264662506490403,
"difficulty": 3.25,
"effort": 247.25415011250035,
"length": 24.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 11.0,
"n_2": 13.0,
"time": 13.736341672916687,
"vocabulary": 9.0,
"volume": 76.07820003461549
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 11.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1323
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:anonymous_function_96:96",
"entity_name": "anonymous_function_96",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 97,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 97
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:appendCallerAgentId:118",
"entity_name": "appendCallerAgentId",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 119,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 120,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 124,
"nesting_level": 1
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 125,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05648613383607243,
"calculated_length": 77.30296890880646,
"difficulty": 6.571428571428571,
"effort": 1113.5837813397136,
"length": 38.0,
"n1": 8.0,
"n2": 14.0,
"n_1": 15.0,
"n_2": 23.0,
"time": 61.86576562998409,
"vocabulary": 22.0,
"volume": 169.4584015082173
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 6.0,
"technical_debt_score": 13.8
},
"recommendations": [],
"severity": "Low",
"start_line": 119
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:extractUserMessageText:129",
"entity_name": "extractUserMessageText",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 130,
"metrics": {
"cognitive_complexity": 17.0,
"cyclomatic_complexity": 14.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 131,
"nesting_level": 0
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 133,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 136,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 142,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 142,
"nesting_level": 1
},
{
"column": 18,
"kind": "ConditionalExpression",
"line": 145,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 146,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 146,
"nesting_level": 1
},
{
"column": 19,
"kind": "ConditionalExpression",
"line": 150,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 151,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 151,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 156,
"nesting_level": 0
},
{
"column": 10,
"kind": "ConditionalExpression",
"line": 161,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.22195334125177196,
"calculated_length": 136.1612434150308,
"difficulty": 16.0,
"effort": 10653.760380085054,
"length": 132.0,
"n1": 11.0,
"n2": 22.0,
"n_1": 68.0,
"n_2": 64.0,
"time": 591.8755766713919,
"vocabulary": 33.0,
"volume": 665.8600237553159
},
"lines_of_code": 32.0,
"maintainability_index": 77.82946511031734,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 20.0,
"technical_debt_score": 48.0
},
"recommendations": [],
"severity": "Moderate",
"start_line": 130
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:isMetadata:186",
"entity_name": "isMetadata",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 187,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 10,
"kind": "LogicalAnd",
"line": 188,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.013,
"calculated_length": 16.36452797660028,
"difficulty": 2.4000000000000004,
"effort": 93.60000000000001,
"length": 13.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 5.2,
"vocabulary": 8.0,
"volume": 39.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 187
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:isPermissionMode:190",
"entity_name": "isPermissionMode",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 191,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 10,
"kind": "LogicalAnd",
"line": 192,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.019119800003846166,
"calculated_length": 31.26112492884004,
"difficulty": 3.5714285714285716,
"effort": 204.85500004120894,
"length": 16.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 10.0,
"time": 11.380833335622718,
"vocabulary": 12.0,
"volume": 57.3594000115385
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 191
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:coerceSessionMetadata:194",
"entity_name": "coerceSessionMetadata",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [
{
"description": "Cyclomatic complexity of 26.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:coerceSessionMetadata:194",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:195",
"metric_value": 26.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 41.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:coerceSessionMetadata:194",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:195",
"metric_value": 41.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 195,
"metrics": {
"cognitive_complexity": 41.0,
"cyclomatic_complexity": 26.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 196,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 201,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 201,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 204,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 207,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 210,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 213,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 213,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 216,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 219,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 222,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 225,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 228,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 231,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 234,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 236,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 239,
"nesting_level": 3
},
{
"column": 9,
"kind": "If",
"line": 243,
"nesting_level": 3
},
{
"column": 3,
"kind": "If",
"line": 250,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 252,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 255,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 258,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 258,
"nesting_level": 2
},
{
"column": 3,
"kind": "If",
"line": 262,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 265,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.7167027256005003,
"calculated_length": 313.1745301666555,
"difficulty": 19.86734693877551,
"effort": 42716.94510441349,
"length": 364.0,
"n1": 11.0,
"n2": 49.0,
"n_1": 187.0,
"n_2": 177.0,
"time": 2373.1636169118606,
"vocabulary": 60.0,
"volume": 2150.108176801501
},
"lines_of_code": 75.0,
"maintainability_index": 55.175670700545524,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 49.0,
"technical_debt_score": 87.8
},
"recommendations": [],
"severity": "Critical",
"start_line": 195
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:isClaudeMcpServerConfig:271",
"entity_name": "isClaudeMcpServerConfig",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 272,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 273,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalOr",
"line": 276,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalOr",
"line": 276,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.044,
"calculated_length": 48.18080946738404,
"difficulty": 6.222222222222221,
"effort": 821.3333333333333,
"length": 33.0,
"n1": 7.0,
"n2": 9.0,
"n_1": 17.0,
"n_2": 16.0,
"time": 45.629629629629626,
"vocabulary": 16.0,
"volume": 132.0
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 11.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 272
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:isClaudeContentChunk:278",
"entity_name": "isClaudeContentChunk",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 279,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 10,
"kind": "LogicalAnd",
"line": 280,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.017297158093186486,
"calculated_length": 27.11941547876375,
"difficulty": 3.75,
"effort": 194.59302854834797,
"length": 15.0,
"n1": 5.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 9.0,
"time": 10.810723808241555,
"vocabulary": 11.0,
"volume": 51.89147427955946
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 279
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:isClaudeExtra:282",
"entity_name": "isClaudeExtra",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 283,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008422064766172813,
"calculated_length": 13.60964047443681,
"difficulty": 1.4,
"effort": 35.372672017925815,
"length": 9.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 2.0,
"n_2": 7.0,
"time": 1.965148445440323,
"vocabulary": 7.0,
"volume": 25.26619429851844
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 283
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:isPermissionUpdate:286",
"entity_name": "isPermissionUpdate",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 287,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 288,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 292,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 292,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 292,
"nesting_level": 1
},
{
"column": 10,
"kind": "LogicalAnd",
"line": 298,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalAnd",
"line": 298,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.09509775004326937,
"calculated_length": 106.09004635215048,
"difficulty": 5.95,
"effort": 1697.4948382723583,
"length": 60.0,
"n1": 7.0,
"n2": 20.0,
"n_1": 26.0,
"n_2": 34.0,
"time": 94.30526879290879,
"vocabulary": 27.0,
"volume": 285.2932501298081
},
"lines_of_code": 12.0,
"maintainability_index": 99.7362207581738,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 22.799999999999997
},
"recommendations": [],
"severity": "Low",
"start_line": 287
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:constructor:307",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 308,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.030458839376460836,
"calculated_length": 41.219280948873624,
"difficulty": 2.8,
"effort": 255.854250762271,
"length": 24.0,
"n1": 4.0,
"n2": 10.0,
"n_1": 10.0,
"n_2": 14.0,
"time": 14.214125042348389,
"vocabulary": 14.0,
"volume": 91.3765181293825
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 308
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:createSession:312",
"entity_name": "createSession",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 313,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.025382366147050694,
"calculated_length": 41.219280948873624,
"difficulty": 2.8,
"effort": 213.21187563522582,
"length": 20.0,
"n1": 4.0,
"n2": 10.0,
"n_1": 6.0,
"n_2": 14.0,
"time": 11.84510420195699,
"vocabulary": 14.0,
"volume": 76.14709844115208
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 313
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:resumeSession:320",
"entity_name": "resumeSession",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 321,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 327,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09,
"calculated_length": 134.03910001730776,
"difficulty": 6.5,
"effort": 1755.0,
"length": 54.0,
"n1": 8.0,
"n2": 24.0,
"n_1": 15.0,
"n_2": 39.0,
"time": 97.5,
"vocabulary": 32.0,
"volume": 270.0
},
"lines_of_code": 16.0,
"maintainability_index": 96.512268512924,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 7.0,
"technical_debt_score": 8.8
},
"recommendations": [],
"severity": "Low",
"start_line": 321
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:listModels:338",
"entity_name": "listModels",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 339,
"metrics": {
"cognitive_complexity": 14.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 348,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 360,
"nesting_level": 2
},
{
"column": 9,
"kind": "Try",
"line": 361,
"nesting_level": 3
},
{
"column": 11,
"kind": "Catch",
"line": 363,
"nesting_level": 4
}
],
"halstead": {
"bugs": 0.1518254286125221,
"calculated_length": 221.07945293834572,
"difficulty": 9.558823529411764,
"effort": 4353.817438153207,
"length": 82.0,
"n1": 13.0,
"n2": 34.0,
"n_1": 32.0,
"n_2": 50.0,
"time": 241.87874656406706,
"vocabulary": 47.0,
"volume": 455.4762858375663
},
"lines_of_code": 29.0,
"maintainability_index": 83.46882055592951,
"max_nesting_depth": 4.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 27.0
},
"recommendations": [],
"severity": "Low",
"start_line": 339
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:anonymous_function_349:349",
"entity_name": "anonymous_function_349",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 350,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.026289725005288478,
"calculated_length": 33.284212515144276,
"difficulty": 2.6666666666666665,
"effort": 210.31780004230782,
"length": 22.0,
"n1": 3.0,
"n2": 9.0,
"n_1": 6.0,
"n_2": 16.0,
"time": 11.684322224572657,
"vocabulary": 12.0,
"volume": 78.86917501586544
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 350
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:listPersistedAgents:369",
"entity_name": "listPersistedAgents",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 370,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 373,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 382,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 385,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.15278232697873156,
"calculated_length": 191.6338334270034,
"difficulty": 8.516129032258064,
"effort": 3903.3420311985606,
"length": 85.0,
"n1": 11.0,
"n2": 31.0,
"n_1": 37.0,
"n_2": 48.0,
"time": 216.8523350665867,
"vocabulary": 42.0,
"volume": 458.34698093619465
},
"lines_of_code": 21.0,
"maintainability_index": 88.89507872147854,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 14.0,
"technical_debt_score": 17.0
},
"recommendations": [],
"severity": "Low",
"start_line": 370
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:assertConfig:392",
"entity_name": "assertConfig",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 393,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 394,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.02665148445440323,
"calculated_length": 39.302968908806456,
"difficulty": 6.5,
"effort": 519.703946860863,
"length": 21.0,
"n1": 7.0,
"n2": 7.0,
"n_1": 8.0,
"n_2": 13.0,
"time": 28.872441492270166,
"vocabulary": 14.0,
"volume": 79.9544533632097
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 393
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:constructor:436",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 437,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 446,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 447,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 459,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 459,
"nesting_level": 2
},
{
"column": 24,
"kind": "ConditionalExpression",
"line": 466,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.20578121966897803,
"calculated_length": 177.62548782626678,
"difficulty": 12.0,
"effort": 7408.123908083209,
"length": 116.0,
"n1": 12.0,
"n2": 28.0,
"n_1": 60.0,
"n_2": 56.0,
"time": 411.56243933795605,
"vocabulary": 40.0,
"volume": 617.3436590069341
},
"lines_of_code": 30.0,
"maintainability_index": 81.10838798328652,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 16.0,
"technical_debt_score": 27.6
},
"recommendations": [],
"severity": "Low",
"start_line": 437
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:id:468",
"entity_name": "id",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 469,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 15.509775004326936,
"length": 6.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.861654166907052,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 469
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:getRuntimeInfo:472",
"entity_name": "getRuntimeInfo",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 473,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 474,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04685138584297345,
"calculated_length": 72.95445336320968,
"difficulty": 4.75,
"effort": 667.6322482623716,
"length": 32.0,
"n1": 7.0,
"n2": 14.0,
"n_1": 13.0,
"n_2": 19.0,
"time": 37.090680459020646,
"vocabulary": 21.0,
"volume": 140.55415752892034
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 8.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 473
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:run:486",
"entity_name": "run",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 487,
"metrics": {
"cognitive_complexity": 23.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 494,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 496,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 497,
"nesting_level": 3
},
{
"column": 18,
"kind": "If",
"line": 499,
"nesting_level": 4
},
{
"column": 14,
"kind": "If",
"line": 505,
"nesting_level": 2
},
{
"column": 14,
"kind": "If",
"line": 507,
"nesting_level": 3
},
{
"column": 5,
"kind": "If",
"line": 519,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.2897002040368488,
"calculated_length": 286.63235336099666,
"difficulty": 12.86046511627907,
"effort": 11177.03810458447,
"length": 149.0,
"n1": 14.0,
"n2": 43.0,
"n_1": 70.0,
"n_2": 79.0,
"time": 620.9465613658039,
"vocabulary": 57.0,
"volume": 869.1006121105464
},
"lines_of_code": 42.0,
"maintainability_index": 73.41896591552452,
"max_nesting_depth": 4.0,
"parameter_count": 2.0,
"statement_count": 21.0,
"technical_debt_score": 42.80000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 487
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:stream:530",
"entity_name": "stream",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [
{
"description": "Cognitive complexity of 38.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:stream:530",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:531",
"metric_value": 38.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 531,
"metrics": {
"cognitive_complexity": 38.0,
"cyclomatic_complexity": 14.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 541,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 554,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 572,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 572,
"nesting_level": 2
},
{
"column": 5,
"kind": "Try",
"line": 587,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 590,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalOr",
"line": 591,
"nesting_level": 3
},
{
"column": 11,
"kind": "LogicalOr",
"line": 591,
"nesting_level": 3
},
{
"column": 7,
"kind": "If",
"line": 600,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 600,
"nesting_level": 3
},
{
"column": 7,
"kind": "If",
"line": 603,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 606,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 610,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.4744287328097711,
"calculated_length": 367.57978409184955,
"difficulty": 16.90566037735849,
"effort": 24061.593090427636,
"length": 233.0,
"n1": 16.0,
"n2": 53.0,
"n_1": 121.0,
"n_2": 112.0,
"time": 1336.7551716904243,
"vocabulary": 69.0,
"volume": 1423.2861984293133
},
"lines_of_code": 83.0,
"maintainability_index": 58.43901890772244,
"max_nesting_depth": 3.0,
"parameter_count": 2.0,
"statement_count": 42.0,
"technical_debt_score": 75.00000000000001
},
"recommendations": [],
"severity": "High",
"start_line": 531
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:anonymous_function_552:552",
"entity_name": "anonymous_function_552",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 553,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 554,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07766316253533664,
"calculated_length": 106.09004635215048,
"difficulty": 4.2,
"effort": 978.5558479452418,
"length": 49.0,
"n1": 7.0,
"n2": 20.0,
"n_1": 25.0,
"n_2": 24.0,
"time": 54.36421377473565,
"vocabulary": 27.0,
"volume": 232.98948760600993
},
"lines_of_code": 17.0,
"maintainability_index": 96.29677848440838,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 9.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 553
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:anonymous_function_559:559",
"entity_name": "anonymous_function_559",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 560,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 53.99999999999999,
"length": 10.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 2.9999999999999996,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 560
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:anonymous_function_582:582",
"entity_name": "anonymous_function_582",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 583,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 53.99999999999999,
"length": 10.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 2.9999999999999996,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 583
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:interrupt:615",
"entity_name": "interrupt",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 616,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 616
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:streamHistory:619",
"entity_name": "streamHistory",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 620,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 621,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 621,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.05882217840381317,
"calculated_length": 91.82263988300141,
"difficulty": 6.333333333333333,
"effort": 1117.6213896724503,
"length": 38.0,
"n1": 10.0,
"n2": 15.0,
"n_1": 19.0,
"n_2": 19.0,
"time": 62.090077204025015,
"vocabulary": 25.0,
"volume": 176.46653521143952
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 12.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 620
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:getAvailableModes:631",
"entity_name": "getAvailableModes",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 632,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 15.509775004326936,
"length": 6.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.861654166907052,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 632
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:getCurrentMode:635",
"entity_name": "getCurrentMode",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 636,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 48.599999999999994,
"length": 9.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 2.6999999999999997,
"vocabulary": 8.0,
"volume": 27.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 636
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:setMode:639",
"entity_name": "setMode",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 640,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 642,
"nesting_level": 1
},
{
"column": 24,
"kind": "ConditionalExpression",
"line": 649,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08096634991879287,
"calculated_length": 113.11239783097187,
"difficulty": 8.25,
"effort": 2003.9171604901233,
"length": 50.0,
"n1": 11.0,
"n2": 18.0,
"n_1": 23.0,
"n_2": 27.0,
"time": 111.32873113834017,
"vocabulary": 29.0,
"volume": 242.8990497563786
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 11.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 640
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:getPendingPermissions:654",
"entity_name": "getPendingPermissions",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 655,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.022704762504567322,
"calculated_length": 33.284212515144276,
"difficulty": 1.6666666666666667,
"effort": 113.52381252283662,
"length": 19.0,
"n1": 3.0,
"n2": 9.0,
"n_1": 9.0,
"n_2": 10.0,
"time": 6.306878473490923,
"vocabulary": 12.0,
"volume": 68.11428751370197
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 655
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:anonymous_function_655:655",
"entity_name": "anonymous_function_655",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 656,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 656
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:respondToPermission:658",
"entity_name": "respondToPermission",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 659,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 661,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 667,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 668,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.24554186675897463,
"calculated_length": 271.3831322572005,
"difficulty": 9.465116279069766,
"effort": 6972.246960760652,
"length": 128.0,
"n1": 11.0,
"n2": 43.0,
"n_1": 54.0,
"n_2": 74.0,
"time": 387.34705337559177,
"vocabulary": 54.0,
"volume": 736.6256002769239
},
"lines_of_code": 38.0,
"maintainability_index": 76.82028947052373,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 14.0,
"technical_debt_score": 21.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 659
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:describePersistence:698",
"entity_name": "describePersistence",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 699,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 700,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 703,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05945908824849729,
"calculated_length": 78.25484338853101,
"difficulty": 5.133333333333333,
"effort": 915.6699590268582,
"length": 40.0,
"n1": 7.0,
"n2": 15.0,
"n_1": 18.0,
"n_2": 22.0,
"time": 50.8705532792699,
"vocabulary": 22.0,
"volume": 178.37726474549189
},
"lines_of_code": 15.0,
"maintainability_index": 99.48330272640598,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 12.2
},
"recommendations": [],
"severity": "Low",
"start_line": 699
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:close:715",
"entity_name": "close",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 716,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05313701693625441,
"calculated_length": 53.5635228093372,
"difficulty": 4.090909090909091,
"effort": 652.1361169449405,
"length": 39.0,
"n1": 6.0,
"n2": 11.0,
"n_1": 24.0,
"n_2": 15.0,
"time": 36.22978427471892,
"vocabulary": 17.0,
"volume": 159.41105080876324
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 716
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:setManagedAgentId:724",
"entity_name": "setManagedAgentId",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 725,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 9.509775004326936,
"difficulty": 2.0,
"effort": 36.18947501009619,
"length": 7.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 4.0,
"time": 2.0105263894497885,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 725
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:listCommands:728",
"entity_name": "listCommands",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 729,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04496209125375373,
"calculated_length": 54.62919048309068,
"difficulty": 4.166666666666667,
"effort": 562.0261406719217,
"length": 33.0,
"n1": 5.0,
"n2": 12.0,
"n_1": 13.0,
"n_2": 20.0,
"time": 31.223674481773426,
"vocabulary": 17.0,
"volume": 134.88627376126118
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 729
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:anonymous_function_731:731",
"entity_name": "anonymous_function_731",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 732,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012063158336698729,
"calculated_length": 10.0,
"difficulty": 2.5,
"effort": 90.47368752524048,
"length": 14.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 10.0,
"time": 5.026315973624471,
"vocabulary": 6.0,
"volume": 36.18947501009619
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 732
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:executeCommand:738",
"entity_name": "executeCommand",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 739,
"metrics": {
"cognitive_complexity": 25.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 27,
"kind": "ConditionalExpression",
"line": 740,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 750,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 753,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 756,
"nesting_level": 3
},
{
"column": 9,
"kind": "If",
"line": 761,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 761,
"nesting_level": 3
},
{
"column": 14,
"kind": "If",
"line": 764,
"nesting_level": 2
},
{
"column": 14,
"kind": "If",
"line": 766,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.23704195997053842,
"calculated_length": 238.1282645272016,
"difficulty": 15.0,
"effort": 10666.888198674229,
"length": 126.0,
"n1": 15.0,
"n2": 35.0,
"n_1": 56.0,
"n_2": 70.0,
"time": 592.6048999263461,
"vocabulary": 50.0,
"volume": 711.1258799116152
},
"lines_of_code": 37.0,
"maintainability_index": 76.2855126209713,
"max_nesting_depth": 3.0,
"parameter_count": 2.0,
"statement_count": 20.0,
"technical_debt_score": 45.4
},
"recommendations": [],
"severity": "High",
"start_line": 739
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:ensureQuery:777",
"entity_name": "ensureQuery",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 778,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 779,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08241805003750012,
"calculated_length": 103.58797503894242,
"difficulty": 6.25,
"effort": 1545.3384382031272,
"length": 52.0,
"n1": 9.0,
"n2": 18.0,
"n_1": 27.0,
"n_2": 25.0,
"time": 85.8521354557293,
"vocabulary": 27.0,
"volume": 247.25415011250035
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 8.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 778
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:buildOptions:791",
"entity_name": "buildOptions",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 792,
"metrics": {
"cognitive_complexity": 14.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 11,
"kind": "ConditionalExpression",
"line": 818,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 823,
"nesting_level": 1
},
{
"column": 29,
"kind": "ConditionalExpression",
"line": 827,
"nesting_level": 1
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 834,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 838,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 846,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 850,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.3903393046044085,
"calculated_length": 417.26588757982046,
"difficulty": 11.217741935483872,
"effort": 13136.176758985459,
"length": 188.0,
"n1": 13.0,
"n2": 62.0,
"n_1": 81.0,
"n_2": 107.0,
"time": 729.7875977214144,
"vocabulary": 75.0,
"volume": 1171.0179138132255
},
"lines_of_code": 62.0,
"maintainability_index": 65.55915392321275,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 17.0,
"technical_debt_score": 39.6
},
"recommendations": [],
"severity": "Low",
"start_line": 792
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:anonymous_function_806:806",
"entity_name": "anonymous_function_806",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 807,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.013736341672916685,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 72.1157937828126,
"length": 13.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 7.0,
"time": 4.0064329879340335,
"vocabulary": 9.0,
"volume": 41.209025018750054
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 807
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:normalizeMcpServers:855",
"entity_name": "normalizeMcpServers",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 856,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 859,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 864,
"nesting_level": 1
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 868,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07132331253245203,
"calculated_length": 102.05374780501026,
"difficulty": 9.28125,
"effort": 1985.908483325461,
"length": 45.0,
"n1": 11.0,
"n2": 16.0,
"n_1": 18.0,
"n_2": 27.0,
"time": 110.32824907363673,
"vocabulary": 27.0,
"volume": 213.96993759735608
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 15.4
},
"recommendations": [],
"severity": "Low",
"start_line": 856
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:toSdkUserMessage:870",
"entity_name": "toSdkUserMessage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 871,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 873,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 875,
"nesting_level": 2
},
{
"column": 16,
"kind": "If",
"line": 877,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.1720756750680247,
"calculated_length": 182.10941063497395,
"difficulty": 9.725806451612902,
"effort": 5020.724132226721,
"length": 97.0,
"n1": 9.0,
"n2": 31.0,
"n_1": 30.0,
"n_2": 67.0,
"time": 278.92911845704003,
"vocabulary": 40.0,
"volume": 516.2270252040742
},
"lines_of_code": 30.0,
"maintainability_index": 82.49855988882203,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 21.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 871
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:processPrompt:902",
"entity_name": "processPrompt",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 903,
"metrics": {
"cognitive_complexity": 23.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 910,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 916,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 921,
"nesting_level": 1
},
{
"column": 5,
"kind": "While",
"line": 927,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 929,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 934,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 937,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 942,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 947,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.16320579490987913,
"calculated_length": 174.03910001730776,
"difficulty": 12.0,
"effort": 5875.408616755649,
"length": 92.0,
"n1": 16.0,
"n2": 24.0,
"n_1": 56.0,
"n_2": 36.0,
"time": 326.41158981975826,
"vocabulary": 40.0,
"volume": 489.61738472963737
},
"lines_of_code": 48.0,
"maintainability_index": 73.77969758260366,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 22.0,
"technical_debt_score": 48.0
},
"recommendations": [],
"severity": "Moderate",
"start_line": 903
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:forwardPromptEvents:952",
"entity_name": "forwardPromptEvents",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [
{
"description": "Cognitive complexity of 33.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:forwardPromptEvents:952",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:953",
"metric_value": 33.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 953,
"metrics": {
"cognitive_complexity": 33.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 965,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 968,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 974,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 979,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 980,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 980,
"nesting_level": 3
},
{
"column": 18,
"kind": "ConditionalExpression",
"line": 984,
"nesting_level": 3
},
{
"column": 7,
"kind": "If",
"line": 992,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 992,
"nesting_level": 3
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 992,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.23256943902083133,
"calculated_length": 246.05274343707762,
"difficulty": 13.054054054054054,
"effort": 9107.922084896882,
"length": 123.0,
"n1": 14.0,
"n2": 37.0,
"n_1": 54.0,
"n_2": 69.0,
"time": 505.9956713831601,
"vocabulary": 51.0,
"volume": 697.708317062494
},
"lines_of_code": 49.0,
"maintainability_index": 71.37394528649608,
"max_nesting_depth": 3.0,
"parameter_count": 3.0,
"statement_count": 18.0,
"technical_debt_score": 58.20000000000001
},
"recommendations": [],
"severity": "High",
"start_line": 953
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:interruptActiveTurn:1003",
"entity_name": "interruptActiveTurn",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1004,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1006,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 1006,
"nesting_level": 2
},
{
"column": 5,
"kind": "Try",
"line": 1010,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 1025,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.20291986385315197,
"calculated_length": 165.23098268032226,
"difficulty": 12.23076923076923,
"effort": 7445.5980813810365,
"length": 116.0,
"n1": 12.0,
"n2": 26.0,
"n_1": 63.0,
"n_2": 53.0,
"time": 413.64433785450206,
"vocabulary": 38.0,
"volume": 608.7595915594559
},
"lines_of_code": 24.0,
"maintainability_index": 85.02612611013853,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 17.0,
"technical_debt_score": 22.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1004
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:translateMessageToEvents:1029",
"entity_name": "translateMessageToEvents",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1030,
"metrics": {
"cognitive_complexity": 21.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1035,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1041,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1041,
"nesting_level": 2
},
{
"column": 16,
"kind": "If",
"line": 1048,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 1076,
"nesting_level": 1
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 1080,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1080,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1080,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.4301807074483573,
"calculated_length": 366.08050057969047,
"difficulty": 15.245454545454544,
"effort": 19674.90126520623,
"length": 212.0,
"n1": 13.0,
"n2": 55.0,
"n_1": 83.0,
"n_2": 129.0,
"time": 1093.050070289235,
"vocabulary": 68.0,
"volume": 1290.542122345072
},
"lines_of_code": 62.0,
"maintainability_index": 64.82377113570159,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 29.0,
"technical_debt_score": 47.2
},
"recommendations": [],
"severity": "Moderate",
"start_line": 1030
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:handleSystemMessage:1093",
"entity_name": "handleSystemMessage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1094,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1095,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1102,
"nesting_level": 1
},
{
"column": 12,
"kind": "If",
"line": 1109,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 1128,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.18094737505048095,
"calculated_length": 154.1501525493784,
"difficulty": 11.0,
"effort": 5971.263376665871,
"length": 105.0,
"n1": 11.0,
"n2": 25.0,
"n_1": 55.0,
"n_2": 50.0,
"time": 331.7368542592151,
"vocabulary": 36.0,
"volume": 542.8421251514428
},
"lines_of_code": 40.0,
"maintainability_index": 77.34669647652892,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 17.0,
"technical_debt_score": 25.2
},
"recommendations": [],
"severity": "Low",
"start_line": 1094
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:convertUsage:1135",
"entity_name": "convertUsage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1136,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1137,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04955915432350849,
"calculated_length": 64.91260938324326,
"difficulty": 3.9285714285714284,
"effort": 584.090033098493,
"length": 35.0,
"n1": 5.0,
"n2": 14.0,
"n_1": 13.0,
"n_2": 22.0,
"time": 32.449446283249614,
"vocabulary": 19.0,
"volume": 148.67746297052548
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 7.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1136
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:anonymous_function_1147:1147",
"entity_name": "anonymous_function_1147",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1148,
"metrics": {
"cognitive_complexity": 16.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1153,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 1159,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 1162,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1162,
"nesting_level": 1
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 1170,
"nesting_level": 0
},
{
"column": 17,
"kind": "ConditionalExpression",
"line": 1173,
"nesting_level": 0
},
{
"column": 9,
"kind": "While",
"line": 1181,
"nesting_level": 0
},
{
"column": 11,
"kind": "Try",
"line": 1183,
"nesting_level": 1
},
{
"column": 13,
"kind": "Catch",
"line": 1185,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 1210,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1211,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.5085284925458246,
"calculated_length": 525.7647607213188,
"difficulty": 13.5,
"effort": 20595.403948105894,
"length": 235.0,
"n1": 15.0,
"n2": 75.0,
"n_1": 100.0,
"n_2": 135.0,
"time": 1144.1891082281052,
"vocabulary": 90.0,
"volume": 1525.5854776374736
},
"lines_of_code": 78.0,
"maintainability_index": 59.54462262497624,
"max_nesting_depth": 2.0,
"parameter_count": 3.0,
"statement_count": 35.0,
"technical_debt_score": 52.400000000000006
},
"recommendations": [],
"severity": "Moderate",
"start_line": 1148
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:anonymous_function_1171:1171",
"entity_name": "anonymous_function_1171",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1172,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001,
"calculated_length": 0.0,
"difficulty": 1.0,
"effort": 3.0,
"length": 3.0,
"n1": 1.0,
"n2": 1.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.16666666666666666,
"vocabulary": 2.0,
"volume": 3.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1172
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:anonymous_function_1177:1177",
"entity_name": "anonymous_function_1177",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1178,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 9,
"kind": "While",
"line": 1181,
"nesting_level": 0
},
{
"column": 11,
"kind": "Try",
"line": 1183,
"nesting_level": 1
},
{
"column": 13,
"kind": "Catch",
"line": 1185,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 1210,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1211,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.254379827395085,
"calculated_length": 280.35267028370896,
"difficulty": 8.11111111111111,
"effort": 6189.909133280403,
"length": 132.0,
"n1": 10.0,
"n2": 45.0,
"n_1": 59.0,
"n_2": 73.0,
"time": 343.88384073780014,
"vocabulary": 55.0,
"volume": 763.1394821852551
},
"lines_of_code": 47.0,
"maintainability_index": 72.732916577068,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 24.0,
"technical_debt_score": 28.6
},
"recommendations": [],
"severity": "Low",
"start_line": 1178
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:anonymous_function_1179:1179",
"entity_name": "anonymous_function_1179",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1180,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "While",
"line": 1181,
"nesting_level": 0
},
{
"column": 11,
"kind": "Try",
"line": 1183,
"nesting_level": 1
},
{
"column": 13,
"kind": "Catch",
"line": 1185,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.017297158093186486,
"calculated_length": 27.651484454403228,
"difficulty": 5.25,
"effort": 272.43023996768716,
"length": 15.0,
"n1": 7.0,
"n2": 4.0,
"n_1": 9.0,
"n_2": 6.0,
"time": 15.135013331538175,
"vocabulary": 11.0,
"volume": 51.89147427955946
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 14.6
},
"recommendations": [],
"severity": "Low",
"start_line": 1180
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:anonymous_function_1189:1189",
"entity_name": "anonymous_function_1189",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1190,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.048251327531274806,
"calculated_length": 88.71062275542812,
"difficulty": 2.1052631578947367,
"effort": 304.74522651331455,
"length": 32.0,
"n1": 4.0,
"n2": 19.0,
"n_1": 12.0,
"n_2": 20.0,
"time": 16.93029036185081,
"vocabulary": 23.0,
"volume": 144.75398259382442
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1190
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:anonymous_function_1201:1201",
"entity_name": "anonymous_function_1201",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1202,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1202
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:anonymous_function_1203:1203",
"entity_name": "anonymous_function_1203",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1204,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.018450301966065584,
"calculated_length": 27.651484454403228,
"difficulty": 2.0,
"effort": 110.70181179639351,
"length": 16.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 9.0,
"n_2": 7.0,
"time": 6.150100655355195,
"vocabulary": 11.0,
"volume": 55.35090589819676
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1204
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:anonymous_function_1215:1215",
"entity_name": "anonymous_function_1215",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1216,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 13.60964047443681,
"difficulty": 1.0,
"effort": 22.458839376460833,
"length": 8.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.2477132986922685,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1216
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:emitPlanTodoItems:1227",
"entity_name": "emitPlanTodoItems",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1228,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 22,
"kind": "ConditionalExpression",
"line": 1229,
"nesting_level": 1
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 1237,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10683671966625713,
"calculated_length": 148.03344701281688,
"difficulty": 5.055555555555555,
"effort": 1620.356914938233,
"length": 63.0,
"n1": 7.0,
"n2": 27.0,
"n_1": 24.0,
"n_2": 39.0,
"time": 90.01982860767961,
"vocabulary": 34.0,
"volume": 320.5101589987714
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 11.4
},
"recommendations": [],
"severity": "Low",
"start_line": 1228
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:anonymous_function_1231:1231",
"entity_name": "anonymous_function_1231",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1232,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.0,
"difficulty": 1.5,
"effort": 15.0,
"length": 5.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.8333333333333334,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1232
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:anonymous_function_1233:1233",
"entity_name": "anonymous_function_1233",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1234,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 8.0,
"difficulty": 0.5,
"effort": 5.804820237218405,
"length": 5.0,
"n1": 1.0,
"n2": 4.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.32249001317880027,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1234
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:enqueueTimeline:1240",
"entity_name": "enqueueTimeline",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1241,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014339850002884624,
"calculated_length": 33.284212515144276,
"difficulty": 1.5,
"effort": 64.5293250129808,
"length": 12.0,
"n1": 3.0,
"n2": 9.0,
"n_1": 3.0,
"n_2": 9.0,
"time": 3.584962500721156,
"vocabulary": 12.0,
"volume": 43.01955000865387
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1241
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:pushToolCall:1244",
"entity_name": "pushToolCall",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1245,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1250,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.039647323458806796,
"calculated_length": 63.61549134016113,
"difficulty": 4.384615384615384,
"effort": 521.5147931889201,
"length": 28.0,
"n1": 6.0,
"n2": 13.0,
"n_1": 9.0,
"n_2": 19.0,
"time": 28.973044066051116,
"vocabulary": 19.0,
"volume": 118.94197037642039
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 7.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1245
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:pushEvent:1256",
"entity_name": "pushEvent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1257,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1258,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.015502331109474358,
"calculated_length": 23.21928094887362,
"difficulty": 3.5,
"effort": 162.77447664948076,
"length": 14.0,
"n1": 5.0,
"n2": 5.0,
"n_1": 7.0,
"n_2": 7.0,
"time": 9.04302648052671,
"vocabulary": 10.0,
"volume": 46.50699332842307
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 1257
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:normalizePermissionUpdates:1262",
"entity_name": "normalizePermissionUpdates",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1263,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1266,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 1266,
"nesting_level": 2
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 1270,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04169925001442312,
"calculated_length": 57.219280948873624,
"difficulty": 6.8,
"effort": 850.6647002942317,
"length": 30.0,
"n1": 8.0,
"n2": 10.0,
"n_1": 13.0,
"n_2": 17.0,
"time": 47.259150016346204,
"vocabulary": 18.0,
"volume": 125.09775004326937
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 15.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1263
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:rejectAllPendingPermissions:1272",
"entity_name": "rejectAllPendingPermissions",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1273,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.032070477557222796,
"calculated_length": 36.529325012980806,
"difficulty": 3.111111111111111,
"effort": 299.3244572007461,
"length": 26.0,
"n1": 4.0,
"n2": 9.0,
"n_1": 12.0,
"n_2": 14.0,
"time": 16.629136511152563,
"vocabulary": 13.0,
"volume": 96.21143267166839
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 1273
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:loadPersistedHistory:1280",
"entity_name": "loadPersistedHistory",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [
{
"description": "Cognitive complexity of 33.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:loadPersistedHistory:1280",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:1281",
"metric_value": 33.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 1281,
"metrics": {
"cognitive_complexity": 33.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 1282,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1284,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalOr",
"line": 1284,
"nesting_level": 3
},
{
"column": 9,
"kind": "If",
"line": 1291,
"nesting_level": 2
},
{
"column": 9,
"kind": "Try",
"line": 1292,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1294,
"nesting_level": 3
},
{
"column": 11,
"kind": "If",
"line": 1298,
"nesting_level": 3
},
{
"column": 11,
"kind": "Catch",
"line": 1301,
"nesting_level": 3
},
{
"column": 7,
"kind": "If",
"line": 1305,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 1309,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.1732275148159847,
"calculated_length": 182.71165415344709,
"difficulty": 10.910714285714286,
"effort": 5670.107761744643,
"length": 97.0,
"n1": 13.0,
"n2": 28.0,
"n_1": 50.0,
"n_2": 47.0,
"time": 315.00598676359124,
"vocabulary": 41.0,
"volume": 519.6825444479541
},
"lines_of_code": 31.0,
"maintainability_index": 80.32267299208269,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 20.0,
"technical_debt_score": 54.6
},
"recommendations": [],
"severity": "High",
"start_line": 1281
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:resolveHistoryPath:1313",
"entity_name": "resolveHistoryPath",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1314,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1316,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08973729187840859,
"calculated_length": 111.8901503327572,
"difficulty": 5.666666666666667,
"effort": 1525.5339619329463,
"length": 56.0,
"n1": 7.0,
"n2": 21.0,
"n_1": 22.0,
"n_2": 34.0,
"time": 84.75188677405258,
"vocabulary": 28.0,
"volume": 269.2118756352258
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1314
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:convertHistoryEntry:1322",
"entity_name": "convertHistoryEntry",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1323,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01614401422030739,
"calculated_length": 28.75488750216347,
"difficulty": 1.875,
"effort": 90.81007998922905,
"length": 14.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 4.0,
"n_2": 10.0,
"time": 5.045004443846058,
"vocabulary": 11.0,
"volume": 48.432042660922164
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1323
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:anonymous_function_1323:1323",
"entity_name": "anonymous_function_1323",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1324,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 22.61842188131012,
"length": 7.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 5.0,
"time": 1.2565789934061178,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1324
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:mapBlocksToTimeline:1328",
"entity_name": "mapBlocksToTimeline",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [
{
"description": "Cyclomatic complexity of 16.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:mapBlocksToTimeline:1328",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:1329",
"metric_value": 16.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 46.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:mapBlocksToTimeline:1328",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:1329",
"metric_value": 46.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 1329,
"metrics": {
"cognitive_complexity": 46.0,
"cyclomatic_complexity": 16.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1343,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1344,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalOr",
"line": 1344,
"nesting_level": 3
},
{
"column": 7,
"kind": "If",
"line": 1347,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1347,
"nesting_level": 3
},
{
"column": 7,
"kind": "If",
"line": 1350,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1361,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1361,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 1362,
"nesting_level": 2
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 1362,
"nesting_level": 3
},
{
"column": 13,
"kind": "If",
"line": 1365,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1372,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 1373,
"nesting_level": 2
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 1373,
"nesting_level": 3
},
{
"column": 13,
"kind": "If",
"line": 1376,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.37016514399146716,
"calculated_length": 311.0977500432694,
"difficulty": 13.375,
"effort": 14852.876402657621,
"length": 188.0,
"n1": 12.0,
"n2": 48.0,
"n_1": 81.0,
"n_2": 107.0,
"time": 825.1598001476456,
"vocabulary": 60.0,
"volume": 1110.4954319744015
},
"lines_of_code": 73.0,
"maintainability_index": 61.34923709822512,
"max_nesting_depth": 3.0,
"parameter_count": 2.0,
"statement_count": 33.0,
"technical_debt_score": 83.40000000000002
},
"recommendations": [],
"severity": "High",
"start_line": 1329
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:handleToolUseStart:1403",
"entity_name": "handleToolUseStart",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1404,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1406,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1409,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10095445336320968,
"calculated_length": 109.23994776840892,
"difficulty": 8.289473684210526,
"effort": 2510.5778533745565,
"length": 63.0,
"n1": 9.0,
"n2": 19.0,
"n_1": 28.0,
"n_2": 35.0,
"time": 139.4765474096976,
"vocabulary": 28.0,
"volume": 302.86336008962905
},
"lines_of_code": 19.0,
"maintainability_index": 92.90102345311477,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 8.0,
"technical_debt_score": 13.0
},
"recommendations": [],
"severity": "Low",
"start_line": 1404
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:handleToolResult:1424",
"entity_name": "handleToolResult",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1425,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 19,
"kind": "ConditionalExpression",
"line": 1426,
"nesting_level": 1
},
{
"column": 20,
"kind": "ConditionalExpression",
"line": 1428,
"nesting_level": 1
},
{
"column": 17,
"kind": "ConditionalExpression",
"line": 1437,
"nesting_level": 1
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 1440,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1444,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.1555882515139973,
"calculated_length": 152.38196255841365,
"difficulty": 8.0,
"effort": 3734.1180363359354,
"length": 91.0,
"n1": 8.0,
"n2": 27.0,
"n_1": 37.0,
"n_2": 54.0,
"time": 207.45100201866308,
"vocabulary": 35.0,
"volume": 466.7647545419919
},
"lines_of_code": 22.0,
"maintainability_index": 87.58682021119947,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 7.0,
"technical_debt_score": 24.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 1425
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:buildToolOutput:1448",
"entity_name": "buildToolOutput",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1449,
"metrics": {
"cognitive_complexity": 19.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1453,
"nesting_level": 1
},
{
"column": 21,
"kind": "ConditionalExpression",
"line": 1459,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1465,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1472,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 1473,
"nesting_level": 2
},
{
"column": 9,
"kind": "Catch",
"line": 1476,
"nesting_level": 3
},
{
"column": 5,
"kind": "If",
"line": 1483,
"nesting_level": 1
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 1487,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.2116243254333818,
"calculated_length": 196.59963563064701,
"difficulty": 12.774193548387096,
"effort": 8109.990277898632,
"length": 117.0,
"n1": 12.0,
"n2": 31.0,
"n_1": 51.0,
"n_2": 66.0,
"time": 450.55501543881286,
"vocabulary": 43.0,
"volume": 634.8729763001454
},
"lines_of_code": 39.0,
"maintainability_index": 76.022491636588,
"max_nesting_depth": 3.0,
"parameter_count": 2.0,
"statement_count": 17.0,
"technical_debt_score": 41.00000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 1449
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:buildStructuredToolResult:1489",
"entity_name": "buildStructuredToolResult",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [
{
"description": "Cyclomatic complexity of 34.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:buildStructuredToolResult:1489",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:1490",
"metric_value": 34.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 105.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:buildStructuredToolResult:1489",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:1490",
"metric_value": 105.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 1490,
"metrics": {
"cognitive_complexity": 105.0,
"cyclomatic_complexity": 34.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1500,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 1501,
"nesting_level": 2
},
{
"column": 7,
"kind": "LogicalOr",
"line": 1501,
"nesting_level": 2
},
{
"column": 7,
"kind": "LogicalOr",
"line": 1501,
"nesting_level": 2
},
{
"column": 7,
"kind": "LogicalOr",
"line": 1501,
"nesting_level": 2
},
{
"column": 7,
"kind": "LogicalOr",
"line": 1501,
"nesting_level": 2
},
{
"column": 7,
"kind": "LogicalOr",
"line": 1501,
"nesting_level": 2
},
{
"column": 8,
"kind": "LogicalAnd",
"line": 1507,
"nesting_level": 2
},
{
"column": 18,
"kind": "LogicalOr",
"line": 1507,
"nesting_level": 2
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 1514,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 1519,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 1520,
"nesting_level": 2
},
{
"column": 7,
"kind": "LogicalOr",
"line": 1520,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 1524,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1524,
"nesting_level": 3
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 1529,
"nesting_level": 3
},
{
"column": 5,
"kind": "If",
"line": 1535,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 1536,
"nesting_level": 2
},
{
"column": 7,
"kind": "LogicalOr",
"line": 1536,
"nesting_level": 2
},
{
"column": 7,
"kind": "LogicalOr",
"line": 1536,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 1541,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1541,
"nesting_level": 3
},
{
"column": 28,
"kind": "ConditionalExpression",
"line": 1543,
"nesting_level": 3
},
{
"column": 80,
"kind": "ConditionalExpression",
"line": 1543,
"nesting_level": 3
},
{
"column": 28,
"kind": "ConditionalExpression",
"line": 1544,
"nesting_level": 3
},
{
"column": 80,
"kind": "ConditionalExpression",
"line": 1544,
"nesting_level": 3
},
{
"column": 17,
"kind": "ConditionalExpression",
"line": 1548,
"nesting_level": 3
},
{
"column": 65,
"kind": "ConditionalExpression",
"line": 1548,
"nesting_level": 3
},
{
"column": 5,
"kind": "If",
"line": 1556,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 1557,
"nesting_level": 2
},
{
"column": 7,
"kind": "LogicalOr",
"line": 1557,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 1561,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1561,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.5658491660913254,
"calculated_length": 341.9747842438563,
"difficulty": 11.127272727272727,
"effort": 18889.073980794063,
"length": 284.0,
"n1": 8.0,
"n2": 55.0,
"n_1": 131.0,
"n_2": 153.0,
"time": 1049.3929989330036,
"vocabulary": 63.0,
"volume": 1697.5474982739763
},
"lines_of_code": 81.0,
"maintainability_index": 53.31783652447854,
"max_nesting_depth": 3.0,
"parameter_count": 4.0,
"statement_count": 17.0,
"technical_debt_score": 96.2
},
"recommendations": [],
"severity": "Critical",
"start_line": 1490
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:mapPartialEvent:1572",
"entity_name": "mapPartialEvent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [
{
"description": "Cognitive complexity of 50.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:mapPartialEvent:1572",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:1573",
"metric_value": 50.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 1573,
"metrics": {
"cognitive_complexity": 50.0,
"cyclomatic_complexity": 15.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1574,
"nesting_level": 1
},
{
"column": 21,
"kind": "ConditionalExpression",
"line": 1575,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 1576,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1576,
"nesting_level": 3
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1576,
"nesting_level": 3
},
{
"column": 12,
"kind": "If",
"line": 1580,
"nesting_level": 2
},
{
"column": 21,
"kind": "ConditionalExpression",
"line": 1581,
"nesting_level": 3
},
{
"column": 7,
"kind": "If",
"line": 1582,
"nesting_level": 3
},
{
"column": 29,
"kind": "ConditionalExpression",
"line": 1583,
"nesting_level": 4
},
{
"column": 12,
"kind": "If",
"line": 1587,
"nesting_level": 3
},
{
"column": 16,
"kind": "LogicalAnd",
"line": 1587,
"nesting_level": 4
},
{
"column": 7,
"kind": "If",
"line": 1589,
"nesting_level": 4
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 1597,
"nesting_level": 1
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 1601,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.3553491525063345,
"calculated_length": 217.57865339808407,
"difficulty": 15.242857142857142,
"effort": 16249.609102468237,
"length": 193.0,
"n1": 11.0,
"n2": 35.0,
"n_1": 96.0,
"n_2": 97.0,
"time": 902.7560612482354,
"vocabulary": 46.0,
"volume": 1066.0474575190035
},
"lines_of_code": 32.0,
"maintainability_index": 75.15217013513059,
"max_nesting_depth": 4.0,
"parameter_count": 2.0,
"statement_count": 20.0,
"technical_debt_score": 76.4
},
"recommendations": [],
"severity": "Critical",
"start_line": 1573
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:upsertToolUseEntry:1606",
"entity_name": "upsertToolUseEntry",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [
{
"description": "Cyclomatic complexity of 18.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:upsertToolUseEntry:1606",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:1607",
"metric_value": 18.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 40.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:upsertToolUseEntry:1606",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:1607",
"metric_value": 40.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 1607,
"metrics": {
"cognitive_complexity": 40.0,
"cyclomatic_complexity": 18.0,
"decision_points": [
{
"column": 16,
"kind": "ConditionalExpression",
"line": 1608,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1609,
"nesting_level": 1
},
{
"column": 15,
"kind": "ConditionalExpression",
"line": 1616,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1616,
"nesting_level": 1
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 1618,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1618,
"nesting_level": 1
},
{
"column": 15,
"kind": "ConditionalExpression",
"line": 1620,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1620,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1627,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1627,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 1630,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1630,
"nesting_level": 2
},
{
"column": 12,
"kind": "If",
"line": 1632,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 1636,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 1636,
"nesting_level": 2
},
{
"column": 9,
"kind": "LogicalOr",
"line": 1636,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 1638,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.3707947582379767,
"calculated_length": 196.59963563064701,
"difficulty": 20.322580645161292,
"effort": 22606.519131283098,
"length": 205.0,
"n1": 12.0,
"n2": 31.0,
"n_1": 100.0,
"n_2": 105.0,
"time": 1255.9177295157276,
"vocabulary": 43.0,
"volume": 1112.3842747139302
},
"lines_of_code": 38.0,
"maintainability_index": 71.45694708574939,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 16.0,
"technical_debt_score": 75.60000000000002
},
"recommendations": [],
"severity": "High",
"start_line": 1607
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:handleToolInputDelta:1646",
"entity_name": "handleToolInputDelta",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1647,
"metrics": {
"cognitive_complexity": 17.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1648,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 1648,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 1652,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 1658,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 1660,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 1665,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 1665,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.1906746996551169,
"calculated_length": 166.4357103634239,
"difficulty": 11.203703703703704,
"effort": 6408.788516185874,
"length": 109.0,
"n1": 11.0,
"n2": 27.0,
"n_1": 54.0,
"n_2": 55.0,
"time": 356.0438064547708,
"vocabulary": 38.0,
"volume": 572.0240989653507
},
"lines_of_code": 29.0,
"maintainability_index": 81.5940657221559,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 18.0,
"technical_debt_score": 35.400000000000006
},
"recommendations": [],
"severity": "Moderate",
"start_line": 1647
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:normalizeToolInput:1677",
"entity_name": "normalizeToolInput",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1678,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1679,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.017297158093186486,
"calculated_length": 27.11941547876375,
"difficulty": 3.75,
"effort": 194.59302854834797,
"length": 15.0,
"n1": 5.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 9.0,
"time": 10.810723808241555,
"vocabulary": 11.0,
"volume": 51.89147427955946
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 1678
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:applyToolInput:1684",
"entity_name": "applyToolInput",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1685,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1687,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1692,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.09597302792201096,
"calculated_length": 93.48686830125577,
"difficulty": 7.529411764705882,
"effort": 2167.8613365913066,
"length": 62.0,
"n1": 8.0,
"n2": 17.0,
"n_1": 30.0,
"n_2": 32.0,
"time": 120.43674092173926,
"vocabulary": 25.0,
"volume": 287.9190837660329
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 8.0,
"technical_debt_score": 12.4
},
"recommendations": [],
"severity": "Low",
"start_line": 1685
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:isCommandTool:1698",
"entity_name": "isCommandTool",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1699,
"metrics": {
"cognitive_complexity": 16.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1701,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 1701,
"nesting_level": 2
},
{
"column": 9,
"kind": "LogicalOr",
"line": 1701,
"nesting_level": 2
},
{
"column": 9,
"kind": "LogicalOr",
"line": 1701,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 1704,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 1704,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.08558596668012824,
"calculated_length": 89.138352755659,
"difficulty": 5.970588235294118,
"effort": 1532.9956972999444,
"length": 56.0,
"n1": 7.0,
"n2": 17.0,
"n_1": 27.0,
"n_2": 29.0,
"time": 85.16642762777468,
"vocabulary": 24.0,
"volume": 256.75790004038475
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 6.0,
"technical_debt_score": 28.6
},
"recommendations": [],
"severity": "Moderate",
"start_line": 1699
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:extractCommandText:1709",
"entity_name": "extractCommandText",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1710,
"metrics": {
"cognitive_complexity": 15.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1712,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1712,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 1715,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1717,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 1721,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1721,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.11309574168445519,
"calculated_length": 89.138352755659,
"difficulty": 7.8235294117647065,
"effort": 2654.4235842410367,
"length": 74.0,
"n1": 7.0,
"n2": 17.0,
"n_1": 36.0,
"n_2": 38.0,
"time": 147.46797690227982,
"vocabulary": 24.0,
"volume": 339.28722505336555
},
"lines_of_code": 15.0,
"maintainability_index": 95.2199822371438,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 29.000000000000004
},
"recommendations": [],
"severity": "Moderate",
"start_line": 1710
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:anonymous_function_1715:1715",
"entity_name": "anonymous_function_1715",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1716,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004,
"calculated_length": 4.0,
"difficulty": 2.0,
"effort": 24.0,
"length": 6.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.3333333333333333,
"vocabulary": 4.0,
"volume": 12.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1716
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:extractFileChanges:1726",
"entity_name": "extractFileChanges",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [
{
"description": "Cognitive complexity of 28.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:extractFileChanges:1726",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:1727",
"metric_value": 28.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 1727,
"metrics": {
"cognitive_complexity": 28.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1728,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1728,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 1730,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 1734,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1734,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 1736,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 1743,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1746,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1746,
"nesting_level": 3
},
{
"column": 7,
"kind": "If",
"line": 1750,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.25,
"calculated_length": 132.57125000229212,
"difficulty": 15.26086956521739,
"effort": 11445.652173913042,
"length": 150.0,
"n1": 9.0,
"n2": 23.0,
"n_1": 72.0,
"n_2": 78.0,
"time": 635.8695652173913,
"vocabulary": 32.0,
"volume": 750.0
},
"lines_of_code": 28.0,
"maintainability_index": 80.06390626120385,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 16.0,
"technical_debt_score": 50.000000000000014
},
"recommendations": [],
"severity": "High",
"start_line": 1727
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:anonymous_function_1736:1736",
"entity_name": "anonymous_function_1736",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1737,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017,
"calculated_length": 16.0,
"difficulty": 5.0,
"effort": 255.0,
"length": 17.0,
"n1": 4.0,
"n2": 4.0,
"n_1": 7.0,
"n_2": 10.0,
"time": 14.166666666666666,
"vocabulary": 8.0,
"volume": 51.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 1737
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:detectFileKind:1756",
"entity_name": "detectFileKind",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1757,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 1758,
"nesting_level": 1
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 1759,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 1760,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.01792481250360578,
"calculated_length": 31.019550008653873,
"difficulty": 4.0,
"effort": 215.09775004326937,
"length": 15.0,
"n1": 6.0,
"n2": 6.0,
"n_1": 7.0,
"n_2": 8.0,
"time": 11.949875002403854,
"vocabulary": 12.0,
"volume": 53.77443751081734
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 15.600000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1757
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:relativizePath:1764",
"entity_name": "relativizePath",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1765,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1766,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1770,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1770,
"nesting_level": 2
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 1772,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.06442065553408849,
"calculated_length": 72.10571633583419,
"difficulty": 7.384615384615385,
"effort": 1427.1652918321142,
"length": 44.0,
"n1": 8.0,
"n2": 13.0,
"n_1": 20.0,
"n_2": 24.0,
"time": 79.28696065733968,
"vocabulary": 21.0,
"volume": 193.26196660226546
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 20.0
},
"recommendations": [],
"severity": "Low",
"start_line": 1765
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:parsePatchFileList:1776",
"entity_name": "parsePatchFileList",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1777,
"metrics": {
"cognitive_complexity": 17.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 1784,
"nesting_level": 1
},
{
"column": 14,
"kind": "If",
"line": 1787,
"nesting_level": 2
},
{
"column": 14,
"kind": "If",
"line": 1790,
"nesting_level": 3
},
{
"column": 7,
"kind": "If",
"line": 1794,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1794,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1794,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.2306168841117857,
"calculated_length": 177.62548782626678,
"difficulty": 15.42857142857143,
"effort": 10674.267207459798,
"length": 130.0,
"n1": 12.0,
"n2": 28.0,
"n_1": 58.0,
"n_2": 72.0,
"time": 593.0148448588776,
"vocabulary": 40.0,
"volume": 691.8506523353572
},
"lines_of_code": 23.0,
"maintainability_index": 84.59026911954527,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 19.0,
"technical_debt_score": 32.2
},
"recommendations": [],
"severity": "Moderate",
"start_line": 1777
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:hasToolLikeBlock:1802",
"entity_name": "hasToolLikeBlock",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1803,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 1804,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 1804,
"nesting_level": 1
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 1807,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05499965662986,
"calculated_length": 77.30296890880646,
"difficulty": 5.714285714285714,
"effort": 942.8512565118857,
"length": 37.0,
"n1": 8.0,
"n2": 14.0,
"n_1": 17.0,
"n_2": 20.0,
"time": 52.38062536177143,
"vocabulary": 22.0,
"volume": 164.99896988958
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 12.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 1803
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:normalizeHistoryBlocks:1810",
"entity_name": "normalizeHistoryBlocks",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1811,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 1812,
"nesting_level": 0
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 1814,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 1816,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05618506523353571,
"calculated_length": 67.75720079023742,
"difficulty": 6.192307692307692,
"effort": 1043.7456349152978,
"length": 39.0,
"n1": 7.0,
"n2": 13.0,
"n_1": 16.0,
"n_2": 23.0,
"time": 57.98586860640543,
"vocabulary": 20.0,
"volume": 168.55519570060713
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 13.0
},
"recommendations": [],
"severity": "Low",
"start_line": 1811
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:anonymous_function_1812:1812",
"entity_name": "anonymous_function_1812",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1813,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1813
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:convertClaudeHistoryEntry:1821",
"entity_name": "convertClaudeHistoryEntry",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1822,
"metrics": {
"cognitive_complexity": 18.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 1827,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 1827,
"nesting_level": 1
},
{
"column": 5,
"kind": "ConditionalExpression",
"line": 1834,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 1840,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 1842,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 1850,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 1850,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1852,
"nesting_level": 1
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 1854,
"nesting_level": 2
},
{
"column": 3,
"kind": "If",
"line": 1859,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 1859,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.22609436477925407,
"calculated_length": 201.50306161549236,
"difficulty": 9.661764705882353,
"effort": 6553.411661469262,
"length": 125.0,
"n1": 9.0,
"n2": 34.0,
"n_1": 52.0,
"n_2": 73.0,
"time": 364.0784256371812,
"vocabulary": 43.0,
"volume": 678.2830943377622
},
"lines_of_code": 42.0,
"maintainability_index": 73.78801551467404,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 21.0,
"technical_debt_score": 46.800000000000004
},
"recommendations": [],
"severity": "Moderate",
"start_line": 1822
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:anonymous_function_1836:1836",
"entity_name": "anonymous_function_1836",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1837,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1837
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:anonymous_function_1852:1852",
"entity_name": "anonymous_function_1852",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1853,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1853
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:push:1870",
"entity_name": "push",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1871,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1872,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1875,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05648613383607243,
"calculated_length": 76.63504134881501,
"difficulty": 6.230769230769231,
"effort": 1055.8561940127386,
"length": 38.0,
"n1": 9.0,
"n2": 13.0,
"n_1": 20.0,
"n_2": 18.0,
"time": 58.65867744515214,
"vocabulary": 22.0,
"volume": 169.4584015082173
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 11.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1871
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:end:1882",
"entity_name": "end",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1883,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "While",
"line": 1885,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03752932501298081,
"calculated_length": 57.219280948873624,
"difficulty": 5.2,
"effort": 585.4574702025006,
"length": 27.0,
"n1": 8.0,
"n2": 10.0,
"n_1": 14.0,
"n_2": 13.0,
"time": 32.52541501125003,
"vocabulary": 18.0,
"volume": 112.58797503894243
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1883
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:[Symbol.asyncIterator]:1890",
"entity_name": "[Symbol.asyncIterator]",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1891,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1894,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 1896,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 1900,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10333333333333333,
"calculated_length": 134.03910001730776,
"difficulty": 5.666666666666667,
"effort": 1756.6666666666667,
"length": 62.0,
"n1": 8.0,
"n2": 24.0,
"n_1": 28.0,
"n_2": 34.0,
"time": 97.5925925925926,
"vocabulary": 32.0,
"volume": 310.0
},
"lines_of_code": 17.0,
"maintainability_index": 94.3517678793975,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 17.0
},
"recommendations": [],
"severity": "Low",
"start_line": 1891
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:anonymous_function_1892:1892",
"entity_name": "anonymous_function_1892",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1893,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1894,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 1896,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 1900,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08558797503894243,
"calculated_length": 104.71062275542812,
"difficulty": 5.894736842105263,
"effort": 1513.5557691097188,
"length": 54.0,
"n1": 8.0,
"n2": 19.0,
"n_1": 26.0,
"n_2": 28.0,
"time": 84.0864316172066,
"vocabulary": 27.0,
"volume": 256.7639251168273
},
"lines_of_code": 13.0,
"maintainability_index": 99.67740357528322,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 16.2
},
"recommendations": [],
"severity": "Low",
"start_line": 1893
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:anonymous_function_1902:1902",
"entity_name": "anonymous_function_1902",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1903,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 9.509775004326936,
"difficulty": 2.0,
"effort": 41.3594000115385,
"length": 8.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 2.2977444450854723,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1903
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:pathExists:1915",
"entity_name": "pathExists",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1916,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 1917,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 1920,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.020305892917640556,
"calculated_length": 39.302968908806456,
"difficulty": 4.0,
"effort": 243.67071501168667,
"length": 16.0,
"n1": 7.0,
"n2": 7.0,
"n_1": 8.0,
"n_2": 8.0,
"time": 13.537261945093704,
"vocabulary": 14.0,
"volume": 60.91767875292167
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 9.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 1916
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:collectRecentClaudeSessions:1924",
"entity_name": "collectRecentClaudeSessions",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1925,
"metrics": {
"cognitive_complexity": 14.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 1927,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 1929,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 1936,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 1938,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1941,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 1945,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 1947,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1951,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 1955,
"nesting_level": 0
},
{
"column": 9,
"kind": "Catch",
"line": 1958,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.2438766958648238,
"calculated_length": 226.276705511318,
"difficulty": 14.0,
"effort": 10242.8212263226,
"length": 131.0,
"n1": 14.0,
"n2": 34.0,
"n_1": 63.0,
"n_2": 68.0,
"time": 569.0456236845889,
"vocabulary": 48.0,
"volume": 731.6300875944714
},
"lines_of_code": 41.0,
"maintainability_index": 74.01470230403069,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 25.0,
"technical_debt_score": 41.400000000000006
},
"recommendations": [],
"severity": "Moderate",
"start_line": 1925
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:anonymous_function_1963:1963",
"entity_name": "anonymous_function_1963",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 1964,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01403677461028802,
"calculated_length": 12.754887502163468,
"difficulty": 3.0,
"effort": 126.33097149259218,
"length": 15.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 7.0,
"n_2": 8.0,
"time": 7.01838730514401,
"vocabulary": 7.0,
"volume": 42.11032383086406
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1964
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:parseClaudeSessionDescriptor:1967",
"entity_name": "parseClaudeSessionDescriptor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [
{
"description": "Cyclomatic complexity of 24.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:parseClaudeSessionDescriptor:1967",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:1968",
"metric_value": 24.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 39.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:parseClaudeSessionDescriptor:1967",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:1968",
"metric_value": 39.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 1968,
"metrics": {
"cognitive_complexity": 39.0,
"cyclomatic_complexity": 24.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 1973,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 1975,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1986,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 1988,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 1990,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1993,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 1996,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1996,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1999,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1999,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 2002,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 2002,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 2004,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 2005,
"nesting_level": 2
},
{
"column": 12,
"kind": "If",
"line": 2010,
"nesting_level": 1
},
{
"column": 16,
"kind": "LogicalAnd",
"line": 2010,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 2012,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 2016,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 2016,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 2016,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 2021,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 2021,
"nesting_level": 1
},
{
"column": 12,
"kind": "LogicalOr",
"line": 2039,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.45356694325392755,
"calculated_length": 374.7639251168273,
"difficulty": 18.22222222222222,
"effort": 24794.992897881373,
"length": 222.0,
"n1": 16.0,
"n2": 54.0,
"n_1": 99.0,
"n_2": 123.0,
"time": 1377.4996054378541,
"vocabulary": 70.0,
"volume": 1360.7008297617826
},
"lines_of_code": 76.0,
"maintainability_index": 57.800193044952536,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 38.0,
"technical_debt_score": 86.4
},
"recommendations": [],
"severity": "High",
"start_line": 1968
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts:extractClaudeUserText:2045",
"entity_name": "extractClaudeUserText",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-agent.ts",
"issues": [],
"line_number": 2046,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 2047,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 2050,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 2053,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 2056,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 2058,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 2058,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.10336623616046058,
"calculated_length": 62.05374780501027,
"difficulty": 12.0,
"effort": 3721.184501776581,
"length": 73.0,
"n1": 8.0,
"n2": 11.0,
"n_1": 40.0,
"n_2": 33.0,
"time": 206.73247232092115,
"vocabulary": 19.0,
"volume": 310.0987084813817
},
"lines_of_code": 18.0,
"maintainability_index": 92.73414608357099,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 11.0,
"technical_debt_score": 24.799999999999997
},
"recommendations": [],
"severity": "Low",
"start_line": 2046
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts:push:18",
"entity_name": "push",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts",
"issues": [],
"line_number": 19,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 20,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 21,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05270780907334513,
"calculated_length": 71.54887502163469,
"difficulty": 6.0,
"effort": 948.7405633202122,
"length": 36.0,
"n1": 9.0,
"n2": 12.0,
"n_1": 20.0,
"n_2": 16.0,
"time": 52.707809073345125,
"vocabulary": 21.0,
"volume": 158.12342722003538
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.6
},
"recommendations": [],
"severity": "Low",
"start_line": 19
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts:end:27",
"entity_name": "end",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts",
"issues": [],
"line_number": 28,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "While",
"line": 30,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.034062190343752824,
"calculated_length": 52.529325012980806,
"difficulty": 4.888888888888889,
"effort": 499.5787917083748,
"length": 25.0,
"n1": 8.0,
"n2": 9.0,
"n_1": 14.0,
"n_2": 11.0,
"time": 27.754377317131933,
"vocabulary": 17.0,
"volume": 102.18657103125848
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 28
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts:[Symbol.asyncIterator]:34",
"entity_name": "[Symbol.asyncIterator]",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts",
"issues": [],
"line_number": 35,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 38,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 41,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08995966091948951,
"calculated_length": 122.10749561002054,
"difficulty": 5.454545454545454,
"effort": 1472.0671786825553,
"length": 55.0,
"n1": 8.0,
"n2": 22.0,
"n_1": 25.0,
"n_2": 30.0,
"time": 81.78150992680862,
"vocabulary": 30.0,
"volume": 269.8789827584685
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 11.6
},
"recommendations": [],
"severity": "Low",
"start_line": 35
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts:anonymous_function_36:36",
"entity_name": "anonymous_function_36",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts",
"issues": [],
"line_number": 37,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 38,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 41,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07275374697313734,
"calculated_length": 93.48686830125577,
"difficulty": 5.647058823529412,
"effort": 1232.5340663684447,
"length": 47.0,
"n1": 8.0,
"n2": 17.0,
"n_1": 23.0,
"n_2": 24.0,
"time": 68.47411479824693,
"vocabulary": 25.0,
"volume": 218.26124091941205
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 37
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts:anonymous_function_43:43",
"entity_name": "anonymous_function_43",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts",
"issues": [],
"line_number": 44,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005417832221403845,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 21.67132888561538,
"length": 7.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 4.0,
"time": 1.2039627158675212,
"vocabulary": 5.0,
"volume": 16.253496664211536
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 44
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts:tmpCwd:49",
"entity_name": "tmpCwd",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts",
"issues": [],
"line_number": 50,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 52,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 54,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.02343611821489358,
"calculated_length": 35.60964047443681,
"difficulty": 3.125,
"effort": 219.71360826462734,
"length": 19.0,
"n1": 5.0,
"n2": 8.0,
"n_1": 9.0,
"n_2": 10.0,
"time": 12.206311570257075,
"vocabulary": 13.0,
"volume": 70.30835464468075
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 9.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 50
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts:anonymous_function_58:58",
"entity_name": "anonymous_function_58",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts",
"issues": [
{
"description": "Cognitive complexity of 29.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts:anonymous_function_58:58",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts:59",
"metric_value": 29.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 59,
"metrics": {
"cognitive_complexity": 29.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 79,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 93,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 104,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 114,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 122,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 122,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 122,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 124,
"nesting_level": 2
},
{
"column": 15,
"kind": "If",
"line": 126,
"nesting_level": 3
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 126,
"nesting_level": 4
},
{
"column": 14,
"kind": "LogicalOr",
"line": 136,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.43328771912160124,
"calculated_length": 402.5191520723453,
"difficulty": 13.866666666666667,
"effort": 18024.769115458614,
"length": 210.0,
"n1": 13.0,
"n2": 60.0,
"n_1": 82.0,
"n_2": 128.0,
"time": 1001.376061969923,
"vocabulary": 73.0,
"volume": 1299.8631573648038
},
"lines_of_code": 83.0,
"maintainability_index": 59.37070792710895,
"max_nesting_depth": 4.0,
"parameter_count": 0.0,
"statement_count": 32.0,
"technical_debt_score": 63.800000000000004
},
"recommendations": [],
"severity": "High",
"start_line": 59
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts:anonymous_function_59:59",
"entity_name": "anonymous_function_59",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts",
"issues": [
{
"description": "Cognitive complexity of 29.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts:anonymous_function_59:59",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts:60",
"metric_value": 29.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 60,
"metrics": {
"cognitive_complexity": 29.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 79,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 93,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 104,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 114,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 122,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 122,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 122,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 124,
"nesting_level": 2
},
{
"column": 15,
"kind": "If",
"line": 126,
"nesting_level": 3
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 126,
"nesting_level": 4
},
{
"column": 14,
"kind": "LogicalOr",
"line": 136,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.4188343394912394,
"calculated_length": 380.58044714322443,
"difficulty": 14.25438596491228,
"effort": 17910.678991401684,
"length": 205.0,
"n1": 13.0,
"n2": 57.0,
"n_1": 80.0,
"n_2": 125.0,
"time": 995.037721744538,
"vocabulary": 70.0,
"volume": 1256.5030184737182
},
"lines_of_code": 81.0,
"maintainability_index": 59.94226734611371,
"max_nesting_depth": 4.0,
"parameter_count": 0.0,
"statement_count": 31.0,
"technical_debt_score": 63.4
},
"recommendations": [],
"severity": "High",
"start_line": 60
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts:anonymous_function_133:133",
"entity_name": "anonymous_function_133",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/claude-sdk-behavior.test.ts",
"issues": [],
"line_number": 134,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 134
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts:isCodexAvailable:7",
"entity_name": "isCodexAvailable",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts",
"issues": [],
"line_number": 8,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 9,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 12,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.01726871868465843,
"calculated_length": 35.60964047443681,
"difficulty": 2.5,
"effort": 129.51539013493823,
"length": 14.0,
"n1": 5.0,
"n2": 8.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 7.195299451941013,
"vocabulary": 13.0,
"volume": 51.80615605397529
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 9.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 8
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts:run:16",
"entity_name": "run",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts",
"issues": [],
"line_number": 17,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.21107437636375023,
"calculated_length": 235.16940719366838,
"difficulty": 5.634146341463414,
"effort": 3567.6717760994857,
"length": 114.0,
"n1": 6.0,
"n2": 41.0,
"n_1": 37.0,
"n_2": 77.0,
"time": 198.20398756108253,
"vocabulary": 47.0,
"volume": 633.2231290912507
},
"lines_of_code": 27.0,
"maintainability_index": 83.83316392656303,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 10.0,
"technical_debt_score": 7.400000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 17
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts:anonymous_function_21:21",
"entity_name": "anonymous_function_21",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts",
"issues": [],
"line_number": 22,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.17318160794363832,
"calculated_length": 180.97373660251154,
"difficulty": 3.764705882352941,
"effort": 1955.9334544222681,
"length": 99.0,
"n1": 4.0,
"n2": 34.0,
"n_1": 35.0,
"n_2": 64.0,
"time": 108.662969690126,
"vocabulary": 38.0,
"volume": 519.544823830915
},
"lines_of_code": 21.0,
"maintainability_index": 88.93338044370904,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 22
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts:anonymous_function_30:30",
"entity_name": "anonymous_function_30",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts",
"issues": [],
"line_number": 31,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts:anonymous_function_31:31",
"entity_name": "anonymous_function_31",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts",
"issues": [],
"line_number": 32,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 32
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts:anonymous_function_33:33",
"entity_name": "anonymous_function_33",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts",
"issues": [],
"line_number": 34,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts:anonymous_function_34:34",
"entity_name": "anonymous_function_34",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts",
"issues": [],
"line_number": 35,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04447920001538466,
"calculated_length": 61.302968908806456,
"difficulty": 2.7142857142857144,
"effort": 362.1877715538466,
"length": 32.0,
"n1": 4.0,
"n2": 14.0,
"n_1": 13.0,
"n_2": 19.0,
"time": 20.121542864102587,
"vocabulary": 18.0,
"volume": 133.437600046154
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 35
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts:anonymous_function_45:45",
"entity_name": "anonymous_function_45",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts",
"issues": [],
"line_number": 46,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 48,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 51,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 84,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.24170527509086567,
"calculated_length": 273.4342721689147,
"difficulty": 8.181818181818182,
"effort": 5932.76584313943,
"length": 126.0,
"n1": 10.0,
"n2": 44.0,
"n_1": 54.0,
"n_2": 72.0,
"time": 329.598102396635,
"vocabulary": 54.0,
"volume": 725.115825272597
},
"lines_of_code": 46.0,
"maintainability_index": 73.80708609120218,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 16.0,
"technical_debt_score": 19.6
},
"recommendations": [],
"severity": "Low",
"start_line": 46
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts:anonymous_function_46:46",
"entity_name": "anonymous_function_46",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-cli-full-access-ipc.test.ts",
"issues": [],
"line_number": 47,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 48,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 51,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 84,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.22575424759098897,
"calculated_length": 246.09640474436813,
"difficulty": 8.5,
"effort": 5756.733313570219,
"length": 120.0,
"n1": 10.0,
"n2": 40.0,
"n_1": 52.0,
"n_2": 68.0,
"time": 319.81851742056773,
"vocabulary": 50.0,
"volume": 677.2627427729669
},
"lines_of_code": 44.0,
"maintainability_index": 74.88221959001297,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 15.0,
"technical_debt_score": 19.2
},
"recommendations": [],
"severity": "Low",
"start_line": 47
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent-commands.e2e.test.ts:tmpDir:10",
"entity_name": "tmpDir",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent-commands.e2e.test.ts",
"issues": [],
"line_number": 11,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 66.56842503028855,
"length": 12.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 3.6982458350160305,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 11
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent-commands.e2e.test.ts:anonymous_function_14:14",
"entity_name": "anonymous_function_14",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent-commands.e2e.test.ts",
"issues": [],
"line_number": 15,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 72,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 83,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 83,
"nesting_level": 1
}
],
"halstead": {
"bugs": 1.1064209338805815,
"calculated_length": 739.8652806953273,
"difficulty": 15.923076923076923,
"effort": 52852.87691844932,
"length": 484.0,
"n1": 12.0,
"n2": 104.0,
"n_1": 208.0,
"n_2": 276.0,
"time": 2936.270939913851,
"vocabulary": 116.0,
"volume": 3319.2628016417448
},
"lines_of_code": 106.0,
"maintainability_index": 52.373297129693185,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 54.0,
"technical_debt_score": 31.200000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 15
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent-commands.e2e.test.ts:anonymous_function_17:17",
"entity_name": "anonymous_function_17",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent-commands.e2e.test.ts",
"issues": [],
"line_number": 18,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 18
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent-commands.e2e.test.ts:anonymous_function_21:21",
"entity_name": "anonymous_function_21",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent-commands.e2e.test.ts",
"issues": [],
"line_number": 22,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 22
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent-commands.e2e.test.ts:anonymous_function_25:25",
"entity_name": "anonymous_function_25",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent-commands.e2e.test.ts",
"issues": [],
"line_number": 26,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 72,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.5933715204310211,
"calculated_length": 474.6857932898427,
"difficulty": 12.471830985915494,
"effort": 22201.287944014195,
"length": 280.0,
"n1": 11.0,
"n2": 71.0,
"n_1": 119.0,
"n_2": 161.0,
"time": 1233.4048857785665,
"vocabulary": 82.0,
"volume": 1780.1145612930634
},
"lines_of_code": 52.0,
"maintainability_index": 67.61080015122195,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 29.0,
"technical_debt_score": 15.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 26
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent-commands.e2e.test.ts:anonymous_function_67:67",
"entity_name": "anonymous_function_67",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent-commands.e2e.test.ts",
"issues": [],
"line_number": 68,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 68
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent-commands.e2e.test.ts:anonymous_function_79:79",
"entity_name": "anonymous_function_79",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent-commands.e2e.test.ts",
"issues": [],
"line_number": 80,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 83,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 83,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.2579342226749053,
"calculated_length": 317.82301745352703,
"difficulty": 6.970588235294118,
"effort": 5393.859774172284,
"length": 131.0,
"n1": 9.0,
"n2": 51.0,
"n_1": 52.0,
"n_2": 79.0,
"time": 299.6588763429047,
"vocabulary": 60.0,
"volume": 773.8026680247159
},
"lines_of_code": 32.0,
"maintainability_index": 79.57823054554324,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 13.0,
"technical_debt_score": 14.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 80
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent-commands.e2e.test.ts:anonymous_function_113:113",
"entity_name": "anonymous_function_113",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent-commands.e2e.test.ts",
"issues": [],
"line_number": 114,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04933333333333333,
"calculated_length": 51.01955000865387,
"difficulty": 3.0,
"effort": 444.0,
"length": 37.0,
"n1": 4.0,
"n2": 12.0,
"n_1": 19.0,
"n_2": 18.0,
"time": 24.666666666666668,
"vocabulary": 16.0,
"volume": 148.0
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 114
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.commands.test.ts:anonymous_function_4:4",
"entity_name": "anonymous_function_4",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.commands.test.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.25224266265993694,
"calculated_length": 234.47733175670794,
"difficulty": 3.7142857142857144,
"effort": 2810.703955353583,
"length": 137.0,
"n1": 4.0,
"n2": 42.0,
"n_1": 59.0,
"n_2": 78.0,
"time": 156.15021974186573,
"vocabulary": 46.0,
"volume": 756.7279879798108
},
"lines_of_code": 33.0,
"maintainability_index": 79.65575743272832,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 18.0,
"technical_debt_score": 8.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.commands.test.ts:anonymous_function_5:5",
"entity_name": "anonymous_function_5",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.commands.test.ts",
"issues": [],
"line_number": 6,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.07947268334583336,
"calculated_length": 94.43856189774725,
"difficulty": 3.1,
"effort": 739.0959551162504,
"length": 52.0,
"n1": 4.0,
"n2": 20.0,
"n_1": 21.0,
"n_2": 31.0,
"time": 41.06088639534724,
"vocabulary": 24.0,
"volume": 238.4180500375001
},
"lines_of_code": 15.0,
"maintainability_index": 98.43465338518209,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 5.0
},
"recommendations": [],
"severity": "Low",
"start_line": 6
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.commands.test.ts:anonymous_function_22:22",
"entity_name": "anonymous_function_22",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.commands.test.ts",
"issues": [],
"line_number": 23,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.07766179398375644,
"calculated_length": 58.057856410969926,
"difficulty": 3.3214285714285716,
"effort": 773.8443043381445,
"length": 57.0,
"n1": 3.0,
"n2": 14.0,
"n_1": 26.0,
"n_2": 31.0,
"time": 42.99135024100803,
"vocabulary": 17.0,
"volume": 232.98538195126932
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 23
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.commands.test.ts:anonymous_function_33:33",
"entity_name": "anonymous_function_33",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.commands.test.ts",
"issues": [],
"line_number": 34,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.019119800003846166,
"calculated_length": 33.284212515144276,
"difficulty": 1.6666666666666667,
"effort": 95.59900001923083,
"length": 16.0,
"n1": 3.0,
"n2": 9.0,
"n_1": 6.0,
"n_2": 10.0,
"time": 5.311055556623935,
"vocabulary": 12.0,
"volume": 57.3594000115385
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.paseo-instructions.test.ts:anonymous_function_8:8",
"entity_name": "anonymous_function_8",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.paseo-instructions.test.ts",
"issues": [],
"line_number": 9,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.2367540454552789,
"calculated_length": 279.6878405090523,
"difficulty": 4.010416666666667,
"effort": 2848.447109383824,
"length": 124.0,
"n1": 5.0,
"n2": 48.0,
"n_1": 47.0,
"n_2": 77.0,
"time": 158.24706163243468,
"vocabulary": 53.0,
"volume": 710.2621363658367
},
"lines_of_code": 37.0,
"maintainability_index": 78.13183245333161,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 13.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 9
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.paseo-instructions.test.ts:anonymous_function_9:9",
"entity_name": "anonymous_function_9",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.paseo-instructions.test.ts",
"issues": [],
"line_number": 10,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.2268970136788598,
"calculated_length": 265.6934904530594,
"difficulty": 4.076086956521739,
"effort": 2774.5558737904057,
"length": 120.0,
"n1": 5.0,
"n2": 46.0,
"n_1": 45.0,
"n_2": 75.0,
"time": 154.14199298835587,
"vocabulary": 51.0,
"volume": 680.6910410365795
},
"lines_of_code": 35.0,
"maintainability_index": 79.25319710522966,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 9.0
},
"recommendations": [],
"severity": "Low",
"start_line": 10
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.resume-errors.test.ts:anonymous_function_4:4",
"entity_name": "anonymous_function_4",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.resume-errors.test.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.06243204266092216,
"calculated_length": 83.05865002596161,
"difficulty": 2.7777777777777777,
"effort": 520.2670221743513,
"length": 42.0,
"n1": 4.0,
"n2": 18.0,
"n_1": 17.0,
"n_2": 25.0,
"time": 28.903723454130628,
"vocabulary": 22.0,
"volume": 187.29612798276648
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 4.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.resume-errors.test.ts:anonymous_function_5:5",
"entity_name": "anonymous_function_5",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.resume-errors.test.ts",
"issues": [],
"line_number": 6,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.019119800003846166,
"calculated_length": 32.0,
"difficulty": 2.25,
"effort": 129.0586500259616,
"length": 16.0,
"n1": 4.0,
"n2": 8.0,
"n_1": 7.0,
"n_2": 9.0,
"time": 7.169925001442312,
"vocabulary": 12.0,
"volume": 57.3594000115385
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 6
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.resume-errors.test.ts:anonymous_function_12:12",
"entity_name": "anonymous_function_12",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.resume-errors.test.ts",
"issues": [],
"line_number": 13,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.022844129532345624,
"calculated_length": 42.80863530717374,
"difficulty": 1.6363636363636362,
"effort": 112.14390861333305,
"length": 18.0,
"n1": 3.0,
"n2": 11.0,
"n_1": 6.0,
"n_2": 12.0,
"time": 6.230217145185169,
"vocabulary": 14.0,
"volume": 68.53238859703687
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 13
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:tmpCwd:23",
"entity_name": "tmpCwd",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 24,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014395021744511903,
"calculated_length": 24.406371956566694,
"difficulty": 1.5,
"effort": 64.77759785030356,
"length": 13.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 7.0,
"time": 3.5987554361279757,
"vocabulary": 10.0,
"volume": 43.18506523353571
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 24
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:useTempCodexSessionDir:27",
"entity_name": "useTempCodexSessionDir",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 28,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 32,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 37,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.072,
"calculated_length": 48.18080946738404,
"difficulty": 16.071428571428573,
"effort": 3471.4285714285716,
"length": 54.0,
"n1": 9.0,
"n2": 7.0,
"n_1": 29.0,
"n_2": 25.0,
"time": 192.85714285714286,
"vocabulary": 16.0,
"volume": 216.0
},
"lines_of_code": 15.0,
"maintainability_index": 98.48813902218654,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 10.6
},
"recommendations": [],
"severity": "Low",
"start_line": 28
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_30:30",
"entity_name": "anonymous_function_30",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 31,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 32,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 37,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05076473229410139,
"calculated_length": 39.50977500432694,
"difficulty": 10.666666666666666,
"effort": 1624.4714334112443,
"length": 40.0,
"n1": 8.0,
"n2": 6.0,
"n_1": 24.0,
"n_2": 16.0,
"time": 90.24841296729136,
"vocabulary": 14.0,
"volume": 152.29419688230416
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 9.8
},
"recommendations": [],
"severity": "Low",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:listProcesses:44",
"entity_name": "listProcesses",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 45,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 46,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 54,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05428274347268416,
"calculated_length": 84.99664330558271,
"difficulty": 3.7058823529411766,
"effort": 603.4963833139592,
"length": 36.0,
"n1": 6.0,
"n2": 17.0,
"n_1": 15.0,
"n_2": 21.0,
"time": 33.52757685077551,
"vocabulary": 23.0,
"volume": 162.84823041805248
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 10.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 45
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_51:51",
"entity_name": "anonymous_function_51",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 52,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.0,
"difficulty": 1.5,
"effort": 15.0,
"length": 5.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.8333333333333334,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 52
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_52:52",
"entity_name": "anonymous_function_52",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 53,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 53
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:isProcessRunning:58",
"entity_name": "isProcessRunning",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 59,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014792983340064124,
"calculated_length": 20.264662506490403,
"difficulty": 2.0,
"effort": 88.75790004038474,
"length": 14.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 4.930994446688041,
"vocabulary": 9.0,
"volume": 44.37895002019237
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 59
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_59:59",
"entity_name": "anonymous_function_59",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 60,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 60
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:waitForProcessExit:62",
"entity_name": "waitForProcessExit",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 63,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "While",
"line": 65,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 66,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.06266115417652246,
"calculated_length": 86.15946414084446,
"difficulty": 8.884615384615385,
"effort": 1670.160763243464,
"length": 41.0,
"n1": 11.0,
"n2": 13.0,
"n_1": 20.0,
"n_2": 21.0,
"time": 92.78670906908134,
"vocabulary": 24.0,
"volume": 187.9834625295674
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 6.0,
"technical_debt_score": 10.2
},
"recommendations": [],
"severity": "Low",
"start_line": 63
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_68:68",
"entity_name": "anonymous_function_68",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 69,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 69
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:writeTestMcpServerScript:73",
"entity_name": "writeTestMcpServerScript",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 74,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 23,
"kind": "ConditionalExpression",
"line": 77,
"nesting_level": 0
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 80,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.15995095207418225,
"calculated_length": 293.802449963173,
"difficulty": 3.4499999999999997,
"effort": 1655.4923539677864,
"length": 83.0,
"n1": 5.0,
"n2": 50.0,
"n_1": 14.0,
"n_2": 69.0,
"time": 91.9717974426548,
"vocabulary": 55.0,
"volume": 479.8528562225468
},
"lines_of_code": 55.0,
"maintainability_index": 73.28910896091173,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 18.6
},
"recommendations": [],
"severity": "Low",
"start_line": 74
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:loadCodexMcpAgentClient:130",
"entity_name": "loadCodexMcpAgentClient",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 131,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 132,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 134,
"nesting_level": 1
},
{
"column": 21,
"kind": "ConditionalExpression",
"line": 135,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.036139350012500036,
"calculated_length": 57.219280948873624,
"difficulty": 8.75,
"effort": 948.6579378281259,
"length": 26.0,
"n1": 10.0,
"n2": 8.0,
"n_1": 12.0,
"n_2": 14.0,
"time": 52.70321876822922,
"vocabulary": 18.0,
"volume": 108.41805003750011
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 13.8
},
"recommendations": [],
"severity": "Low",
"start_line": 131
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:providerFromEvent:141",
"entity_name": "providerFromEvent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 142,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 13.60964047443681,
"difficulty": 1.2,
"effort": 26.950607251753,
"length": 8.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 2.0,
"n_2": 6.0,
"time": 1.4972559584307221,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 142
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:resolveNodeModulesPath:145",
"entity_name": "resolveNodeModulesPath",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 146,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 153,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06393885002211545,
"calculated_length": 58.529325012980806,
"difficulty": 7.0,
"effort": 1342.7158504644246,
"length": 46.0,
"n1": 6.0,
"n2": 12.0,
"n_1": 18.0,
"n_2": 28.0,
"time": 74.59532502580137,
"vocabulary": 18.0,
"volume": 191.81655006634637
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 146
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:resolveExclusiveValue:159",
"entity_name": "resolveExclusiveValue",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 160,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 165,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 168,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.09614709844115209,
"calculated_length": 109.23994776840892,
"difficulty": 8.763157894736842,
"effort": 2527.6566142818665,
"length": 60.0,
"n1": 9.0,
"n2": 19.0,
"n_1": 23.0,
"n_2": 37.0,
"time": 140.4253674601037,
"vocabulary": 28.0,
"volume": 288.44129532345625
},
"lines_of_code": 13.0,
"maintainability_index": 99.30246417841522,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 7.0,
"technical_debt_score": 10.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 160
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_163:163",
"entity_name": "anonymous_function_163",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 164,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.0,
"difficulty": 1.5,
"effort": 15.0,
"length": 5.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.8333333333333334,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 164
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_168:168",
"entity_name": "anonymous_function_168",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 169,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 169
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:extractExitCode:193",
"entity_name": "extractExitCode",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 194,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 196,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 203,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 207,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.12659367961418355,
"calculated_length": 111.8901503327572,
"difficulty": 8.0,
"effort": 3038.2483107404055,
"length": 79.0,
"n1": 7.0,
"n2": 21.0,
"n_1": 31.0,
"n_2": 48.0,
"time": 168.79157281891142,
"vocabulary": 28.0,
"volume": 379.7810388425507
},
"lines_of_code": 20.0,
"maintainability_index": 90.6632438284439,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 14.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 194
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:commandTextFromInput:215",
"entity_name": "commandTextFromInput",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 216,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 218,
"nesting_level": 0
},
{
"column": 10,
"kind": "ConditionalExpression",
"line": 222,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05351317942364757,
"calculated_length": 77.30296890880646,
"difficulty": 6.0,
"effort": 963.2372296256563,
"length": 36.0,
"n1": 8.0,
"n2": 14.0,
"n_1": 15.0,
"n_2": 21.0,
"time": 53.51317942364757,
"vocabulary": 22.0,
"volume": 160.5395382709427
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 9.0
},
"recommendations": [],
"severity": "Low",
"start_line": 216
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:commandOutputText:224",
"entity_name": "commandOutputText",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 225,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 226,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 237,
"nesting_level": 0
},
{
"column": 10,
"kind": "ConditionalExpression",
"line": 245,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.14965035887430078,
"calculated_length": 140.0964047443681,
"difficulty": 8.32,
"effort": 3735.272957502548,
"length": 89.0,
"n1": 8.0,
"n2": 25.0,
"n_1": 37.0,
"n_2": 52.0,
"time": 207.5151643056971,
"vocabulary": 33.0,
"volume": 448.95107662290235
},
"lines_of_code": 21.0,
"maintainability_index": 89.00278411939547,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 14.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 225
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:stringifyUnknown:247",
"entity_name": "stringifyUnknown",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 248,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 249,
"nesting_level": 0
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 251,
"nesting_level": 1
},
{
"column": 5,
"kind": "Catch",
"line": 252,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.026045937304056792,
"calculated_length": 43.65148445440323,
"difficulty": 6.285714285714286,
"effort": 491.1519605907852,
"length": 20.0,
"n1": 8.0,
"n2": 7.0,
"n_1": 9.0,
"n_2": 11.0,
"time": 27.2862200328214,
"vocabulary": 15.0,
"volume": 78.13781191217038
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 13.400000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 248
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:isSleepCommandToolCall:256",
"entity_name": "isSleepCommandToolCall",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 257,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 259,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.032,
"calculated_length": 48.72905595320056,
"difficulty": 3.9000000000000004,
"effort": 374.40000000000003,
"length": 24.0,
"n1": 6.0,
"n2": 10.0,
"n_1": 11.0,
"n_2": 13.0,
"time": 20.8,
"vocabulary": 16.0,
"volume": 96.0
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 257
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:getProviderItemType:274",
"entity_name": "getProviderItemType",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 275,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 277,
"nesting_level": 0
},
{
"column": 10,
"kind": "ConditionalExpression",
"line": 280,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04087462841250339,
"calculated_length": 52.87076540327685,
"difficulty": 5.6000000000000005,
"effort": 686.693757330057,
"length": 30.0,
"n1": 7.0,
"n2": 10.0,
"n_1": 14.0,
"n_2": 16.0,
"time": 38.14965318500317,
"vocabulary": 17.0,
"volume": 122.62388523751017
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 8.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 275
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:normalizeToolName:313",
"entity_name": "normalizeToolName",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 314,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 315,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 319,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08304110168715928,
"calculated_length": 99.05865002596161,
"difficulty": 6.666666666666667,
"effort": 1660.8220337431858,
"length": 53.0,
"n1": 8.0,
"n2": 18.0,
"n_1": 23.0,
"n_2": 30.0,
"time": 92.26789076351032,
"vocabulary": 26.0,
"volume": 249.12330506147785
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 9.8
},
"recommendations": [],
"severity": "Low",
"start_line": 314
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_317:317",
"entity_name": "anonymous_function_317",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 318,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 318
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:resolveRawResponseItemType:326",
"entity_name": "resolveRawResponseItemType",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 327,
"metrics": {
"cognitive_complexity": 19.0,
"cyclomatic_complexity": 14.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 330,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 337,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 339,
"nesting_level": 2
},
{
"column": 3,
"kind": "If",
"line": 344,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 348,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 352,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 352,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 357,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 360,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 360,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 363,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 363,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 366,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.3002213025993556,
"calculated_length": 212.74418654194744,
"difficulty": 11.714285714285715,
"effort": 10550.63434849164,
"length": 164.0,
"n1": 10.0,
"n2": 35.0,
"n_1": 82.0,
"n_2": 82.0,
"time": 586.14635269398,
"vocabulary": 45.0,
"volume": 900.6639077980667
},
"lines_of_code": 43.0,
"maintainability_index": 71.47227085888903,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 28.0,
"technical_debt_score": 51.800000000000004
},
"recommendations": [],
"severity": "Moderate",
"start_line": 327
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:parseProviderEvent:371",
"entity_name": "parseProviderEvent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 372,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 374,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 378,
"nesting_level": 0
},
{
"column": 15,
"kind": "ConditionalExpression",
"line": 386,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07878329192925893,
"calculated_length": 78.25484338853101,
"difficulty": 7.700000000000001,
"effort": 1819.8940435658812,
"length": 53.0,
"n1": 7.0,
"n2": 15.0,
"n_1": 20.0,
"n_2": 33.0,
"time": 101.10522464254896,
"vocabulary": 22.0,
"volume": 236.34987578777677
},
"lines_of_code": 16.0,
"maintainability_index": 96.74443389489876,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 13.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 372
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:getConversationIdFromMetadata:395",
"entity_name": "getConversationIdFromMetadata",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 396,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 398,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02865053103446247,
"calculated_length": 44.039100017307746,
"difficulty": 4.0,
"effort": 343.80637241354964,
"length": 22.0,
"n1": 6.0,
"n2": 9.0,
"n_1": 10.0,
"n_2": 12.0,
"time": 19.10035402297498,
"vocabulary": 15.0,
"volume": 85.95159310338741
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 396
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_403:403",
"entity_name": "anonymous_function_403",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [
{
"description": "Cyclomatic complexity of 163.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_403:403",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:404",
"metric_value": 163.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 379.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_403:403",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:404",
"metric_value": 379.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 404,
"metrics": {
"cognitive_complexity": 379.0,
"cyclomatic_complexity": 163.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 427,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 436,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 436,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 437,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 440,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 444,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalOr",
"line": 444,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 460,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 494,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 528,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 539,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 539,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 540,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 543,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 546,
"nesting_level": 2
},
{
"column": 28,
"kind": "ConditionalExpression",
"line": 551,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 552,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 554,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 559,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalOr",
"line": 559,
"nesting_level": 2
},
{
"column": 29,
"kind": "ConditionalExpression",
"line": 570,
"nesting_level": 1
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 577,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 585,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 590,
"nesting_level": 1
},
{
"column": 28,
"kind": "ConditionalExpression",
"line": 591,
"nesting_level": 2
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 632,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 645,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 657,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 657,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 659,
"nesting_level": 2
},
{
"column": 15,
"kind": "If",
"line": 660,
"nesting_level": 3
},
{
"column": 19,
"kind": "LogicalOr",
"line": 660,
"nesting_level": 4
},
{
"column": 15,
"kind": "If",
"line": 663,
"nesting_level": 3
},
{
"column": 17,
"kind": "If",
"line": 665,
"nesting_level": 4
},
{
"column": 11,
"kind": "If",
"line": 672,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 672,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 676,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalOr",
"line": 676,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 681,
"nesting_level": 1
},
{
"column": 23,
"kind": "LogicalAnd",
"line": 683,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 688,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 691,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 697,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 700,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 706,
"nesting_level": 1
},
{
"column": 23,
"kind": "LogicalAnd",
"line": 708,
"nesting_level": 2
},
{
"column": 23,
"kind": "LogicalAnd",
"line": 723,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 729,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 736,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 743,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 743,
"nesting_level": 1
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 778,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 788,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 793,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 793,
"nesting_level": 2
},
{
"column": 15,
"kind": "If",
"line": 794,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 798,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalOr",
"line": 798,
"nesting_level": 2
},
{
"column": 21,
"kind": "LogicalAnd",
"line": 843,
"nesting_level": 1
},
{
"column": 20,
"kind": "ConditionalExpression",
"line": 850,
"nesting_level": 1
},
{
"column": 20,
"kind": "ConditionalExpression",
"line": 856,
"nesting_level": 1
},
{
"column": 21,
"kind": "LogicalAnd",
"line": 882,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 885,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalOr",
"line": 885,
"nesting_level": 2
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 890,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 893,
"nesting_level": 1
},
{
"column": 21,
"kind": "LogicalOr",
"line": 902,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 904,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 911,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 914,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 917,
"nesting_level": 1
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 932,
"nesting_level": 1
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 936,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 969,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 979,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 979,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 980,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 984,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 987,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 990,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalOr",
"line": 990,
"nesting_level": 2
},
{
"column": 7,
"kind": "Try",
"line": 1026,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1036,
"nesting_level": 1
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 1041,
"nesting_level": 1
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 1043,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1057,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1057,
"nesting_level": 1
},
{
"column": 16,
"kind": "LogicalOr",
"line": 1059,
"nesting_level": 1
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 1071,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 1103,
"nesting_level": 0
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 1111,
"nesting_level": 1
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 1114,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 1146,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 1156,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1156,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1161,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1162,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1162,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1162,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1169,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1169,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1172,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalOr",
"line": 1172,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 1180,
"nesting_level": 1
},
{
"column": 23,
"kind": "LogicalAnd",
"line": 1186,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 1220,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 1229,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1229,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1233,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1233,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1236,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalOr",
"line": 1236,
"nesting_level": 2
},
{
"column": 7,
"kind": "Try",
"line": 1273,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 1282,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1282,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1289,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1290,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1290,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1290,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1298,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1298,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1301,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalOr",
"line": 1301,
"nesting_level": 2
},
{
"column": 7,
"kind": "Try",
"line": 1342,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 1351,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1351,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1359,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1360,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1360,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1360,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1360,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1368,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1368,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1371,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 1376,
"nesting_level": 1
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 1384,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 1418,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 1429,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1429,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1433,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1434,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1434,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1434,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1434,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 1441,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1447,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalOr",
"line": 1447,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 1452,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1457,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1457,
"nesting_level": 2
},
{
"column": 7,
"kind": "Try",
"line": 1495,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 1505,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1505,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1509,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1510,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1510,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1510,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 1516,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1522,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalOr",
"line": 1522,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 1528,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1531,
"nesting_level": 1
}
],
"halstead": {
"bugs": 11.648221582366318,
"calculated_length": 2804.1348359509943,
"difficulty": 74.14615384615385,
"effort": 2591012.488440668,
"length": 4143.0,
"n1": 21.0,
"n2": 325.0,
"n_1": 1848.0,
"n_2": 2295.0,
"time": 143945.13824670378,
"vocabulary": 346.0,
"volume": 34944.664747098956
},
"lines_of_code": 1185.0,
"maintainability_index": 0.0,
"max_nesting_depth": 4.0,
"parameter_count": 0.0,
"statement_count": 541.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 404
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_408:408",
"entity_name": "anonymous_function_408",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 409,
"metrics": {
"cognitive_complexity": 19.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 427,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 436,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 436,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 437,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 440,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 444,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalOr",
"line": 444,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 460,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.5015396288610641,
"calculated_length": 448.0,
"difficulty": 16.5,
"effort": 24826.211628622674,
"length": 238.0,
"n1": 16.0,
"n2": 64.0,
"n_1": 106.0,
"n_2": 132.0,
"time": 1379.2339793679264,
"vocabulary": 80.0,
"volume": 1504.6188865831923
},
"lines_of_code": 64.0,
"maintainability_index": 63.51136049881028,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 33.0,
"technical_debt_score": 46.00000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 409
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_478:478",
"entity_name": "anonymous_function_478",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 479,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 494,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.14627083976084446,
"calculated_length": 227.95057052383706,
"difficulty": 5.684210526315789,
"effort": 2494.302741184926,
"length": 79.0,
"n1": 9.0,
"n2": 38.0,
"n_1": 31.0,
"n_2": 48.0,
"time": 138.57237451027368,
"vocabulary": 47.0,
"volume": 438.81251928253334
},
"lines_of_code": 24.0,
"maintainability_index": 87.41835220301928,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 13.0,
"technical_debt_score": 9.6
},
"recommendations": [],
"severity": "Low",
"start_line": 479
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_508:508",
"entity_name": "anonymous_function_508",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [
{
"description": "Cyclomatic complexity of 17.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_508:508",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:509",
"metric_value": 17.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 38.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_508:508",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:509",
"metric_value": 38.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 509,
"metrics": {
"cognitive_complexity": 38.0,
"cyclomatic_complexity": 17.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 528,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 539,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 539,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 540,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 543,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 546,
"nesting_level": 2
},
{
"column": 28,
"kind": "ConditionalExpression",
"line": 551,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 552,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 554,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 559,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalOr",
"line": 559,
"nesting_level": 2
},
{
"column": 29,
"kind": "ConditionalExpression",
"line": 570,
"nesting_level": 1
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 577,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 585,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 590,
"nesting_level": 1
},
{
"column": 28,
"kind": "ConditionalExpression",
"line": 591,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.7813578246302623,
"calculated_length": 683.2004194590085,
"difficulty": 18.387096774193548,
"effort": 43100.70581024995,
"length": 345.0,
"n1": 18.0,
"n2": 93.0,
"n_1": 155.0,
"n_2": 190.0,
"time": 2394.483656124997,
"vocabulary": 111.0,
"volume": 2344.0734738907868
},
"lines_of_code": 96.0,
"maintainability_index": 52.79740272046567,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 47.0,
"technical_debt_score": 83.60000000000001
},
"recommendations": [],
"severity": "High",
"start_line": 509
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_569:569",
"entity_name": "anonymous_function_569",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 570,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 29,
"kind": "ConditionalExpression",
"line": 570,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.012,
"calculated_length": 16.36452797660028,
"difficulty": 5.0,
"effort": 180.0,
"length": 12.0,
"n1": 5.0,
"n2": 3.0,
"n_1": 6.0,
"n_2": 6.0,
"time": 10.0,
"vocabulary": 8.0,
"volume": 36.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 570
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_570:570",
"entity_name": "anonymous_function_570",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 571,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004,
"calculated_length": 4.0,
"difficulty": 2.0,
"effort": 24.0,
"length": 6.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.3333333333333333,
"vocabulary": 4.0,
"volume": 12.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 571
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_583:583",
"entity_name": "anonymous_function_583",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 584,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 15,
"kind": "LogicalAnd",
"line": 585,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 13.60964047443681,
"difficulty": 1.4,
"effort": 47.16356269056775,
"length": 12.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 2.620197927253764,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 584
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_610:610",
"entity_name": "anonymous_function_610",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [
{
"description": "Cyclomatic complexity of 27.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_610:610",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:611",
"metric_value": 27.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 68.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_610:610",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:611",
"metric_value": 68.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 611,
"metrics": {
"cognitive_complexity": 68.0,
"cyclomatic_complexity": 27.0,
"decision_points": [
{
"column": 22,
"kind": "ConditionalExpression",
"line": 632,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 645,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 657,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 657,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 659,
"nesting_level": 2
},
{
"column": 15,
"kind": "If",
"line": 660,
"nesting_level": 3
},
{
"column": 19,
"kind": "LogicalOr",
"line": 660,
"nesting_level": 4
},
{
"column": 15,
"kind": "If",
"line": 663,
"nesting_level": 3
},
{
"column": 17,
"kind": "If",
"line": 665,
"nesting_level": 4
},
{
"column": 11,
"kind": "If",
"line": 672,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 672,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 676,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalOr",
"line": 676,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 681,
"nesting_level": 1
},
{
"column": 23,
"kind": "LogicalAnd",
"line": 683,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 688,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 691,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 697,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 700,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 706,
"nesting_level": 1
},
{
"column": 23,
"kind": "LogicalAnd",
"line": 708,
"nesting_level": 2
},
{
"column": 23,
"kind": "LogicalAnd",
"line": 723,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 729,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 736,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 743,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 743,
"nesting_level": 1
}
],
"halstead": {
"bugs": 1.0952784081511,
"calculated_length": 722.9889779116002,
"difficulty": 19.8,
"effort": 65059.53744417534,
"length": 480.0,
"n1": 15.0,
"n2": 100.0,
"n_1": 216.0,
"n_2": 264.0,
"time": 3614.4187468986297,
"vocabulary": 115.0,
"volume": 3285.8352244533
},
"lines_of_code": 142.0,
"maintainability_index": 42.39924567323088,
"max_nesting_depth": 4.0,
"parameter_count": 0.0,
"statement_count": 50.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 611
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_682:682",
"entity_name": "anonymous_function_682",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 683,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 23,
"kind": "LogicalAnd",
"line": 683,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 13.60964047443681,
"difficulty": 1.4,
"effort": 47.16356269056775,
"length": 12.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 2.620197927253764,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 683
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_689:689",
"entity_name": "anonymous_function_689",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 690,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 15,
"kind": "LogicalAnd",
"line": 691,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 13.60964047443681,
"difficulty": 1.4,
"effort": 47.16356269056775,
"length": 12.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 2.620197927253764,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 690
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_698:698",
"entity_name": "anonymous_function_698",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 699,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 15,
"kind": "LogicalAnd",
"line": 700,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 13.60964047443681,
"difficulty": 1.4,
"effort": 47.16356269056775,
"length": 12.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 2.620197927253764,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 699
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_707:707",
"entity_name": "anonymous_function_707",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 708,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 23,
"kind": "LogicalAnd",
"line": 708,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.014792983340064124,
"calculated_length": 20.264662506490403,
"difficulty": 2.0,
"effort": 88.75790004038474,
"length": 14.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 4.930994446688041,
"vocabulary": 9.0,
"volume": 44.37895002019237
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 708
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_722:722",
"entity_name": "anonymous_function_722",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 723,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 23,
"kind": "LogicalAnd",
"line": 723,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 13.60964047443681,
"difficulty": 1.4,
"effort": 47.16356269056775,
"length": 12.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 2.620197927253764,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 723
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_727:727",
"entity_name": "anonymous_function_727",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 728,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 15,
"kind": "LogicalAnd",
"line": 729,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 13.60964047443681,
"difficulty": 1.4,
"effort": 47.16356269056775,
"length": 12.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 2.620197927253764,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 728
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_734:734",
"entity_name": "anonymous_function_734",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 735,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 15,
"kind": "LogicalAnd",
"line": 736,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 13.60964047443681,
"difficulty": 1.4,
"effort": 47.16356269056775,
"length": 12.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 2.620197927253764,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 735
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_741:741",
"entity_name": "anonymous_function_741",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 742,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 15,
"kind": "LogicalAnd",
"line": 743,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 743,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.025369165203340177,
"calculated_length": 28.75488750216347,
"difficulty": 2.25,
"effort": 171.24186512254622,
"length": 22.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 10.0,
"n_2": 12.0,
"time": 9.513436951252567,
"vocabulary": 11.0,
"volume": 76.10749561002054
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 9.8
},
"recommendations": [],
"severity": "Low",
"start_line": 742
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_758:758",
"entity_name": "anonymous_function_758",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [
{
"description": "Cyclomatic complexity of 23.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_758:758",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:759",
"metric_value": 23.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 46.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_758:758",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:759",
"metric_value": 46.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 759,
"metrics": {
"cognitive_complexity": 46.0,
"cyclomatic_complexity": 23.0,
"decision_points": [
{
"column": 22,
"kind": "ConditionalExpression",
"line": 778,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 788,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 793,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 793,
"nesting_level": 2
},
{
"column": 15,
"kind": "If",
"line": 794,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 798,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalOr",
"line": 798,
"nesting_level": 2
},
{
"column": 21,
"kind": "LogicalAnd",
"line": 843,
"nesting_level": 1
},
{
"column": 20,
"kind": "ConditionalExpression",
"line": 850,
"nesting_level": 1
},
{
"column": 20,
"kind": "ConditionalExpression",
"line": 856,
"nesting_level": 1
},
{
"column": 21,
"kind": "LogicalAnd",
"line": 882,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 885,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalOr",
"line": 885,
"nesting_level": 2
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 890,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 893,
"nesting_level": 1
},
{
"column": 21,
"kind": "LogicalOr",
"line": 902,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 904,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 911,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 914,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 917,
"nesting_level": 1
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 932,
"nesting_level": 1
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 936,
"nesting_level": 1
}
],
"halstead": {
"bugs": 1.860301395117187,
"calculated_length": 1019.0631866770864,
"difficulty": 29.92857142857143,
"effort": 167028.48954730743,
"length": 770.0,
"n1": 19.0,
"n2": 133.0,
"n_1": 351.0,
"n_2": 419.0,
"time": 9279.360530405967,
"vocabulary": 152.0,
"volume": 5580.904185351561
},
"lines_of_code": 186.0,
"maintainability_index": 36.19195225615029,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 78.0,
"technical_debt_score": 96.8
},
"recommendations": [],
"severity": "High",
"start_line": 759
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:runStep:790",
"entity_name": "runStep",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 791,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 793,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 793,
"nesting_level": 2
},
{
"column": 15,
"kind": "If",
"line": 794,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 798,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalOr",
"line": 798,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.08513736347920328,
"calculated_length": 92.5293250129808,
"difficulty": 7.59375,
"effort": 1939.5355617605996,
"length": 55.0,
"n1": 9.0,
"n2": 16.0,
"n_1": 28.0,
"n_2": 27.0,
"time": 107.75197565336664,
"vocabulary": 25.0,
"volume": 255.41209043760983
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 24.6
},
"recommendations": [],
"severity": "Low",
"start_line": 791
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_842:842",
"entity_name": "anonymous_function_842",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 843,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 21,
"kind": "LogicalAnd",
"line": 843,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 13.60964047443681,
"difficulty": 1.4,
"effort": 47.16356269056775,
"length": 12.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 2.620197927253764,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 843
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_846:846",
"entity_name": "anonymous_function_846",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 847,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 20,
"kind": "ConditionalExpression",
"line": 850,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.021509775004326936,
"calculated_length": 31.26112492884004,
"difficulty": 3.5714285714285716,
"effort": 230.46187504636003,
"length": 18.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 8.0,
"n_2": 10.0,
"time": 12.803437502575557,
"vocabulary": 12.0,
"volume": 64.5293250129808
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 847
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_847:847",
"entity_name": "anonymous_function_847",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 848,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 20,
"kind": "ConditionalExpression",
"line": 850,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.017297158093186486,
"calculated_length": 27.651484454403228,
"difficulty": 2.5714285714285716,
"effort": 133.43521957601004,
"length": 15.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 9.0,
"time": 7.41306775422278,
"vocabulary": 11.0,
"volume": 51.89147427955946
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 848
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_852:852",
"entity_name": "anonymous_function_852",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 853,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 20,
"kind": "ConditionalExpression",
"line": 856,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.021509775004326936,
"calculated_length": 31.26112492884004,
"difficulty": 3.5714285714285716,
"effort": 230.46187504636003,
"length": 18.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 8.0,
"n_2": 10.0,
"time": 12.803437502575557,
"vocabulary": 12.0,
"volume": 64.5293250129808
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 853
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_853:853",
"entity_name": "anonymous_function_853",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 854,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 20,
"kind": "ConditionalExpression",
"line": 856,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.017297158093186486,
"calculated_length": 27.651484454403228,
"difficulty": 2.5714285714285716,
"effort": 133.43521957601004,
"length": 15.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 9.0,
"time": 7.41306775422278,
"vocabulary": 11.0,
"volume": 51.89147427955946
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 854
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_864:864",
"entity_name": "anonymous_function_864",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 865,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 865
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_868:868",
"entity_name": "anonymous_function_868",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 869,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009357849740192013,
"calculated_length": 13.60964047443681,
"difficulty": 1.2,
"effort": 33.688259064691245,
"length": 10.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 1.8715699480384025,
"vocabulary": 7.0,
"volume": 28.07354922057604
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 869
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_871:871",
"entity_name": "anonymous_function_871",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 872,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009357849740192013,
"calculated_length": 13.60964047443681,
"difficulty": 1.2,
"effort": 33.688259064691245,
"length": 10.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 1.8715699480384025,
"vocabulary": 7.0,
"volume": 28.07354922057604
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 872
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_874:874",
"entity_name": "anonymous_function_874",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 875,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009357849740192013,
"calculated_length": 13.60964047443681,
"difficulty": 1.2,
"effort": 33.688259064691245,
"length": 10.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 1.8715699480384025,
"vocabulary": 7.0,
"volume": 28.07354922057604
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 875
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_877:877",
"entity_name": "anonymous_function_877",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 878,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009357849740192013,
"calculated_length": 13.60964047443681,
"difficulty": 1.2,
"effort": 33.688259064691245,
"length": 10.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 1.8715699480384025,
"vocabulary": 7.0,
"volume": 28.07354922057604
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 878
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_881:881",
"entity_name": "anonymous_function_881",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 882,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 21,
"kind": "LogicalAnd",
"line": 882,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 13.60964047443681,
"difficulty": 1.4,
"effort": 47.16356269056775,
"length": 12.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 2.620197927253764,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 882
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_883:883",
"entity_name": "anonymous_function_883",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 884,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 885,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalOr",
"line": 885,
"nesting_level": 2
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 890,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.06243204266092216,
"calculated_length": 79.50977500432694,
"difficulty": 4.3125,
"effort": 807.7145519256804,
"length": 42.0,
"n1": 6.0,
"n2": 16.0,
"n_1": 19.0,
"n_2": 23.0,
"time": 44.8730306625378,
"vocabulary": 22.0,
"volume": 187.29612798276648
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 15.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 884
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_901:901",
"entity_name": "anonymous_function_901",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 902,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 21,
"kind": "LogicalOr",
"line": 902,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.01310098963626882,
"calculated_length": 12.754887502163468,
"difficulty": 3.0,
"effort": 117.90890672641936,
"length": 14.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 6.550494818134409,
"vocabulary": 7.0,
"volume": 39.302968908806456
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 902
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_921:921",
"entity_name": "anonymous_function_921",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 922,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 922
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_922:922",
"entity_name": "anonymous_function_922",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 923,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 923
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_923:923",
"entity_name": "anonymous_function_923",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 924,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004,
"calculated_length": 4.0,
"difficulty": 2.0,
"effort": 24.0,
"length": 6.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.3333333333333333,
"vocabulary": 4.0,
"volume": 12.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 924
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_925:925",
"entity_name": "anonymous_function_925",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 926,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 926
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_926:926",
"entity_name": "anonymous_function_926",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 927,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 927
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_927:927",
"entity_name": "anonymous_function_927",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 928,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004,
"calculated_length": 4.0,
"difficulty": 2.0,
"effort": 24.0,
"length": 6.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.3333333333333333,
"vocabulary": 4.0,
"volume": 12.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 928
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_929:929",
"entity_name": "anonymous_function_929",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 930,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 18,
"kind": "LogicalAnd",
"line": 932,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.02190973358470288,
"calculated_length": 27.651484454403228,
"difficulty": 3.142857142857143,
"effort": 206.57748808434147,
"length": 19.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 8.0,
"n_2": 11.0,
"time": 11.476527115796749,
"vocabulary": 11.0,
"volume": 65.72920075410865
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 930
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_933:933",
"entity_name": "anonymous_function_933",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 934,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 18,
"kind": "LogicalAnd",
"line": 936,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.02190973358470288,
"calculated_length": 27.651484454403228,
"difficulty": 3.142857142857143,
"effort": 206.57748808434147,
"length": 19.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 8.0,
"n_2": 11.0,
"time": 11.476527115796749,
"vocabulary": 11.0,
"volume": 65.72920075410865
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 934
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_950:950",
"entity_name": "anonymous_function_950",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 951,
"metrics": {
"cognitive_complexity": 18.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 969,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 979,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 979,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 980,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 984,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 987,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 990,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalOr",
"line": 990,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.3352451415919173,
"calculated_length": 342.5966613493527,
"difficulty": 13.03921568627451,
"effort": 13114.00112697794,
"length": 167.0,
"n1": 14.0,
"n2": 51.0,
"n_1": 72.0,
"n_2": 95.0,
"time": 728.5556181654412,
"vocabulary": 65.0,
"volume": 1005.7354247757519
},
"lines_of_code": 52.0,
"maintainability_index": 68.96978530106986,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 29.0,
"technical_debt_score": 42.800000000000004
},
"recommendations": [],
"severity": "Moderate",
"start_line": 951
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_1008:1008",
"entity_name": "anonymous_function_1008",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 1009,
"metrics": {
"cognitive_complexity": 15.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 1026,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1036,
"nesting_level": 1
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 1041,
"nesting_level": 1
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 1043,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1057,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1057,
"nesting_level": 1
},
{
"column": 16,
"kind": "LogicalOr",
"line": 1059,
"nesting_level": 1
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 1071,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.5826480044263236,
"calculated_length": 493.0498111861476,
"difficulty": 16.914285714285715,
"effort": 29565.224453175735,
"length": 272.0,
"n1": 16.0,
"n2": 70.0,
"n_1": 124.0,
"n_2": 148.0,
"time": 1642.512469620874,
"vocabulary": 86.0,
"volume": 1747.9440132789707
},
"lines_of_code": 73.0,
"maintainability_index": 60.60034031462921,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 36.0,
"technical_debt_score": 44.60000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 1009
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_1055:1055",
"entity_name": "anonymous_function_1055",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 1056,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 15,
"kind": "LogicalAnd",
"line": 1057,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1057,
"nesting_level": 1
},
{
"column": 16,
"kind": "LogicalOr",
"line": 1059,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.034654637506971175,
"calculated_length": 32.0,
"difficulty": 3.75,
"effort": 389.8646719534257,
"length": 29.0,
"n1": 4.0,
"n2": 8.0,
"n_1": 14.0,
"n_2": 15.0,
"time": 21.659148441856985,
"vocabulary": 12.0,
"volume": 103.96391252091352
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 13.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1056
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_1087:1087",
"entity_name": "anonymous_function_1087",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 1088,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 1103,
"nesting_level": 0
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 1111,
"nesting_level": 1
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 1114,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.3130317640935078,
"calculated_length": 292.1375977836329,
"difficulty": 10.641304347826086,
"effort": 9993.198816767743,
"length": 161.0,
"n1": 11.0,
"n2": 46.0,
"n_1": 72.0,
"n_2": 89.0,
"time": 555.1777120426524,
"vocabulary": 57.0,
"volume": 939.0952922805234
},
"lines_of_code": 32.0,
"maintainability_index": 78.34151019935673,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 20.0,
"technical_debt_score": 18.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 1088
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_1125:1125",
"entity_name": "anonymous_function_1125",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [
{
"description": "Cognitive complexity of 31.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_1125:1125",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:1126",
"metric_value": 31.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 1126,
"metrics": {
"cognitive_complexity": 31.0,
"cyclomatic_complexity": 14.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 1146,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 1156,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1156,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1161,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1162,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1162,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1162,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1169,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1169,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1172,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalOr",
"line": 1172,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 1180,
"nesting_level": 1
},
{
"column": 23,
"kind": "LogicalAnd",
"line": 1186,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.5763923882176758,
"calculated_length": 579.9226233128106,
"difficulty": 13.353658536585366,
"effort": 23090.841406037376,
"length": 262.0,
"n1": 15.0,
"n2": 82.0,
"n_1": 116.0,
"n_2": 146.0,
"time": 1282.824522557632,
"vocabulary": 97.0,
"volume": 1729.1771646530274
},
"lines_of_code": 70.0,
"maintainability_index": 60.18629215451969,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 33.0,
"technical_debt_score": 66.8
},
"recommendations": [],
"severity": "High",
"start_line": 1126
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_1185:1185",
"entity_name": "anonymous_function_1185",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 1186,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 23,
"kind": "LogicalAnd",
"line": 1186,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 13.60964047443681,
"difficulty": 1.4,
"effort": 47.16356269056775,
"length": 12.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 2.620197927253764,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1186
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_1201:1201",
"entity_name": "anonymous_function_1201",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 1202,
"metrics": {
"cognitive_complexity": 16.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 1220,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 1229,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1229,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1233,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1233,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1236,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalOr",
"line": 1236,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.3166821216470765,
"calculated_length": 405.6792988464764,
"difficulty": 11.313559322033898,
"effort": 10748.405908445264,
"length": 153.0,
"n1": 15.0,
"n2": 59.0,
"n_1": 64.0,
"n_2": 89.0,
"time": 597.1336615802925,
"vocabulary": 74.0,
"volume": 950.0463649412294
},
"lines_of_code": 45.0,
"maintainability_index": 71.83821156497511,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 23.0,
"technical_debt_score": 37.800000000000004
},
"recommendations": [],
"severity": "Moderate",
"start_line": 1202
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_1252:1252",
"entity_name": "anonymous_function_1252",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [
{
"description": "Cognitive complexity of 27.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_1252:1252",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:1253",
"metric_value": 27.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 1253,
"metrics": {
"cognitive_complexity": 27.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 1273,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 1282,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1282,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1289,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1290,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1290,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1290,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1298,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1298,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1301,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalOr",
"line": 1301,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.4541227093322816,
"calculated_length": 495.23540441896023,
"difficulty": 12.78169014084507,
"effort": 17413.367269818827,
"length": 212.0,
"n1": 15.0,
"n2": 71.0,
"n_1": 91.0,
"n_2": 121.0,
"time": 967.4092927677126,
"vocabulary": 86.0,
"volume": 1362.3681279968448
},
"lines_of_code": 61.0,
"maintainability_index": 64.11554877807023,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 30.0,
"technical_debt_score": 57.800000000000004
},
"recommendations": [],
"severity": "High",
"start_line": 1253
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_1319:1319",
"entity_name": "anonymous_function_1319",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [
{
"description": "Cognitive complexity of 31.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_1319:1319",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:1320",
"metric_value": 31.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 1320,
"metrics": {
"cognitive_complexity": 31.0,
"cyclomatic_complexity": 14.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 1342,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 1351,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1351,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1359,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1360,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1360,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1360,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1360,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1368,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1368,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1371,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 1376,
"nesting_level": 1
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 1384,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.5615097782937176,
"calculated_length": 554.2613730712553,
"difficulty": 15.179487179487179,
"effort": 25570.291442298523,
"length": 257.0,
"n1": 16.0,
"n2": 78.0,
"n_1": 109.0,
"n_2": 148.0,
"time": 1420.5717467943623,
"vocabulary": 94.0,
"volume": 1684.5293348811529
},
"lines_of_code": 72.0,
"maintainability_index": 59.86595319004476,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 38.0,
"technical_debt_score": 67.2
},
"recommendations": [],
"severity": "High",
"start_line": 1320
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_1397:1397",
"entity_name": "anonymous_function_1397",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [
{
"description": "Cognitive complexity of 35.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_1397:1397",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:1398",
"metric_value": 35.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 1398,
"metrics": {
"cognitive_complexity": 35.0,
"cyclomatic_complexity": 15.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 1418,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 1429,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1429,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1433,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1434,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1434,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1434,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1434,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 1441,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1447,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalOr",
"line": 1447,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 1452,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1457,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1457,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.5404391120926539,
"calculated_length": 508.23460010384645,
"difficulty": 15.222222222222221,
"effort": 24680.052785564527,
"length": 251.0,
"n1": 16.0,
"n2": 72.0,
"n_1": 114.0,
"n_2": 137.0,
"time": 1371.1140436424737,
"vocabulary": 88.0,
"volume": 1621.3173362779617
},
"lines_of_code": 71.0,
"maintainability_index": 60.06141579664413,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 37.0,
"technical_debt_score": 72.2
},
"recommendations": [],
"severity": "High",
"start_line": 1398
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_1474:1474",
"entity_name": "anonymous_function_1474",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [
{
"description": "Cognitive complexity of 29.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_1474:1474",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:1475",
"metric_value": 29.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 1475,
"metrics": {
"cognitive_complexity": 29.0,
"cyclomatic_complexity": 13.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 1495,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 1505,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1505,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1509,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1510,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1510,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1510,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 1516,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1522,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalOr",
"line": 1522,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 1528,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1531,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.6030221743543427,
"calculated_length": 554.2613730712553,
"difficulty": 15.282051282051283,
"effort": 27646.247378091404,
"length": 276.0,
"n1": 16.0,
"n2": 78.0,
"n_1": 127.0,
"n_2": 149.0,
"time": 1535.9026321161891,
"vocabulary": 94.0,
"volume": 1809.066523063028
},
"lines_of_code": 77.0,
"maintainability_index": 58.637407623801124,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 42.0,
"technical_debt_score": 64.60000000000001
},
"recommendations": [],
"severity": "High",
"start_line": 1475
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_1557:1557",
"entity_name": "anonymous_function_1557",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 1558,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.25017570502614644,
"calculated_length": 175.7360428812364,
"difficulty": 10.95,
"effort": 8218.27191010891,
"length": 142.0,
"n1": 9.0,
"n2": 30.0,
"n_1": 69.0,
"n_2": 73.0,
"time": 456.5706616727172,
"vocabulary": 39.0,
"volume": 750.5271150784394
},
"lines_of_code": 28.0,
"maintainability_index": 82.36025288034445,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 16.0,
"technical_debt_score": 7.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1558
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts:anonymous_function_1578:1578",
"entity_name": "anonymous_function_1578",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.test.ts",
"issues": [],
"line_number": 1579,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1579
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:validateCodexMode:137",
"entity_name": "validateCodexMode",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 138,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 139,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.032699702730002715,
"calculated_length": 52.529325012980806,
"difficulty": 5.777777777777778,
"effort": 566.794847320047,
"length": 24.0,
"n1": 8.0,
"n2": 9.0,
"n_1": 11.0,
"n_2": 13.0,
"time": 31.4886026288915,
"vocabulary": 17.0,
"volume": 98.09910819000814
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 138
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:createToolCallTimelineItem:146",
"entity_name": "createToolCallTimelineItem",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 147,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012180403014586996,
"calculated_length": 28.52932501298081,
"difficulty": 0.5555555555555556,
"effort": 20.300671690978326,
"length": 11.0,
"n1": 1.0,
"n2": 9.0,
"n_1": 1.0,
"n_2": 10.0,
"time": 1.1278150939432403,
"vocabulary": 10.0,
"volume": 36.541209043760986
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 147
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:normalizeThreadEventType:152",
"entity_name": "normalizeThreadEventType",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 153,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 154,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 157,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04193831680559904,
"calculated_length": 35.60964047443681,
"difficulty": 5.3125,
"effort": 668.3919240892347,
"length": 34.0,
"n1": 5.0,
"n2": 8.0,
"n_1": 17.0,
"n_2": 17.0,
"time": 37.132884671624154,
"vocabulary": 13.0,
"volume": 125.81495041679713
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 153
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:resolveExclusiveValue:162",
"entity_name": "resolveExclusiveValue",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 163,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 170,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 171,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 179,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1597565698792878,
"calculated_length": 164.88144885869957,
"difficulty": 8.0,
"effort": 3834.157677102907,
"length": 92.0,
"n1": 8.0,
"n2": 29.0,
"n_1": 34.0,
"n_2": 58.0,
"time": 213.0087598390504,
"vocabulary": 37.0,
"volume": 479.2697096378634
},
"lines_of_code": 25.0,
"maintainability_index": 85.83844140029298,
"max_nesting_depth": 1.0,
"parameter_count": 4.0,
"statement_count": 10.0,
"technical_debt_score": 16.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 163
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_168:168",
"entity_name": "anonymous_function_168",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 169,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.0,
"difficulty": 1.5,
"effort": 15.0,
"length": 5.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.8333333333333334,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 169
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_179:179",
"entity_name": "anonymous_function_179",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 180,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 180
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:resolveExclusiveString:189",
"entity_name": "resolveExclusiveString",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 190,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 197,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 201,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08341714012534482,
"calculated_length": 122.10749561002054,
"difficulty": 6.181818181818182,
"effort": 1547.0087805063947,
"length": 51.0,
"n1": 8.0,
"n2": 22.0,
"n_1": 17.0,
"n_2": 34.0,
"time": 85.94493225035527,
"vocabulary": 30.0,
"volume": 250.25142037603445
},
"lines_of_code": 19.0,
"maintainability_index": 93.89326484866451,
"max_nesting_depth": 0.0,
"parameter_count": 4.0,
"statement_count": 8.0,
"technical_debt_score": 11.4
},
"recommendations": [],
"severity": "Low",
"start_line": 190
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:resolvePreferredString:210",
"entity_name": "resolvePreferredString",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 211,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 218,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 222,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 231,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.11229511636876917,
"calculated_length": 125.4579468272276,
"difficulty": 9.761904761904761,
"effort": 3288.642693656811,
"length": 68.0,
"n1": 10.0,
"n2": 21.0,
"n_1": 27.0,
"n_2": 41.0,
"time": 182.70237186982283,
"vocabulary": 31.0,
"volume": 336.8853491063075
},
"lines_of_code": 27.0,
"maintainability_index": 86.42478092780652,
"max_nesting_depth": 0.0,
"parameter_count": 4.0,
"statement_count": 11.0,
"technical_debt_score": 15.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 211
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_246:246",
"entity_name": "anonymous_function_246",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 247,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 249,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.042479275134435855,
"calculated_length": 62.6710344630571,
"difficulty": 4.958333333333334,
"effort": 631.8792176247334,
"length": 30.0,
"n1": 7.0,
"n2": 12.0,
"n_1": 13.0,
"n_2": 17.0,
"time": 35.104400979151855,
"vocabulary": 19.0,
"volume": 127.43782540330756
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 247
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_260:260",
"entity_name": "anonymous_function_260",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 261,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 26,
"kind": "ConditionalExpression",
"line": 261,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.011,
"calculated_length": 16.36452797660028,
"difficulty": 5.0,
"effort": 165.0,
"length": 11.0,
"n1": 5.0,
"n2": 3.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 9.166666666666666,
"vocabulary": 8.0,
"volume": 33.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 261
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:normalizePatchChangeDetails:282",
"entity_name": "normalizePatchChangeDetails",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [
{
"description": "Cyclomatic complexity of 30.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:normalizePatchChangeDetails:282",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:283",
"metric_value": 30.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 52.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:normalizePatchChangeDetails:282",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:283",
"metric_value": 52.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 283,
"metrics": {
"cognitive_complexity": 52.0,
"cyclomatic_complexity": 30.0,
"decision_points": [
{
"column": 5,
"kind": "LogicalOr",
"line": 288,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 288,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 288,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 288,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 305,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 305,
"nesting_level": 1
},
{
"column": 5,
"kind": "LogicalOr",
"line": 309,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 309,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 309,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 324,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 324,
"nesting_level": 1
},
{
"column": 5,
"kind": "LogicalOr",
"line": 328,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 328,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 328,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 343,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 343,
"nesting_level": 1
},
{
"column": 5,
"kind": "LogicalOr",
"line": 347,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 347,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 347,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 362,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 362,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 366,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 367,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 367,
"nesting_level": 2
},
{
"column": 12,
"kind": "If",
"line": 369,
"nesting_level": 2
},
{
"column": 16,
"kind": "LogicalAnd",
"line": 369,
"nesting_level": 3
},
{
"column": 12,
"kind": "If",
"line": 371,
"nesting_level": 3
},
{
"column": 16,
"kind": "LogicalOr",
"line": 371,
"nesting_level": 4
},
{
"column": 16,
"kind": "LogicalOr",
"line": 371,
"nesting_level": 4
}
],
"halstead": {
"bugs": 0.644836665678511,
"calculated_length": 462.26909213502125,
"difficulty": 13.5,
"effort": 26115.884959979696,
"length": 306.0,
"n1": 10.0,
"n2": 70.0,
"n_1": 117.0,
"n_2": 189.0,
"time": 1450.8824977766499,
"vocabulary": 80.0,
"volume": 1934.509997035533
},
"lines_of_code": 93.0,
"maintainability_index": 51.320319633093476,
"max_nesting_depth": 4.0,
"parameter_count": 2.0,
"statement_count": 25.0,
"technical_debt_score": 98.60000000000001
},
"recommendations": [],
"severity": "Critical",
"start_line": 283
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_399:399",
"entity_name": "anonymous_function_399",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 400,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 402,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02031478750408655,
"calculated_length": 31.019550008653873,
"difficulty": 5.0,
"effort": 304.72181256129824,
"length": 17.0,
"n1": 6.0,
"n2": 6.0,
"n_1": 7.0,
"n_2": 10.0,
"time": 16.92898958673879,
"vocabulary": 12.0,
"volume": 60.94436251225965
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 400
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_409:409",
"entity_name": "anonymous_function_409",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 410,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 412,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.025903078026987644,
"calculated_length": 35.161259458730164,
"difficulty": 5.571428571428571,
"effort": 432.95144702250775,
"length": 21.0,
"n1": 6.0,
"n2": 7.0,
"n_1": 8.0,
"n_2": 13.0,
"time": 24.052858167917098,
"vocabulary": 13.0,
"volume": 77.70923408096293
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 410
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_430:430",
"entity_name": "anonymous_function_430",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 431,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "LogicalOr",
"line": 433,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 433,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 444,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 444,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08823326760571977,
"calculated_length": 94.71013448036484,
"difficulty": 7.194444444444444,
"effort": 1904.3680258234515,
"length": 57.0,
"n1": 7.0,
"n2": 18.0,
"n_1": 20.0,
"n_2": 37.0,
"time": 105.79822365685841,
"vocabulary": 25.0,
"volume": 264.6998028171593
},
"lines_of_code": 17.0,
"maintainability_index": 94.94324273191228,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 17.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 431
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_471:471",
"entity_name": "anonymous_function_471",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 472,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 483,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05428274347268416,
"calculated_length": 84.99664330558271,
"difficulty": 4.588235294117647,
"effort": 747.1859983887114,
"length": 36.0,
"n1": 6.0,
"n2": 17.0,
"n_1": 10.0,
"n_2": 26.0,
"time": 41.5103332438173,
"vocabulary": 23.0,
"volume": 162.84823041805248
},
"lines_of_code": 15.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 7.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 472
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_501:501",
"entity_name": "anonymous_function_501",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 502,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 513,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05428274347268416,
"calculated_length": 84.99664330558271,
"difficulty": 4.588235294117647,
"effort": 747.1859983887114,
"length": 36.0,
"n1": 6.0,
"n2": 17.0,
"n_1": 10.0,
"n_2": 26.0,
"time": 41.5103332438173,
"vocabulary": 23.0,
"volume": 162.84823041805248
},
"lines_of_code": 15.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 7.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 502
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_546:546",
"entity_name": "anonymous_function_546",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 547,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 7,
"kind": "LogicalOr",
"line": 549,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 559,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 559,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 563,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 563,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 576,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 576,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.1614206118194705,
"calculated_length": 141.8629171260716,
"difficulty": 8.346153846153847,
"effort": 4041.7237805567424,
"length": 96.0,
"n1": 7.0,
"n2": 26.0,
"n_1": 34.0,
"n_2": 62.0,
"time": 224.54021003093013,
"vocabulary": 33.0,
"volume": 484.2618354584115
},
"lines_of_code": 37.0,
"maintainability_index": 78.51347595265284,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 9.0,
"technical_debt_score": 30.600000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 547
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_611:611",
"entity_name": "anonymous_function_611",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 612,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.020756589711823783,
"calculated_length": 30.52932501298081,
"difficulty": 1.4444444444444444,
"effort": 89.94522208456972,
"length": 18.0,
"n1": 2.0,
"n2": 9.0,
"n_1": 5.0,
"n_2": 13.0,
"time": 4.996956782476095,
"vocabulary": 11.0,
"volume": 62.26976913547135
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 612
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_624:624",
"entity_name": "anonymous_function_624",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 625,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 32,
"kind": "LogicalOr",
"line": 626,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 636,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 636,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.06243204266092216,
"calculated_length": 78.25484338853101,
"difficulty": 6.3,
"effort": 1179.9656062914287,
"length": 42.0,
"n1": 7.0,
"n2": 15.0,
"n_1": 15.0,
"n_2": 27.0,
"time": 65.55364479396826,
"vocabulary": 22.0,
"volume": 187.29612798276648
},
"lines_of_code": 15.0,
"maintainability_index": 98.99959387272494,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 14.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 625
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_650:650",
"entity_name": "anonymous_function_650",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 651,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "LogicalOr",
"line": 653,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 663,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 663,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08252932501298081,
"calculated_length": 90.56842503028855,
"difficulty": 6.0,
"effort": 1485.5278502336546,
"length": 54.0,
"n1": 6.0,
"n2": 18.0,
"n_1": 18.0,
"n_2": 36.0,
"time": 82.5293250129808,
"vocabulary": 24.0,
"volume": 247.58797503894243
},
"lines_of_code": 21.0,
"maintainability_index": 92.09755344640763,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 15.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 651
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_692:692",
"entity_name": "anonymous_function_692",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 693,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.024360806029173992,
"calculated_length": 26.0,
"difficulty": 2.0,
"effort": 146.16483617504394,
"length": 22.0,
"n1": 2.0,
"n2": 8.0,
"n_1": 6.0,
"n_2": 16.0,
"time": 8.12026867639133,
"vocabulary": 10.0,
"volume": 73.08241808752197
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 693
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_717:717",
"entity_name": "anonymous_function_717",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 718,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "LogicalOr",
"line": 720,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 730,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 730,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.14584060144917638,
"calculated_length": 150.11571282193984,
"difficulty": 6.428571428571429,
"effort": 2812.6401708055446,
"length": 86.0,
"n1": 6.0,
"n2": 28.0,
"n_1": 26.0,
"n_2": 60.0,
"time": 156.2577872669747,
"vocabulary": 34.0,
"volume": 437.52180434752916
},
"lines_of_code": 29.0,
"maintainability_index": 83.90794953028421,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 17.0
},
"recommendations": [],
"severity": "Low",
"start_line": 718
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_755:755",
"entity_name": "anonymous_function_755",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 756,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01310098963626882,
"calculated_length": 13.60964047443681,
"difficulty": 2.0,
"effort": 78.60593781761291,
"length": 14.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 10.0,
"time": 4.366996545422939,
"vocabulary": 7.0,
"volume": 39.302968908806456
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 756
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_772:772",
"entity_name": "anonymous_function_772",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 773,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03459431618637297,
"calculated_length": 30.52932501298081,
"difficulty": 2.4444444444444446,
"effort": 253.69165203340182,
"length": 30.0,
"n1": 2.0,
"n2": 9.0,
"n_1": 8.0,
"n_2": 22.0,
"time": 14.093980668522324,
"vocabulary": 11.0,
"volume": 103.78294855911892
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 773
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_797:797",
"entity_name": "anonymous_function_797",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 798,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03228802844061478,
"calculated_length": 30.52932501298081,
"difficulty": 2.111111111111111,
"effort": 204.49084679056025,
"length": 28.0,
"n1": 2.0,
"n2": 9.0,
"n_1": 9.0,
"n_2": 19.0,
"time": 11.36060259947557,
"vocabulary": 11.0,
"volume": 96.86408532184433
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 798
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_813:813",
"entity_name": "anonymous_function_813",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 814,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03823960000769233,
"calculated_length": 35.219280948873624,
"difficulty": 2.2,
"effort": 252.38136005076942,
"length": 32.0,
"n1": 2.0,
"n2": 10.0,
"n_1": 10.0,
"n_2": 22.0,
"time": 14.02118666948719,
"vocabulary": 12.0,
"volume": 114.718800023077
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 814
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_829:829",
"entity_name": "anonymous_function_829",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 830,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 840,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.050540225011222704,
"calculated_length": 79.50977500432694,
"difficulty": 4.5,
"effort": 682.2930376515064,
"length": 34.0,
"n1": 6.0,
"n2": 16.0,
"n_1": 10.0,
"n_2": 24.0,
"time": 37.90516875841703,
"vocabulary": 22.0,
"volume": 151.6206750336681
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 7.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 830
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_852:852",
"entity_name": "anonymous_function_852",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 853,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 863,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.050540225011222704,
"calculated_length": 79.50977500432694,
"difficulty": 4.5,
"effort": 682.2930376515064,
"length": 34.0,
"n1": 6.0,
"n2": 16.0,
"n_1": 10.0,
"n_2": 24.0,
"time": 37.90516875841703,
"vocabulary": 22.0,
"volume": 151.6206750336681
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 7.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 853
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_875:875",
"entity_name": "anonymous_function_875",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 876,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 886,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.050540225011222704,
"calculated_length": 79.50977500432694,
"difficulty": 4.5,
"effort": 682.2930376515064,
"length": 34.0,
"n1": 6.0,
"n2": 16.0,
"n_1": 10.0,
"n_2": 24.0,
"time": 37.90516875841703,
"vocabulary": 22.0,
"volume": 151.6206750336681
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 7.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 876
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_909:909",
"entity_name": "anonymous_function_909",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 910,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.00861654166907052,
"calculated_length": 10.0,
"difficulty": 1.75,
"effort": 45.23684376262023,
"length": 10.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 7.0,
"time": 2.513157986812235,
"vocabulary": 6.0,
"volume": 25.84962500721156
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 910
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_924:924",
"entity_name": "anonymous_function_924",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 925,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 926,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 930,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08358941141594504,
"calculated_length": 93.48686830125577,
"difficulty": 7.294117647058823,
"effort": 1829.133002748915,
"length": 54.0,
"n1": 8.0,
"n2": 17.0,
"n_1": 23.0,
"n_2": 31.0,
"time": 101.6185001527175,
"vocabulary": 25.0,
"volume": 250.76823424783512
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 7.0,
"technical_debt_score": 10.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 925
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_945:945",
"entity_name": "anonymous_function_945",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 946,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.010339850002884624,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 62.039100017307746,
"length": 12.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 8.0,
"time": 3.446616667628208,
"vocabulary": 6.0,
"volume": 31.019550008653873
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 946
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_956:956",
"entity_name": "anonymous_function_956",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 957,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008422064766172813,
"calculated_length": 12.754887502163468,
"difficulty": 2.25,
"effort": 56.848937171666485,
"length": 9.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 3.158274287314805,
"vocabulary": 7.0,
"volume": 25.26619429851844
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 957
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_967:967",
"entity_name": "anonymous_function_967",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 968,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 970,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.051962908341506436,
"calculated_length": 88.0,
"difficulty": 5.0,
"effort": 779.4436251225966,
"length": 34.0,
"n1": 8.0,
"n2": 16.0,
"n_1": 14.0,
"n_2": 20.0,
"time": 43.30242361792203,
"vocabulary": 24.0,
"volume": 155.88872502451932
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 968
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_985:985",
"entity_name": "anonymous_function_985",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 986,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008422064766172813,
"calculated_length": 12.754887502163468,
"difficulty": 2.25,
"effort": 56.848937171666485,
"length": 9.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 3.158274287314805,
"vocabulary": 7.0,
"volume": 25.26619429851844
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 986
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_997:997",
"entity_name": "anonymous_function_997",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 998,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "ConditionalExpression",
"line": 1000,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 1002,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06656842503028855,
"calculated_length": 102.70614925012939,
"difficulty": 7.058823529411765,
"effort": 1409.684294759052,
"length": 42.0,
"n1": 10.0,
"n2": 17.0,
"n_1": 18.0,
"n_2": 24.0,
"time": 78.31579415328066,
"vocabulary": 27.0,
"volume": 199.70527509086565
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 10.0
},
"recommendations": [],
"severity": "Low",
"start_line": 998
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_1017:1017",
"entity_name": "anonymous_function_1017",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 1018,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008422064766172813,
"calculated_length": 12.754887502163468,
"difficulty": 2.25,
"effort": 56.848937171666485,
"length": 9.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 3.158274287314805,
"vocabulary": 7.0,
"volume": 25.26619429851844
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 1018
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_1028:1028",
"entity_name": "anonymous_function_1028",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 1029,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1031,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.051962908341506436,
"calculated_length": 88.0,
"difficulty": 5.0,
"effort": 779.4436251225966,
"length": 34.0,
"n1": 8.0,
"n2": 16.0,
"n_1": 14.0,
"n_2": 20.0,
"time": 43.30242361792203,
"vocabulary": 24.0,
"volume": 155.88872502451932
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1029
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_1054:1054",
"entity_name": "anonymous_function_1054",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 1055,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "LogicalOr",
"line": 1057,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 1067,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 1067,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.12166666666666667,
"calculated_length": 135.74788919877133,
"difficulty": 7.0,
"effort": 2555.0,
"length": 73.0,
"n1": 7.0,
"n2": 25.0,
"n_1": 23.0,
"n_2": 50.0,
"time": 141.94444444444446,
"vocabulary": 32.0,
"volume": 365.0
},
"lines_of_code": 26.0,
"maintainability_index": 86.61936984542305,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 16.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 1055
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_1089:1089",
"entity_name": "anonymous_function_1089",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 1090,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.013,
"calculated_length": 16.36452797660028,
"difficulty": 2.7,
"effort": 105.30000000000001,
"length": 13.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 9.0,
"time": 5.8500000000000005,
"vocabulary": 8.0,
"volume": 39.0
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1090
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_1109:1109",
"entity_name": "anonymous_function_1109",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 1110,
"metrics": {
"cognitive_complexity": 16.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 1112,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 1114,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 1125,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 1126,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1130,
"nesting_level": 2
},
{
"column": 3,
"kind": "If",
"line": 1151,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1155,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1155,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1155,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 1170,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 1170,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.48378010673436833,
"calculated_length": 392.4671835415214,
"difficulty": 13.658333333333333,
"effort": 19822.88987344074,
"length": 236.0,
"n1": 11.0,
"n2": 60.0,
"n_1": 87.0,
"n_2": 149.0,
"time": 1101.2716596355967,
"vocabulary": 71.0,
"volume": 1451.340320203105
},
"lines_of_code": 72.0,
"maintainability_index": 61.100746482401576,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 25.0,
"technical_debt_score": 51.2
},
"recommendations": [],
"severity": "Moderate",
"start_line": 1110
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_1216:1216",
"entity_name": "anonymous_function_1216",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [
{
"description": "Cyclomatic complexity of 57.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_1216:1216",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:1217",
"metric_value": 57.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 68.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_1216:1216",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:1217",
"metric_value": 68.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 1217,
"metrics": {
"cognitive_complexity": 68.0,
"cyclomatic_complexity": 57.0,
"decision_points": [
{
"column": 5,
"kind": "ConditionalExpression",
"line": 1219,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 1219,
"nesting_level": 0
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 1220,
"nesting_level": 0
},
{
"column": 5,
"kind": "ConditionalExpression",
"line": 1225,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 1225,
"nesting_level": 0
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 1226,
"nesting_level": 0
},
{
"column": 28,
"kind": "ConditionalExpression",
"line": 1230,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 1241,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 1241,
"nesting_level": 1
},
{
"column": 26,
"kind": "ConditionalExpression",
"line": 1244,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 1255,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 1255,
"nesting_level": 1
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1259,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1259,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1259,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1259,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1259,
"nesting_level": 0
},
{
"column": 31,
"kind": "ConditionalExpression",
"line": 1268,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 1278,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 1278,
"nesting_level": 1
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1282,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1282,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1282,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1282,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1282,
"nesting_level": 0
},
{
"column": 29,
"kind": "ConditionalExpression",
"line": 1291,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 1301,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 1301,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 1305,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 1305,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 1305,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1307,
"nesting_level": 1
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 1311,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 1313,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 1313,
"nesting_level": 1
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1321,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1321,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1321,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1321,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1321,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 1340,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 1340,
"nesting_level": 1
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1344,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1344,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1344,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1344,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1344,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1344,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1344,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1344,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 1369,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 1369,
"nesting_level": 1
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1373,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1373,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 1384,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 1384,
"nesting_level": 1
}
],
"halstead": {
"bugs": 1.4816708964383947,
"calculated_length": 875.2361995152362,
"difficulty": 17.636363636363637,
"effort": 78393.86015701325,
"length": 631.0,
"n1": 11.0,
"n2": 121.0,
"n_1": 243.0,
"n_2": 388.0,
"time": 4355.214453167402,
"vocabulary": 132.0,
"volume": 4445.012689315184
},
"lines_of_code": 179.0,
"maintainability_index": 30.176752331428162,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 39.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 1217
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_1418:1418",
"entity_name": "anonymous_function_1418",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [
{
"description": "Cyclomatic complexity of 17.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_1418:1418",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:1419",
"metric_value": 17.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
}
],
"line_number": 1419,
"metrics": {
"cognitive_complexity": 21.0,
"cyclomatic_complexity": 17.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 1421,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 1422,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 1422,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 1430,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 1450,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1454,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1454,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1454,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1454,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1454,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1454,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1454,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1454,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 1454,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 1481,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 1481,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.5547111673295195,
"calculated_length": 417.21928094887363,
"difficulty": 13.28125,
"effort": 22101.773073285545,
"length": 268.0,
"n1": 10.0,
"n2": 64.0,
"n_1": 98.0,
"n_2": 170.0,
"time": 1227.8762818491969,
"vocabulary": 74.0,
"volume": 1664.1335019885587
},
"lines_of_code": 74.0,
"maintainability_index": 58.79543428193094,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 18.0,
"technical_debt_score": 65.60000000000001
},
"recommendations": [],
"severity": "High",
"start_line": 1419
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_1505:1505",
"entity_name": "anonymous_function_1505",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 1506,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008422064766172813,
"calculated_length": 12.754887502163468,
"difficulty": 2.25,
"effort": 56.848937171666485,
"length": 9.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 3.158274287314805,
"vocabulary": 7.0,
"volume": 25.26619429851844
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 1506
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_1516:1516",
"entity_name": "anonymous_function_1516",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 1517,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008422064766172813,
"calculated_length": 12.754887502163468,
"difficulty": 2.25,
"effort": 56.848937171666485,
"length": 9.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 3.158274287314805,
"vocabulary": 7.0,
"volume": 25.26619429851844
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 1517
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:isThreadItemType:1547",
"entity_name": "isThreadItemType",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 1548,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.021509775004326936,
"calculated_length": 33.284212515144276,
"difficulty": 2.5,
"effort": 161.323312532452,
"length": 18.0,
"n1": 3.0,
"n2": 9.0,
"n_1": 3.0,
"n_2": 15.0,
"time": 8.96240625180289,
"vocabulary": 12.0,
"volume": 64.5293250129808
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1548
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_1583:1583",
"entity_name": "anonymous_function_1583",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 1584,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 22,
"kind": "ConditionalExpression",
"line": 1585,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 1586,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1594,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.10734092005838229,
"calculated_length": 126.63682062300134,
"difficulty": 7.7727272727272725,
"effort": 2502.995090452278,
"length": 65.0,
"n1": 9.0,
"n2": 22.0,
"n_1": 27.0,
"n_2": 38.0,
"time": 139.05528280290434,
"vocabulary": 31.0,
"volume": 322.02276017514686
},
"lines_of_code": 18.0,
"maintainability_index": 93.22794194261722,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 8.0,
"technical_debt_score": 14.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 1584
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_1592:1592",
"entity_name": "anonymous_function_1592",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 1593,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 1594,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02652230907621928,
"calculated_length": 27.11941547876375,
"difficulty": 8.399999999999999,
"effort": 668.3621887207257,
"length": 23.0,
"n1": 6.0,
"n2": 5.0,
"n_1": 9.0,
"n_2": 14.0,
"time": 37.13123270670698,
"vocabulary": 11.0,
"volume": 79.56692722865783
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 1593
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_1620:1620",
"entity_name": "anonymous_function_1620",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 1621,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01310098963626882,
"calculated_length": 13.60964047443681,
"difficulty": 2.0,
"effort": 78.60593781761291,
"length": 14.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 10.0,
"time": 4.366996545422939,
"vocabulary": 7.0,
"volume": 39.302968908806456
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1621
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_1650:1650",
"entity_name": "anonymous_function_1650",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 1651,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1670,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.24692567726630738,
"calculated_length": 304.80346744487315,
"difficulty": 6.0,
"effort": 4444.662190793533,
"length": 127.0,
"n1": 6.0,
"n2": 51.0,
"n_1": 25.0,
"n_2": 102.0,
"time": 246.9256772663074,
"vocabulary": 57.0,
"volume": 740.7770317989222
},
"lines_of_code": 53.0,
"maintainability_index": 71.86123267350241,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 7.0,
"technical_debt_score": 15.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 1651
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_1716:1716",
"entity_name": "anonymous_function_1716",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 1717,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.010339850002884624,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 62.039100017307746,
"length": 12.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 8.0,
"time": 3.446616667628208,
"vocabulary": 6.0,
"volume": 31.019550008653873
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 1717
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_1721:1721",
"entity_name": "anonymous_function_1721",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 1722,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007739760316291207,
"calculated_length": 6.754887502163468,
"difficulty": 2.3333333333333335,
"effort": 54.17832221403845,
"length": 10.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 7.0,
"time": 3.0099067896688028,
"vocabulary": 5.0,
"volume": 23.21928094887362
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 1722
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_1736:1736",
"entity_name": "anonymous_function_1736",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 1737,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1739,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06418947501009618,
"calculated_length": 89.138352755659,
"difficulty": 5.147058823529412,
"effort": 991.1610111853088,
"length": 42.0,
"n1": 7.0,
"n2": 17.0,
"n_1": 17.0,
"n_2": 25.0,
"time": 55.06450062140604,
"vocabulary": 24.0,
"volume": 192.56842503028855
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1737
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_1754:1754",
"entity_name": "anonymous_function_1754",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 1755,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007739760316291207,
"calculated_length": 6.754887502163468,
"difficulty": 2.3333333333333335,
"effort": 54.17832221403845,
"length": 10.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 7.0,
"time": 3.0099067896688028,
"vocabulary": 5.0,
"volume": 23.21928094887362
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 1755
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_1810:1810",
"entity_name": "anonymous_function_1810",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 1811,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1823,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 1835,
"nesting_level": 0
},
{
"column": 29,
"kind": "LogicalOr",
"line": 1838,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 1848,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1848,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.20869041766052765,
"calculated_length": 219.07272996525947,
"difficulty": 7.368421052631579,
"effort": 4613.156600916926,
"length": 114.0,
"n1": 7.0,
"n2": 38.0,
"n_1": 34.0,
"n_2": 80.0,
"time": 256.28647782871815,
"vocabulary": 45.0,
"volume": 626.0712529815829
},
"lines_of_code": 47.0,
"maintainability_index": 73.76239507845627,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 11.0,
"technical_debt_score": 26.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1811
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:parsePatchChanges:1894",
"entity_name": "parsePatchChanges",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 1895,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 1897,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 1901,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06810989078336262,
"calculated_length": 94.71013448036484,
"difficulty": 5.055555555555555,
"effort": 1033.000010214333,
"length": 44.0,
"n1": 7.0,
"n2": 18.0,
"n_1": 18.0,
"n_2": 26.0,
"time": 57.38888945635184,
"vocabulary": 25.0,
"volume": 204.32967235008786
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 9.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1895
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_1899:1899",
"entity_name": "anonymous_function_1899",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 1900,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1901,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02031478750408655,
"calculated_length": 31.26112492884004,
"difficulty": 3.9285714285714284,
"effort": 239.4242812981629,
"length": 17.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 11.0,
"time": 13.30134896100905,
"vocabulary": 12.0,
"volume": 60.94436251225965
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1900
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:parsePatchFiles:1907",
"entity_name": "parsePatchFiles",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 1908,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 1909,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.022202638308846556,
"calculated_length": 35.161259458730164,
"difficulty": 3.8571428571428577,
"effort": 256.9162432880816,
"length": 18.0,
"n1": 6.0,
"n2": 7.0,
"n_1": 9.0,
"n_2": 9.0,
"time": 14.273124627115644,
"vocabulary": 13.0,
"volume": 66.60791492653966
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1908
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:extractPatchPaths:1914",
"entity_name": "extractPatchPaths",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 1915,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1919,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1919,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1923,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 1923,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1927,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.12106545886460288,
"calculated_length": 136.1612434150308,
"difficulty": 9.0,
"effort": 3268.7673893442775,
"length": 72.0,
"n1": 11.0,
"n2": 22.0,
"n_1": 36.0,
"n_2": 36.0,
"time": 181.5981882969043,
"vocabulary": 33.0,
"volume": 363.1963765938086
},
"lines_of_code": 17.0,
"maintainability_index": 93.06823674052785,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 21.0
},
"recommendations": [],
"severity": "Low",
"start_line": 1915
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:normalizeCommand:1933",
"entity_name": "normalizeCommand",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 1934,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 10,
"kind": "ConditionalExpression",
"line": 1935,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01792481250360578,
"calculated_length": 31.019550008653873,
"difficulty": 4.5,
"effort": 241.98496879867804,
"length": 15.0,
"n1": 6.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 9.0,
"time": 13.443609377704336,
"vocabulary": 12.0,
"volume": 53.77443751081734
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 1934
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:resolveCodexHomeDir:1937",
"entity_name": "resolveCodexHomeDir",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 1938,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02096915840279952,
"calculated_length": 36.529325012980806,
"difficulty": 2.0,
"effort": 125.81495041679713,
"length": 17.0,
"n1": 4.0,
"n2": 9.0,
"n_1": 8.0,
"n_2": 9.0,
"time": 6.989719467599841,
"vocabulary": 13.0,
"volume": 62.907475208398566
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1938
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:tokenizeCommandArgs:1941",
"entity_name": "tokenizeCommandArgs",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [
{
"description": "Cyclomatic complexity of 17.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:tokenizeCommandArgs:1941",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:1942",
"metric_value": 17.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 53.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:tokenizeCommandArgs:1941",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:1942",
"metric_value": 53.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 1942,
"metrics": {
"cognitive_complexity": 53.0,
"cyclomatic_complexity": 17.0,
"decision_points": [
{
"column": 3,
"kind": "For",
"line": 1946,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 1948,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1949,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 1953,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1953,
"nesting_level": 3
},
{
"column": 9,
"kind": "If",
"line": 1955,
"nesting_level": 3
},
{
"column": 13,
"kind": "LogicalOr",
"line": 1955,
"nesting_level": 4
},
{
"column": 13,
"kind": "LogicalOr",
"line": 1955,
"nesting_level": 4
},
{
"column": 13,
"kind": "LogicalOr",
"line": 1955,
"nesting_level": 4
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 1957,
"nesting_level": 4
},
{
"column": 44,
"kind": "ConditionalExpression",
"line": 1957,
"nesting_level": 4
},
{
"column": 5,
"kind": "If",
"line": 1965,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 1965,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 1970,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1971,
"nesting_level": 2
},
{
"column": 3,
"kind": "If",
"line": 1979,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.26779371242235395,
"calculated_length": 169.39937365317456,
"difficulty": 22.12,
"effort": 17770.790756347407,
"length": 152.0,
"n1": 14.0,
"n2": 25.0,
"n_1": 73.0,
"n_2": 79.0,
"time": 987.2661531304116,
"vocabulary": 39.0,
"volume": 803.3811372670618
},
"lines_of_code": 41.0,
"maintainability_index": 72.14822045569886,
"max_nesting_depth": 4.0,
"parameter_count": 1.0,
"statement_count": 30.0,
"technical_debt_score": 82.19999999999999
},
"recommendations": [],
"severity": "Critical",
"start_line": 1942
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:parseFrontMatter:1984",
"entity_name": "parseFrontMatter",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 1985,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 1990,
"nesting_level": 0
},
{
"column": 3,
"kind": "For",
"line": 1994,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 1995,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 2000,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 2008,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 2008,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 2012,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 2018,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 2018,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.3034496292058495,
"calculated_length": 225.06836487295675,
"difficulty": 20.454545454545453,
"effort": 18620.772701268037,
"length": 163.0,
"n1": 15.0,
"n2": 33.0,
"n_1": 73.0,
"n_2": 90.0,
"time": 1034.4873722926686,
"vocabulary": 48.0,
"volume": 910.3488876175485
},
"lines_of_code": 38.0,
"maintainability_index": 74.33919903352384,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 27.0,
"technical_debt_score": 37.2
},
"recommendations": [],
"severity": "Moderate",
"start_line": 1985
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:listCodexCustomPrompts:2024",
"entity_name": "listCodexCustomPrompts",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2025,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 2029,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 2031,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 2037,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 2040,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 2044,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 2049,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 2051,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.2846753922030186,
"calculated_length": 312.6872089127504,
"difficulty": 12.880434782608695,
"effort": 11000.228470453598,
"length": 144.0,
"n1": 15.0,
"n2": 46.0,
"n_1": 65.0,
"n_2": 79.0,
"time": 611.1238039140887,
"vocabulary": 61.0,
"volume": 854.0261766090557
},
"lines_of_code": 43.0,
"maintainability_index": 73.12875653131783,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 25.0,
"technical_debt_score": 31.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 2025
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_2066:2066",
"entity_name": "anonymous_function_2066",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2067,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009478195835977574,
"calculated_length": 10.0,
"difficulty": 1.75,
"effort": 49.76052813888226,
"length": 11.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 7.0,
"time": 2.764473785493459,
"vocabulary": 6.0,
"volume": 28.43458750793272
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 2067
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:listCodexSkills:2069",
"entity_name": "listCodexSkills",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2070,
"metrics": {
"cognitive_complexity": 19.0,
"cyclomatic_complexity": 14.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 2075,
"nesting_level": 0
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 2082,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 2083,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 2087,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 2098,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 2100,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 2105,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 2105,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 2111,
"nesting_level": 0
},
{
"column": 9,
"kind": "Catch",
"line": 2113,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 2119,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 2119,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 2122,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.46150075092677745,
"calculated_length": 446.0555034817505,
"difficulty": 16.46031746031746,
"effort": 22789.34660528896,
"length": 219.0,
"n1": 17.0,
"n2": 63.0,
"n_1": 97.0,
"n_2": 122.0,
"time": 1266.0748114049422,
"vocabulary": 80.0,
"volume": 1384.5022527803324
},
"lines_of_code": 65.0,
"maintainability_index": 62.54282718497349,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 35.0,
"technical_debt_score": 56.2
},
"recommendations": [],
"severity": "Moderate",
"start_line": 2070
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_2073:2073",
"entity_name": "anonymous_function_2073",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2074,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 2075,
"nesting_level": 0
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 2082,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 2083,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03474937501201927,
"calculated_length": 58.529325012980806,
"difficulty": 4.25,
"effort": 443.0545314032457,
"length": 25.0,
"n1": 6.0,
"n2": 12.0,
"n_1": 8.0,
"n_2": 17.0,
"time": 24.61414063351365,
"vocabulary": 18.0,
"volume": 104.2481250360578
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 14.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 2074
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_2131:2131",
"entity_name": "anonymous_function_2131",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2132,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009478195835977574,
"calculated_length": 10.0,
"difficulty": 1.75,
"effort": 49.76052813888226,
"length": 11.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 7.0,
"time": 2.764473785493459,
"vocabulary": 6.0,
"volume": 28.43458750793272
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 2132
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:escapeRegExp:2136",
"entity_name": "escapeRegExp",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2137,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 2137
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:expandCodexCustomPrompt:2140",
"entity_name": "expandCodexCustomPrompt",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2141,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 23,
"kind": "ConditionalExpression",
"line": 2142,
"nesting_level": 0
},
{
"column": 18,
"kind": "ConditionalExpression",
"line": 2143,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 2149,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 2152,
"nesting_level": 1
},
{
"column": 3,
"kind": "For",
"line": 2165,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.3451150588958947,
"calculated_length": 298.81835015416885,
"difficulty": 18.06818181818182,
"effort": 18706.80489697066,
"length": 176.0,
"n1": 15.0,
"n2": 44.0,
"n_1": 70.0,
"n_2": 106.0,
"time": 1039.2669387205924,
"vocabulary": 59.0,
"volume": 1035.3451766876842
},
"lines_of_code": 38.0,
"maintainability_index": 74.59015541087632,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 27.0,
"technical_debt_score": 24.4
},
"recommendations": [],
"severity": "Low",
"start_line": 2141
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_2169:2169",
"entity_name": "anonymous_function_2169",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2170,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0069657842846620865,
"calculated_length": 6.754887502163468,
"difficulty": 2.0,
"effort": 41.79470570797252,
"length": 9.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 2.321928094887362,
"vocabulary": 5.0,
"volume": 20.89735285398626
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 2170
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:extractFileReadFromParsedCmd:2180",
"entity_name": "extractFileReadFromParsedCmd",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2181,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 2185,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 2185,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 2189,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 2189,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09169925001442311,
"calculated_length": 88.0,
"difficulty": 8.5,
"effort": 2338.3308753677893,
"length": 60.0,
"n1": 8.0,
"n2": 16.0,
"n_1": 26.0,
"n_2": 34.0,
"time": 129.90727085376608,
"vocabulary": 24.0,
"volume": 275.09775004326934
},
"lines_of_code": 16.0,
"maintainability_index": 95.72500495582192,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 18.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 2181
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:shouldReportCommandError:2198",
"entity_name": "shouldReportCommandError",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2199,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 2205,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 2209,
"nesting_level": 0
},
{
"column": 12,
"kind": "LogicalOr",
"line": 2210,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 2212,
"nesting_level": 0
},
{
"column": 12,
"kind": "LogicalOr",
"line": 2213,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.068,
"calculated_length": 49.66338827944708,
"difficulty": 6.136363636363637,
"effort": 1251.818181818182,
"length": 51.0,
"n1": 5.0,
"n2": 11.0,
"n_1": 24.0,
"n_2": 27.0,
"time": 69.54545454545456,
"vocabulary": 16.0,
"volume": 204.0
},
"lines_of_code": 17.0,
"maintainability_index": 96.06771985829937,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 21.0
},
"recommendations": [],
"severity": "Low",
"start_line": 2199
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:extractContentText:2217",
"entity_name": "extractContentText",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2218,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 2219,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 2225,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 2229,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.10140907230924272,
"calculated_length": 120.76799089133478,
"difficulty": 7.071428571428571,
"effort": 2151.3210339889347,
"length": 62.0,
"n1": 9.0,
"n2": 21.0,
"n_1": 29.0,
"n_2": 33.0,
"time": 119.51783522160748,
"vocabulary": 30.0,
"volume": 304.22721692772814
},
"lines_of_code": 15.0,
"maintainability_index": 96.47715754123706,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 13.4
},
"recommendations": [],
"severity": "Low",
"start_line": 2218
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:extractSummaryText:2234",
"entity_name": "extractSummaryText",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2235,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 2236,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 2241,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 2246,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 2250,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.125,
"calculated_length": 131.32677655889415,
"difficulty": 8.636363636363637,
"effort": 3238.636363636364,
"length": 75.0,
"n1": 10.0,
"n2": 22.0,
"n_1": 37.0,
"n_2": 38.0,
"time": 179.92424242424244,
"vocabulary": 32.0,
"volume": 375.0
},
"lines_of_code": 19.0,
"maintainability_index": 91.33007320245751,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 13.0,
"technical_debt_score": 17.0
},
"recommendations": [],
"severity": "Low",
"start_line": 2235
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:normalizeStructuredPayload:2255",
"entity_name": "normalizeStructuredPayload",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2256,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 2257,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 2261,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 2262,
"nesting_level": 1
},
{
"column": 6,
"kind": "LogicalAnd",
"line": 2263,
"nesting_level": 1
},
{
"column": 3,
"kind": "Try",
"line": 2267,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 2269,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07174118457205308,
"calculated_length": 71.54887502163469,
"difficulty": 8.25,
"effort": 1775.594318158314,
"length": 49.0,
"n1": 9.0,
"n2": 12.0,
"n_1": 27.0,
"n_2": 22.0,
"time": 98.644128786573,
"vocabulary": 21.0,
"volume": 215.22355371615927
},
"lines_of_code": 16.0,
"maintainability_index": 96.54134088192369,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 24.399999999999995
},
"recommendations": [],
"severity": "Low",
"start_line": 2256
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:isKeyedObject:2273",
"entity_name": "isKeyedObject",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2274,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 10,
"kind": "LogicalAnd",
"line": 2275,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.013,
"calculated_length": 16.36452797660028,
"difficulty": 2.4000000000000004,
"effort": 93.60000000000001,
"length": 13.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 5.2,
"vocabulary": 8.0,
"volume": 39.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 2274
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:normalizeToolName:2277",
"entity_name": "normalizeToolName",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2278,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 2279,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 2283,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08304110168715928,
"calculated_length": 99.05865002596161,
"difficulty": 6.666666666666667,
"effort": 1660.8220337431858,
"length": 53.0,
"n1": 8.0,
"n2": 18.0,
"n_1": 23.0,
"n_2": 30.0,
"time": 92.26789076351032,
"vocabulary": 26.0,
"volume": 249.12330506147785
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 9.8
},
"recommendations": [],
"severity": "Low",
"start_line": 2278
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_2281:2281",
"entity_name": "anonymous_function_2281",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2282,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 2282
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:extractMcpToolResultPayload:2290",
"entity_name": "extractMcpToolResultPayload",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [
{
"description": "Cognitive complexity of 31.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:extractMcpToolResultPayload:2290",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:2291",
"metric_value": 31.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 2291,
"metrics": {
"cognitive_complexity": 31.0,
"cyclomatic_complexity": 13.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 2298,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 2299,
"nesting_level": 1
},
{
"column": 12,
"kind": "If",
"line": 2302,
"nesting_level": 2
},
{
"column": 12,
"kind": "If",
"line": 2305,
"nesting_level": 3
},
{
"column": 12,
"kind": "If",
"line": 2308,
"nesting_level": 4
},
{
"column": 3,
"kind": "If",
"line": 2314,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 2315,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 2315,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 2318,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 2318,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 2321,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 2321,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.22363480595822477,
"calculated_length": 138.56842503028855,
"difficulty": 12.5625,
"effort": 8428.236749550597,
"length": 133.0,
"n1": 9.0,
"n2": 24.0,
"n_1": 66.0,
"n_2": 67.0,
"time": 468.23537497503315,
"vocabulary": 33.0,
"volume": 670.9044178746743
},
"lines_of_code": 36.0,
"maintainability_index": 76.11213446337992,
"max_nesting_depth": 4.0,
"parameter_count": 1.0,
"statement_count": 23.0,
"technical_debt_score": 57.99999999999999
},
"recommendations": [],
"severity": "High",
"start_line": 2291
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:extractWebSearchQuery:2328",
"entity_name": "extractWebSearchQuery",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2329,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 2333,
"nesting_level": 0
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 2335,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 2337,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 2339,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 2343,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 2345,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10545413751658658,
"calculated_length": 88.0,
"difficulty": 9.0,
"effort": 2847.261712947838,
"length": 69.0,
"n1": 8.0,
"n2": 16.0,
"n_1": 33.0,
"n_2": 36.0,
"time": 158.18120627487988,
"vocabulary": 24.0,
"volume": 316.36241254975977
},
"lines_of_code": 21.0,
"maintainability_index": 90.13291666463607,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 12.0,
"technical_debt_score": 25.399999999999995
},
"recommendations": [],
"severity": "Low",
"start_line": 2329
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:extractTodoItems:2351",
"entity_name": "extractTodoItems",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2352,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 2353,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 2355,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 2359,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 2361,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05599876520372211,
"calculated_length": 44.039100017307746,
"difficulty": 7.333333333333334,
"effort": 1231.9728344818864,
"length": 43.0,
"n1": 6.0,
"n2": 9.0,
"n_1": 21.0,
"n_2": 22.0,
"time": 68.44293524899369,
"vocabulary": 15.0,
"volume": 167.99629561116632
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 9.0,
"technical_debt_score": 17.6
},
"recommendations": [],
"severity": "Low",
"start_line": 2352
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:mapRawResponseItemToThreadItem:2367",
"entity_name": "mapRawResponseItemToThreadItem",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [
{
"description": "Cyclomatic complexity of 37.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:mapRawResponseItemToThreadItem:2367",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:2368",
"metric_value": 37.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 72.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:mapRawResponseItemToThreadItem:2367",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:2368",
"metric_value": 72.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 2368,
"metrics": {
"cognitive_complexity": 72.0,
"cyclomatic_complexity": 37.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 2370,
"nesting_level": 0
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 2376,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 2380,
"nesting_level": 0
},
{
"column": 26,
"kind": "ConditionalExpression",
"line": 2385,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 2392,
"nesting_level": 0
},
{
"column": 7,
"kind": "ConditionalExpression",
"line": 2395,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 2395,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 2396,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 2398,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 2402,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 2402,
"nesting_level": 2
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 2402,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 2405,
"nesting_level": 2
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 2414,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 2417,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 2417,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 2417,
"nesting_level": 1
},
{
"column": 18,
"kind": "ConditionalExpression",
"line": 2419,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 2421,
"nesting_level": 1
},
{
"column": 12,
"kind": "If",
"line": 2423,
"nesting_level": 2
},
{
"column": 16,
"kind": "LogicalAnd",
"line": 2423,
"nesting_level": 3
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 2430,
"nesting_level": 1
},
{
"column": 15,
"kind": "ConditionalExpression",
"line": 2431,
"nesting_level": 1
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 2435,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 2438,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 2440,
"nesting_level": 1
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 2447,
"nesting_level": 1
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 2447,
"nesting_level": 1
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 2450,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 2453,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 2455,
"nesting_level": 1
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 2462,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 2465,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 2468,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 2468,
"nesting_level": 2
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 2480,
"nesting_level": 1
}
],
"halstead": {
"bugs": 1.0187063568610246,
"calculated_length": 616.5356987759164,
"difficulty": 20.017045454545453,
"effort": 61174.47435036459,
"length": 459.0,
"n1": 13.0,
"n2": 88.0,
"n_1": 188.0,
"n_2": 271.0,
"time": 3398.581908353588,
"vocabulary": 101.0,
"volume": 3056.1190705830736
},
"lines_of_code": 116.0,
"maintainability_index": 43.75235311952146,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 57.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 2368
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_2405:2405",
"entity_name": "anonymous_function_2405",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2406,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.00655049481813441,
"calculated_length": 15.509775004326936,
"difficulty": 0.5,
"effort": 9.825742227201614,
"length": 7.0,
"n1": 1.0,
"n2": 6.0,
"n_1": 1.0,
"n_2": 6.0,
"time": 0.5458745681778674,
"vocabulary": 7.0,
"volume": 19.651484454403228
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 2406
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:extractTextContent:2485",
"entity_name": "extractTextContent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2486,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 2489,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 2495,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 2499,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0990839262077375,
"calculated_length": 126.63682062300134,
"difficulty": 6.954545454545454,
"effort": 2067.251005879614,
"length": 60.0,
"n1": 9.0,
"n2": 22.0,
"n_1": 26.0,
"n_2": 34.0,
"time": 114.84727810442298,
"vocabulary": 31.0,
"volume": 297.2517786232125
},
"lines_of_code": 17.0,
"maintainability_index": 94.5701303267268,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 13.8
},
"recommendations": [],
"severity": "Low",
"start_line": 2486
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:normalizeEvent:2504",
"entity_name": "normalizeEvent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2505,
"metrics": {
"cognitive_complexity": 21.0,
"cyclomatic_complexity": 15.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 2510,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 2510,
"nesting_level": 1
},
{
"column": 8,
"kind": "LogicalOr",
"line": 2510,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 2515,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 2528,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 2531,
"nesting_level": 0
},
{
"column": 10,
"kind": "If",
"line": 2533,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 2537,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 2539,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 2544,
"nesting_level": 0
},
{
"column": 21,
"kind": "ConditionalExpression",
"line": 2545,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 2553,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 2567,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 2567,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.5904541300792553,
"calculated_length": 449.4475257693246,
"difficulty": 15.402985074626866,
"effort": 27284.26845858768,
"length": 281.0,
"n1": 12.0,
"n2": 67.0,
"n_1": 109.0,
"n_2": 172.0,
"time": 1515.7926921437602,
"vocabulary": 79.0,
"volume": 1771.362390237766
},
"lines_of_code": 70.0,
"maintainability_index": 59.830955023051075,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 34.0,
"technical_debt_score": 60.80000000000001
},
"recommendations": [],
"severity": "High",
"start_line": 2505
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:getImageExtension:2576",
"entity_name": "getImageExtension",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2577,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03474937501201927,
"calculated_length": 63.35824643629125,
"difficulty": 1.6,
"effort": 166.7970000576925,
"length": 25.0,
"n1": 3.0,
"n2": 15.0,
"n_1": 9.0,
"n_2": 16.0,
"time": 9.266500003205138,
"vocabulary": 18.0,
"volume": 104.2481250360578
},
"lines_of_code": 17.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 2577
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:normalizeImageData:2597",
"entity_name": "normalizeImageData",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2598,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 2599,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 2601,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04465992364716941,
"calculated_length": 68.81274391313339,
"difficulty": 4.071428571428571,
"effort": 545.489067404712,
"length": 31.0,
"n1": 6.0,
"n2": 14.0,
"n_1": 12.0,
"n_2": 19.0,
"time": 30.304948189150668,
"vocabulary": 20.0,
"volume": 133.97977094150824
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 10.0
},
"recommendations": [],
"severity": "Low",
"start_line": 2598
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:writeImageAttachment:2607",
"entity_name": "writeImageAttachment",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2608,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 19,
"kind": "ConditionalExpression",
"line": 2609,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.12508785251307322,
"calculated_length": 179.65148445440323,
"difficulty": 5.03125,
"effort": 1888.044773869199,
"length": 71.0,
"n1": 7.0,
"n2": 32.0,
"n_1": 25.0,
"n_2": 46.0,
"time": 104.8913763260666,
"vocabulary": 39.0,
"volume": 375.2635575392197
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 9.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 2608
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:replaceInlineImageData:2619",
"entity_name": "replaceInlineImageData",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2620,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 2624,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 2639,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 2642,
"nesting_level": 1
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 2643,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.23181788187107108,
"calculated_length": 251.35313346239894,
"difficulty": 15.202702702702704,
"effort": 10572.775017768445,
"length": 122.0,
"n1": 15.0,
"n2": 37.0,
"n_1": 47.0,
"n_2": 75.0,
"time": 587.3763898760247,
"vocabulary": 52.0,
"volume": 695.4536456132132
},
"lines_of_code": 31.0,
"maintainability_index": 80.18767261465487,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 22.0,
"technical_debt_score": 21.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 2620
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:toPromptText:2652",
"entity_name": "toPromptText",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2653,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 2654,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 2659,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 2663,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 2664,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 2667,
"nesting_level": 2
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 2668,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.1660841121431606,
"calculated_length": 181.6849314672201,
"difficulty": 13.222222222222221,
"effort": 6588.003115012037,
"length": 93.0,
"n1": 14.0,
"n2": 27.0,
"n_1": 42.0,
"n_2": 51.0,
"time": 366.00017305622424,
"vocabulary": 41.0,
"volume": 498.2523364294818
},
"lines_of_code": 22.0,
"maintainability_index": 87.01735768415799,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 15.0,
"technical_debt_score": 27.199999999999996
},
"recommendations": [],
"severity": "Low",
"start_line": 2653
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:getCodexMcpCommand:2676",
"entity_name": "getCodexMcpCommand",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2677,
"metrics": {
"cognitive_complexity": 22.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 2678,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 2684,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 2689,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 2689,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 2690,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 2690,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 2691,
"nesting_level": 2
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 2693,
"nesting_level": 3
},
{
"column": 5,
"kind": "Catch",
"line": 2698,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.1660841121431606,
"calculated_length": 185.26046567326583,
"difficulty": 9.533333333333333,
"effort": 4750.005607294393,
"length": 93.0,
"n1": 11.0,
"n2": 30.0,
"n_1": 41.0,
"n_2": 52.0,
"time": 263.889200405244,
"vocabulary": 41.0,
"volume": 498.2523364294818
},
"lines_of_code": 24.0,
"maintainability_index": 84.917773376926,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 16.0,
"technical_debt_score": 42.4
},
"recommendations": [],
"severity": "Moderate",
"start_line": 2677
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:buildCodexMcpConfig:2716",
"entity_name": "buildCodexMcpConfig",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [
{
"description": "Cyclomatic complexity of 25.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:buildCodexMcpConfig:2716",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:2717",
"metric_value": 25.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 38.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:buildCodexMcpConfig:2716",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:2717",
"metric_value": 38.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 2717,
"metrics": {
"cognitive_complexity": 38.0,
"cyclomatic_complexity": 25.0,
"decision_points": [
{
"column": 5,
"kind": "ConditionalExpression",
"line": 2732,
"nesting_level": 0
},
{
"column": 5,
"kind": "ConditionalExpression",
"line": 2736,
"nesting_level": 0
},
{
"column": 5,
"kind": "ConditionalExpression",
"line": 2740,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 2746,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 2755,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 2757,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 2766,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 2769,
"nesting_level": 1
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 2770,
"nesting_level": 2
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 2776,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 2782,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 2782,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 2784,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 2784,
"nesting_level": 2
},
{
"column": 3,
"kind": "If",
"line": 2791,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 2793,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 2793,
"nesting_level": 2
},
{
"column": 3,
"kind": "If",
"line": 2800,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 2805,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 2805,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 2825,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 2829,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 2829,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 2838,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.7582992410548476,
"calculated_length": 499.96290913407546,
"difficulty": 18.075342465753426,
"effort": 41119.55542076184,
"length": 354.0,
"n1": 13.0,
"n2": 73.0,
"n_1": 151.0,
"n_2": 203.0,
"time": 2284.41974559788,
"vocabulary": 86.0,
"volume": 2274.8977231645426
},
"lines_of_code": 126.0,
"maintainability_index": 46.707843165062755,
"max_nesting_depth": 2.0,
"parameter_count": 5.0,
"statement_count": 41.0,
"technical_debt_score": 90.40000000000002
},
"recommendations": [],
"severity": "Critical",
"start_line": 2717
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:isUnsupportedChatGptModelError:2844",
"entity_name": "isUnsupportedChatGptModelError",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2845,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 19,
"kind": "ConditionalExpression",
"line": 2846,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02343611821489358,
"calculated_length": 35.60964047443681,
"difficulty": 3.75,
"effort": 263.6563299175528,
"length": 19.0,
"n1": 5.0,
"n2": 8.0,
"n_1": 7.0,
"n_2": 12.0,
"time": 14.647573884308489,
"vocabulary": 13.0,
"volume": 70.30835464468075
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 2845
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:isMissingSessionForConversationOrThread:2849",
"entity_name": "isMissingSessionForConversationOrThread",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2850,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "LogicalOr",
"line": 2852,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01660964047443681,
"calculated_length": 23.21928094887362,
"difficulty": 4.0,
"effort": 199.31568569324173,
"length": 15.0,
"n1": 5.0,
"n2": 5.0,
"n_1": 7.0,
"n_2": 8.0,
"time": 11.073093649624541,
"vocabulary": 10.0,
"volume": 49.82892142331043
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 2850
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:isMissingConversationIdError:2856",
"entity_name": "isMissingConversationIdError",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2857,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 19,
"kind": "ConditionalExpression",
"line": 2858,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02031478750408655,
"calculated_length": 31.26112492884004,
"difficulty": 3.9285714285714284,
"effort": 239.4242812981629,
"length": 17.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 11.0,
"time": 13.30134896100905,
"vocabulary": 12.0,
"volume": 60.94436251225965
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 2857
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:isMissingConversationIdResponse:2861",
"entity_name": "isMissingConversationIdResponse",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2862,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 10,
"kind": "LogicalAnd",
"line": 2864,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.014792983340064124,
"calculated_length": 19.60964047443681,
"difficulty": 3.2,
"effort": 142.0126400646156,
"length": 14.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 7.889591114700867,
"vocabulary": 9.0,
"volume": 44.37895002019237
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 2862
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:findCodexResumeFile:2870",
"entity_name": "findCodexResumeFile",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2871,
"metrics": {
"cognitive_complexity": 23.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 2872,
"nesting_level": 0
},
{
"column": 3,
"kind": "Try",
"line": 2873,
"nesting_level": 0
},
{
"column": 26,
"kind": "LogicalOr",
"line": 2874,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 2880,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 2882,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 2887,
"nesting_level": 1
},
{
"column": 16,
"kind": "If",
"line": 2889,
"nesting_level": 2
},
{
"column": 9,
"kind": "Try",
"line": 2899,
"nesting_level": 1
},
{
"column": 11,
"kind": "Catch",
"line": 2901,
"nesting_level": 2
},
{
"column": 12,
"kind": "LogicalOr",
"line": 2910,
"nesting_level": 1
},
{
"column": 5,
"kind": "Catch",
"line": 2911,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.28714086577172476,
"calculated_length": 272.9626010981479,
"difficulty": 14.170731707317074,
"effort": 12206.98851317357,
"length": 149.0,
"n1": 14.0,
"n2": 41.0,
"n_1": 66.0,
"n_2": 83.0,
"time": 678.1660285096427,
"vocabulary": 55.0,
"volume": 861.4225973151744
},
"lines_of_code": 43.0,
"maintainability_index": 72.16391505706798,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 26.0,
"technical_debt_score": 51.0
},
"recommendations": [],
"severity": "Moderate",
"start_line": 2871
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:collectFilesRecursive:2877",
"entity_name": "collectFilesRecursive",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2878,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 2880,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 2882,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 2887,
"nesting_level": 1
},
{
"column": 16,
"kind": "If",
"line": 2889,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.08717293753966358,
"calculated_length": 102.05374780501026,
"difficulty": 10.3125,
"effort": 2696.912755133342,
"length": 55.0,
"n1": 11.0,
"n2": 16.0,
"n_1": 25.0,
"n_2": 30.0,
"time": 149.8284863962968,
"vocabulary": 27.0,
"volume": 261.51881261899075
},
"lines_of_code": 16.0,
"maintainability_index": 95.98823034480104,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 11.0,
"technical_debt_score": 21.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 2878
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_2896:2896",
"entity_name": "anonymous_function_2896",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2897,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 2897
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_2897:2897",
"entity_name": "anonymous_function_2897",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2898,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "Try",
"line": 2899,
"nesting_level": 1
},
{
"column": 11,
"kind": "Catch",
"line": 2901,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 19.60964047443681,
"difficulty": 3.125,
"effort": 118.87218755408671,
"length": 12.0,
"n1": 5.0,
"n2": 4.0,
"n_1": 7.0,
"n_2": 5.0,
"time": 6.604010419671484,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 11.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 2898
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_2904:2904",
"entity_name": "anonymous_function_2904",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2905,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01993156856932417,
"calculated_length": 23.509775004326936,
"difficulty": 4.0,
"effort": 239.17882283189007,
"length": 18.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 12.0,
"time": 13.287712379549449,
"vocabulary": 10.0,
"volume": 59.79470570797252
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 2905
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:parseRolloutHistory:2920",
"entity_name": "parseRolloutHistory",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [
{
"description": "Cyclomatic complexity of 16.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:parseRolloutHistory:2920",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:2921",
"metric_value": 16.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 56.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:parseRolloutHistory:2920",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:2921",
"metric_value": 56.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 2921,
"metrics": {
"cognitive_complexity": 56.0,
"cyclomatic_complexity": 16.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 2922,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 2929,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 2933,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 2933,
"nesting_level": 3
},
{
"column": 11,
"kind": "If",
"line": 2937,
"nesting_level": 3
},
{
"column": 28,
"kind": "LogicalOr",
"line": 2940,
"nesting_level": 4
},
{
"column": 28,
"kind": "LogicalOr",
"line": 2940,
"nesting_level": 4
},
{
"column": 15,
"kind": "If",
"line": 2941,
"nesting_level": 4
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 2941,
"nesting_level": 5
},
{
"column": 28,
"kind": "LogicalOr",
"line": 2941,
"nesting_level": 5
},
{
"column": 17,
"kind": "If",
"line": 2943,
"nesting_level": 5
},
{
"column": 9,
"kind": "Catch",
"line": 2949,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 2954,
"nesting_level": 1
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 2958,
"nesting_level": 1
},
{
"column": 5,
"kind": "Catch",
"line": 2962,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.314803409304329,
"calculated_length": 330.2985258245704,
"difficulty": 11.83,
"effort": 11172.372996210635,
"length": 158.0,
"n1": 13.0,
"n2": 50.0,
"n_1": 67.0,
"n_2": 91.0,
"time": 620.6873886783686,
"vocabulary": 63.0,
"volume": 944.4102279129869
},
"lines_of_code": 44.0,
"maintainability_index": 70.39321262739426,
"max_nesting_depth": 5.0,
"parameter_count": 1.0,
"statement_count": 22.0,
"technical_debt_score": 80.80000000000001
},
"recommendations": [],
"severity": "Critical",
"start_line": 2921
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_2923:2923",
"entity_name": "anonymous_function_2923",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2924,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.0,
"difficulty": 1.5,
"effort": 15.0,
"length": 5.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.8333333333333334,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 2924
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_2957:2957",
"entity_name": "anonymous_function_2957",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2958,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 22,
"kind": "ConditionalExpression",
"line": 2958,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 20.264662506490403,
"difficulty": 2.0,
"effort": 76.07820003461549,
"length": 12.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 4.0,
"n_2": 8.0,
"time": 4.22656666858975,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 2958
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:push:2971",
"entity_name": "push",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2972,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 2973,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 2976,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05648613383607243,
"calculated_length": 76.63504134881501,
"difficulty": 6.230769230769231,
"effort": 1055.8561940127386,
"length": 38.0,
"n1": 9.0,
"n2": 13.0,
"n_1": 20.0,
"n_2": 18.0,
"time": 58.65867744515214,
"vocabulary": 22.0,
"volume": 169.4584015082173
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 11.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 2972
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:end:2983",
"entity_name": "end",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2984,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "While",
"line": 2986,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03752932501298081,
"calculated_length": 57.219280948873624,
"difficulty": 5.2,
"effort": 585.4574702025006,
"length": 27.0,
"n1": 8.0,
"n2": 10.0,
"n_1": 14.0,
"n_2": 13.0,
"time": 32.52541501125003,
"vocabulary": 18.0,
"volume": 112.58797503894243
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 2984
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:[Symbol.asyncIterator]:2991",
"entity_name": "[Symbol.asyncIterator]",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2992,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 2995,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 2999,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09920641768071624,
"calculated_length": 138.56842503028855,
"difficulty": 6.1875,
"effort": 1841.5191281982952,
"length": 59.0,
"n1": 9.0,
"n2": 24.0,
"n_1": 26.0,
"n_2": 33.0,
"time": 102.30661823323862,
"vocabulary": 33.0,
"volume": 297.6192530421487
},
"lines_of_code": 15.0,
"maintainability_index": 96.8213487669565,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 12.2
},
"recommendations": [],
"severity": "Low",
"start_line": 2992
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_2993:2993",
"entity_name": "anonymous_function_2993",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 2994,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 2995,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 2999,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08172503367497927,
"calculated_length": 109.23994776840892,
"difficulty": 6.394736842105263,
"effort": 1567.8302512910495,
"length": 51.0,
"n1": 9.0,
"n2": 19.0,
"n_1": 24.0,
"n_2": 27.0,
"time": 87.10168062728053,
"vocabulary": 28.0,
"volume": 245.1751010249378
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 11.4
},
"recommendations": [],
"severity": "Low",
"start_line": 2994
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_3001:3001",
"entity_name": "anonymous_function_3001",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3002,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 9.509775004326936,
"difficulty": 2.0,
"effort": 41.3594000115385,
"length": 8.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 2.2977444450854723,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 3002
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:constructor:3043",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [
{
"description": "Cognitive complexity of 27.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:constructor:3043",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:3044",
"metric_value": 27.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 3044,
"metrics": {
"cognitive_complexity": 27.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 3046,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 3055,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 3059,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 3061,
"nesting_level": 3
},
{
"column": 9,
"kind": "If",
"line": 3065,
"nesting_level": 3
},
{
"column": 7,
"kind": "If",
"line": 3071,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 3073,
"nesting_level": 3
},
{
"column": 5,
"kind": "If",
"line": 3083,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 3083,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.5076097097962871,
"calculated_length": 434.4734578555034,
"difficulty": 10.707692307692309,
"effort": 16305.985754686883,
"length": 243.0,
"n1": 12.0,
"n2": 65.0,
"n_1": 127.0,
"n_2": 116.0,
"time": 905.8880974826046,
"vocabulary": 77.0,
"volume": 1522.829129388861
},
"lines_of_code": 66.0,
"maintainability_index": 62.720302382741565,
"max_nesting_depth": 3.0,
"parameter_count": 3.0,
"statement_count": 33.0,
"technical_debt_score": 54.800000000000004
},
"recommendations": [],
"severity": "High",
"start_line": 3044
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_3098:3098",
"entity_name": "anonymous_function_3098",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3099,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017962908341506434,
"calculated_length": 20.264662506490403,
"difficulty": 2.25,
"effort": 121.24963130516844,
"length": 17.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 8.0,
"n_2": 9.0,
"time": 6.736090628064913,
"vocabulary": 9.0,
"volume": 53.8887250245193
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 3099
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_3105:3105",
"entity_name": "anonymous_function_3105",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3106,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.013,
"calculated_length": 16.36452797660028,
"difficulty": 2.0999999999999996,
"effort": 81.89999999999999,
"length": 13.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 6.0,
"n_2": 7.0,
"time": 4.55,
"vocabulary": 8.0,
"volume": 39.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 3106
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:id:3111",
"entity_name": "id",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3112,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 3113,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 3116,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.02007619167580131,
"calculated_length": 19.60964047443681,
"difficulty": 3.2,
"effort": 192.7314400876926,
"length": 19.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 11.0,
"n_2": 8.0,
"time": 10.707302227094033,
"vocabulary": 9.0,
"volume": 60.228575027403934
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 3112
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:connect:3121",
"entity_name": "connect",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3122,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 3123,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 3126,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 3126,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 3134,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.1329474970072375,
"calculated_length": 164.20212108020232,
"difficulty": 9.36,
"effort": 3733.1657159632286,
"length": 76.0,
"n1": 13.0,
"n2": 25.0,
"n_1": 40.0,
"n_2": 36.0,
"time": 207.39809533129048,
"vocabulary": 38.0,
"volume": 398.8424910217125
},
"lines_of_code": 24.0,
"maintainability_index": 87.22498173440269,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 13.0,
"technical_debt_score": 21.999999999999996
},
"recommendations": [],
"severity": "Low",
"start_line": 3122
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:loadPersistedHistoryFromDisk:3147",
"entity_name": "loadPersistedHistoryFromDisk",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3148,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 3150,
"nesting_level": 1
},
{
"column": 7,
"kind": "ConditionalExpression",
"line": 3154,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 3154,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 3161,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.105,
"calculated_length": 130.29241368336423,
"difficulty": 8.11904761904762,
"effort": 2557.5000000000005,
"length": 63.0,
"n1": 11.0,
"n2": 21.0,
"n_1": 32.0,
"n_2": 31.0,
"time": 142.08333333333337,
"vocabulary": 32.0,
"volume": 315.0
},
"lines_of_code": 18.0,
"maintainability_index": 93.11259980018885,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 20.0
},
"recommendations": [],
"severity": "Low",
"start_line": 3148
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:run:3167",
"entity_name": "run",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3168,
"metrics": {
"cognitive_complexity": 24.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 3175,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 3177,
"nesting_level": 2
},
{
"column": 14,
"kind": "If",
"line": 3180,
"nesting_level": 2
},
{
"column": 14,
"kind": "If",
"line": 3182,
"nesting_level": 3
},
{
"column": 31,
"kind": "ConditionalExpression",
"line": 3187,
"nesting_level": 1
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 3190,
"nesting_level": 1
},
{
"column": 18,
"kind": "ConditionalExpression",
"line": 3196,
"nesting_level": 1
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 3197,
"nesting_level": 1
},
{
"column": 15,
"kind": "ConditionalExpression",
"line": 3198,
"nesting_level": 1
},
{
"column": 18,
"kind": "ConditionalExpression",
"line": 3202,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.25859145729463684,
"calculated_length": 288.3207075558753,
"difficulty": 11.522727272727273,
"effort": 8939.036512389606,
"length": 133.0,
"n1": 13.0,
"n2": 44.0,
"n_1": 55.0,
"n_2": 78.0,
"time": 496.61313957720034,
"vocabulary": 57.0,
"volume": 775.7743718839106
},
"lines_of_code": 39.0,
"maintainability_index": 74.52022038857808,
"max_nesting_depth": 3.0,
"parameter_count": 2.0,
"statement_count": 17.0,
"technical_debt_score": 49.00000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 3168
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:stream:3208",
"entity_name": "stream",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3209,
"metrics": {
"cognitive_complexity": 24.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 23,
"kind": "ConditionalExpression",
"line": 3234,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 3248,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 3251,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalOr",
"line": 3252,
"nesting_level": 3
},
{
"column": 11,
"kind": "LogicalOr",
"line": 3252,
"nesting_level": 3
},
{
"column": 7,
"kind": "If",
"line": 3260,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 3263,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 3266,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.326,
"calculated_length": 332.0782000346155,
"difficulty": 14.833333333333334,
"effort": 14507.0,
"length": 163.0,
"n1": 16.0,
"n2": 48.0,
"n_1": 74.0,
"n_2": 89.0,
"time": 805.9444444444445,
"vocabulary": 64.0,
"volume": 978.0
},
"lines_of_code": 61.0,
"maintainability_index": 66.52919311621133,
"max_nesting_depth": 3.0,
"parameter_count": 2.0,
"statement_count": 23.0,
"technical_debt_score": 49.4
},
"recommendations": [],
"severity": "Moderate",
"start_line": 3209
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_3232:3232",
"entity_name": "anonymous_function_3232",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3233,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 23,
"kind": "ConditionalExpression",
"line": 3234,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05797261104228486,
"calculated_length": 81.09650877569258,
"difficulty": 3.8235294117647056,
"effort": 664.9799501909146,
"length": 39.0,
"n1": 5.0,
"n2": 17.0,
"n_1": 13.0,
"n_2": 26.0,
"time": 36.94333056616192,
"vocabulary": 22.0,
"volume": 173.9178331268546
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 8.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 3233
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:interrupt:3271",
"entity_name": "interrupt",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3272,
"metrics": {
"cognitive_complexity": 15.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 3274,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 3275,
"nesting_level": 2
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 3275,
"nesting_level": 2
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 3275,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 3290,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 3298,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.1259435252872853,
"calculated_length": 122.10749561002054,
"difficulty": 5.818181818181818,
"effort": 2198.2869868326165,
"length": 77.0,
"n1": 8.0,
"n2": 22.0,
"n_1": 45.0,
"n_2": 32.0,
"time": 122.12705482403425,
"vocabulary": 30.0,
"volume": 377.83057586185595
},
"lines_of_code": 32.0,
"maintainability_index": 82.38595978233259,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 32.4
},
"recommendations": [],
"severity": "Moderate",
"start_line": 3272
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:streamHistory:3305",
"entity_name": "streamHistory",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3306,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 3307,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 3307,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.05882217840381317,
"calculated_length": 91.82263988300141,
"difficulty": 6.333333333333333,
"effort": 1117.6213896724503,
"length": 38.0,
"n1": 10.0,
"n2": 15.0,
"n_1": 19.0,
"n_2": 19.0,
"time": 62.090077204025015,
"vocabulary": 25.0,
"volume": 176.46653521143952
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 12.8
},
"recommendations": [],
"severity": "Low",
"start_line": 3306
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:getRuntimeInfo:3321",
"entity_name": "getRuntimeInfo",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3322,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 3323,
"nesting_level": 1
},
{
"column": 31,
"kind": "ConditionalExpression",
"line": 3326,
"nesting_level": 1
},
{
"column": 27,
"kind": "ConditionalExpression",
"line": 3329,
"nesting_level": 1
},
{
"column": 18,
"kind": "ConditionalExpression",
"line": 3334,
"nesting_level": 1
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 3335,
"nesting_level": 1
},
{
"column": 15,
"kind": "ConditionalExpression",
"line": 3336,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08558596668012824,
"calculated_length": 89.138352755659,
"difficulty": 6.794117647058823,
"effort": 1744.4433796861435,
"length": 56.0,
"n1": 7.0,
"n2": 17.0,
"n_1": 23.0,
"n_2": 33.0,
"time": 96.91352109367465,
"vocabulary": 24.0,
"volume": 256.75790004038475
},
"lines_of_code": 18.0,
"maintainability_index": 93.71568270992064,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 27.199999999999996
},
"recommendations": [],
"severity": "Low",
"start_line": 3322
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:getAvailableModes:3341",
"entity_name": "getAvailableModes",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3342,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 8.0,
"difficulty": 0.5,
"effort": 5.804820237218405,
"length": 5.0,
"n1": 1.0,
"n2": 4.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.32249001317880027,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 3342
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:getCurrentMode:3345",
"entity_name": "getCurrentMode",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3346,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 12,
"kind": "ConditionalExpression",
"line": 3347,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.011,
"calculated_length": 16.36452797660028,
"difficulty": 2.0999999999999996,
"effort": 69.29999999999998,
"length": 11.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 7.0,
"time": 3.849999999999999,
"vocabulary": 8.0,
"volume": 33.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 3346
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:setMode:3349",
"entity_name": "setMode",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3350,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 3362,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.047687066481253954,
"calculated_length": 52.87076540327685,
"difficulty": 5.25,
"effort": 751.0712970797498,
"length": 35.0,
"n1": 7.0,
"n2": 10.0,
"n_1": 20.0,
"n_2": 15.0,
"time": 41.72618317109721,
"vocabulary": 17.0,
"volume": 143.06119944376186
},
"lines_of_code": 18.0,
"maintainability_index": 97.90696048648367,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 3350
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:getPendingPermissions:3369",
"entity_name": "getPendingPermissions",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3370,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 57.05865002596162,
"length": 12.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 6.0,
"time": 3.169925001442312,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 3370
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:respondToPermission:3373",
"entity_name": "respondToPermission",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [
{
"description": "Cognitive complexity of 34.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:respondToPermission:3373",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:3374",
"metric_value": 34.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 3374,
"metrics": {
"cognitive_complexity": 34.0,
"cyclomatic_complexity": 15.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 3379,
"nesting_level": 1
},
{
"column": 7,
"kind": "ConditionalExpression",
"line": 3395,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 3395,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 3401,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 3401,
"nesting_level": 2
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 3403,
"nesting_level": 2
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 3405,
"nesting_level": 2
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 3409,
"nesting_level": 2
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 3409,
"nesting_level": 2
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 3414,
"nesting_level": 2
},
{
"column": 7,
"kind": "ConditionalExpression",
"line": 3422,
"nesting_level": 1
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 3424,
"nesting_level": 1
},
{
"column": 20,
"kind": "ConditionalExpression",
"line": 3427,
"nesting_level": 1
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 3430,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.3327813019883519,
"calculated_length": 368.2314256438797,
"difficulty": 10.285714285714285,
"effort": 10268.680175640571,
"length": 164.0,
"n1": 12.0,
"n2": 56.0,
"n_1": 68.0,
"n_2": 96.0,
"time": 570.4822319800318,
"vocabulary": 68.0,
"volume": 998.3439059650556
},
"lines_of_code": 59.0,
"maintainability_index": 65.58218478576808,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 19.0,
"technical_debt_score": 69.0
},
"recommendations": [],
"severity": "High",
"start_line": 3374
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:handlePermissionRequest:3434",
"entity_name": "handlePermissionRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3435,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 3440,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 3448,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10363692789605487,
"calculated_length": 113.92990370430175,
"difficulty": 9.473684210526315,
"effort": 2945.4705823089275,
"length": 64.0,
"n1": 10.0,
"n2": 19.0,
"n_1": 28.0,
"n_2": 36.0,
"time": 163.6372545727182,
"vocabulary": 29.0,
"volume": 310.9107836881646
},
"lines_of_code": 19.0,
"maintainability_index": 92.7646573278602,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 13.0
},
"recommendations": [],
"severity": "Low",
"start_line": 3435
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_3437:3437",
"entity_name": "anonymous_function_3437",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3438,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 3440,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 3448,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07491342031138096,
"calculated_length": 67.75720079023742,
"difficulty": 7.26923076923077,
"effort": 1633.6888198674233,
"length": 52.0,
"n1": 7.0,
"n2": 13.0,
"n_1": 25.0,
"n_2": 27.0,
"time": 90.76048999263463,
"vocabulary": 20.0,
"volume": 224.74026093414287
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 11.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 3438
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:describePersistence:3455",
"entity_name": "describePersistence",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3456,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 3457,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 3463,
"nesting_level": 1
},
{
"column": 28,
"kind": "ConditionalExpression",
"line": 3467,
"nesting_level": 1
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 3478,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.12442838827750852,
"calculated_length": 137.26120593818493,
"difficulty": 8.26086956521739,
"effort": 3083.6600573121673,
"length": 74.0,
"n1": 10.0,
"n2": 23.0,
"n_1": 36.0,
"n_2": 38.0,
"time": 171.31444762845373,
"vocabulary": 33.0,
"volume": 373.28516483252554
},
"lines_of_code": 28.0,
"maintainability_index": 85.07210518362204,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 14.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 3456
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:updatePersistenceConversationId:3485",
"entity_name": "updatePersistenceConversationId",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3486,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 28,
"kind": "ConditionalExpression",
"line": 3487,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 3488,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 3488,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.04133333333333333,
"calculated_length": 48.18080946738404,
"difficulty": 9.0,
"effort": 1116.0,
"length": 31.0,
"n1": 9.0,
"n2": 7.0,
"n_1": 17.0,
"n_2": 14.0,
"time": 62.0,
"vocabulary": 16.0,
"volume": 124.0
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 15.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 3486
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:updatePersistenceCuratedHistory:3494",
"entity_name": "updatePersistenceCuratedHistory",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3495,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 3496,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 3501,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.043089225014903886,
"calculated_length": 57.05865002596162,
"difficulty": 6.5,
"effort": 840.2398877906259,
"length": 31.0,
"n1": 9.0,
"n2": 9.0,
"n_1": 18.0,
"n_2": 13.0,
"time": 46.679993766145884,
"vocabulary": 18.0,
"volume": 129.26767504471167
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 11.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 3495
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:close:3506",
"entity_name": "close",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [
{
"description": "Cognitive complexity of 28.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:close:3506",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:3507",
"metric_value": 28.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 3507,
"metrics": {
"cognitive_complexity": 28.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 3517,
"nesting_level": 1
},
{
"column": 17,
"kind": "ConditionalExpression",
"line": 3518,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 3520,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 3523,
"nesting_level": 2
},
{
"column": 7,
"kind": "Try",
"line": 3524,
"nesting_level": 2
},
{
"column": 9,
"kind": "Catch",
"line": 3527,
"nesting_level": 3
},
{
"column": 5,
"kind": "If",
"line": 3531,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 3531,
"nesting_level": 2
},
{
"column": 7,
"kind": "Try",
"line": 3532,
"nesting_level": 2
},
{
"column": 9,
"kind": "Catch",
"line": 3534,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.22647733175670795,
"calculated_length": 186.98532149254143,
"difficulty": 13.88888888888889,
"effort": 9436.55548986283,
"length": 126.0,
"n1": 15.0,
"n2": 27.0,
"n_1": 76.0,
"n_2": 50.0,
"time": 524.2530827701572,
"vocabulary": 42.0,
"volume": 679.4319952701238
},
"lines_of_code": 35.0,
"maintainability_index": 76.96282423407145,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 24.0,
"technical_debt_score": 51.4
},
"recommendations": [],
"severity": "High",
"start_line": 3507
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:setManagedAgentId:3543",
"entity_name": "setManagedAgentId",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3544,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 9.509775004326936,
"difficulty": 2.0,
"effort": 36.18947501009619,
"length": 7.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 4.0,
"time": 2.0105263894497885,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 3544
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:listCommands:3547",
"entity_name": "listCommands",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3548,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02734823416925963,
"calculated_length": 46.05374780501027,
"difficulty": 2.3636363636363638,
"effort": 193.92384229111377,
"length": 21.0,
"n1": 4.0,
"n2": 11.0,
"n_1": 8.0,
"n_2": 13.0,
"time": 10.773546793950764,
"vocabulary": 15.0,
"volume": 82.0447025077789
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 3548
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:executeCommand:3555",
"entity_name": "executeCommand",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3556,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 3557,
"nesting_level": 1
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 3568,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.16560926952435046,
"calculated_length": 179.65148445440323,
"difficulty": 6.890625,
"effort": 3423.454118448682,
"length": 94.0,
"n1": 7.0,
"n2": 32.0,
"n_1": 31.0,
"n_2": 63.0,
"time": 190.19189546937122,
"vocabulary": 39.0,
"volume": 496.82780857305136
},
"lines_of_code": 15.0,
"maintainability_index": 94.15672051904946,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 12.0,
"technical_debt_score": 12.2
},
"recommendations": [],
"severity": "Low",
"start_line": 3556
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:forwardPrompt:3572",
"entity_name": "forwardPrompt",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [
{
"description": "Cyclomatic complexity of 30.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:forwardPrompt:3572",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:3573",
"metric_value": 30.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 130.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:forwardPrompt:3572",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:3573",
"metric_value": 130.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
},
{
"description": "Maximum nesting depth of 7.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:forwardPrompt:3572",
"issue_type": "DeepNesting",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:3573",
"metric_value": 7.0,
"recommendation": "Reduce nesting by using early returns or extracting functions",
"severity": "High",
"threshold": 6.0
}
],
"line_number": 3573,
"metrics": {
"cognitive_complexity": 130.0,
"cyclomatic_complexity": 30.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 3579,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 3584,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 3585,
"nesting_level": 2
},
{
"column": 9,
"kind": "Try",
"line": 3603,
"nesting_level": 3
},
{
"column": 11,
"kind": "Catch",
"line": 3605,
"nesting_level": 4
},
{
"column": 11,
"kind": "If",
"line": 3606,
"nesting_level": 4
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 3606,
"nesting_level": 5
},
{
"column": 32,
"kind": "ConditionalExpression",
"line": 3616,
"nesting_level": 3
},
{
"column": 9,
"kind": "Try",
"line": 3619,
"nesting_level": 3
},
{
"column": 11,
"kind": "If",
"line": 3632,
"nesting_level": 4
},
{
"column": 13,
"kind": "Try",
"line": 3641,
"nesting_level": 5
},
{
"column": 15,
"kind": "Catch",
"line": 3643,
"nesting_level": 6
},
{
"column": 15,
"kind": "If",
"line": 3644,
"nesting_level": 6
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 3644,
"nesting_level": 7
},
{
"column": 11,
"kind": "Catch",
"line": 3654,
"nesting_level": 4
},
{
"column": 11,
"kind": "If",
"line": 3655,
"nesting_level": 4
},
{
"column": 13,
"kind": "Try",
"line": 3664,
"nesting_level": 5
},
{
"column": 15,
"kind": "Catch",
"line": 3666,
"nesting_level": 6
},
{
"column": 15,
"kind": "If",
"line": 3667,
"nesting_level": 6
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 3667,
"nesting_level": 7
},
{
"column": 7,
"kind": "Catch",
"line": 3681,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 3682,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 3695,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 3697,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 3706,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 3706,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 3710,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 3710,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 3711,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.8914926356630408,
"calculated_length": 515.8571927982413,
"difficulty": 24.0,
"effort": 64187.469767738934,
"length": 413.0,
"n1": 16.0,
"n2": 73.0,
"n_1": 194.0,
"n_2": 219.0,
"time": 3565.970542652163,
"vocabulary": 89.0,
"volume": 2674.4779069891224
},
"lines_of_code": 152.0,
"maintainability_index": 41.67728634260729,
"max_nesting_depth": 7.0,
"parameter_count": 3.0,
"statement_count": 63.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 3573
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_3596:3596",
"entity_name": "anonymous_function_3596",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3597,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.016729825003365395,
"calculated_length": 35.219280948873624,
"difficulty": 1.1,
"effort": 55.20842251110581,
"length": 14.0,
"n1": 2.0,
"n2": 10.0,
"n_1": 3.0,
"n_2": 11.0,
"time": 3.0671345839503226,
"vocabulary": 12.0,
"volume": 50.18947501009619
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 3597
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_3634:3634",
"entity_name": "anonymous_function_3634",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3635,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.016729825003365395,
"calculated_length": 35.219280948873624,
"difficulty": 1.1,
"effort": 55.20842251110581,
"length": 14.0,
"n1": 2.0,
"n2": 10.0,
"n_1": 3.0,
"n_2": 11.0,
"time": 3.0671345839503226,
"vocabulary": 12.0,
"volume": 50.18947501009619
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 3635
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_3657:3657",
"entity_name": "anonymous_function_3657",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3658,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.016729825003365395,
"calculated_length": 35.219280948873624,
"difficulty": 1.1,
"effort": 55.20842251110581,
"length": 14.0,
"n1": 2.0,
"n2": 10.0,
"n_1": 3.0,
"n_2": 11.0,
"time": 3.0671345839503226,
"vocabulary": 12.0,
"volume": 50.18947501009619
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 3658
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_3706:3706",
"entity_name": "anonymous_function_3706",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3707,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 3707
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:emitEvent:3726",
"entity_name": "emitEvent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [
{
"description": "Cognitive complexity of 33.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:emitEvent:3726",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:3727",
"metric_value": 33.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 3727,
"metrics": {
"cognitive_complexity": 33.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 3728,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 3730,
"nesting_level": 2
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 3731,
"nesting_level": 3
},
{
"column": 7,
"kind": "If",
"line": 3733,
"nesting_level": 2
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 3734,
"nesting_level": 3
},
{
"column": 7,
"kind": "If",
"line": 3736,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 3737,
"nesting_level": 3
},
{
"column": 5,
"kind": "If",
"line": 3743,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 3744,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 3746,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 3747,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.20565452879373386,
"calculated_length": 117.75898006442377,
"difficulty": 8.431818181818182,
"effort": 5202.124785168768,
"length": 127.0,
"n1": 7.0,
"n2": 22.0,
"n_1": 74.0,
"n_2": 53.0,
"time": 289.006932509376,
"vocabulary": 29.0,
"volume": 616.9635863812016
},
"lines_of_code": 23.0,
"maintainability_index": 84.03598167618995,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 15.0,
"technical_debt_score": 55.00000000000001
},
"recommendations": [],
"severity": "High",
"start_line": 3727
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:emitPermissionRequested:3751",
"entity_name": "emitPermissionRequested",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3752,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014339850002884624,
"calculated_length": 33.284212515144276,
"difficulty": 1.5,
"effort": 64.5293250129808,
"length": 12.0,
"n1": 3.0,
"n2": 9.0,
"n_1": 3.0,
"n_2": 9.0,
"time": 3.584962500721156,
"vocabulary": 12.0,
"volume": 43.01955000865387
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 3752
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:recordHistory:3759",
"entity_name": "recordHistory",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3760,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 3764,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03680443091322351,
"calculated_length": 39.50977500432694,
"difficulty": 4.875,
"effort": 538.2648021058938,
"length": 29.0,
"n1": 6.0,
"n2": 8.0,
"n_1": 16.0,
"n_2": 13.0,
"time": 29.9036001169941,
"vocabulary": 14.0,
"volume": 110.41329273967052
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 7.400000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 3760
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:flushPendingHistory:3770",
"entity_name": "flushPendingHistory",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3771,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 3772,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 3772,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.034666666666666665,
"calculated_length": 48.18080946738404,
"difficulty": 5.7857142857142865,
"effort": 601.7142857142858,
"length": 26.0,
"n1": 9.0,
"n2": 7.0,
"n_1": 17.0,
"n_2": 9.0,
"time": 33.42857142857143,
"vocabulary": 16.0,
"volume": 104.0
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 11.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 3771
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:applySessionIdentifiers:3778",
"entity_name": "applySessionIdentifiers",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3779,
"metrics": {
"cognitive_complexity": 25.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 3780,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 3780,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 3784,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 3784,
"nesting_level": 2
},
{
"column": 28,
"kind": "LogicalOr",
"line": 3785,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 3786,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 3786,
"nesting_level": 3
},
{
"column": 5,
"kind": "If",
"line": 3791,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 3791,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.12444899364539821,
"calculated_length": 72.10571633583419,
"difficulty": 11.076923076923077,
"effort": 4135.535788831695,
"length": 85.0,
"n1": 8.0,
"n2": 13.0,
"n_1": 49.0,
"n_2": 36.0,
"time": 229.75198826842748,
"vocabulary": 21.0,
"volume": 373.34698093619465
},
"lines_of_code": 15.0,
"maintainability_index": 94.03254394077797,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 43.00000000000001
},
"recommendations": [],
"severity": "High",
"start_line": 3779
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:updateIdentifiersFromResponse:3795",
"entity_name": "updateIdentifiersFromResponse",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3796,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 3799,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 3801,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 3806,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 3809,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.10705763296001597,
"calculated_length": 83.65148445440323,
"difficulty": 8.09375,
"effort": 2599.4931503103876,
"length": 71.0,
"n1": 7.0,
"n2": 16.0,
"n_1": 34.0,
"n_2": 37.0,
"time": 144.41628612835487,
"vocabulary": 23.0,
"volume": 321.1728988800479
},
"lines_of_code": 18.0,
"maintainability_index": 93.01168358170982,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 21.6
},
"recommendations": [],
"severity": "Low",
"start_line": 3796
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:updateIdentifiersFromEvent:3815",
"entity_name": "updateIdentifiersFromEvent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3816,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 3819,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 3821,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.05858696739125486,
"calculated_length": 53.5635228093372,
"difficulty": 6.0,
"effort": 1054.5654130425874,
"length": 43.0,
"n1": 6.0,
"n2": 11.0,
"n_1": 21.0,
"n_2": 22.0,
"time": 58.58696739125485,
"vocabulary": 17.0,
"volume": 175.76090217376458
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 11.8
},
"recommendations": [],
"severity": "Low",
"start_line": 3816
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:handleMcpEvent:3826",
"entity_name": "handleMcpEvent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [
{
"description": "Cyclomatic complexity of 75.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:handleMcpEvent:3826",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:3827",
"metric_value": 75.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 262.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:handleMcpEvent:3826",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:3827",
"metric_value": 262.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
},
{
"description": "Maximum nesting depth of 9.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:handleMcpEvent:3826",
"issue_type": "DeepNesting",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:3827",
"metric_value": 9.0,
"recommendation": "Reduce nesting by using early returns or extracting functions",
"severity": "High",
"threshold": 6.0
}
],
"line_number": 3827,
"metrics": {
"cognitive_complexity": 262.0,
"cyclomatic_complexity": 75.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 3829,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 3832,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 3835,
"nesting_level": 3
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 3835,
"nesting_level": 4
},
{
"column": 11,
"kind": "If",
"line": 3844,
"nesting_level": 4
},
{
"column": 13,
"kind": "Try",
"line": 3845,
"nesting_level": 5
},
{
"column": 15,
"kind": "If",
"line": 3847,
"nesting_level": 6
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 3847,
"nesting_level": 7
},
{
"column": 17,
"kind": "If",
"line": 3848,
"nesting_level": 7
},
{
"column": 21,
"kind": "LogicalAnd",
"line": 3848,
"nesting_level": 8
},
{
"column": 17,
"kind": "If",
"line": 3851,
"nesting_level": 7
},
{
"column": 21,
"kind": "LogicalAnd",
"line": 3851,
"nesting_level": 8
},
{
"column": 21,
"kind": "LogicalAnd",
"line": 3851,
"nesting_level": 8
},
{
"column": 19,
"kind": "If",
"line": 3853,
"nesting_level": 8
},
{
"column": 23,
"kind": "LogicalAnd",
"line": 3853,
"nesting_level": 9
},
{
"column": 15,
"kind": "Catch",
"line": 3858,
"nesting_level": 6
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 3868,
"nesting_level": 4
},
{
"column": 7,
"kind": "If",
"line": 3878,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 3933,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 3937,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 3965,
"nesting_level": 1
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 3970,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 3970,
"nesting_level": 1
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 3975,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 3975,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 3975,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 3981,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 3981,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 3984,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 3985,
"nesting_level": 2
},
{
"column": 18,
"kind": "If",
"line": 3987,
"nesting_level": 3
},
{
"column": 18,
"kind": "If",
"line": 3989,
"nesting_level": 4
},
{
"column": 18,
"kind": "If",
"line": 3991,
"nesting_level": 5
},
{
"column": 9,
"kind": "If",
"line": 3996,
"nesting_level": 1
},
{
"column": 16,
"kind": "If",
"line": 3998,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 3999,
"nesting_level": 3
},
{
"column": 18,
"kind": "If",
"line": 4001,
"nesting_level": 4
},
{
"column": 9,
"kind": "If",
"line": 4005,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 4006,
"nesting_level": 2
},
{
"column": 18,
"kind": "If",
"line": 4008,
"nesting_level": 3
},
{
"column": 11,
"kind": "LogicalOr",
"line": 4013,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 4013,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 4013,
"nesting_level": 1
},
{
"column": 12,
"kind": "LogicalAnd",
"line": 4016,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 4023,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 4024,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 4027,
"nesting_level": 1
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 4033,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 4045,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalOr",
"line": 4045,
"nesting_level": 3
},
{
"column": 13,
"kind": "If",
"line": 4057,
"nesting_level": 3
},
{
"column": 13,
"kind": "If",
"line": 4060,
"nesting_level": 3
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 4070,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 4077,
"nesting_level": 1
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 4079,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 4092,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 4097,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 4118,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 4121,
"nesting_level": 1
},
{
"column": 28,
"kind": "ConditionalExpression",
"line": 4124,
"nesting_level": 1
},
{
"column": 29,
"kind": "ConditionalExpression",
"line": 4127,
"nesting_level": 1
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 4132,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 4132,
"nesting_level": 1
},
{
"column": 15,
"kind": "ConditionalExpression",
"line": 4134,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 4138,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 4150,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 4153,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 4157,
"nesting_level": 1
},
{
"column": 21,
"kind": "ConditionalExpression",
"line": 4167,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 4173,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 4174,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 4185,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 4186,
"nesting_level": 2
},
{
"column": 21,
"kind": "ConditionalExpression",
"line": 4193,
"nesting_level": 1
}
],
"halstead": {
"bugs": 2.780550957136135,
"calculated_length": 1206.0096144437666,
"difficulty": 35.19871794871795,
"effort": 293615.48664681765,
"length": 1122.0,
"n1": 17.0,
"n2": 156.0,
"n_1": 476.0,
"n_2": 646.0,
"time": 16311.971480378757,
"vocabulary": 173.0,
"volume": 8341.652871408405
},
"lines_of_code": 375.0,
"maintainability_index": 10.782911738248359,
"max_nesting_depth": 9.0,
"parameter_count": 1.0,
"statement_count": 147.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 3827
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_3837:3837",
"entity_name": "anonymous_function_3837",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 3838,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 12.754887502163468,
"difficulty": 3.0,
"effort": 101.06477719407376,
"length": 12.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 8.0,
"time": 5.614709844115208,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 3838
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_4095:4095",
"entity_name": "anonymous_function_4095",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4096,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 4097,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.025369165203340177,
"calculated_length": 27.651484454403228,
"difficulty": 10.5,
"effort": 799.1287039052156,
"length": 22.0,
"n1": 7.0,
"n2": 4.0,
"n_1": 10.0,
"n_2": 12.0,
"time": 44.39603910584531,
"vocabulary": 11.0,
"volume": 76.10749561002054
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 4096
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_4155:4155",
"entity_name": "anonymous_function_4155",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4156,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 4157,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.025369165203340177,
"calculated_length": 27.651484454403228,
"difficulty": 10.5,
"effort": 799.1287039052156,
"length": 22.0,
"n1": 7.0,
"n2": 4.0,
"n_1": 10.0,
"n_2": 12.0,
"time": 44.39603910584531,
"vocabulary": 11.0,
"volume": 76.10749561002054
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 4156
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:handleThreadEvent:4203",
"entity_name": "handleThreadEvent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [
{
"description": "Cognitive complexity of 48.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:handleThreadEvent:4203",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:4204",
"metric_value": 48.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 4204,
"metrics": {
"cognitive_complexity": 48.0,
"cyclomatic_complexity": 15.0,
"decision_points": [
{
"column": 27,
"kind": "ConditionalExpression",
"line": 4209,
"nesting_level": 1
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 4211,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 4226,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 4238,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 4256,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 4263,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 4265,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 4266,
"nesting_level": 3
},
{
"column": 20,
"kind": "If",
"line": 4268,
"nesting_level": 4
},
{
"column": 20,
"kind": "If",
"line": 4270,
"nesting_level": 5
},
{
"column": 20,
"kind": "If",
"line": 4272,
"nesting_level": 6
},
{
"column": 11,
"kind": "If",
"line": 4282,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 4283,
"nesting_level": 3
},
{
"column": 15,
"kind": "ConditionalExpression",
"line": 4285,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.6251056694102993,
"calculated_length": 375.4942808160441,
"difficulty": 18.526315789473685,
"effort": 34742.715099856636,
"length": 307.0,
"n1": 12.0,
"n2": 57.0,
"n_1": 131.0,
"n_2": 176.0,
"time": 1930.1508388809243,
"vocabulary": 69.0,
"volume": 1875.317008230898
},
"lines_of_code": 106.0,
"maintainability_index": 52.81231510050007,
"max_nesting_depth": 6.0,
"parameter_count": 1.0,
"statement_count": 40.0,
"technical_debt_score": 88.4
},
"recommendations": [],
"severity": "High",
"start_line": 4204
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:threadItemToTimeline:4311",
"entity_name": "threadItemToTimeline",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [
{
"description": "Cyclomatic complexity of 41.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:threadItemToTimeline:4311",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:4312",
"metric_value": 41.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 129.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:threadItemToTimeline:4311",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:4312",
"metric_value": 129.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 4312,
"metrics": {
"cognitive_complexity": 129.0,
"cyclomatic_complexity": 41.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 4318,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 4323,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 4324,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 4324,
"nesting_level": 3
},
{
"column": 5,
"kind": "If",
"line": 4329,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 4330,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 4330,
"nesting_level": 3
},
{
"column": 5,
"kind": "If",
"line": 4335,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 4338,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 4339,
"nesting_level": 3
},
{
"column": 16,
"kind": "If",
"line": 4341,
"nesting_level": 4
},
{
"column": 16,
"kind": "If",
"line": 4343,
"nesting_level": 5
},
{
"column": 16,
"kind": "If",
"line": 4345,
"nesting_level": 6
},
{
"column": 7,
"kind": "If",
"line": 4360,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 4363,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 4375,
"nesting_level": 1
},
{
"column": 21,
"kind": "ConditionalExpression",
"line": 4376,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 4377,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 4377,
"nesting_level": 3
},
{
"column": 9,
"kind": "If",
"line": 4379,
"nesting_level": 3
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 4379,
"nesting_level": 4
},
{
"column": 9,
"kind": "If",
"line": 4384,
"nesting_level": 2
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 4390,
"nesting_level": 2
},
{
"column": 9,
"kind": "LogicalOr",
"line": 4390,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 4401,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 4401,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 4402,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 4402,
"nesting_level": 3
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 4407,
"nesting_level": 2
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 4412,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 4416,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 4417,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 4417,
"nesting_level": 3
},
{
"column": 5,
"kind": "If",
"line": 4428,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 4429,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 4429,
"nesting_level": 3
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 4433,
"nesting_level": 2
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 4438,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 4442,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 4445,
"nesting_level": 1
}
],
"halstead": {
"bugs": 1.0759928013094073,
"calculated_length": 590.2576324222223,
"difficulty": 24.083333333333336,
"effort": 77740.47989460468,
"length": 488.0,
"n1": 14.0,
"n2": 84.0,
"n_1": 199.0,
"n_2": 289.0,
"time": 4318.91554970026,
"vocabulary": 98.0,
"volume": 3227.9784039282217
},
"lines_of_code": 137.0,
"maintainability_index": 39.8523300380846,
"max_nesting_depth": 6.0,
"parameter_count": 2.0,
"statement_count": 60.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 4312
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_4382:4382",
"entity_name": "anonymous_function_4382",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4383,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 4384,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.025369165203340177,
"calculated_length": 27.651484454403228,
"difficulty": 10.5,
"effort": 799.1287039052156,
"length": 22.0,
"n1": 7.0,
"n2": 4.0,
"n_1": 10.0,
"n_2": 12.0,
"time": 44.39603910584531,
"vocabulary": 11.0,
"volume": 76.10749561002054
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 7.400000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 4383
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:buildResumePrompt:4450",
"entity_name": "buildResumePrompt",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4451,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 4460,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 4460,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 4465,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 4467,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 4472,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08499791919945146,
"calculated_length": 67.75720079023742,
"difficulty": 7.538461538461538,
"effort": 1922.2606342029792,
"length": 59.0,
"n1": 7.0,
"n2": 13.0,
"n_1": 31.0,
"n_2": 28.0,
"time": 106.79225745572107,
"vocabulary": 20.0,
"volume": 254.9937575983544
},
"lines_of_code": 26.0,
"maintainability_index": 88.02439294681986,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 26.8
},
"recommendations": [],
"severity": "Low",
"start_line": 4451
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:buildPermissionRequest:4478",
"entity_name": "buildPermissionRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4479,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.08832403072095334,
"calculated_length": 133.1368500605771,
"difficulty": 2.388888888888889,
"effort": 632.9888868334989,
"length": 54.0,
"n1": 3.0,
"n2": 27.0,
"n_1": 11.0,
"n_2": 43.0,
"time": 35.166049268527715,
"vocabulary": 30.0,
"volume": 264.97209216286
},
"lines_of_code": 22.0,
"maintainability_index": 91.68106481478839,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 4479
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:constructor:4509",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4510,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01850219859070546,
"calculated_length": 36.529325012980806,
"difficulty": 2.2222222222222223,
"effort": 123.34799060470309,
"length": 15.0,
"n1": 4.0,
"n2": 9.0,
"n_1": 5.0,
"n_2": 10.0,
"time": 6.852666144705727,
"vocabulary": 13.0,
"volume": 55.506595772116384
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 4510
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:createSession:4513",
"entity_name": "createSession",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4514,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03398342010754868,
"calculated_length": 63.61549134016113,
"difficulty": 3.9230769230769234,
"effort": 399.9587135734576,
"length": 24.0,
"n1": 6.0,
"n2": 13.0,
"n_1": 7.0,
"n_2": 17.0,
"time": 22.219928531858756,
"vocabulary": 19.0,
"volume": 101.95026032264605
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 4514
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:resumeSession:4523",
"entity_name": "resumeSession",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4524,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 22,
"kind": "ConditionalExpression",
"line": 4528,
"nesting_level": 1
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 4535,
"nesting_level": 1
},
{
"column": 12,
"kind": "LogicalAnd",
"line": 4535,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 4537,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.13819542452068106,
"calculated_length": 165.23098268032226,
"difficulty": 12.23076923076923,
"effort": 5070.7090381819135,
"length": 79.0,
"n1": 12.0,
"n2": 26.0,
"n_1": 26.0,
"n_2": 53.0,
"time": 281.70605767677296,
"vocabulary": 38.0,
"volume": 414.58627356204323
},
"lines_of_code": 23.0,
"maintainability_index": 87.71313202464762,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 10.0,
"technical_debt_score": 21.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 4524
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:listPersistedAgents:4548",
"entity_name": "listPersistedAgents",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4549,
"metrics": {
"cognitive_complexity": 17.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 4553,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 4565,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 4565,
"nesting_level": 2
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 4570,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 4570,
"nesting_level": 1
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 4577,
"nesting_level": 1
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 4579,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 4601,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.350756725003201,
"calculated_length": 400.3789088211551,
"difficulty": 12.576271186440678,
"effort": 13233.635082324161,
"length": 170.0,
"n1": 14.0,
"n2": 59.0,
"n_1": 64.0,
"n_2": 106.0,
"time": 735.2019490180089,
"vocabulary": 73.0,
"volume": 1052.270175009603
},
"lines_of_code": 58.0,
"maintainability_index": 66.96555628963134,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 22.0,
"technical_debt_score": 43.2
},
"recommendations": [],
"severity": "Moderate",
"start_line": 4549
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:listModels:4608",
"entity_name": "listModels",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4609,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 4618,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 4628,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.20415115049576593,
"calculated_length": 288.3207075558753,
"difficulty": 10.045454545454545,
"effort": 6152.3733081224,
"length": 105.0,
"n1": 13.0,
"n2": 44.0,
"n_1": 37.0,
"n_2": 68.0,
"time": 341.7985171179111,
"vocabulary": 57.0,
"volume": 612.4534514872978
},
"lines_of_code": 37.0,
"maintainability_index": 78.44227051697592,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 11.0,
"technical_debt_score": 17.4
},
"recommendations": [],
"severity": "Low",
"start_line": 4609
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_4630:4630",
"entity_name": "anonymous_function_4630",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4631,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04427809341689654,
"calculated_length": 47.77443751081734,
"difficulty": 3.125,
"effort": 415.1071257834051,
"length": 34.0,
"n1": 3.0,
"n2": 12.0,
"n_1": 9.0,
"n_2": 25.0,
"time": 23.06150698796695,
"vocabulary": 15.0,
"volume": 132.83428025068963
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 4631
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:resolveCodexBinary:4682",
"entity_name": "resolveCodexBinary",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4683,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 4684,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 4686,
"nesting_level": 1
},
{
"column": 5,
"kind": "Catch",
"line": 4689,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029189475010096184,
"calculated_length": 57.05865002596162,
"difficulty": 5.5,
"effort": 481.626337666587,
"length": 21.0,
"n1": 9.0,
"n2": 9.0,
"n_1": 10.0,
"n_2": 11.0,
"time": 26.757018759254834,
"vocabulary": 18.0,
"volume": 87.56842503028855
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 14.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 4683
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:assertCodexChildHasPipes:4696",
"entity_name": "assertCodexChildHasPipes",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4697,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 4700,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 4700,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 4700,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03333333333333333,
"calculated_length": 48.18080946738404,
"difficulty": 5.055555555555555,
"effort": 505.55555555555554,
"length": 25.0,
"n1": 7.0,
"n2": 9.0,
"n_1": 12.0,
"n_2": 13.0,
"time": 28.086419753086417,
"vocabulary": 16.0,
"volume": 100.0
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 13.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 4697
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:isCodexModelInfo:4704",
"entity_name": "isCodexModelInfo",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4705,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 4706,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 4706,
"nesting_level": 1
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 4711,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 4711,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 4711,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 4711,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 4711,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 4711,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1125323375512021,
"calculated_length": 104.71062275542812,
"difficulty": 7.157894736842105,
"effort": 2416.483880046866,
"length": 71.0,
"n1": 8.0,
"n2": 19.0,
"n_1": 37.0,
"n_2": 34.0,
"time": 134.24910444704813,
"vocabulary": 27.0,
"volume": 337.59701265360627
},
"lines_of_code": 14.0,
"maintainability_index": 95.90363610791232,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 28.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 4705
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:isCodexModelListResponse:4720",
"entity_name": "isCodexModelListResponse",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4721,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 4722,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 4722,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 4726,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 4729,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 4729,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.0901709291808494,
"calculated_length": 88.0,
"difficulty": 7.5,
"effort": 2028.8459065691115,
"length": 59.0,
"n1": 8.0,
"n2": 16.0,
"n_1": 29.0,
"n_2": 30.0,
"time": 112.71366147606176,
"vocabulary": 24.0,
"volume": 270.5127875425482
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 20.0
},
"recommendations": [],
"severity": "Low",
"start_line": 4721
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_4731:4731",
"entity_name": "anonymous_function_4731",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4732,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 4732
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:constructor:4741",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4742,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 4752,
"nesting_level": 1
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 4755,
"nesting_level": 1
},
{
"column": 31,
"kind": "LogicalOr",
"line": 4758,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.1525619387201044,
"calculated_length": 178.93519666370983,
"difficulty": 8.724137931034484,
"effort": 3992.914189260664,
"length": 86.0,
"n1": 11.0,
"n2": 29.0,
"n_1": 40.0,
"n_2": 46.0,
"time": 221.82856607003689,
"vocabulary": 40.0,
"volume": 457.6858161603132
},
"lines_of_code": 19.0,
"maintainability_index": 90.52393715695196,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 11.0,
"technical_debt_score": 16.6
},
"recommendations": [],
"severity": "Low",
"start_line": 4742
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_4743:4743",
"entity_name": "anonymous_function_4743",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4744,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.0,
"difficulty": 1.5,
"effort": 15.0,
"length": 5.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.8333333333333334,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 4744
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_4746:4746",
"entity_name": "anonymous_function_4746",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4747,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 2.25,
"effort": 31.34602928097939,
"length": 6.0,
"n1": 3.0,
"n2": 2.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.7414460711655217,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 4747
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_4750:4750",
"entity_name": "anonymous_function_4750",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4751,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 4752,
"nesting_level": 1
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 4755,
"nesting_level": 1
},
{
"column": 31,
"kind": "LogicalOr",
"line": 4758,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04465992364716941,
"calculated_length": 66.58307281799108,
"difficulty": 6.954545454545454,
"effort": 931.7684070023072,
"length": 31.0,
"n1": 9.0,
"n2": 11.0,
"n_1": 14.0,
"n_2": 17.0,
"time": 51.76491150012818,
"vocabulary": 20.0,
"volume": 133.97977094150824
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 14.6
},
"recommendations": [],
"severity": "Low",
"start_line": 4751
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:request:4762",
"entity_name": "request",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4763,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 4767,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 4775,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.14729498549485368,
"calculated_length": 217.57865339808407,
"difficulty": 6.914285714285715,
"effort": 3055.318841978965,
"length": 80.0,
"n1": 11.0,
"n2": 35.0,
"n_1": 36.0,
"n_2": 44.0,
"time": 169.73993566549805,
"vocabulary": 46.0,
"volume": 441.88495648456103
},
"lines_of_code": 20.0,
"maintainability_index": 90.10567941091271,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 12.0,
"technical_debt_score": 13.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 4763
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_4772:4772",
"entity_name": "anonymous_function_4772",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4773,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 4775,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05880630542874117,
"calculated_length": 82.60335893412778,
"difficulty": 5.333333333333333,
"effort": 940.9008868598587,
"length": 39.0,
"n1": 8.0,
"n2": 15.0,
"n_1": 19.0,
"n_2": 20.0,
"time": 52.27227149221437,
"vocabulary": 23.0,
"volume": 176.41891628622352
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 6.0,
"technical_debt_score": 7.400000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 4773
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_4773:4773",
"entity_name": "anonymous_function_4773",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4774,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 4775,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.02995282789966531,
"calculated_length": 43.65148445440323,
"difficulty": 5.142857142857143,
"effort": 462.1293447376934,
"length": 23.0,
"n1": 8.0,
"n2": 7.0,
"n_1": 14.0,
"n_2": 9.0,
"time": 25.67385248542741,
"vocabulary": 15.0,
"volume": 89.85848369899593
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 4774
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:dispose:4784",
"entity_name": "dispose",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4785,
"metrics": {
"cognitive_complexity": 14.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 4786,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 4791,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 4791,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 4794,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 4794,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.09752097998526921,
"calculated_length": 92.5293250129808,
"difficulty": 6.75,
"effort": 1974.7998447017014,
"length": 63.0,
"n1": 9.0,
"n2": 16.0,
"n_1": 39.0,
"n_2": 24.0,
"time": 109.71110248342785,
"vocabulary": 25.0,
"volume": 292.5629399558076
},
"lines_of_code": 14.0,
"maintainability_index": 97.33813618135952,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 26.0
},
"recommendations": [],
"severity": "Low",
"start_line": 4785
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_4792:4792",
"entity_name": "anonymous_function_4792",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4793,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 4794,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 4794,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.025903078026987644,
"calculated_length": 35.161259458730164,
"difficulty": 4.666666666666666,
"effort": 362.643092377827,
"length": 21.0,
"n1": 7.0,
"n2": 6.0,
"n_1": 13.0,
"n_2": 8.0,
"time": 20.146838465434833,
"vocabulary": 13.0,
"volume": 77.70923408096293
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 12.4
},
"recommendations": [],
"severity": "Low",
"start_line": 4793
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:handleLine:4800",
"entity_name": "handleLine",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4801,
"metrics": {
"cognitive_complexity": 15.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 4803,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 4807,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 4809,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 4814,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 4814,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 4818,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.17970367544131644,
"calculated_length": 168.64245895143551,
"difficulty": 15.625000000000002,
"effort": 8423.609786311708,
"length": 102.0,
"n1": 15.0,
"n2": 24.0,
"n_1": 52.0,
"n_2": 50.0,
"time": 467.9783214617616,
"vocabulary": 39.0,
"volume": 539.1110263239493
},
"lines_of_code": 24.0,
"maintainability_index": 85.19793596399435,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 16.0,
"technical_debt_score": 30.8
},
"recommendations": [],
"severity": "Moderate",
"start_line": 4801
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:rejectAll:4826",
"entity_name": "rejectAll",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4827,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.030836997651175767,
"calculated_length": 36.529325012980806,
"difficulty": 2.888888888888889,
"effort": 267.25397964352334,
"length": 25.0,
"n1": 4.0,
"n2": 9.0,
"n_1": 12.0,
"n_2": 13.0,
"time": 14.847443313529075,
"vocabulary": 13.0,
"volume": 92.5109929535273
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 4827
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:resolveCodexSessionRoot:4855",
"entity_name": "resolveCodexSessionRoot",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4856,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 4857,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05618506523353571,
"calculated_length": 68.81274391313339,
"difficulty": 4.714285714285714,
"effort": 794.6173511600051,
"length": 39.0,
"n1": 6.0,
"n2": 14.0,
"n_1": 17.0,
"n_2": 22.0,
"time": 44.14540839777806,
"vocabulary": 20.0,
"volume": 168.55519570060713
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 4856
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:findRolloutFile:4863",
"entity_name": "findRolloutFile",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [
{
"description": "Cognitive complexity of 29.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:findRolloutFile:4863",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:4864",
"metric_value": 29.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 4864,
"metrics": {
"cognitive_complexity": 29.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 3,
"kind": "While",
"line": 4869,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 4872,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 4874,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 4879,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 4883,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 4884,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 4884,
"nesting_level": 3
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 4884,
"nesting_level": 3
},
{
"column": 14,
"kind": "If",
"line": 4887,
"nesting_level": 2
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 4887,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.24498138059491914,
"calculated_length": 283.65963218934144,
"difficulty": 14.24390243902439,
"effort": 10468.472653714594,
"length": 126.0,
"n1": 16.0,
"n2": 41.0,
"n_1": 53.0,
"n_2": 73.0,
"time": 581.5818140952553,
"vocabulary": 57.0,
"volume": 734.9441417847574
},
"lines_of_code": 29.0,
"maintainability_index": 79.60087616070291,
"max_nesting_depth": 3.0,
"parameter_count": 2.0,
"statement_count": 18.0,
"technical_debt_score": 51.0
},
"recommendations": [],
"severity": "High",
"start_line": 4864
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:extractContentTextByType:4901",
"entity_name": "extractContentTextByType",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4902,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 4904,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06724611667724363,
"calculated_length": 89.138352755659,
"difficulty": 4.9411764705882355,
"effort": 996.824788392082,
"length": 44.0,
"n1": 7.0,
"n2": 17.0,
"n_1": 20.0,
"n_2": 24.0,
"time": 55.379154910671225,
"vocabulary": 24.0,
"volume": 201.73835003173087
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 4902
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_4907:4907",
"entity_name": "anonymous_function_4907",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4908,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 4908
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_4908:4908",
"entity_name": "anonymous_function_4908",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4909,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 4909
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:parseRolloutEntryFromLine:4939",
"entity_name": "parseRolloutEntryFromLine",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4940,
"metrics": {
"cognitive_complexity": 14.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 4941,
"nesting_level": 0
},
{
"column": 3,
"kind": "Try",
"line": 4944,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 4947,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 4950,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 4951,
"nesting_level": 2
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 4951,
"nesting_level": 2
},
{
"column": 5,
"kind": "Catch",
"line": 4957,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10184286055972365,
"calculated_length": 97.21928094887363,
"difficulty": 10.0,
"effort": 3055.2858167917093,
"length": 65.0,
"n1": 10.0,
"n2": 16.0,
"n_1": 33.0,
"n_2": 32.0,
"time": 169.73810093287273,
"vocabulary": 26.0,
"volume": 305.52858167917094
},
"lines_of_code": 21.0,
"maintainability_index": 90.0841111861894,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 11.0,
"technical_debt_score": 31.4
},
"recommendations": [],
"severity": "Low",
"start_line": 4940
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:extractMessageText:4962",
"entity_name": "extractMessageText",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4963,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 4964,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 4969,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 4969,
"nesting_level": 1
},
{
"column": 18,
"kind": "ConditionalExpression",
"line": 4973,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 4974,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 4974,
"nesting_level": 1
},
{
"column": 7,
"kind": "ConditionalExpression",
"line": 4979,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 4980,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 4980,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.15853428193238,
"calculated_length": 123.730172764082,
"difficulty": 14.210526315789473,
"effort": 6758.566756064621,
"length": 96.0,
"n1": 12.0,
"n2": 19.0,
"n_1": 51.0,
"n_2": 45.0,
"time": 375.4759308924789,
"vocabulary": 31.0,
"volume": 475.60284579714
},
"lines_of_code": 22.0,
"maintainability_index": 86.56927988395492,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 15.0,
"technical_debt_score": 34.0
},
"recommendations": [],
"severity": "Moderate",
"start_line": 4963
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:isSyntheticRolloutUserMessage:4986",
"entity_name": "isSyntheticRolloutUserMessage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 4987,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 4989,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 4993,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 4994,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 4999,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06338827872501465,
"calculated_length": 67.75720079023742,
"difficulty": 5.923076923076923,
"effort": 1126.3609527291064,
"length": 44.0,
"n1": 7.0,
"n2": 13.0,
"n_1": 22.0,
"n_2": 22.0,
"time": 62.57560848495036,
"vocabulary": 20.0,
"volume": 190.16483617504394
},
"lines_of_code": 16.0,
"maintainability_index": 97.64502817441819,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 17.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 4987
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:extractReasoningText:5004",
"entity_name": "extractReasoningText",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 5005,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 5006,
"nesting_level": 0
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 5008,
"nesting_level": 1
},
{
"column": 23,
"kind": "LogicalAnd",
"line": 5008,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 5012,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 5018,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 5021,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.12306885187656515,
"calculated_length": 116.23866587835397,
"difficulty": 7.428571428571429,
"effort": 2742.6772703920233,
"length": 76.0,
"n1": 8.0,
"n2": 21.0,
"n_1": 37.0,
"n_2": 39.0,
"time": 152.37095946622352,
"vocabulary": 29.0,
"volume": 369.20655562969546
},
"lines_of_code": 20.0,
"maintainability_index": 90.12008462276323,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 25.2
},
"recommendations": [],
"severity": "Low",
"start_line": 5005
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_5007:5007",
"entity_name": "anonymous_function_5007",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 5008,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 23,
"kind": "ConditionalExpression",
"line": 5008,
"nesting_level": 1
},
{
"column": 23,
"kind": "LogicalAnd",
"line": 5008,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.01584962500721156,
"calculated_length": 19.60964047443681,
"difficulty": 5.0,
"effort": 237.74437510817341,
"length": 15.0,
"n1": 5.0,
"n2": 4.0,
"n_1": 7.0,
"n_2": 8.0,
"time": 13.208020839342968,
"vocabulary": 9.0,
"volume": 47.548875021634686
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 5008
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:parseJsonRolloutTimeline:5026",
"entity_name": "parseJsonRolloutTimeline",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 5027,
"metrics": {
"cognitive_complexity": 25.0,
"cyclomatic_complexity": 14.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 5030,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 5030,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 5034,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 5039,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 5039,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 5044,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 5047,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 5047,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 5050,
"nesting_level": 1
},
{
"column": 14,
"kind": "If",
"line": 5052,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 5053,
"nesting_level": 3
},
{
"column": 5,
"kind": "If",
"line": 5059,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 5061,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.25628647782871816,
"calculated_length": 209.48455594748285,
"difficulty": 12.909090909090908,
"effort": 9925.276323184902,
"length": 140.0,
"n1": 12.0,
"n2": 33.0,
"n_1": 69.0,
"n_2": 71.0,
"time": 551.404240176939,
"vocabulary": 45.0,
"volume": 768.8594334861544
},
"lines_of_code": 41.0,
"maintainability_index": 73.0666100796324,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 28.0,
"technical_debt_score": 56.199999999999996
},
"recommendations": [],
"severity": "High",
"start_line": 5027
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:parseRolloutFile:5069",
"entity_name": "parseRolloutFile",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [
{
"description": "Cyclomatic complexity of 43.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:parseRolloutFile:5069",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:5070",
"metric_value": 43.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 119.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:parseRolloutFile:5069",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:5070",
"metric_value": 119.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 5070,
"metrics": {
"cognitive_complexity": 119.0,
"cyclomatic_complexity": 43.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 5075,
"nesting_level": 0
},
{
"column": 3,
"kind": "Try",
"line": 5078,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 5081,
"nesting_level": 1
},
{
"column": 5,
"kind": "Catch",
"line": 5084,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 5096,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 5096,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 5098,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 5100,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 5100,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 5100,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 5110,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 5112,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 5114,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 5120,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 5121,
"nesting_level": 2
},
{
"column": 20,
"kind": "If",
"line": 5123,
"nesting_level": 3
},
{
"column": 15,
"kind": "If",
"line": 5124,
"nesting_level": 4
},
{
"column": 11,
"kind": "If",
"line": 5133,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 5144,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 5149,
"nesting_level": 1
},
{
"column": 13,
"kind": "Try",
"line": 5150,
"nesting_level": 2
},
{
"column": 15,
"kind": "Catch",
"line": 5152,
"nesting_level": 3
},
{
"column": 11,
"kind": "If",
"line": 5159,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 5159,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 5159,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 5161,
"nesting_level": 2
},
{
"column": 18,
"kind": "If",
"line": 5165,
"nesting_level": 2
},
{
"column": 22,
"kind": "LogicalAnd",
"line": 5165,
"nesting_level": 3
},
{
"column": 22,
"kind": "LogicalAnd",
"line": 5165,
"nesting_level": 3
},
{
"column": 13,
"kind": "If",
"line": 5168,
"nesting_level": 3
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 5168,
"nesting_level": 4
},
{
"column": 26,
"kind": "ConditionalExpression",
"line": 5176,
"nesting_level": 1
},
{
"column": 17,
"kind": "ConditionalExpression",
"line": 5184,
"nesting_level": 1
},
{
"column": 12,
"kind": "If",
"line": 5194,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 5196,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 5199,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 5199,
"nesting_level": 3
},
{
"column": 14,
"kind": "If",
"line": 5201,
"nesting_level": 3
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 5201,
"nesting_level": 4
},
{
"column": 14,
"kind": "If",
"line": 5203,
"nesting_level": 4
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 5203,
"nesting_level": 5
},
{
"column": 9,
"kind": "If",
"line": 5204,
"nesting_level": 5
}
],
"halstead": {
"bugs": 1.1073297339880368,
"calculated_length": 684.4479781364353,
"difficulty": 29.42307692307692,
"effort": 97743.14382702093,
"length": 488.0,
"n1": 21.0,
"n2": 91.0,
"n_1": 233.0,
"n_2": 255.0,
"time": 5430.174657056718,
"vocabulary": 112.0,
"volume": 3321.9892019641106
},
"lines_of_code": 142.0,
"maintainability_index": 38.662342660390365,
"max_nesting_depth": 5.0,
"parameter_count": 1.0,
"statement_count": 82.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 5070
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_5088:5088",
"entity_name": "anonymous_function_5088",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 5089,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.0,
"difficulty": 1.5,
"effort": 15.0,
"length": 5.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.8333333333333334,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 5089
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:loadCodexPersistedTimeline:5218",
"entity_name": "loadCodexPersistedTimeline",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [
{
"description": "Cognitive complexity of 28.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:loadCodexPersistedTimeline:5218",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:5219",
"metric_value": 28.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 5219,
"metrics": {
"cognitive_complexity": 28.0,
"cyclomatic_complexity": 13.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 5225,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 5226,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 5228,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 5230,
"nesting_level": 3
},
{
"column": 7,
"kind": "Catch",
"line": 5234,
"nesting_level": 2
},
{
"column": 3,
"kind": "Try",
"line": 5239,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 5244,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 5247,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 5248,
"nesting_level": 2
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 5248,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 5254,
"nesting_level": 1
},
{
"column": 5,
"kind": "Catch",
"line": 5260,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.2061980606786797,
"calculated_length": 196.59963563064701,
"difficulty": 11.806451612903226,
"effort": 7303.402278231946,
"length": 114.0,
"n1": 12.0,
"n2": 31.0,
"n_1": 53.0,
"n_2": 61.0,
"time": 405.7445710128859,
"vocabulary": 43.0,
"volume": 618.5941820360391
},
"lines_of_code": 48.0,
"maintainability_index": 71.87380645647738,
"max_nesting_depth": 3.0,
"parameter_count": 3.0,
"statement_count": 22.0,
"technical_debt_score": 58.00000000000001
},
"recommendations": [],
"severity": "High",
"start_line": 5219
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:resolveCodexSessionRootFromMetadata:5268",
"entity_name": "resolveCodexSessionRootFromMetadata",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 5269,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 5273,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.022202638308846556,
"calculated_length": 36.529325012980806,
"difficulty": 2.6666666666666665,
"effort": 177.62110647077242,
"length": 18.0,
"n1": 4.0,
"n2": 9.0,
"n_1": 6.0,
"n_2": 12.0,
"time": 9.867839248376246,
"vocabulary": 13.0,
"volume": 66.60791492653966
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 5269
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:resolveCodexRolloutPath:5278",
"entity_name": "resolveCodexRolloutPath",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 5279,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 10,
"kind": "ConditionalExpression",
"line": 5283,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.017297158093186486,
"calculated_length": 28.75488750216347,
"difficulty": 2.25,
"effort": 116.75581712900879,
"length": 15.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 3.0,
"n_2": 12.0,
"time": 6.486434284944933,
"vocabulary": 11.0,
"volume": 51.89147427955946
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 5279
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:readCodexMetadataString:5285",
"entity_name": "readCodexMetadataString",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 5286,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 5290,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 5294,
"nesting_level": 0
},
{
"column": 10,
"kind": "ConditionalExpression",
"line": 5298,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05797261104228486,
"calculated_length": 76.63504134881501,
"difficulty": 7.961538461538462,
"effort": 1384.6535175868808,
"length": 39.0,
"n1": 9.0,
"n2": 13.0,
"n_1": 16.0,
"n_2": 23.0,
"time": 76.92519542149337,
"vocabulary": 22.0,
"volume": 173.9178331268546
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 7.0,
"technical_debt_score": 13.0
},
"recommendations": [],
"severity": "Low",
"start_line": 5286
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:resolveCodexSessionTimestamp:5300",
"entity_name": "resolveCodexSessionTimestamp",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 5301,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 5305,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 5307,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.048981851742056784,
"calculated_length": 67.75720079023742,
"difficulty": 5.384615384615385,
"effort": 791.2452973716865,
"length": 34.0,
"n1": 7.0,
"n2": 13.0,
"n_1": 14.0,
"n_2": 20.0,
"time": 43.95807207620481,
"vocabulary": 20.0,
"volume": 146.94555522617034
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 10.6
},
"recommendations": [],
"severity": "Low",
"start_line": 5301
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:deriveCodexSessionIdFromPath:5313",
"entity_name": "deriveCodexSessionIdFromPath",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 5314,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 5316,
"nesting_level": 0
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 5320,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 5322,
"nesting_level": 0
},
{
"column": 10,
"kind": "ConditionalExpression",
"line": 5328,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.11940100449314063,
"calculated_length": 122.10749561002054,
"difficulty": 7.636363636363637,
"effort": 2735.3684665701307,
"length": 73.0,
"n1": 8.0,
"n2": 22.0,
"n_1": 31.0,
"n_2": 42.0,
"time": 151.9649148094517,
"vocabulary": 30.0,
"volume": 358.2030134794219
},
"lines_of_code": 15.0,
"maintainability_index": 95.39786724949988,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 16.2
},
"recommendations": [],
"severity": "Low",
"start_line": 5314
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_5318:5318",
"entity_name": "anonymous_function_5318",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 5319,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 5319
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:collectCodexRolloutFiles:5330",
"entity_name": "collectCodexRolloutFiles",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [
{
"description": "Cognitive complexity of 26.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:collectCodexRolloutFiles:5330",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:5331",
"metric_value": 26.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 5331,
"metrics": {
"cognitive_complexity": 26.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 3,
"kind": "While",
"line": 5338,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 5341,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 5343,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 5348,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 5349,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 5354,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 5357,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 5358,
"nesting_level": 2
},
{
"column": 7,
"kind": "Try",
"line": 5363,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 5365,
"nesting_level": 2
},
{
"column": 9,
"kind": "Catch",
"line": 5369,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.338,
"calculated_length": 332.0782000346155,
"difficulty": 14.833333333333334,
"effort": 15041.0,
"length": 169.0,
"n1": 16.0,
"n2": 48.0,
"n_1": 80.0,
"n_2": 89.0,
"time": 835.6111111111111,
"vocabulary": 64.0,
"volume": 1014.0
},
"lines_of_code": 46.0,
"maintainability_index": 70.22338681929081,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 26.0,
"technical_debt_score": 54.0
},
"recommendations": [],
"severity": "High",
"start_line": 5331
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_5358:5358",
"entity_name": "anonymous_function_5358",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 5359,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 25.84962500721156,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.43609027817842,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 5359
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:anonymous_function_5374:5374",
"entity_name": "anonymous_function_5374",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 5375,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01403677461028802,
"calculated_length": 12.754887502163468,
"difficulty": 3.0,
"effort": 126.33097149259218,
"length": 15.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 7.0,
"n_2": 8.0,
"time": 7.01838730514401,
"vocabulary": 7.0,
"volume": 42.11032383086406
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 5375
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:parseCodexSessionMetaPayload:5378",
"entity_name": "parseCodexSessionMetaPayload",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 5379,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 5,
"kind": "ConditionalExpression",
"line": 5383,
"nesting_level": 0
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 5385,
"nesting_level": 0
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 5387,
"nesting_level": 0
},
{
"column": 15,
"kind": "ConditionalExpression",
"line": 5390,
"nesting_level": 0
},
{
"column": 17,
"kind": "ConditionalExpression",
"line": 5391,
"nesting_level": 0
},
{
"column": 5,
"kind": "ConditionalExpression",
"line": 5393,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.11454845268110987,
"calculated_length": 98.04820237218406,
"difficulty": 5.375,
"effort": 1847.0937994828967,
"length": 74.0,
"n1": 5.0,
"n2": 20.0,
"n_1": 31.0,
"n_2": 43.0,
"time": 102.61632219349426,
"vocabulary": 25.0,
"volume": 343.6453580433296
},
"lines_of_code": 16.0,
"maintainability_index": 94.1080897134165,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 22.0
},
"recommendations": [],
"severity": "Low",
"start_line": 5379
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:parseCodexSessionMetaFromJson:5396",
"entity_name": "parseCodexSessionMetaFromJson",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 5397,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 5400,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 5400,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 5404,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 5404,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05559900001923083,
"calculated_length": 57.219280948873624,
"difficulty": 8.0,
"effort": 1334.37600046154,
"length": 40.0,
"n1": 8.0,
"n2": 10.0,
"n_1": 20.0,
"n_2": 20.0,
"time": 74.1320000256411,
"vocabulary": 18.0,
"volume": 166.7970000576925
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 17.0
},
"recommendations": [],
"severity": "Low",
"start_line": 5397
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:parseCodexSessionMetaFromJsonLine:5409",
"entity_name": "parseCodexSessionMetaFromJsonLine",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 5410,
"metrics": {
"cognitive_complexity": 16.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 5413,
"nesting_level": 0
},
{
"column": 3,
"kind": "Try",
"line": 5416,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 5418,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 5418,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 5422,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 5426,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 5426,
"nesting_level": 2
},
{
"column": 5,
"kind": "Catch",
"line": 5430,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10967692675662546,
"calculated_length": 97.21928094887363,
"difficulty": 10.625,
"effort": 3495.952040367437,
"length": 70.0,
"n1": 10.0,
"n2": 16.0,
"n_1": 36.0,
"n_2": 34.0,
"time": 194.21955779819095,
"vocabulary": 26.0,
"volume": 329.0307802698764
},
"lines_of_code": 23.0,
"maintainability_index": 87.9950069240573,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 14.0,
"technical_debt_score": 35.400000000000006
},
"recommendations": [],
"severity": "Moderate",
"start_line": 5410
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts:readCodexSessionMeta:5434",
"entity_name": "readCodexSessionMeta",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-mcp-agent.ts",
"issues": [],
"line_number": 5435,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 5439,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 5441,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 5445,
"nesting_level": 0
},
{
"column": 3,
"kind": "Try",
"line": 5448,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 5451,
"nesting_level": 1
},
{
"column": 5,
"kind": "Catch",
"line": 5454,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 5460,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.11433960003879162,
"calculated_length": 135.25821588700785,
"difficulty": 10.857142857142858,
"effort": 3724.204115549213,
"length": 68.0,
"n1": 12.0,
"n2": 21.0,
"n_1": 30.0,
"n_2": 38.0,
"time": 206.90022864162293,
"vocabulary": 33.0,
"volume": 343.01880011637485
},
"lines_of_code": 30.0,
"maintainability_index": 83.70411908327935,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 18.0,
"technical_debt_score": 30.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 5435
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:anonymous_function_6:6",
"entity_name": "anonymous_function_6",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts",
"issues": [],
"line_number": 7,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 1.709189690591524,
"calculated_length": 773.831645619265,
"difficulty": 16.396396396396398,
"effort": 84073.65505071821,
"length": 745.0,
"n1": 7.0,
"n2": 111.0,
"n_1": 225.0,
"n_2": 520.0,
"time": 4670.75861392879,
"vocabulary": 118.0,
"volume": 5127.569071774572
},
"lines_of_code": 294.0,
"maintainability_index": 34.27559557345211,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 69.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 7
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:anonymous_function_9:9",
"entity_name": "anonymous_function_9",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts",
"issues": [],
"line_number": 10,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.36452797660028,
"difficulty": 1.5,
"effort": 45.0,
"length": 10.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 5.0,
"time": 2.5,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 10
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:anonymous_function_13:13",
"entity_name": "anonymous_function_13",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts",
"issues": [],
"line_number": 14,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 13.60964047443681,
"difficulty": 1.2,
"effort": 26.950607251753,
"length": 8.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 2.0,
"n_2": 6.0,
"time": 1.4972559584307221,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 14
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:anonymous_function_17:17",
"entity_name": "anonymous_function_17",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts",
"issues": [],
"line_number": 18,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.556,
"calculated_length": 355.27267272172605,
"difficulty": 9.982758620689655,
"effort": 16651.241379310344,
"length": 278.0,
"n1": 6.0,
"n2": 58.0,
"n_1": 85.0,
"n_2": 193.0,
"time": 925.0689655172414,
"vocabulary": 64.0,
"volume": 1668.0
},
"lines_of_code": 101.0,
"maintainability_index": 57.424268595994405,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 24.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 18
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:anonymous_function_18:18",
"entity_name": "anonymous_function_18",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts",
"issues": [],
"line_number": 19,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.14278818050457154,
"calculated_length": 221.64046153995463,
"difficulty": 4.153846153846153,
"effort": 1779.3604032108144,
"length": 78.0,
"n1": 6.0,
"n2": 39.0,
"n_1": 24.0,
"n_2": 54.0,
"time": 98.85335573393414,
"vocabulary": 45.0,
"volume": 428.36454151371464
},
"lines_of_code": 26.0,
"maintainability_index": 86.47696834307669,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 19
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:anonymous_function_36:36",
"entity_name": "anonymous_function_36",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts",
"issues": [],
"line_number": 37,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 37
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:anonymous_function_46:46",
"entity_name": "anonymous_function_46",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts",
"issues": [],
"line_number": 47,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1871900362850593,
"calculated_length": 262.6431643391623,
"difficulty": 4.733333333333333,
"effort": 2658.0985152478424,
"length": 99.0,
"n1": 6.0,
"n2": 45.0,
"n_1": 28.0,
"n_2": 71.0,
"time": 147.67213973599124,
"vocabulary": 51.0,
"volume": 561.570108855178
},
"lines_of_code": 37.0,
"maintainability_index": 79.3532993582885,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 47
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:anonymous_function_74:74",
"entity_name": "anonymous_function_74",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts",
"issues": [],
"line_number": 75,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 75
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:anonymous_function_85:85",
"entity_name": "anonymous_function_85",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts",
"issues": [],
"line_number": 86,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.16196313801957316,
"calculated_length": 214.93102051518318,
"difficulty": 4.894736842105263,
"effort": 2378.300816182153,
"length": 89.0,
"n1": 6.0,
"n2": 38.0,
"n_1": 27.0,
"n_2": 62.0,
"time": 132.12782312123073,
"vocabulary": 44.0,
"volume": 485.88941405871947
},
"lines_of_code": 32.0,
"maintainability_index": 82.4579768890626,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 8.4
},
"recommendations": [],
"severity": "Low",
"start_line": 86
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:anonymous_function_114:114",
"entity_name": "anonymous_function_114",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts",
"issues": [],
"line_number": 115,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 115
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:anonymous_function_120:120",
"entity_name": "anonymous_function_120",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts",
"issues": [],
"line_number": 121,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1518254286125221,
"calculated_length": 235.16940719366838,
"difficulty": 4.097560975609756,
"effort": 1866.3418541636863,
"length": 82.0,
"n1": 6.0,
"n2": 41.0,
"n_1": 26.0,
"n_2": 56.0,
"time": 103.68565856464924,
"vocabulary": 47.0,
"volume": 455.4762858375663
},
"lines_of_code": 28.0,
"maintainability_index": 84.9572999368721,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 7.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 121
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:anonymous_function_121:121",
"entity_name": "anonymous_function_121",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts",
"issues": [],
"line_number": 122,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.14278818050457154,
"calculated_length": 221.64046153995463,
"difficulty": 4.153846153846153,
"effort": 1779.3604032108144,
"length": 78.0,
"n1": 6.0,
"n2": 39.0,
"n_1": 24.0,
"n_2": 54.0,
"time": 98.85335573393414,
"vocabulary": 45.0,
"volume": 428.36454151371464
},
"lines_of_code": 26.0,
"maintainability_index": 86.47696834307669,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 122
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:anonymous_function_139:139",
"entity_name": "anonymous_function_139",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts",
"issues": [],
"line_number": 140,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 140
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:anonymous_function_150:150",
"entity_name": "anonymous_function_150",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts",
"issues": [],
"line_number": 151,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.2948270516721473,
"calculated_length": 211.03088598529305,
"difficulty": 7.565789473684211,
"effort": 6691.798212295449,
"length": 163.0,
"n1": 5.0,
"n2": 38.0,
"n_1": 48.0,
"n_2": 115.0,
"time": 371.76656734974716,
"vocabulary": 43.0,
"volume": 884.4811550164419
},
"lines_of_code": 68.0,
"maintainability_index": 67.13196889678848,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 18.0,
"technical_debt_score": 15.600000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 151
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:anonymous_function_151:151",
"entity_name": "anonymous_function_151",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts",
"issues": [],
"line_number": 152,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.085,
"calculated_length": 139.99160303285046,
"difficulty": 3.425925925925926,
"effort": 873.6111111111111,
"length": 51.0,
"n1": 5.0,
"n2": 27.0,
"n_1": 14.0,
"n_2": 37.0,
"time": 48.53395061728395,
"vocabulary": 32.0,
"volume": 255.0
},
"lines_of_code": 21.0,
"maintainability_index": 92.63416607405674,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 152
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:anonymous_function_174:174",
"entity_name": "anonymous_function_174",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts",
"issues": [],
"line_number": 175,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.085,
"calculated_length": 139.99160303285046,
"difficulty": 3.425925925925926,
"effort": 873.6111111111111,
"length": 51.0,
"n1": 5.0,
"n2": 27.0,
"n_1": 14.0,
"n_2": 37.0,
"time": 48.53395061728395,
"vocabulary": 32.0,
"volume": 255.0
},
"lines_of_code": 21.0,
"maintainability_index": 92.63416607405674,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 175
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:anonymous_function_197:197",
"entity_name": "anonymous_function_197",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts",
"issues": [],
"line_number": 198,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.07934702292041701,
"calculated_length": 121.64874049174456,
"difficulty": 3.645833333333333,
"effort": 867.8580631920609,
"length": 49.0,
"n1": 5.0,
"n2": 24.0,
"n_1": 14.0,
"n_2": 35.0,
"time": 48.214336844003384,
"vocabulary": 29.0,
"volume": 238.041068761251
},
"lines_of_code": 20.0,
"maintainability_index": 93.78243244207691,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 198
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:anonymous_function_220:220",
"entity_name": "anonymous_function_220",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts",
"issues": [],
"line_number": 221,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.3685476422256162,
"calculated_length": 392.0784101848217,
"difficulty": 6.380952380952381,
"effort": 7055.054865461797,
"length": 181.0,
"n1": 6.0,
"n2": 63.0,
"n_1": 47.0,
"n_2": 134.0,
"time": 391.9474925256554,
"vocabulary": 69.0,
"volume": 1105.6429266768487
},
"lines_of_code": 79.0,
"maintainability_index": 63.54239694002092,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 17.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 221
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts:anonymous_function_221:221",
"entity_name": "anonymous_function_221",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/codex-rollout-parsing.test.ts",
"issues": [],
"line_number": 222,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.3578992622370085,
"calculated_length": 377.284752595663,
"difficulty": 6.491803278688526,
"effort": 6970.234812091249,
"length": 177.0,
"n1": 6.0,
"n2": 61.0,
"n_1": 45.0,
"n_2": 132.0,
"time": 387.23526733840276,
"vocabulary": 67.0,
"volume": 1073.6977867110256
},
"lines_of_code": 77.0,
"maintainability_index": 64.11026017159756,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 17.400000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 222
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.test.ts:tmpCwd:16",
"entity_name": "tmpCwd",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.test.ts",
"issues": [],
"line_number": 17,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 19,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 21,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.02665148445440323,
"calculated_length": 40.13896548741762,
"difficulty": 3.055555555555556,
"effort": 244.305274165363,
"length": 21.0,
"n1": 5.0,
"n2": 9.0,
"n_1": 10.0,
"n_2": 11.0,
"time": 13.572515231409055,
"vocabulary": 14.0,
"volume": 79.9544533632097
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 9.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 17
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.test.ts:collectTurnEvents:38",
"entity_name": "collectTurnEvents",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.test.ts",
"issues": [],
"line_number": 39,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 54,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 56,
"nesting_level": 1
},
{
"column": 14,
"kind": "If",
"line": 58,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 63,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 67,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2085203083915066,
"calculated_length": 154.1501525493784,
"difficulty": 14.3,
"effort": 8945.521229995633,
"length": 121.0,
"n1": 11.0,
"n2": 25.0,
"n_1": 56.0,
"n_2": 65.0,
"time": 496.973401666424,
"vocabulary": 36.0,
"volume": 625.5609251745198
},
"lines_of_code": 36.0,
"maintainability_index": 78.08601981390179,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 17.0,
"technical_debt_score": 25.6
},
"recommendations": [],
"severity": "Low",
"start_line": 39
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.test.ts:anonymous_function_76:76",
"entity_name": "anonymous_function_76",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.test.ts",
"issues": [],
"line_number": 77,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 7,
"kind": "LogicalOr",
"line": 96,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 96,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 96,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 96,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 96,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 104,
"nesting_level": 0
},
{
"column": 12,
"kind": "If",
"line": 106,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.9744488759494089,
"calculated_length": 559.0572164997955,
"difficulty": 21.175,
"effort": 61901.8648446862,
"length": 446.0,
"n1": 14.0,
"n2": 80.0,
"n_1": 204.0,
"n_2": 242.0,
"time": 3438.9924913714553,
"vocabulary": 94.0,
"volume": 2923.3466278482265
},
"lines_of_code": 116.0,
"maintainability_index": 50.653320313132554,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 51.0,
"technical_debt_score": 42.400000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 77
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.test.ts:anonymous_function_78:78",
"entity_name": "anonymous_function_78",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.test.ts",
"issues": [],
"line_number": 79,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008,
"calculated_length": 19.651484454403228,
"difficulty": 0.5,
"effort": 12.0,
"length": 8.0,
"n1": 1.0,
"n2": 7.0,
"n_1": 1.0,
"n_2": 7.0,
"time": 0.6666666666666666,
"vocabulary": 8.0,
"volume": 24.0
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 79
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.test.ts:anonymous_function_84:84",
"entity_name": "anonymous_function_84",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.test.ts",
"issues": [],
"line_number": 85,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 7,
"kind": "LogicalOr",
"line": 96,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 96,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 96,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 96,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 96,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 104,
"nesting_level": 0
},
{
"column": 12,
"kind": "If",
"line": 106,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.24749423337822415,
"calculated_length": 203.01955000865388,
"difficulty": 13.5,
"effort": 10023.516451818077,
"length": 136.0,
"n1": 12.0,
"n2": 32.0,
"n_1": 64.0,
"n_2": 72.0,
"time": 556.8620251010043,
"vocabulary": 44.0,
"volume": 742.4827001346724
},
"lines_of_code": 29.0,
"maintainability_index": 80.23780978541694,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 28.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 85
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.test.ts:anonymous_function_94:94",
"entity_name": "anonymous_function_94",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.test.ts",
"issues": [],
"line_number": 95,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "LogicalOr",
"line": 96,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 96,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 96,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 96,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 96,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0573594000115385,
"calculated_length": 33.284212515144276,
"difficulty": 4.166666666666666,
"effort": 716.9925001442311,
"length": 48.0,
"n1": 3.0,
"n2": 9.0,
"n_1": 23.0,
"n_2": 25.0,
"time": 39.83291667467951,
"vocabulary": 12.0,
"volume": 172.0782000346155
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 17.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 95
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.test.ts:anonymous_function_117:117",
"entity_name": "anonymous_function_117",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.test.ts",
"issues": [],
"line_number": 118,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10095445336320968,
"calculated_length": 113.61727061434748,
"difficulty": 4.636363636363637,
"effort": 1404.1846695064621,
"length": 63.0,
"n1": 6.0,
"n2": 22.0,
"n_1": 29.0,
"n_2": 34.0,
"time": 78.01025941702568,
"vocabulary": 28.0,
"volume": 302.86336008962905
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 4.4
},
"recommendations": [],
"severity": "Low",
"start_line": 118
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.test.ts:anonymous_function_135:135",
"entity_name": "anonymous_function_135",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.test.ts",
"issues": [],
"line_number": 136,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.2040072436373489,
"calculated_length": 188.48351160683848,
"difficulty": 5.647058823529411,
"effort": 3456.122715738616,
"length": 115.0,
"n1": 6.0,
"n2": 34.0,
"n_1": 51.0,
"n_2": 64.0,
"time": 192.00681754103422,
"vocabulary": 40.0,
"volume": 612.0217309120467
},
"lines_of_code": 26.0,
"maintainability_index": 84.6216435765296,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 14.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 136
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.test.ts:anonymous_function_156:156",
"entity_name": "anonymous_function_156",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.test.ts",
"issues": [],
"line_number": 157,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 157
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.test.ts:anonymous_function_167:167",
"entity_name": "anonymous_function_167",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.test.ts",
"issues": [],
"line_number": 168,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.16184761570927267,
"calculated_length": 111.8901503327572,
"difficulty": 8.5,
"effort": 4127.114200586453,
"length": 101.0,
"n1": 7.0,
"n2": 21.0,
"n_1": 50.0,
"n_2": 51.0,
"time": 229.28412225480295,
"vocabulary": 28.0,
"volume": 485.542847127818
},
"lines_of_code": 21.0,
"maintainability_index": 89.28534531415306,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 11.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 168
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:findAvailablePort:47",
"entity_name": "findAvailablePort",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 48,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 53,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 53,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09977344211070655,
"calculated_length": 119.65784284662087,
"difficulty": 8.25,
"effort": 2469.392692239987,
"length": 61.0,
"n1": 10.0,
"n2": 20.0,
"n_1": 28.0,
"n_2": 33.0,
"time": 137.1884829022215,
"vocabulary": 30.0,
"volume": 299.32032633211963
},
"lines_of_code": 14.0,
"maintainability_index": 97.90939676785894,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 11.2
},
"recommendations": [],
"severity": "Low",
"start_line": 48
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:anonymous_function_48:48",
"entity_name": "anonymous_function_48",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 49,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 53,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 53,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08774154140530038,
"calculated_length": 98.01619331423657,
"difficulty": 7.9411764705882355,
"effort": 2090.3131923027445,
"length": 56.0,
"n1": 9.0,
"n2": 17.0,
"n_1": 26.0,
"n_2": 30.0,
"time": 116.1285106834858,
"vocabulary": 26.0,
"volume": 263.22462421590114
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 8.0,
"technical_debt_score": 10.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 49
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:anonymous_function_50:50",
"entity_name": "anonymous_function_50",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 51,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 53,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 53,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05186313713864835,
"calculated_length": 66.58307281799108,
"difficulty": 7.363636363636364,
"effort": 1145.7038476992318,
"length": 36.0,
"n1": 9.0,
"n2": 11.0,
"n_1": 18.0,
"n_2": 18.0,
"time": 63.650213761068436,
"vocabulary": 20.0,
"volume": 155.58941141594505
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 10.0
},
"recommendations": [],
"severity": "Low",
"start_line": 51
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:anonymous_function_54:54",
"entity_name": "anonymous_function_54",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 55,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 55
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:anonymous_function_56:56",
"entity_name": "anonymous_function_56",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 57,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 57
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:constructor:71",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 72,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 72
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:getInstance:75",
"entity_name": "getInstance",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 76,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 77,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.036,
"calculated_length": 48.18080946738404,
"difficulty": 9.0,
"effort": 972.0,
"length": 27.0,
"n1": 9.0,
"n2": 7.0,
"n_1": 13.0,
"n_2": 14.0,
"time": 54.0,
"vocabulary": 16.0,
"volume": 108.0
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 76
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:registerExitHandler:83",
"entity_name": "registerExitHandler",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 84,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 85,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 92,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 92,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.0901709291808494,
"calculated_length": 87.13268394710859,
"difficulty": 9.3,
"effort": 2515.7689241456987,
"length": 59.0,
"n1": 9.0,
"n2": 15.0,
"n_1": 28.0,
"n_2": 31.0,
"time": 139.7649402303166,
"vocabulary": 24.0,
"volume": 270.5127875425482
},
"lines_of_code": 16.0,
"maintainability_index": 96.04240197106712,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 16.8
},
"recommendations": [],
"severity": "Low",
"start_line": 84
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:anonymous_function_89:89",
"entity_name": "anonymous_function_89",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 90,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 92,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 92,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.030458839376460836,
"calculated_length": 39.302968908806456,
"difficulty": 6.0,
"effort": 548.2591087762951,
"length": 24.0,
"n1": 7.0,
"n2": 7.0,
"n_1": 12.0,
"n_2": 12.0,
"time": 30.458839376460837,
"vocabulary": 14.0,
"volume": 91.3765181293825
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 11.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 90
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:ensureRunning:101",
"entity_name": "ensureRunning",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 102,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 103,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 107,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 107,
"nesting_level": 2
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 107,
"nesting_level": 2
},
{
"column": 5,
"kind": "Try",
"line": 112,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07581033751683405,
"calculated_length": 76.2388309575275,
"difficulty": 12.600000000000001,
"effort": 2865.6307581363276,
"length": 51.0,
"n1": 12.0,
"n2": 10.0,
"n_1": 30.0,
"n_2": 21.0,
"time": 159.20170878535154,
"vocabulary": 22.0,
"volume": 227.43101255050217
},
"lines_of_code": 16.0,
"maintainability_index": 96.48445855520332,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 24.8
},
"recommendations": [],
"severity": "Low",
"start_line": 102
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:startServer:119",
"entity_name": "startServer",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 120,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 132,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 139,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 139,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 156,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.34002894068693884,
"calculated_length": 318.14033237029906,
"difficulty": 11.020408163265307,
"effort": 11241.773141078387,
"length": 172.0,
"n1": 12.0,
"n2": 49.0,
"n_1": 82.0,
"n_2": 90.0,
"time": 624.5429522821327,
"vocabulary": 61.0,
"volume": 1020.0868220608165
},
"lines_of_code": 44.0,
"maintainability_index": 72.52238421444295,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 25.0,
"technical_debt_score": 26.0
},
"recommendations": [],
"severity": "Low",
"start_line": 120
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:anonymous_function_123:123",
"entity_name": "anonymous_function_123",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 124,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 132,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 139,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 139,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 156,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.2959425568190986,
"calculated_length": 266.54866540106383,
"difficulty": 9.418604651162791,
"effort": 8362.097826400111,
"length": 155.0,
"n1": 10.0,
"n2": 43.0,
"n_1": 74.0,
"n_2": 81.0,
"time": 464.5609903555617,
"vocabulary": 53.0,
"volume": 887.8276704572958
},
"lines_of_code": 39.0,
"maintainability_index": 75.19865750403389,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 22.0,
"technical_debt_score": 25.0
},
"recommendations": [],
"severity": "Low",
"start_line": 124
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:anonymous_function_130:130",
"entity_name": "anonymous_function_130",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 131,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 132,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.01107309364962454,
"calculated_length": 23.509775004326936,
"difficulty": 3.0,
"effort": 99.65784284662087,
"length": 10.0,
"n1": 6.0,
"n2": 4.0,
"n_1": 6.0,
"n_2": 4.0,
"time": 5.5365468248122705,
"vocabulary": 10.0,
"volume": 33.219280948873624
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 131
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:anonymous_function_136:136",
"entity_name": "anonymous_function_136",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 137,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 139,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 139,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.04905374780501027,
"calculated_length": 76.63504134881501,
"difficulty": 5.884615384615385,
"effort": 865.9873170192199,
"length": 33.0,
"n1": 9.0,
"n2": 13.0,
"n_1": 16.0,
"n_2": 17.0,
"time": 48.11040650106777,
"vocabulary": 22.0,
"volume": 147.1612434150308
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 11.4
},
"recommendations": [],
"severity": "Low",
"start_line": 137
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:anonymous_function_145:145",
"entity_name": "anonymous_function_145",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 146,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.019603445838944685,
"calculated_length": 28.75488750216347,
"difficulty": 1.6875,
"effort": 99.24244455965747,
"length": 17.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 8.0,
"n_2": 9.0,
"time": 5.513469142203193,
"vocabulary": 11.0,
"volume": 58.81033751683405
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 146
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:anonymous_function_149:149",
"entity_name": "anonymous_function_149",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 150,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007754887502163467,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 29.080828133113002,
"length": 9.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 5.0,
"time": 1.6156015629507223,
"vocabulary": 6.0,
"volume": 23.264662506490403
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 150
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:anonymous_function_154:154",
"entity_name": "anonymous_function_154",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 155,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 156,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.034062190343752824,
"calculated_length": 52.529325012980806,
"difficulty": 4.888888888888889,
"effort": 499.5787917083748,
"length": 25.0,
"n1": 8.0,
"n2": 9.0,
"n_1": 14.0,
"n_2": 11.0,
"time": 27.754377317131933,
"vocabulary": 17.0,
"volume": 102.18657103125848
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 155
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:shutdown:165",
"entity_name": "shutdown",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 166,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 167,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 167,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.09826767504471169,
"calculated_length": 102.70614925012939,
"difficulty": 7.941176470588235,
"effort": 2341.0828466534253,
"length": 62.0,
"n1": 10.0,
"n2": 17.0,
"n_1": 35.0,
"n_2": 27.0,
"time": 130.06015814741252,
"vocabulary": 27.0,
"volume": 294.80302513413505
},
"lines_of_code": 16.0,
"maintainability_index": 95.82526410577542,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 11.0,
"technical_debt_score": 13.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 166
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:anonymous_function_168:168",
"entity_name": "anonymous_function_168",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 169,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03577091727536389,
"calculated_length": 37.974168451037094,
"difficulty": 2.0999999999999996,
"effort": 225.35677883479246,
"length": 29.0,
"n1": 3.0,
"n2": 10.0,
"n_1": 15.0,
"n_2": 14.0,
"time": 12.51982104637736,
"vocabulary": 13.0,
"volume": 107.31275182609167
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 169
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:anonymous_function_169:169",
"entity_name": "anonymous_function_169",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 170,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009357849740192013,
"calculated_length": 12.754887502163468,
"difficulty": 1.5,
"effort": 42.11032383086406,
"length": 10.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 6.0,
"n_2": 4.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 28.07354922057604
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 170
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:anonymous_function_173:173",
"entity_name": "anonymous_function_173",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 174,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005417832221403845,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 16.253496664211536,
"length": 7.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 3.0,
"time": 0.9029720369006409,
"vocabulary": 5.0,
"volume": 16.253496664211536
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 174
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:constructor:191",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 192,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03333333333333333,
"calculated_length": 51.01955000865387,
"difficulty": 2.3333333333333335,
"effort": 233.33333333333334,
"length": 25.0,
"n1": 4.0,
"n2": 12.0,
"n_1": 11.0,
"n_2": 14.0,
"time": 12.962962962962964,
"vocabulary": 16.0,
"volume": 100.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 192
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:createSession:196",
"entity_name": "createSession",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 197,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 215,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 220,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.16938923331908173,
"calculated_length": 219.33658100079685,
"difficulty": 7.638888888888888,
"effort": 3881.8365968956227,
"length": 92.0,
"n1": 10.0,
"n2": 36.0,
"n_1": 37.0,
"n_2": 55.0,
"time": 215.65758871642348,
"vocabulary": 46.0,
"volume": 508.1676999572452
},
"lines_of_code": 28.0,
"maintainability_index": 83.92806707729822,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 14.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 197
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:anonymous_function_205:205",
"entity_name": "anonymous_function_205",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 206,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 61.021056277764515,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 4.0,
"n_2": 7.0,
"time": 3.3900586820980285,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 206
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:anonymous_function_206:206",
"entity_name": "anonymous_function_206",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 207,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 207
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:resumeSession:226",
"entity_name": "resumeSession",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 227,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 232,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.11176048999263462,
"calculated_length": 178.93519666370983,
"difficulty": 7.775862068965517,
"effort": 2607.102464828183,
"length": 63.0,
"n1": 11.0,
"n2": 29.0,
"n_1": 22.0,
"n_2": 41.0,
"time": 144.83902582378795,
"vocabulary": 40.0,
"volume": 335.28146997790384
},
"lines_of_code": 22.0,
"maintainability_index": 90.22726623832583,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 8.0,
"technical_debt_score": 10.0
},
"recommendations": [],
"severity": "Low",
"start_line": 227
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:listModels:250",
"entity_name": "listModels",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 251,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 268,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 273,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 281,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 288,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.4132408803001755,
"calculated_length": 469.5939038535279,
"difficulty": 11.115942028985508,
"effort": 13780.68500827107,
"length": 195.0,
"n1": 13.0,
"n2": 69.0,
"n_1": 77.0,
"n_2": 118.0,
"time": 765.5936115706149,
"vocabulary": 82.0,
"volume": 1239.7226409005264
},
"lines_of_code": 63.0,
"maintainability_index": 65.69347405664688,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 20.0,
"technical_debt_score": 29.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 251
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:anonymous_function_258:258",
"entity_name": "anonymous_function_258",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 259,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 61.021056277764515,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 4.0,
"n_2": 7.0,
"time": 3.3900586820980285,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 259
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:anonymous_function_259:259",
"entity_name": "anonymous_function_259",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 260,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 260
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:listPersistedAgents:315",
"entity_name": "listPersistedAgents",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 316,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 11.60964047443681,
"difficulty": 0.5,
"effort": 7.754887502163468,
"length": 6.0,
"n1": 1.0,
"n2": 5.0,
"n_1": 1.0,
"n_2": 5.0,
"time": 0.430827083453526,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 316
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:assertConfig:320",
"entity_name": "assertConfig",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 321,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 322,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.02665148445440323,
"calculated_length": 39.302968908806456,
"difficulty": 6.5,
"effort": 519.703946860863,
"length": 21.0,
"n1": 7.0,
"n2": 7.0,
"n_1": 8.0,
"n_2": 13.0,
"time": 28.872441492270166,
"vocabulary": 14.0,
"volume": 79.9544533632097
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 321
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:constructor:342",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 343,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.025094737505048093,
"calculated_length": 33.284212515144276,
"difficulty": 2.0,
"effort": 150.56842503028855,
"length": 21.0,
"n1": 3.0,
"n2": 9.0,
"n_1": 9.0,
"n_2": 12.0,
"time": 8.364912501682698,
"vocabulary": 12.0,
"volume": 75.28421251514428
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 3.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 343
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:id:352",
"entity_name": "id",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 353,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 15.509775004326936,
"length": 6.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.861654166907052,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 353
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:getRuntimeInfo:356",
"entity_name": "getRuntimeInfo",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 357,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.024113247839698163,
"calculated_length": 42.80863530717374,
"difficulty": 1.772727272727273,
"effort": 128.23863623839478,
"length": 19.0,
"n1": 3.0,
"n2": 11.0,
"n_1": 6.0,
"n_2": 13.0,
"time": 7.124368679910821,
"vocabulary": 14.0,
"volume": 72.33974351909448
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 357
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:run:365",
"entity_name": "run",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 366,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 373,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 375,
"nesting_level": 2
},
{
"column": 14,
"kind": "If",
"line": 378,
"nesting_level": 2
},
{
"column": 14,
"kind": "If",
"line": 380,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.16196313801957316,
"calculated_length": 203.01955000865388,
"difficulty": 9.5625,
"effort": 4646.317521936505,
"length": 89.0,
"n1": 12.0,
"n2": 32.0,
"n_1": 38.0,
"n_2": 51.0,
"time": 258.12875121869473,
"vocabulary": 44.0,
"volume": 485.88941405871947
},
"lines_of_code": 25.0,
"maintainability_index": 85.5371101515533,
"max_nesting_depth": 3.0,
"parameter_count": 2.0,
"statement_count": 14.0,
"technical_debt_score": 24.6
},
"recommendations": [],
"severity": "Low",
"start_line": 366
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:stream:392",
"entity_name": "stream",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [
{
"description": "Cognitive complexity of 26.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:stream:392",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:393",
"metric_value": 26.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 393,
"metrics": {
"cognitive_complexity": 26.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 11,
"kind": "ConditionalExpression",
"line": 407,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 410,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 424,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 426,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 433,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalOr",
"line": 433,
"nesting_level": 3
},
{
"column": 7,
"kind": "Catch",
"line": 438,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 439,
"nesting_level": 2
},
{
"column": 18,
"kind": "ConditionalExpression",
"line": 443,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.2948791428926626,
"calculated_length": 323.57071827987835,
"difficulty": 14.41304347826087,
"effort": 12750.317722032736,
"length": 148.0,
"n1": 17.0,
"n2": 46.0,
"n_1": 70.0,
"n_2": 78.0,
"time": 708.3509845573742,
"vocabulary": 63.0,
"volume": 884.6374286779877
},
"lines_of_code": 54.0,
"maintainability_index": 68.79553349069566,
"max_nesting_depth": 3.0,
"parameter_count": 2.0,
"statement_count": 19.0,
"technical_debt_score": 51.6
},
"recommendations": [],
"severity": "High",
"start_line": 393
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:interrupt:448",
"entity_name": "interrupt",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 449,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03255742163007099,
"calculated_length": 46.05374780501027,
"difficulty": 2.1818181818181817,
"effort": 213.1031233968283,
"length": 25.0,
"n1": 4.0,
"n2": 11.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 11.839062410934906,
"vocabulary": 15.0,
"volume": 97.67226489021297
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 449
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:streamHistory:456",
"entity_name": "streamHistory",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [
{
"description": "Cognitive complexity of 46.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:streamHistory:456",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:457",
"metric_value": 46.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 457,
"metrics": {
"cognitive_complexity": 46.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 463,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 463,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 473,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 482,
"nesting_level": 2
},
{
"column": 14,
"kind": "If",
"line": 489,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 494,
"nesting_level": 3
},
{
"column": 13,
"kind": "If",
"line": 496,
"nesting_level": 4
},
{
"column": 18,
"kind": "If",
"line": 503,
"nesting_level": 4
},
{
"column": 13,
"kind": "If",
"line": 505,
"nesting_level": 5
},
{
"column": 18,
"kind": "If",
"line": 512,
"nesting_level": 5
},
{
"column": 13,
"kind": "If",
"line": 527,
"nesting_level": 6
}
],
"halstead": {
"bugs": 0.48584785785867873,
"calculated_length": 417.26588757982046,
"difficulty": 15.201612903225808,
"effort": 22157.013195087326,
"length": 234.0,
"n1": 13.0,
"n2": 62.0,
"n_1": 89.0,
"n_2": 145.0,
"time": 1230.9451775048515,
"vocabulary": 75.0,
"volume": 1457.5435735760361
},
"lines_of_code": 89.0,
"maintainability_index": 57.64465017813825,
"max_nesting_depth": 6.0,
"parameter_count": 0.0,
"statement_count": 29.0,
"technical_debt_score": 78.60000000000001
},
"recommendations": [],
"severity": "High",
"start_line": 457
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:anonymous_function_475:475",
"entity_name": "anonymous_function_475",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 476,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008422064766172813,
"calculated_length": 12.754887502163468,
"difficulty": 3.3333333333333335,
"effort": 84.22064766172814,
"length": 9.0,
"n1": 4.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 5.0,
"time": 4.678924870096008,
"vocabulary": 7.0,
"volume": 25.26619429851844
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 476
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:anonymous_function_478:478",
"entity_name": "anonymous_function_478",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 479,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008422064766172813,
"calculated_length": 12.754887502163468,
"difficulty": 3.3333333333333335,
"effort": 84.22064766172814,
"length": 9.0,
"n1": 4.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 5.0,
"time": 4.678924870096008,
"vocabulary": 7.0,
"volume": 25.26619429851844
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 479
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:getAvailableModes:547",
"entity_name": "getAvailableModes",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 548,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 8.0,
"difficulty": 0.5,
"effort": 5.804820237218405,
"length": 5.0,
"n1": 1.0,
"n2": 4.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.32249001317880027,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 548
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:getCurrentMode:551",
"entity_name": "getCurrentMode",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 552,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.00655049481813441,
"calculated_length": 13.60964047443681,
"difficulty": 1.0,
"effort": 19.651484454403228,
"length": 7.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 2.0,
"n_2": 5.0,
"time": 1.0917491363557348,
"vocabulary": 7.0,
"volume": 19.651484454403228
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 552
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:setMode:555",
"entity_name": "setMode",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 556,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 556
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:getPendingPermissions:559",
"entity_name": "getPendingPermissions",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 560,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 57.05865002596162,
"length": 12.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 6.0,
"time": 3.169925001442312,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 560
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:respondToPermission:563",
"entity_name": "respondToPermission",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 564,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 566,
"nesting_level": 1
},
{
"column": 19,
"kind": "ConditionalExpression",
"line": 570,
"nesting_level": 1
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 575,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10856842503028855,
"calculated_length": 154.1501525493784,
"difficulty": 7.92,
"effort": 2579.585778719656,
"length": 63.0,
"n1": 11.0,
"n2": 25.0,
"n_1": 27.0,
"n_2": 36.0,
"time": 143.3103210399809,
"vocabulary": 36.0,
"volume": 325.70527509086565
},
"lines_of_code": 15.0,
"maintainability_index": 96.12242361890205,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 6.0,
"technical_debt_score": 15.8
},
"recommendations": [],
"severity": "Low",
"start_line": 564
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:describePersistence:580",
"entity_name": "describePersistence",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 581,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02343611821489358,
"calculated_length": 40.05374780501027,
"difficulty": 1.2727272727272727,
"effort": 89.48336045686641,
"length": 19.0,
"n1": 2.0,
"n2": 11.0,
"n_1": 5.0,
"n_2": 14.0,
"time": 4.971297803159245,
"vocabulary": 13.0,
"volume": 70.30835464468075
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 581
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:close:591",
"entity_name": "close",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 592,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.5,
"effort": 33.68825906469125,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 1.871569948038403,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 592
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:buildPromptParts:595",
"entity_name": "buildPromptParts",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 596,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 597,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.0651348885394683,
"calculated_length": 62.6710344630571,
"difficulty": 9.333333333333332,
"effort": 1823.7768791051124,
"length": 46.0,
"n1": 7.0,
"n2": 12.0,
"n_1": 14.0,
"n_2": 32.0,
"time": 101.32093772806179,
"vocabulary": 19.0,
"volume": 195.40466561840492
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 596
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:anonymous_function_600:600",
"entity_name": "anonymous_function_600",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 601,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.010293634714211216,
"calculated_length": 13.60964047443681,
"difficulty": 1.8,
"effort": 55.58562745674057,
"length": 11.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 2.0,
"n_2": 9.0,
"time": 3.0880904142633647,
"vocabulary": 7.0,
"volume": 30.880904142633646
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 601
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:anonymous_function_601:601",
"entity_name": "anonymous_function_601",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 602,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.5,
"effort": 31.019550008653873,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 6.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 602
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:parseModel:604",
"entity_name": "parseModel",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 605,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 606,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 610,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.06483772137015052,
"calculated_length": 82.60335893412778,
"difficulty": 6.933333333333334,
"effort": 1348.6246044991308,
"length": 43.0,
"n1": 8.0,
"n2": 15.0,
"n_1": 17.0,
"n_2": 26.0,
"time": 74.9235891388406,
"vocabulary": 23.0,
"volume": 194.51316411045156
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 11.0
},
"recommendations": [],
"severity": "Low",
"start_line": 605
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:translateEvent:615",
"entity_name": "translateEvent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [
{
"description": "Cyclomatic complexity of 30.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:translateEvent:615",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:616",
"metric_value": 30.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 97.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:translateEvent:615",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:616",
"metric_value": 97.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 616,
"metrics": {
"cognitive_complexity": 97.0,
"cyclomatic_complexity": 30.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 619,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 619,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 631,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 644,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 651,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 651,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 651,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 661,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 666,
"nesting_level": 1
},
{
"column": 29,
"kind": "ConditionalExpression",
"line": 671,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 675,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 677,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 681,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 681,
"nesting_level": 3
},
{
"column": 11,
"kind": "If",
"line": 685,
"nesting_level": 2
},
{
"column": 18,
"kind": "If",
"line": 691,
"nesting_level": 3
},
{
"column": 13,
"kind": "If",
"line": 695,
"nesting_level": 4
},
{
"column": 16,
"kind": "If",
"line": 703,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 705,
"nesting_level": 3
},
{
"column": 18,
"kind": "If",
"line": 711,
"nesting_level": 4
},
{
"column": 13,
"kind": "If",
"line": 713,
"nesting_level": 5
},
{
"column": 16,
"kind": "If",
"line": 721,
"nesting_level": 3
},
{
"column": 11,
"kind": "If",
"line": 730,
"nesting_level": 4
},
{
"column": 16,
"kind": "If",
"line": 745,
"nesting_level": 4
},
{
"column": 11,
"kind": "If",
"line": 750,
"nesting_level": 5
},
{
"column": 11,
"kind": "If",
"line": 754,
"nesting_level": 5
},
{
"column": 9,
"kind": "If",
"line": 764,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 794,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 807,
"nesting_level": 1
}
],
"halstead": {
"bugs": 1.3788746935665734,
"calculated_length": 840.5343247674095,
"difficulty": 21.06086956521739,
"effort": 87120.90020395411,
"length": 590.0,
"n1": 14.0,
"n2": 115.0,
"n_1": 244.0,
"n_2": 346.0,
"time": 4840.0500113307835,
"vocabulary": 129.0,
"volume": 4136.62408069972
},
"lines_of_code": 204.0,
"maintainability_index": 34.64275256716279,
"max_nesting_depth": 5.0,
"parameter_count": 1.0,
"statement_count": 89.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 616
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:mapToolState:821",
"entity_name": "mapToolState",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 822,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02190973358470288,
"calculated_length": 28.75488750216347,
"difficulty": 2.25,
"effort": 147.89070169674446,
"length": 19.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 7.0,
"n_2": 12.0,
"time": 8.21615009426358,
"vocabulary": 11.0,
"volume": 65.72920075410865
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 4.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 822
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts:extractAndResetUsage:836",
"entity_name": "extractAndResetUsage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/providers/opencode-agent.ts",
"issues": [],
"line_number": 837,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 841,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 841,
"nesting_level": 2
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 841,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.03866666666666667,
"calculated_length": 48.0,
"difficulty": 6.5,
"effort": 754.0,
"length": 29.0,
"n1": 8.0,
"n2": 8.0,
"n_1": 16.0,
"n_2": 13.0,
"time": 41.888888888888886,
"vocabulary": 16.0,
"volume": 116.0
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 16.2
},
"recommendations": [],
"severity": "Low",
"start_line": 837
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/recordings-debug.ts:isTruthyEnv:2",
"entity_name": "isTruthyEnv",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/recordings-debug.ts",
"issues": [],
"line_number": 3,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 10,
"kind": "LogicalOr",
"line": 5,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalOr",
"line": 5,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalOr",
"line": 5,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04,
"calculated_length": 49.66338827944708,
"difficulty": 3.6363636363636367,
"effort": 436.3636363636364,
"length": 30.0,
"n1": 5.0,
"n2": 11.0,
"n_1": 14.0,
"n_2": 16.0,
"time": 24.242424242424242,
"vocabulary": 16.0,
"volume": 120.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 11.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 3
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/recordings-debug.ts:isPaseoDictationDebugEnabled:7",
"entity_name": "isPaseoDictationDebugEnabled",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/recordings-debug.ts",
"issues": [],
"line_number": 8,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009,
"calculated_length": 16.36452797660028,
"difficulty": 1.5,
"effort": 40.5,
"length": 9.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 5.0,
"time": 2.25,
"vocabulary": 8.0,
"volume": 27.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 8
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/recordings-debug.ts:resolveRecordingsDebugDir:11",
"entity_name": "resolveRecordingsDebugDir",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/recordings-debug.ts",
"issues": [],
"line_number": 12,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 14,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 14,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 18,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0576257079318315,
"calculated_length": 67.01955000865388,
"difficulty": 6.666666666666667,
"effort": 1152.51415863663,
"length": 40.0,
"n1": 8.0,
"n2": 12.0,
"n_1": 20.0,
"n_2": 20.0,
"time": 64.02856436870167,
"vocabulary": 20.0,
"volume": 172.8771237954945
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 13.4
},
"recommendations": [],
"severity": "Low",
"start_line": 12
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/self-identification-instructions.ts:looksLikePaseoWorktree:4",
"entity_name": "looksLikePaseoWorktree",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/self-identification-instructions.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 6,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalOr",
"line": 8,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.024669598120940616,
"calculated_length": 35.161259458730164,
"difficulty": 5.833333333333334,
"effort": 431.7179671164608,
"length": 20.0,
"n1": 7.0,
"n2": 6.0,
"n_1": 10.0,
"n_2": 10.0,
"time": 23.984331506470042,
"vocabulary": 13.0,
"volume": 74.00879436282185
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 8.399999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/self-identification-instructions.ts:getSelfIdentificationInstructions:10",
"entity_name": "getSelfIdentificationInstructions",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/self-identification-instructions.ts",
"issues": [],
"line_number": 11,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 21,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03823134762099227,
"calculated_length": 63.61549134016113,
"difficulty": 3.9230769230769234,
"effort": 449.95355277013977,
"length": 27.0,
"n1": 6.0,
"n2": 13.0,
"n_1": 10.0,
"n_2": 17.0,
"time": 24.997419598341097,
"vocabulary": 19.0,
"volume": 114.6940428629768
},
"lines_of_code": 17.0,
"maintainability_index": 99.98214977852729,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 8.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 11
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-debug.ts:maybePersistDebugAudio:17",
"entity_name": "maybePersistDebugAudio",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-debug.ts",
"issues": [],
"line_number": 18,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 23,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 27,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 37,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 40,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 43,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.25823406720410147,
"calculated_length": 280.35267028370896,
"difficulty": 8.666666666666668,
"effort": 6714.085747306639,
"length": 134.0,
"n1": 10.0,
"n2": 45.0,
"n_1": 56.0,
"n_2": 78.0,
"time": 373.0047637392577,
"vocabulary": 55.0,
"volume": 774.7022016123044
},
"lines_of_code": 33.0,
"maintainability_index": 78.38368826671835,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 19.0,
"technical_debt_score": 22.6
},
"recommendations": [],
"severity": "Low",
"start_line": 18
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-manager.ts:constructor:25",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-manager.ts",
"issues": [],
"line_number": 26,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04975918151662715,
"calculated_length": 88.71062275542812,
"difficulty": 2.3157894736842106,
"effort": 345.69536632604127,
"length": 33.0,
"n1": 4.0,
"n2": 19.0,
"n_1": 11.0,
"n_2": 22.0,
"time": 19.205298129224516,
"vocabulary": 23.0,
"volume": 149.27754454988144
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 26
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-manager.ts:transcribe:34",
"entity_name": "transcribe",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-manager.ts",
"issues": [],
"line_number": 35,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 40,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 50,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 62,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 69,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.2673029545462826,
"calculated_length": 259.4336554444341,
"difficulty": 15.794871794871796,
"effort": 12666.04769234693,
"length": 140.0,
"n1": 14.0,
"n2": 39.0,
"n_1": 52.0,
"n_2": 88.0,
"time": 703.6693162414962,
"vocabulary": 53.0,
"volume": 801.9088636388478
},
"lines_of_code": 61.0,
"maintainability_index": 68.4814695821382,
"max_nesting_depth": 2.0,
"parameter_count": 3.0,
"statement_count": 13.0,
"technical_debt_score": 29.4
},
"recommendations": [],
"severity": "Low",
"start_line": 35
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-manager.ts:cleanup:100",
"entity_name": "cleanup",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-manager.ts",
"issues": [],
"line_number": 101,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 101
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-openai.ts:isObject:29",
"entity_name": "isObject",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-openai.ts",
"issues": [],
"line_number": 30,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 10,
"kind": "LogicalAnd",
"line": 31,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.013,
"calculated_length": 16.36452797660028,
"difficulty": 2.4000000000000004,
"effort": 93.60000000000001,
"length": 13.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 5.2,
"vocabulary": 8.0,
"volume": 39.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 30
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-openai.ts:isLogprobToken:33",
"entity_name": "isLogprobToken",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-openai.ts",
"issues": [],
"line_number": 34,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 35,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 38,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 41,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 44,
"nesting_level": 0
},
{
"column": 10,
"kind": "LogicalAnd",
"line": 47,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08918863237274595,
"calculated_length": 78.25484338853101,
"difficulty": 6.533333333333333,
"effort": 1748.0971945058204,
"length": 60.0,
"n1": 7.0,
"n2": 15.0,
"n_1": 32.0,
"n_2": 28.0,
"time": 97.11651080587892,
"vocabulary": 22.0,
"volume": 267.56589711823784
},
"lines_of_code": 14.0,
"maintainability_index": 97.80256868233215,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 18.8
},
"recommendations": [],
"severity": "Low",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-openai.ts:anonymous_function_46:46",
"entity_name": "anonymous_function_46",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-openai.ts",
"issues": [],
"line_number": 47,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 10,
"kind": "LogicalAnd",
"line": 47,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.0,
"difficulty": 1.5,
"effort": 15.0,
"length": 5.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.8333333333333334,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 47
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-openai.ts:isLogprobTokenArray:49",
"entity_name": "isLogprobTokenArray",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-openai.ts",
"issues": [],
"line_number": 50,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 10,
"kind": "LogicalAnd",
"line": 51,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.022704762504567322,
"calculated_length": 32.0,
"difficulty": 3.0,
"effort": 204.3428625411059,
"length": 19.0,
"n1": 4.0,
"n2": 8.0,
"n_1": 7.0,
"n_2": 12.0,
"time": 11.35238125228366,
"vocabulary": 12.0,
"volume": 68.11428751370197
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 50
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-openai.ts:anonymous_function_50:50",
"entity_name": "anonymous_function_50",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-openai.ts",
"issues": [],
"line_number": 51,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 10,
"kind": "LogicalAnd",
"line": 51,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 51
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-openai.ts:constructor:58",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-openai.ts",
"issues": [],
"line_number": 59,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 31,
"kind": "LogicalOr",
"line": 65,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07934702292041701,
"calculated_length": 119.55169999363824,
"difficulty": 3.9130434782608696,
"effort": 931.4650516744605,
"length": 49.0,
"n1": 6.0,
"n2": 23.0,
"n_1": 19.0,
"n_2": 30.0,
"time": 51.74805842635892,
"vocabulary": 29.0,
"volume": 238.041068761251
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 59
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-openai.ts:transcribeAudio:67",
"entity_name": "transcribeAudio",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-openai.ts",
"issues": [
{
"description": "Cyclomatic complexity of 16.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-openai.ts:transcribeAudio:67",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-openai.ts:68",
"metric_value": 16.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 49.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-openai.ts:transcribeAudio:67",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-openai.ts:68",
"metric_value": 49.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 68,
"metrics": {
"cognitive_complexity": 49.0,
"cyclomatic_complexity": 16.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 72,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 84,
"nesting_level": 2
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 91,
"nesting_level": 2
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 101,
"nesting_level": 2
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 101,
"nesting_level": 2
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 101,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 107,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 107,
"nesting_level": 3
},
{
"column": 9,
"kind": "If",
"line": 112,
"nesting_level": 3
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 134,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 134,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 138,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 142,
"nesting_level": 2
},
{
"column": 9,
"kind": "Try",
"line": 143,
"nesting_level": 3
},
{
"column": 11,
"kind": "Catch",
"line": 145,
"nesting_level": 4
}
],
"halstead": {
"bugs": 0.6557751908248826,
"calculated_length": 693.6231510926958,
"difficulty": 15.389473684210527,
"effort": 30276.105125872997,
"length": 289.0,
"n1": 17.0,
"n2": 95.0,
"n_1": 117.0,
"n_2": 172.0,
"time": 1682.0058403262776,
"vocabulary": 112.0,
"volume": 1967.3255724746475
},
"lines_of_code": 82.0,
"maintainability_index": 56.49211052010159,
"max_nesting_depth": 4.0,
"parameter_count": 2.0,
"statement_count": 30.0,
"technical_debt_score": 87.60000000000001
},
"recommendations": [],
"severity": "High",
"start_line": 68
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-openai.ts:anonymous_function_87:87",
"entity_name": "anonymous_function_87",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-openai.ts",
"issues": [],
"line_number": 88,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 9.509775004326936,
"difficulty": 2.0,
"effort": 36.18947501009619,
"length": 7.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 4.0,
"time": 2.0105263894497885,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 88
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-openai.ts:anonymous_function_107:107",
"entity_name": "anonymous_function_107",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-openai.ts",
"issues": [],
"line_number": 108,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005417832221403845,
"calculated_length": 6.754887502163468,
"difficulty": 1.6666666666666667,
"effort": 27.089161107019226,
"length": 7.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 5.0,
"time": 1.5049533948344014,
"vocabulary": 5.0,
"volume": 16.253496664211536
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 108
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-openai.ts:anonymous_function_117:117",
"entity_name": "anonymous_function_117",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/stt-openai.ts",
"issues": [],
"line_number": 118,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.010293634714211216,
"calculated_length": 13.60964047443681,
"difficulty": 1.4,
"effort": 43.2332657996871,
"length": 11.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 7.0,
"time": 2.401848099982617,
"vocabulary": 7.0,
"volume": 30.880904142633646
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 118
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/system-prompt.ts:loadSystemPrompt:8",
"entity_name": "loadSystemPrompt",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/system-prompt.ts",
"issues": [],
"line_number": 9,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01499087034742829,
"calculated_length": 28.75488750216347,
"difficulty": 1.6875,
"effort": 75.89128113385571,
"length": 13.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 4.0,
"n_2": 9.0,
"time": 4.216182285214206,
"vocabulary": 11.0,
"volume": 44.97261104228487
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 9
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/system-prompt.ts:getSystemPrompt:16",
"entity_name": "getSystemPrompt",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/system-prompt.ts",
"issues": [],
"line_number": 17,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 18,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01328771237954945,
"calculated_length": 24.406371956566694,
"difficulty": 5.833333333333334,
"effort": 232.5349666421154,
"length": 12.0,
"n1": 7.0,
"n2": 3.0,
"n_1": 7.0,
"n_2": 5.0,
"time": 12.9186092578953,
"vocabulary": 10.0,
"volume": 39.86313713864835
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 17
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-debug.ts:maybePersistTtsDebugAudio:15",
"entity_name": "maybePersistTtsDebugAudio",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-debug.ts",
"issues": [],
"line_number": 16,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 21,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 25,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.17307825648642486,
"calculated_length": 246.09640474436813,
"difficulty": 7.25,
"effort": 3764.452078579741,
"length": 92.0,
"n1": 10.0,
"n2": 40.0,
"n_1": 34.0,
"n_2": 58.0,
"time": 209.1362265877634,
"vocabulary": 50.0,
"volume": 519.2347694592746
},
"lines_of_code": 23.0,
"maintainability_index": 87.00274182324821,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 13.0,
"technical_debt_score": 12.2
},
"recommendations": [],
"severity": "Low",
"start_line": 16
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-manager.ts:constructor:21",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-manager.ts",
"issues": [],
"line_number": 22,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04162136177394811,
"calculated_length": 83.05865002596161,
"difficulty": 2.2222222222222223,
"effort": 277.4757451596541,
"length": 28.0,
"n1": 4.0,
"n2": 18.0,
"n_1": 8.0,
"n_2": 20.0,
"time": 15.415319175536338,
"vocabulary": 22.0,
"volume": 124.86408532184433
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 22
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-manager.ts:generateAndWaitForPlayback:30",
"entity_name": "generateAndWaitForPlayback",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-manager.ts",
"issues": [
{
"description": "Cyclomatic complexity of 17.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-manager.ts:generateAndWaitForPlayback:30",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-manager.ts:31",
"metric_value": 17.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 49.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-manager.ts:generateAndWaitForPlayback:30",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-manager.ts:31",
"metric_value": 49.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 31,
"metrics": {
"cognitive_complexity": 49.0,
"cyclomatic_complexity": 17.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 37,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 41,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 49,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 74,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 74,
"nesting_level": 2
},
{
"column": 5,
"kind": "Try",
"line": 90,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 95,
"nesting_level": 2
},
{
"column": 9,
"kind": "While",
"line": 98,
"nesting_level": 3
},
{
"column": 11,
"kind": "If",
"line": 99,
"nesting_level": 4
},
{
"column": 31,
"kind": "ConditionalExpression",
"line": 104,
"nesting_level": 4
},
{
"column": 11,
"kind": "If",
"line": 131,
"nesting_level": 4
},
{
"column": 7,
"kind": "If",
"line": 142,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 148,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 149,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 158,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 164,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.8622649567939631,
"calculated_length": 682.3742742796913,
"difficulty": 24.322222222222223,
"effort": 62916.59968073284,
"length": 380.0,
"n1": 22.0,
"n2": 90.0,
"n_1": 181.0,
"n_2": 199.0,
"time": 3495.3666489296024,
"vocabulary": 112.0,
"volume": 2586.7948703818893
},
"lines_of_code": 138.0,
"maintainability_index": 46.40598089027419,
"max_nesting_depth": 4.0,
"parameter_count": 4.0,
"statement_count": 66.0,
"technical_debt_score": 93.19999999999999
},
"recommendations": [],
"severity": "High",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-manager.ts:anonymous_function_57:57",
"entity_name": "anonymous_function_57",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-manager.ts",
"issues": [],
"line_number": 58,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.00861654166907052,
"calculated_length": 10.0,
"difficulty": 1.5,
"effort": 38.77443751081734,
"length": 10.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 2.1541354172676304,
"vocabulary": 6.0,
"volume": 25.84962500721156
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 58
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-manager.ts:anonymous_function_72:72",
"entity_name": "anonymous_function_72",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-manager.ts",
"issues": [],
"line_number": 73,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 74,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 74,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.020756589711823783,
"calculated_length": 27.651484454403228,
"difficulty": 6.125,
"effort": 381.402335954762,
"length": 18.0,
"n1": 7.0,
"n2": 4.0,
"n_1": 11.0,
"n_2": 7.0,
"time": 21.189018664153444,
"vocabulary": 11.0,
"volume": 62.26976913547135
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 73
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-manager.ts:anonymous_function_78:78",
"entity_name": "anonymous_function_78",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-manager.ts",
"issues": [],
"line_number": 79,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04359960364000362,
"calculated_length": 56.105716335834195,
"difficulty": 2.1538461538461537,
"effort": 281.72051582771564,
"length": 32.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 18.0,
"n_2": 14.0,
"time": 15.651139768206425,
"vocabulary": 17.0,
"volume": 130.79881092001085
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 79
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-manager.ts:confirmAudioPlayed:174",
"entity_name": "confirmAudioPlayed",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-manager.ts",
"issues": [],
"line_number": 175,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 23,
"kind": "ConditionalExpression",
"line": 176,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 181,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 188,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 188,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.12055211021941396,
"calculated_length": 125.4579468272276,
"difficulty": 8.80952380952381,
"effort": 3186.020055798798,
"length": 73.0,
"n1": 10.0,
"n2": 21.0,
"n_1": 36.0,
"n_2": 37.0,
"time": 177.00111421104432,
"vocabulary": 31.0,
"volume": 361.65633065824187
},
"lines_of_code": 17.0,
"maintainability_index": 93.32033295631007,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 20.599999999999998
},
"recommendations": [],
"severity": "Low",
"start_line": 175
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-manager.ts:cancelPendingPlaybacks:196",
"entity_name": "cancelPendingPlaybacks",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-manager.ts",
"issues": [],
"line_number": 197,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 198,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08049350728942856,
"calculated_length": 93.48686830125577,
"difficulty": 5.882352941176471,
"effort": 1420.4736580487395,
"length": 52.0,
"n1": 8.0,
"n2": 17.0,
"n_1": 27.0,
"n_2": 25.0,
"time": 78.91520322492997,
"vocabulary": 25.0,
"volume": 241.48052186828568
},
"lines_of_code": 15.0,
"maintainability_index": 98.13828490388343,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 8.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 197
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-manager.ts:cleanup:216",
"entity_name": "cleanup",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-manager.ts",
"issues": [],
"line_number": 217,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.030458839376460836,
"calculated_length": 40.13896548741762,
"difficulty": 3.333333333333333,
"effort": 304.5883937646083,
"length": 24.0,
"n1": 5.0,
"n2": 9.0,
"n_1": 12.0,
"n_2": 12.0,
"time": 16.92157743136713,
"vocabulary": 14.0,
"volume": 91.3765181293825
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 217
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-openai.ts:constructor:21",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-openai.ts",
"issues": [],
"line_number": 22,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10761374121298034,
"calculated_length": 146.2155782920497,
"difficulty": 3.6607142857142856,
"effort": 1181.829479392552,
"length": 64.0,
"n1": 5.0,
"n2": 28.0,
"n_1": 23.0,
"n_2": 41.0,
"time": 65.65719329958623,
"vocabulary": 33.0,
"volume": 322.841223638941
},
"lines_of_code": 16.0,
"maintainability_index": 95.8128273993673,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 22
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-openai.ts:getConfig:39",
"entity_name": "getConfig",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-openai.ts",
"issues": [],
"line_number": 40,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 40
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-openai.ts:synthesizeSpeech:43",
"entity_name": "synthesizeSpeech",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/tts-openai.ts",
"issues": [],
"line_number": 44,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 45,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 45,
"nesting_level": 2
},
{
"column": 5,
"kind": "Try",
"line": 51,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalOr",
"line": 71,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 73,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.27990392444048684,
"calculated_length": 376.5781431779841,
"difficulty": 10.90909090909091,
"effort": 9160.492072597752,
"length": 137.0,
"n1": 15.0,
"n2": 55.0,
"n_1": 57.0,
"n_2": 80.0,
"time": 508.9162262554307,
"vocabulary": 70.0,
"volume": 839.7117733214604
},
"lines_of_code": 33.0,
"maintainability_index": 77.96467223326373,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 29.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 44
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/wait-for-agent-tracker.test.ts:anonymous_function_4:4",
"entity_name": "anonymous_function_4",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/wait-for-agent-tracker.test.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.2790863921517939,
"calculated_length": 136.38196255841365,
"difficulty": 6.7407407407407405,
"effort": 5643.747041291833,
"length": 169.0,
"n1": 4.0,
"n2": 27.0,
"n_1": 78.0,
"n_2": 91.0,
"time": 313.54150229399073,
"vocabulary": 31.0,
"volume": 837.2591764553819
},
"lines_of_code": 38.0,
"maintainability_index": 76.84440911882498,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 25.0,
"technical_debt_score": 9.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/wait-for-agent-tracker.test.ts:anonymous_function_7:7",
"entity_name": "anonymous_function_7",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/wait-for-agent-tracker.test.ts",
"issues": [],
"line_number": 8,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.16253496664211534,
"calculated_length": 100.23866587835397,
"difficulty": 5.428571428571429,
"effort": 2646.998028171593,
"length": 105.0,
"n1": 4.0,
"n2": 21.0,
"n_1": 48.0,
"n_2": 57.0,
"time": 147.05544600953294,
"vocabulary": 25.0,
"volume": 487.60489992634604
},
"lines_of_code": 21.0,
"maintainability_index": 89.2633081864241,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 14.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 8
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/wait-for-agent-tracker.test.ts:anonymous_function_30:30",
"entity_name": "anonymous_function_30",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/wait-for-agent-tracker.test.ts",
"issues": [],
"line_number": 31,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.07504671940417,
"calculated_length": 66.60335893412778,
"difficulty": 3.7333333333333334,
"effort": 840.5232573267041,
"length": 53.0,
"n1": 4.0,
"n2": 15.0,
"n_1": 25.0,
"n_2": 28.0,
"time": 46.69573651815023,
"vocabulary": 19.0,
"volume": 225.14015821251002
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/wait-for-agent-tracker.ts:constructor:12",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/wait-for-agent-tracker.ts",
"issues": [],
"line_number": 13,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01850219859070546,
"calculated_length": 36.529325012980806,
"difficulty": 2.2222222222222223,
"effort": 123.34799060470309,
"length": 15.0,
"n1": 4.0,
"n2": 9.0,
"n_1": 5.0,
"n_2": 10.0,
"time": 6.852666144705727,
"vocabulary": 13.0,
"volume": 55.506595772116384
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 13
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/wait-for-agent-tracker.ts:register:16",
"entity_name": "register",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/wait-for-agent-tracker.ts",
"issues": [],
"line_number": 17,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 18,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 26,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 30,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10680869236481866,
"calculated_length": 91.82263988300141,
"difficulty": 10.666666666666666,
"effort": 3417.878155674197,
"length": 69.0,
"n1": 10.0,
"n2": 15.0,
"n_1": 37.0,
"n_2": 32.0,
"time": 189.8821197596776,
"vocabulary": 25.0,
"volume": 320.426077094456
},
"lines_of_code": 17.0,
"maintainability_index": 94.17975550074621,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 11.0,
"technical_debt_score": 16.2
},
"recommendations": [],
"severity": "Low",
"start_line": 17
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/wait-for-agent-tracker.ts:anonymous_function_23:23",
"entity_name": "anonymous_function_23",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/wait-for-agent-tracker.ts",
"issues": [],
"line_number": 24,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 26,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 30,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.042666666666666665,
"calculated_length": 48.0,
"difficulty": 7.0,
"effort": 896.0,
"length": 32.0,
"n1": 8.0,
"n2": 8.0,
"n_1": 18.0,
"n_2": 14.0,
"time": 49.77777777777778,
"vocabulary": 16.0,
"volume": 128.0
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 11.0
},
"recommendations": [],
"severity": "Low",
"start_line": 24
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/wait-for-agent-tracker.ts:cancel:35",
"entity_name": "cancel",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/wait-for-agent-tracker.ts",
"issues": [],
"line_number": 36,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 38,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 38,
"nesting_level": 2
},
{
"column": 7,
"kind": "Try",
"line": 44,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 46,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.08258567691716873,
"calculated_length": 113.11239783097187,
"difficulty": 8.25,
"effort": 2043.9955036999258,
"length": 51.0,
"n1": 11.0,
"n2": 18.0,
"n_1": 24.0,
"n_2": 27.0,
"time": 113.555305761107,
"vocabulary": 29.0,
"volume": 247.75703075150616
},
"lines_of_code": 18.0,
"maintainability_index": 94.36124505574246,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 9.0,
"technical_debt_score": 21.6
},
"recommendations": [],
"severity": "Low",
"start_line": 36
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/wait-for-agent-tracker.ts:cancelAll:55",
"entity_name": "cancelAll",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/agent/wait-for-agent-tracker.ts",
"issues": [],
"line_number": 56,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 59,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.039647323458806796,
"calculated_length": 62.05374780501027,
"difficulty": 5.454545454545454,
"effort": 648.7743838713839,
"length": 28.0,
"n1": 8.0,
"n2": 11.0,
"n_1": 13.0,
"n_2": 15.0,
"time": 36.04302132618799,
"vocabulary": 19.0,
"volume": 118.94197037642039
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 56
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.smoke.test.ts:anonymous_function_4:4",
"entity_name": "anonymous_function_4",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.smoke.test.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 8,
"nesting_level": 0
},
{
"column": 20,
"kind": "ConditionalExpression",
"line": 12,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.11173356288793415,
"calculated_length": 116.23866587835397,
"difficulty": 6.476190476190476,
"effort": 2170.823507537006,
"length": 69.0,
"n1": 8.0,
"n2": 21.0,
"n_1": 35.0,
"n_2": 34.0,
"time": 120.60130597427812,
"vocabulary": 29.0,
"volume": 335.20068866380245
},
"lines_of_code": 20.0,
"maintainability_index": 91.54254416834642,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 12.4
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.smoke.test.ts:anonymous_function_5:5",
"entity_name": "anonymous_function_5",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.smoke.test.ts",
"issues": [],
"line_number": 6,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 8,
"nesting_level": 0
},
{
"column": 20,
"kind": "ConditionalExpression",
"line": 12,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10302256254687514,
"calculated_length": 104.71062275542812,
"difficulty": 6.7368421052631575,
"effort": 2082.140211473687,
"length": 65.0,
"n1": 8.0,
"n2": 19.0,
"n_1": 33.0,
"n_2": 32.0,
"time": 115.67445619298262,
"vocabulary": 27.0,
"volume": 309.0676876406254
},
"lines_of_code": 18.0,
"maintainability_index": 93.67146392691917,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 12.0
},
"recommendations": [],
"severity": "Low",
"start_line": 6
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts:parseListenString:13",
"entity_name": "parseListenString",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts",
"issues": [],
"line_number": 14,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 16,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 16,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 16,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 20,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 24,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 27,
"nesting_level": 1
},
{
"column": 33,
"kind": "LogicalOr",
"line": 30,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 34,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1805943833418036,
"calculated_length": 163.13526283059372,
"difficulty": 9.964285714285715,
"effort": 5398.482102038915,
"length": 104.0,
"n1": 9.0,
"n2": 28.0,
"n_1": 42.0,
"n_2": 62.0,
"time": 299.9156723354953,
"vocabulary": 37.0,
"volume": 541.7831500254108
},
"lines_of_code": 24.0,
"maintainability_index": 84.712225636641,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 14.0,
"technical_debt_score": 32.4
},
"recommendations": [],
"severity": "Low",
"start_line": 14
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts:createPaseoDaemon:97",
"entity_name": "createPaseoDaemon",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts",
"issues": [
{
"description": "Cyclomatic complexity of 36.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts:createPaseoDaemon:97",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts:98",
"metric_value": 36.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 59.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts:createPaseoDaemon:97",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts:98",
"metric_value": 59.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 98,
"metrics": {
"cognitive_complexity": 59.0,
"cyclomatic_complexity": 36.0,
"decision_points": [
{
"column": 9,
"kind": "ConditionalExpression",
"line": 120,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 131,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 131,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 137,
"nesting_level": 0
},
{
"column": 7,
"kind": "ConditionalExpression",
"line": 157,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 157,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 161,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 167,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 172,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 174,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 190,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 197,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 199,
"nesting_level": 1
},
{
"column": 64,
"kind": "ConditionalExpression",
"line": 223,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 252,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 266,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 278,
"nesting_level": 0
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 280,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 282,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 283,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 294,
"nesting_level": 2
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 307,
"nesting_level": 2
},
{
"column": 15,
"kind": "ConditionalExpression",
"line": 309,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 309,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 316,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 318,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 340,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 344,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 356,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 399,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 425,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 444,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 448,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 466,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 466,
"nesting_level": 1
}
],
"halstead": {
"bugs": 3.316503666017284,
"calculated_length": 2403.2100706198753,
"difficulty": 20.863636363636363,
"effort": 207582.97945935454,
"length": 1207.0,
"n1": 17.0,
"n2": 286.0,
"n_1": 505.0,
"n_2": 702.0,
"time": 11532.38774774192,
"vocabulary": 303.0,
"volume": 9949.510998051852
},
"lines_of_code": 381.0,
"maintainability_index": 18.579200971240837,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 156.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 98
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts:anonymous_function_128:128",
"entity_name": "anonymous_function_128",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts",
"issues": [],
"line_number": 129,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 131,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 131,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 137,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1057618082852673,
"calculated_length": 111.8901503327572,
"difficulty": 5.833333333333334,
"effort": 1850.8316449921776,
"length": 66.0,
"n1": 7.0,
"n2": 21.0,
"n_1": 31.0,
"n_2": 35.0,
"time": 102.8239802773432,
"vocabulary": 28.0,
"volume": 317.28542485580186
},
"lines_of_code": 13.0,
"maintainability_index": 98.57685124343274,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 10.0,
"technical_debt_score": 13.8
},
"recommendations": [],
"severity": "Low",
"start_line": 129
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts:anonymous_function_150:150",
"entity_name": "anonymous_function_150",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts",
"issues": [],
"line_number": 151,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01792481250360578,
"calculated_length": 32.0,
"difficulty": 2.25,
"effort": 120.99248439933902,
"length": 15.0,
"n1": 4.0,
"n2": 8.0,
"n_1": 6.0,
"n_2": 9.0,
"time": 6.721804688852168,
"vocabulary": 12.0,
"volume": 53.77443751081734
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 151
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts:anonymous_function_154:154",
"entity_name": "anonymous_function_154",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts",
"issues": [],
"line_number": 155,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 7,
"kind": "ConditionalExpression",
"line": 157,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 157,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 161,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 167,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 172,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 174,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 190,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 197,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 199,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.42,
"calculated_length": 337.3994087763804,
"difficulty": 13.50980392156863,
"effort": 17022.352941176472,
"length": 210.0,
"n1": 13.0,
"n2": 51.0,
"n_1": 104.0,
"n_2": 106.0,
"time": 945.686274509804,
"vocabulary": 64.0,
"volume": 1260.0
},
"lines_of_code": 48.0,
"maintainability_index": 68.86443522357544,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 27.0,
"technical_debt_score": 40.0
},
"recommendations": [],
"severity": "Moderate",
"start_line": 155
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts:anonymous_function_187:187",
"entity_name": "anonymous_function_187",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts",
"issues": [],
"line_number": 188,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 190,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04389525097225038,
"calculated_length": 62.6710344630571,
"difficulty": 4.375,
"effort": 576.1251690107863,
"length": 31.0,
"n1": 7.0,
"n2": 12.0,
"n_1": 16.0,
"n_2": 15.0,
"time": 32.00695383393257,
"vocabulary": 19.0,
"volume": 131.68575291675114
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 188
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts:anonymous_function_228:228",
"entity_name": "anonymous_function_228",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts",
"issues": [],
"line_number": 229,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 252,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.16924238017775622,
"calculated_length": 208.05423060605463,
"difficulty": 7.071428571428571,
"effort": 3590.3562080566853,
"length": 93.0,
"n1": 9.0,
"n2": 35.0,
"n_1": 38.0,
"n_2": 55.0,
"time": 199.46423378092697,
"vocabulary": 44.0,
"volume": 507.72714053326865
},
"lines_of_code": 34.0,
"maintainability_index": 81.01724977384654,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 13.0,
"technical_debt_score": 11.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 229
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts:anonymous_function_238:238",
"entity_name": "anonymous_function_238",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts",
"issues": [],
"line_number": 239,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 0.0,
"difficulty": 0.5,
"effort": 1.0,
"length": 2.0,
"n1": 1.0,
"n2": 1.0,
"n_1": 1.0,
"n_2": 1.0,
"time": 0.05555555555555555,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 239
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts:anonymous_function_239:239",
"entity_name": "anonymous_function_239",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts",
"issues": [],
"line_number": 240,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017297158093186486,
"calculated_length": 28.75488750216347,
"difficulty": 1.6875,
"effort": 87.56686284675659,
"length": 15.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 6.0,
"n_2": 9.0,
"time": 4.8648257137087,
"vocabulary": 11.0,
"volume": 51.89147427955946
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 240
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts:anonymous_function_243:243",
"entity_name": "anonymous_function_243",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts",
"issues": [],
"line_number": 244,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.015502331109474358,
"calculated_length": 24.406371956566694,
"difficulty": 1.7142857142857142,
"effort": 79.7262742772967,
"length": 14.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 4.4292374598498165,
"vocabulary": 10.0,
"volume": 46.50699332842307
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 244
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts:anonymous_function_250:250",
"entity_name": "anonymous_function_250",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts",
"issues": [],
"line_number": 251,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 252,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.013736341672916685,
"calculated_length": 19.60964047443681,
"difficulty": 3.75,
"effort": 154.5338438203127,
"length": 13.0,
"n1": 5.0,
"n2": 4.0,
"n_1": 7.0,
"n_2": 6.0,
"time": 8.585213545572929,
"vocabulary": 9.0,
"volume": 41.209025018750054
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 251
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts:anonymous_function_255:255",
"entity_name": "anonymous_function_255",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts",
"issues": [],
"line_number": 256,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008,
"calculated_length": 16.36452797660028,
"difficulty": 1.5,
"effort": 36.0,
"length": 8.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.0,
"vocabulary": 8.0,
"volume": 24.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 256
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts:anonymous_function_264:264",
"entity_name": "anonymous_function_264",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts",
"issues": [],
"line_number": 265,
"metrics": {
"cognitive_complexity": 25.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 266,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 278,
"nesting_level": 0
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 280,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 282,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 283,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 294,
"nesting_level": 2
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 307,
"nesting_level": 2
},
{
"column": 15,
"kind": "ConditionalExpression",
"line": 309,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 309,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 316,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 318,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.39227376764960253,
"calculated_length": 355.0262242774645,
"difficulty": 16.009615384615383,
"effort": 18840.45643663235,
"length": 194.0,
"n1": 15.0,
"n2": 52.0,
"n_1": 83.0,
"n_2": 111.0,
"time": 1046.6920242573528,
"vocabulary": 67.0,
"volume": 1176.8213029488077
},
"lines_of_code": 64.0,
"maintainability_index": 64.09911823745516,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 19.0,
"technical_debt_score": 56.800000000000004
},
"recommendations": [],
"severity": "High",
"start_line": 265
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts:anonymous_function_389:389",
"entity_name": "anonymous_function_389",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts",
"issues": [],
"line_number": 390,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 399,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 425,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 444,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 448,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.44423460010384647,
"calculated_length": 399.8287253963464,
"difficulty": 11.270491803278688,
"effort": 15020.227257609562,
"length": 216.0,
"n1": 11.0,
"n2": 61.0,
"n_1": 91.0,
"n_2": 125.0,
"time": 834.4570698671979,
"vocabulary": 72.0,
"volume": 1332.7038003115395
},
"lines_of_code": 64.0,
"maintainability_index": 65.0622755806905,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 29.0,
"technical_debt_score": 27.6
},
"recommendations": [],
"severity": "Low",
"start_line": 390
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts:anonymous_function_390:390",
"entity_name": "anonymous_function_390",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts",
"issues": [],
"line_number": 391,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 399,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 425,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 444,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 448,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.43313599986411094,
"calculated_length": 387.63271668538476,
"difficulty": 10.333333333333334,
"effort": 13427.21599578744,
"length": 212.0,
"n1": 10.0,
"n2": 60.0,
"n_1": 88.0,
"n_2": 124.0,
"time": 745.9564442104133,
"vocabulary": 70.0,
"volume": 1299.4079995923328
},
"lines_of_code": 62.0,
"maintainability_index": 65.70816987730198,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 28.0,
"technical_debt_score": 27.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 391
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts:anonymous_function_391:391",
"entity_name": "anonymous_function_391",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts",
"issues": [],
"line_number": 392,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014395021744511903,
"calculated_length": 24.406371956566694,
"difficulty": 1.7142857142857142,
"effort": 74.03154040034693,
"length": 13.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 4.112863355574829,
"vocabulary": 10.0,
"volume": 43.18506523353571
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 392
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts:anonymous_function_395:395",
"entity_name": "anonymous_function_395",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts",
"issues": [],
"line_number": 396,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 399,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 425,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.2798472265881831,
"calculated_length": 329.6421462922104,
"difficulty": 8.173076923076923,
"effort": 6861.638728844875,
"length": 141.0,
"n1": 10.0,
"n2": 52.0,
"n_1": 56.0,
"n_2": 85.0,
"time": 381.2021516024931,
"vocabulary": 62.0,
"volume": 839.5416797645494
},
"lines_of_code": 44.0,
"maintainability_index": 73.99527608777791,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 17.0,
"technical_debt_score": 17.2
},
"recommendations": [],
"severity": "Low",
"start_line": 396
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts:anonymous_function_397:397",
"entity_name": "anonymous_function_397",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts",
"issues": [],
"line_number": 398,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 399,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 425,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.2397869792568112,
"calculated_length": 273.4342721689147,
"difficulty": 8.636363636363637,
"effort": 6212.662644381017,
"length": 125.0,
"n1": 10.0,
"n2": 44.0,
"n_1": 49.0,
"n_2": 76.0,
"time": 345.1479246878343,
"vocabulary": 54.0,
"volume": 719.3609377704336
},
"lines_of_code": 39.0,
"maintainability_index": 76.75281252920095,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 14.0,
"technical_debt_score": 16.2
},
"recommendations": [],
"severity": "Low",
"start_line": 398
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts:anonymous_function_422:422",
"entity_name": "anonymous_function_422",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts",
"issues": [],
"line_number": 423,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 423
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts:anonymous_function_425:425",
"entity_name": "anonymous_function_425",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts",
"issues": [],
"line_number": 426,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 426
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts:anonymous_function_428:428",
"entity_name": "anonymous_function_428",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts",
"issues": [],
"line_number": 429,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 429
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts:anonymous_function_455:455",
"entity_name": "anonymous_function_455",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts",
"issues": [],
"line_number": 456,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 466,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 466,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.0993520017225238,
"calculated_length": 110.43856189774725,
"difficulty": 5.2,
"effort": 1549.8912268713714,
"length": 62.0,
"n1": 8.0,
"n2": 20.0,
"n_1": 36.0,
"n_2": 26.0,
"time": 86.10506815952063,
"vocabulary": 28.0,
"volume": 298.0560051675714
},
"lines_of_code": 13.0,
"maintainability_index": 99.13195709973567,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 10.999999999999998
},
"recommendations": [],
"severity": "Low",
"start_line": 456
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts:anonymous_function_459:459",
"entity_name": "anonymous_function_459",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts",
"issues": [],
"line_number": 460,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 460
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts:anonymous_function_461:461",
"entity_name": "anonymous_function_461",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts",
"issues": [],
"line_number": 462,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 9.509775004326936,
"difficulty": 2.0,
"effort": 41.3594000115385,
"length": 8.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 2.2977444450854723,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 462
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts:anonymous_function_462:462",
"entity_name": "anonymous_function_462",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts",
"issues": [],
"line_number": 463,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 0.0,
"difficulty": 0.5,
"effort": 1.0,
"length": 2.0,
"n1": 1.0,
"n2": 1.0,
"n_1": 1.0,
"n_2": 1.0,
"time": 0.05555555555555555,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 463
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts:closeAllAgents:480",
"entity_name": "closeAllAgents",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/bootstrap.ts",
"issues": [],
"line_number": 481,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 487,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 489,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.055790597458036495,
"calculated_length": 83.65148445440323,
"difficulty": 5.03125,
"effort": 842.0893303822382,
"length": 37.0,
"n1": 7.0,
"n2": 16.0,
"n_1": 14.0,
"n_2": 23.0,
"time": 46.782740576791014,
"vocabulary": 23.0,
"volume": 167.37179237410948
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 10.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 481
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_33:33",
"entity_name": "anonymous_function_33",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 34,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 44,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 45,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 70,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 71,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 72,
"nesting_level": 0
}
],
"halstead": {
"bugs": 4.526803043580181,
"calculated_length": 903.9423165316344,
"difficulty": 45.4,
"effort": 616550.5745356207,
"length": 1919.0,
"n1": 10.0,
"n2": 125.0,
"n_1": 784.0,
"n_2": 1135.0,
"time": 34252.80969642338,
"vocabulary": 135.0,
"volume": 13580.409130740545
},
"lines_of_code": 638.0,
"maintainability_index": 15.50972546365999,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 212.0,
"technical_debt_score": 36.0
},
"recommendations": [],
"severity": "Low",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_38:38",
"entity_name": "anonymous_function_38",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 39,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 39
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_42:42",
"entity_name": "anonymous_function_42",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 43,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 44,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 45,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03459431618637297,
"calculated_length": 27.11941547876375,
"difficulty": 6.0,
"effort": 622.6976913547135,
"length": 30.0,
"n1": 6.0,
"n2": 5.0,
"n_1": 20.0,
"n_2": 10.0,
"time": 34.59431618637297,
"vocabulary": 11.0,
"volume": 103.78294855911892
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 8.399999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 43
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_43:43",
"entity_name": "anonymous_function_43",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 44,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 44,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 44
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_44:44",
"entity_name": "anonymous_function_44",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 45,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 45,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 45
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:createClient:48",
"entity_name": "createClient",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 49,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02724975227500226,
"calculated_length": 53.5635228093372,
"difficulty": 3.545454545454546,
"effort": 289.83827419775133,
"length": 20.0,
"n1": 6.0,
"n2": 11.0,
"n_1": 7.0,
"n_2": 13.0,
"time": 16.10212634431952,
"vocabulary": 17.0,
"volume": 81.74925682500678
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 49
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:waitForAttentionRequired:57",
"entity_name": "waitForAttentionRequired",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 58,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 70,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 71,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 72,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1390573176608426,
"calculated_length": 146.21143267166838,
"difficulty": 7.076923076923077,
"effort": 2952.2938211071196,
"length": 82.0,
"n1": 8.0,
"n2": 26.0,
"n_1": 36.0,
"n_2": 46.0,
"time": 164.01632339484,
"vocabulary": 34.0,
"volume": 417.1719529825278
},
"lines_of_code": 21.0,
"maintainability_index": 89.38454433968974,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 14.0,
"technical_debt_score": 14.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 58
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_62:62",
"entity_name": "anonymous_function_62",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 63,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 70,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 71,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 72,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.10497648703848438,
"calculated_length": 99.05865002596161,
"difficulty": 7.333333333333333,
"effort": 2309.482714846656,
"length": 67.0,
"n1": 8.0,
"n2": 18.0,
"n_1": 34.0,
"n_2": 33.0,
"time": 128.30459526925867,
"vocabulary": 26.0,
"volume": 314.92946111545314
},
"lines_of_code": 15.0,
"maintainability_index": 96.29737360207736,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 13.0,
"technical_debt_score": 13.4
},
"recommendations": [],
"severity": "Low",
"start_line": 63
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_63:63",
"entity_name": "anonymous_function_63",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 64,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008422064766172813,
"calculated_length": 12.754887502163468,
"difficulty": 1.5,
"effort": 37.89929144777766,
"length": 9.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 5.0,
"n_2": 4.0,
"time": 2.1055161915432032,
"vocabulary": 7.0,
"volume": 25.26619429851844
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 64
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_68:68",
"entity_name": "anonymous_function_68",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 69,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 70,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 71,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 72,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0651348885394683,
"calculated_length": 62.6710344630571,
"difficulty": 5.833333333333334,
"effort": 1139.8605494406954,
"length": 46.0,
"n1": 7.0,
"n2": 12.0,
"n_1": 26.0,
"n_2": 20.0,
"time": 63.32558608003863,
"vocabulary": 19.0,
"volume": 195.40466561840492
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 12.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 69
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_84:84",
"entity_name": "anonymous_function_84",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 85,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.9070225712822673,
"calculated_length": 337.6262686982595,
"difficulty": 17.372727272727275,
"effort": 47272.36728328399,
"length": 457.0,
"n1": 7.0,
"n2": 55.0,
"n_1": 184.0,
"n_2": 273.0,
"time": 2626.2426268491104,
"vocabulary": 62.0,
"volume": 2721.067713846802
},
"lines_of_code": 144.0,
"maintainability_index": 49.133370501439146,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 50.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 85
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_85:85",
"entity_name": "anonymous_function_85",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 86,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.15917043280459486,
"calculated_length": 208.2595495325981,
"difficulty": 4.216216216216217,
"effort": 2013.2908797986597,
"length": 88.0,
"n1": 6.0,
"n2": 37.0,
"n_1": 36.0,
"n_2": 52.0,
"time": 111.84949332214777,
"vocabulary": 43.0,
"volume": 477.51129841378463
},
"lines_of_code": 26.0,
"maintainability_index": 85.9121794136019,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 86
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_102:102",
"entity_name": "anonymous_function_102",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 103,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 103
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_113:113",
"entity_name": "anonymous_function_113",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 114,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1856206750336681,
"calculated_length": 214.93102051518318,
"difficulty": 4.973684210526316,
"effort": 2769.655861686574,
"length": 102.0,
"n1": 6.0,
"n2": 38.0,
"n_1": 39.0,
"n_2": 63.0,
"time": 153.86977009369855,
"vocabulary": 44.0,
"volume": 556.8620251010043
},
"lines_of_code": 34.0,
"maintainability_index": 80.76690850916529,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 8.8
},
"recommendations": [],
"severity": "Low",
"start_line": 114
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_138:138",
"entity_name": "anonymous_function_138",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 139,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 139
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_149:149",
"entity_name": "anonymous_function_149",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 150,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1555529229681268,
"calculated_length": 208.2595495325981,
"difficulty": 4.135135135135135,
"effort": 1929.6970714154108,
"length": 86.0,
"n1": 6.0,
"n2": 37.0,
"n_1": 35.0,
"n_2": 51.0,
"time": 107.20539285641172,
"vocabulary": 43.0,
"volume": 466.6587689043804
},
"lines_of_code": 27.0,
"maintainability_index": 85.42033159504822,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 7.400000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 150
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_167:167",
"entity_name": "anonymous_function_167",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 168,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 168
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_178:178",
"entity_name": "anonymous_function_178",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 179,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.17675398259382444,
"calculated_length": 225.78217099003092,
"difficulty": 5.115384615384615,
"effort": 2712.4938098052285,
"length": 96.0,
"n1": 7.0,
"n2": 39.0,
"n_1": 39.0,
"n_2": 57.0,
"time": 150.6941005447349,
"vocabulary": 46.0,
"volume": 530.2619477814733
},
"lines_of_code": 28.0,
"maintainability_index": 84.1667570823205,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 7.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 179
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_197:197",
"entity_name": "anonymous_function_197",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 198,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 198
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_208:208",
"entity_name": "anonymous_function_208",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 209,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.09715961990255143,
"calculated_length": 121.64874049174456,
"difficulty": 3.645833333333333,
"effort": 1062.6833426841563,
"length": 60.0,
"n1": 5.0,
"n2": 24.0,
"n_1": 25.0,
"n_2": 35.0,
"time": 59.03796348245313,
"vocabulary": 29.0,
"volume": 291.4788597076543
},
"lines_of_code": 19.0,
"maintainability_index": 93.56025763777556,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 209
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_234:234",
"entity_name": "anonymous_function_234",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 235,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.5010511751721372,
"calculated_length": 287.7296844890187,
"difficulty": 11.447916666666668,
"effort": 17207.976297318088,
"length": 260.0,
"n1": 7.0,
"n2": 48.0,
"n_1": 103.0,
"n_2": 157.0,
"time": 955.9986831843382,
"vocabulary": 55.0,
"volume": 1503.1535255164115
},
"lines_of_code": 87.0,
"maintainability_index": 60.38262171873508,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 27.0,
"technical_debt_score": 19.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 235
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_235:235",
"entity_name": "anonymous_function_235",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 236,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.2283072275170232,
"calculated_length": 228.38689879982144,
"difficulty": 5.550000000000001,
"effort": 3801.3153381584366,
"length": 124.0,
"n1": 6.0,
"n2": 40.0,
"n_1": 50.0,
"n_2": 74.0,
"time": 211.18418545324647,
"vocabulary": 46.0,
"volume": 684.9216825510696
},
"lines_of_code": 41.0,
"maintainability_index": 76.65774912103558,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 10.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 236
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_262:262",
"entity_name": "anonymous_function_262",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 263,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 263
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_278:278",
"entity_name": "anonymous_function_278",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 279,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.23704195997053842,
"calculated_length": 252.98086890659343,
"difficulty": 6.267441860465117,
"effort": 4456.940107818147,
"length": 126.0,
"n1": 7.0,
"n2": 43.0,
"n_1": 49.0,
"n_2": 77.0,
"time": 247.60778376767485,
"vocabulary": 50.0,
"volume": 711.1258799116152
},
"lines_of_code": 42.0,
"maintainability_index": 76.07213498961718,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 13.0,
"technical_debt_score": 10.4
},
"recommendations": [],
"severity": "Low",
"start_line": 279
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_306:306",
"entity_name": "anonymous_function_306",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 307,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 307
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_327:327",
"entity_name": "anonymous_function_327",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 328,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 1.3922254454922305,
"calculated_length": 366.72742436675185,
"difficulty": 24.559322033898304,
"effort": 102576.33917889366,
"length": 691.0,
"n1": 7.0,
"n2": 59.0,
"n_1": 277.0,
"n_2": 414.0,
"time": 5698.685509938537,
"vocabulary": 66.0,
"volume": 4176.676336476691
},
"lines_of_code": 226.0,
"maintainability_index": 39.60352342481923,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 67.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 328
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_328:328",
"entity_name": "anonymous_function_328",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 329,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.24456710155690473,
"calculated_length": 252.98086890659343,
"difficulty": 6.267441860465117,
"effort": 4598.430269971104,
"length": 130.0,
"n1": 7.0,
"n2": 43.0,
"n_1": 53.0,
"n_2": 77.0,
"time": 255.468348331728,
"vocabulary": 50.0,
"volume": 733.7013046707142
},
"lines_of_code": 41.0,
"maintainability_index": 76.30000209897662,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 10.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 329
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_355:355",
"entity_name": "anonymous_function_355",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 356,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 356
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_371:371",
"entity_name": "anonymous_function_371",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 372,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.24456710155690473,
"calculated_length": 252.98086890659343,
"difficulty": 6.267441860465117,
"effort": 4598.430269971104,
"length": 130.0,
"n1": 7.0,
"n2": 43.0,
"n_1": 53.0,
"n_2": 77.0,
"time": 255.468348331728,
"vocabulary": 50.0,
"volume": 733.7013046707142
},
"lines_of_code": 41.0,
"maintainability_index": 76.30000209897662,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 10.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 372
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_398:398",
"entity_name": "anonymous_function_398",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 399,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 399
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_414:414",
"entity_name": "anonymous_function_414",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 415,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.2571499488360411,
"calculated_length": 259.8664756744443,
"difficulty": 6.363636363636363,
"effort": 4909.226295960784,
"length": 136.0,
"n1": 7.0,
"n2": 44.0,
"n_1": 56.0,
"n_2": 80.0,
"time": 272.73479422004357,
"vocabulary": 51.0,
"volume": 771.4498465081233
},
"lines_of_code": 41.0,
"maintainability_index": 76.03911987738755,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 10.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 415
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_441:441",
"entity_name": "anonymous_function_441",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 442,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 442
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_457:457",
"entity_name": "anonymous_function_457",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 458,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.2736211064707724,
"calculated_length": 266.7848737892386,
"difficulty": 6.844444444444444,
"effort": 5618.353386199859,
"length": 144.0,
"n1": 7.0,
"n2": 45.0,
"n_1": 56.0,
"n_2": 88.0,
"time": 312.13074367776994,
"vocabulary": 52.0,
"volume": 820.8633194123172
},
"lines_of_code": 49.0,
"maintainability_index": 72.82865677273983,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 13.0,
"technical_debt_score": 11.8
},
"recommendations": [],
"severity": "Low",
"start_line": 458
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_491:491",
"entity_name": "anonymous_function_491",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 492,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 492
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_508:508",
"entity_name": "anonymous_function_508",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 509,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.23824186436280279,
"calculated_length": 259.8664756744443,
"difficulty": 6.125,
"effort": 4377.6942576665015,
"length": 126.0,
"n1": 7.0,
"n2": 44.0,
"n_1": 49.0,
"n_2": 77.0,
"time": 243.20523653702787,
"vocabulary": 51.0,
"volume": 714.7255930884083
},
"lines_of_code": 44.0,
"maintainability_index": 75.29225477820131,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 13.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 509
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_537:537",
"entity_name": "anonymous_function_537",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 538,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 538
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_559:559",
"entity_name": "anonymous_function_559",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 560,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.6800578813738777,
"calculated_length": 330.4154095712305,
"difficulty": 13.157407407407407,
"effort": 26843.395817563338,
"length": 344.0,
"n1": 7.0,
"n2": 54.0,
"n_1": 141.0,
"n_2": 203.0,
"time": 1491.2997676424077,
"vocabulary": 61.0,
"volume": 2040.173644121633
},
"lines_of_code": 111.0,
"maintainability_index": 54.84750168374727,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 34.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 560
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_560:560",
"entity_name": "anonymous_function_560",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 561,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.21036692086049685,
"calculated_length": 239.31111664374467,
"difficulty": 5.634146341463415,
"effort": 3555.7140525932764,
"length": 113.0,
"n1": 7.0,
"n2": 41.0,
"n_1": 47.0,
"n_2": 66.0,
"time": 197.53966958851535,
"vocabulary": 48.0,
"volume": 631.1007625814906
},
"lines_of_code": 37.0,
"maintainability_index": 78.74630902314587,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 11.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 561
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_582:582",
"entity_name": "anonymous_function_582",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 583,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 583
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_599:599",
"entity_name": "anonymous_function_599",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 600,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1492244642427528,
"calculated_length": 212.4012589826744,
"difficulty": 4.635135135135135,
"effort": 2075.0266716999004,
"length": 82.0,
"n1": 7.0,
"n2": 37.0,
"n_1": 33.0,
"n_2": 49.0,
"time": 115.27925953888335,
"vocabulary": 44.0,
"volume": 447.67339272825836
},
"lines_of_code": 27.0,
"maintainability_index": 85.63631032198106,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 7.400000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 600
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_617:617",
"entity_name": "anonymous_function_617",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 618,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 618
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_628:628",
"entity_name": "anonymous_function_628",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 629,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.25079037303714596,
"calculated_length": 246.12881621111117,
"difficulty": 6.583333333333333,
"effort": 4953.109867483633,
"length": 134.0,
"n1": 7.0,
"n2": 42.0,
"n_1": 55.0,
"n_2": 79.0,
"time": 275.1727704157574,
"vocabulary": 49.0,
"volume": 752.3711191114379
},
"lines_of_code": 41.0,
"maintainability_index": 76.16933801870206,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 10.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 629
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts:anonymous_function_655:655",
"entity_name": "anonymous_function_655",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/client-activity.e2e.test.ts",
"issues": [],
"line_number": 656,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 656
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/config.ts:parseOpenAIConfig:12",
"entity_name": "parseOpenAIConfig",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/config.ts",
"issues": [],
"line_number": 13,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 15,
"nesting_level": 0
},
{
"column": 34,
"kind": "ConditionalExpression",
"line": 17,
"nesting_level": 0
},
{
"column": 21,
"kind": "LogicalOr",
"line": 21,
"nesting_level": 0
},
{
"column": 21,
"kind": "LogicalOr",
"line": 28,
"nesting_level": 0
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 35,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.16765943169221514,
"calculated_length": 282.6131749916034,
"difficulty": 6.260869565217391,
"effort": 3149.0814996103013,
"length": 87.0,
"n1": 9.0,
"n2": 46.0,
"n_1": 23.0,
"n_2": 64.0,
"time": 174.94897220057229,
"vocabulary": 55.0,
"volume": 502.9782950766454
},
"lines_of_code": 31.0,
"maintainability_index": 81.64256279255687,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 22.2
},
"recommendations": [],
"severity": "Low",
"start_line": 13
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/config.ts:getListenForMcp:45",
"entity_name": "getListenForMcp",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/config.ts",
"issues": [],
"line_number": 46,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 48,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 48,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 48,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 51,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 55,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalOr",
"line": 57,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07635406300967673,
"calculated_length": 68.81274391313339,
"difficulty": 6.0,
"effort": 1374.3731341741814,
"length": 53.0,
"n1": 6.0,
"n2": 14.0,
"n_1": 25.0,
"n_2": 28.0,
"time": 76.35406300967674,
"vocabulary": 20.0,
"volume": 229.0621890290302
},
"lines_of_code": 15.0,
"maintainability_index": 97.26282036275077,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 24.199999999999996
},
"recommendations": [],
"severity": "Low",
"start_line": 46
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/config.ts:loadConfig:62",
"entity_name": "loadConfig",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/config.ts",
"issues": [],
"line_number": 63,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 26,
"kind": "ConditionalExpression",
"line": 72,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2123663350704652,
"calculated_length": 340.7216506395527,
"difficulty": 4.071428571428571,
"effort": 2593.903092646396,
"length": 107.0,
"n1": 6.0,
"n2": 56.0,
"n_1": 31.0,
"n_2": 76.0,
"time": 144.10572736924422,
"vocabulary": 62.0,
"volume": 637.0990052113956
},
"lines_of_code": 31.0,
"maintainability_index": 81.33339693535893,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 11.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 63
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/config.ts:anonymous_function_72:72",
"entity_name": "anonymous_function_72",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/config.ts",
"issues": [],
"line_number": 73,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.0,
"difficulty": 1.5,
"effort": 15.0,
"length": 5.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.8333333333333334,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 73
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/connection-offer.ts:buildOfferEndpoints:20",
"entity_name": "buildOfferEndpoints",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/connection-offer.ts",
"issues": [],
"line_number": 21,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 26,
"kind": "LogicalOr",
"line": 29,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 31,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 31,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 33,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 35,
"nesting_level": 1
},
{
"column": 10,
"kind": "If",
"line": 38,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 45,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.13211190161031666,
"calculated_length": 126.63682062300134,
"difficulty": 9.0,
"effort": 3567.02134347855,
"length": 80.0,
"n1": 9.0,
"n2": 22.0,
"n_1": 36.0,
"n_2": 44.0,
"time": 198.167852415475,
"vocabulary": 31.0,
"volume": 396.33570483095
},
"lines_of_code": 29.0,
"maintainability_index": 83.50204727790734,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 14.0,
"technical_debt_score": 29.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 21
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/connection-offer.ts:createConnectionOfferV1:51",
"entity_name": "createConnectionOfferV1",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/connection-offer.ts",
"issues": [],
"line_number": 52,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03542467795750294,
"calculated_length": 56.105716335834195,
"difficulty": 2.923076923076923,
"effort": 310.64717593502576,
"length": 26.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 7.0,
"n_2": 19.0,
"time": 17.258176440834763,
"vocabulary": 17.0,
"volume": 106.27403387250882
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 4.4
},
"recommendations": [],
"severity": "Low",
"start_line": 52
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/connection-offer.ts:encodeOfferToFragmentUrl:65",
"entity_name": "encodeOfferToFragmentUrl",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/connection-offer.ts",
"issues": [],
"line_number": 66,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04672720264787944,
"calculated_length": 68.75488750216347,
"difficulty": 2.0625,
"effort": 289.12456638375403,
"length": 33.0,
"n1": 3.0,
"n2": 16.0,
"n_1": 11.0,
"n_2": 22.0,
"time": 16.06247591020856,
"vocabulary": 19.0,
"volume": 140.1816079436383
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 66
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/connection-offer.ts:getPrimaryLanIp:74",
"entity_name": "getPrimaryLanIp",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/connection-offer.ts",
"issues": [],
"line_number": 75,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 77,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 85,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 85,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.0990839262077375,
"calculated_length": 126.63682062300134,
"difficulty": 6.75,
"effort": 2006.4495057066842,
"length": 60.0,
"n1": 9.0,
"n2": 22.0,
"n_1": 27.0,
"n_2": 33.0,
"time": 111.46941698370468,
"vocabulary": 31.0,
"volume": 297.2517786232125
},
"lines_of_code": 16.0,
"maintainability_index": 95.55224920015304,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 11.0,
"technical_debt_score": 14.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 75
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/connection-offer.ts:generateDaemonPublicKeyB64:92",
"entity_name": "generateDaemonPublicKeyB64",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/connection-offer.ts",
"issues": [],
"line_number": 93,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.06267252957521455,
"calculated_length": 103.84830635279079,
"difficulty": 2.9761904761904763,
"effort": 559.5761569215585,
"length": 40.0,
"n1": 5.0,
"n2": 21.0,
"n_1": 15.0,
"n_2": 25.0,
"time": 31.08756427341992,
"vocabulary": 26.0,
"volume": 188.01758872564366
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 93
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/connection-offer.ts:dedupePreserveOrder:103",
"entity_name": "dedupePreserveOrder",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/connection-offer.ts",
"issues": [],
"line_number": 104,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 108,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.043089225014903886,
"calculated_length": 57.05865002596162,
"difficulty": 8.5,
"effort": 1098.7752378800492,
"length": 31.0,
"n1": 9.0,
"n2": 9.0,
"n_1": 14.0,
"n_2": 17.0,
"time": 61.043068771113845,
"vocabulary": 18.0,
"volume": 129.26767504471167
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 104
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:tmpCwd:28",
"entity_name": "tmpCwd",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 29,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 52.303762523798156,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 2.905764584655453,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 29
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:waitForSignal:32",
"entity_name": "waitForSignal",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 33,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 43,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.10216483617504395,
"calculated_length": 94.71013448036484,
"difficulty": 7.972222222222221,
"effort": 2443.442331853134,
"length": 66.0,
"n1": 7.0,
"n2": 18.0,
"n_1": 25.0,
"n_2": 41.0,
"time": 135.746796214063,
"vocabulary": 25.0,
"volume": 306.49450852513183
},
"lines_of_code": 29.0,
"maintainability_index": 86.21876839404436,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 13.0,
"technical_debt_score": 10.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 33
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_39:39",
"entity_name": "anonymous_function_39",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 40,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 43,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07221476772854095,
"calculated_length": 63.61549134016113,
"difficulty": 6.461538461538462,
"effort": 1399.8554975071015,
"length": 51.0,
"n1": 6.0,
"n2": 13.0,
"n_1": 23.0,
"n_2": 28.0,
"time": 77.76974986150564,
"vocabulary": 19.0,
"volume": 216.64430318562285
},
"lines_of_code": 21.0,
"maintainability_index": 93.25180087417456,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 12.0,
"technical_debt_score": 9.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 40
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_41:41",
"entity_name": "anonymous_function_41",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 42,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 43,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 19.60964047443681,
"difficulty": 3.125,
"effort": 118.87218755408671,
"length": 12.0,
"n1": 5.0,
"n2": 4.0,
"n_1": 7.0,
"n_2": 5.0,
"time": 6.604010419671484,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 42
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_49:49",
"entity_name": "anonymous_function_49",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 50,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 13.60964047443681,
"difficulty": 1.2,
"effort": 40.4259108776295,
"length": 12.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 6.0,
"n_2": 6.0,
"time": 2.245883937646083,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 50
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_54:54",
"entity_name": "anonymous_function_54",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 55,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 13.60964047443681,
"difficulty": 1.2,
"effort": 40.4259108776295,
"length": 12.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 6.0,
"n_2": 6.0,
"time": 2.245883937646083,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 55
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_63:63",
"entity_name": "anonymous_function_63",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [
{
"description": "Cyclomatic complexity of 114.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_63:63",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:64",
"metric_value": 114.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 137.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_63:63",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:64",
"metric_value": 137.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 64,
"metrics": {
"cognitive_complexity": 137.0,
"cyclomatic_complexity": 114.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 80,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 128,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 139,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 147,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 150,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 181,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 188,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 191,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 210,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 210,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 217,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 220,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 223,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 249,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 264,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 264,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 267,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 268,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 275,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 278,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 281,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 282,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 308,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 311,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 314,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 339,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 342,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 345,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 367,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 370,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 382,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 408,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 411,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 421,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 424,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 432,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 484,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 487,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 516,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 519,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 522,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 522,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 522,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 528,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 531,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 534,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 537,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 537,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 537,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 557,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 561,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 579,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 584,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 587,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 592,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 605,
"nesting_level": 0
},
{
"column": 7,
"kind": "For",
"line": 620,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 628,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 639,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 643,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 658,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 658,
"nesting_level": 1
},
{
"column": 9,
"kind": "While",
"line": 665,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 670,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 674,
"nesting_level": 1
},
{
"column": 18,
"kind": "If",
"line": 680,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 687,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 687,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 690,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 693,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 693,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalOr",
"line": 693,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 698,
"nesting_level": 0
},
{
"column": 7,
"kind": "For",
"line": 712,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 730,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 733,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 748,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 748,
"nesting_level": 1
},
{
"column": 9,
"kind": "While",
"line": 755,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 760,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 764,
"nesting_level": 1
},
{
"column": 18,
"kind": "If",
"line": 770,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 777,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 777,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 780,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 783,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 783,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalOr",
"line": 783,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 788,
"nesting_level": 0
},
{
"column": 7,
"kind": "For",
"line": 806,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 826,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 829,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 883,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 886,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 889,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 912,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 915,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 918,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 941,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 944,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 947,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 972,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 975,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 978,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 981,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 1008,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 1011,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 1014,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 1017,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 1044,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 1047,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 1050,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 1053,
"nesting_level": 0
}
],
"halstead": {
"bugs": 11.55787252070367,
"calculated_length": 3650.8255066755864,
"difficulty": 54.34390243902439,
"effort": 1884299.6900034035,
"length": 3962.0,
"n1": 21.0,
"n2": 410.0,
"n_1": 1840.0,
"n_2": 2122.0,
"time": 104683.3161113002,
"vocabulary": 431.0,
"volume": 34673.61756211101
},
"lines_of_code": 1023.0,
"maintainability_index": 0.0,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 563.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 64
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_66:66",
"entity_name": "anonymous_function_66",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 67,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 67
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_70:70",
"entity_name": "anonymous_function_70",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 71,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 71
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_74:74",
"entity_name": "anonymous_function_74",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 75,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 80,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.29439320913891476,
"calculated_length": 227.95057052383706,
"difficulty": 9.828947368421051,
"effort": 8680.726074740895,
"length": 159.0,
"n1": 9.0,
"n2": 38.0,
"n_1": 76.0,
"n_2": 83.0,
"time": 482.26255970782745,
"vocabulary": 47.0,
"volume": 883.1796274167443
},
"lines_of_code": 29.0,
"maintainability_index": 80.71545879015841,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 20.0,
"technical_debt_score": 10.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 75
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_77:77",
"entity_name": "anonymous_function_77",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 78,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 80,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03125512476486815,
"calculated_length": 43.65148445440323,
"difficulty": 5.6875,
"effort": 533.2905663005628,
"length": 24.0,
"n1": 7.0,
"n2": 8.0,
"n_1": 11.0,
"n_2": 13.0,
"time": 29.6272536833646,
"vocabulary": 15.0,
"volume": 93.76537429460444
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 78
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_78:78",
"entity_name": "anonymous_function_78",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 79,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 80,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01499087034742829,
"calculated_length": 27.651484454403228,
"difficulty": 5.25,
"effort": 236.10620797199556,
"length": 13.0,
"n1": 7.0,
"n2": 4.0,
"n_1": 7.0,
"n_2": 6.0,
"time": 13.117011553999752,
"vocabulary": 11.0,
"volume": 44.97261104228487
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 79
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_105:105",
"entity_name": "anonymous_function_105",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 106,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.11743169929078216,
"calculated_length": 83.05865002596161,
"difficulty": 4.666666666666667,
"effort": 1644.0437900709505,
"length": 79.0,
"n1": 4.0,
"n2": 18.0,
"n_1": 37.0,
"n_2": 42.0,
"time": 91.3357661150528,
"vocabulary": 22.0,
"volume": 352.2950978723465
},
"lines_of_code": 13.0,
"maintainability_index": 98.72258072194884,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 4.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 106
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_122:122",
"entity_name": "anonymous_function_122",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [
{
"description": "Cyclomatic complexity of 31.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_122:122",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:123",
"metric_value": 31.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 34.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_122:122",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:123",
"metric_value": 34.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 123,
"metrics": {
"cognitive_complexity": 34.0,
"cyclomatic_complexity": 31.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 128,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 139,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 147,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 150,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 181,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 188,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 191,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 210,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 210,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 217,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 220,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 223,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 249,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 264,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 264,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 267,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 268,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 275,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 278,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 281,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 282,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 308,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 311,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 314,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 339,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 342,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 345,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 367,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 370,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 382,
"nesting_level": 0
}
],
"halstead": {
"bugs": 2.625415032703404,
"calculated_length": 925.6167030250753,
"difficulty": 24.944881889763778,
"effort": 196472.00370719013,
"length": 1108.0,
"n1": 11.0,
"n2": 127.0,
"n_1": 532.0,
"n_2": 576.0,
"time": 10915.11131706612,
"vocabulary": 138.0,
"volume": 7876.245098110211
},
"lines_of_code": 267.0,
"maintainability_index": 26.70421762767411,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 152.0,
"technical_debt_score": 87.20000000000002
},
"recommendations": [],
"severity": "Critical",
"start_line": 123
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_125:125",
"entity_name": "anonymous_function_125",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 126,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 128,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03125512476486815,
"calculated_length": 43.65148445440323,
"difficulty": 5.6875,
"effort": 533.2905663005628,
"length": 24.0,
"n1": 7.0,
"n2": 8.0,
"n_1": 11.0,
"n_2": 13.0,
"time": 29.6272536833646,
"vocabulary": 15.0,
"volume": 93.76537429460444
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 126
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_126:126",
"entity_name": "anonymous_function_126",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 127,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 128,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01499087034742829,
"calculated_length": 27.651484454403228,
"difficulty": 5.25,
"effort": 236.10620797199556,
"length": 13.0,
"n1": 7.0,
"n2": 4.0,
"n_1": 7.0,
"n_2": 6.0,
"time": 13.117011553999752,
"vocabulary": 11.0,
"volume": 44.97261104228487
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 127
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_136:136",
"entity_name": "anonymous_function_136",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 137,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 139,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 147,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 150,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07237699129691222,
"calculated_length": 82.60335893412778,
"difficulty": 6.666666666666667,
"effort": 1447.5398259382443,
"length": 48.0,
"n1": 8.0,
"n2": 15.0,
"n_1": 23.0,
"n_2": 25.0,
"time": 80.41887921879135,
"vocabulary": 23.0,
"volume": 217.13097389073664
},
"lines_of_code": 19.0,
"maintainability_index": 94.40148470102518,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 14.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 137
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_137:137",
"entity_name": "anonymous_function_137",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 138,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 139,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 147,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 150,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05239110599913755,
"calculated_length": 62.05374780501027,
"difficulty": 6.545454545454546,
"effort": 1028.7708087103374,
"length": 37.0,
"n1": 8.0,
"n2": 11.0,
"n_1": 19.0,
"n_2": 18.0,
"time": 57.15393381724097,
"vocabulary": 19.0,
"volume": 157.17331799741265
},
"lines_of_code": 16.0,
"maintainability_index": 98.8658472094261,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 13.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 138
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_167:167",
"entity_name": "anonymous_function_167",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 168,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006191808253032966,
"calculated_length": 6.754887502163468,
"difficulty": 1.6666666666666667,
"effort": 30.95904126516483,
"length": 8.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.7199467369536017,
"vocabulary": 5.0,
"volume": 18.575424759098897
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 168
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_178:178",
"entity_name": "anonymous_function_178",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 179,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 181,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 188,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 191,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06986442869198432,
"calculated_length": 77.30296890880646,
"difficulty": 6.857142857142857,
"effort": 1437.2111045208203,
"length": 47.0,
"n1": 8.0,
"n2": 14.0,
"n_1": 23.0,
"n_2": 24.0,
"time": 79.8450613622678,
"vocabulary": 22.0,
"volume": 209.59328607595296
},
"lines_of_code": 18.0,
"maintainability_index": 95.46109913884409,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 14.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 179
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_179:179",
"entity_name": "anonymous_function_179",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 180,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 181,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 188,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 191,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05003910001730774,
"calculated_length": 57.219280948873624,
"difficulty": 6.8,
"effort": 1020.7976403530779,
"length": 36.0,
"n1": 8.0,
"n2": 10.0,
"n_1": 19.0,
"n_2": 17.0,
"time": 56.71098001961544,
"vocabulary": 18.0,
"volume": 150.11730005192322
},
"lines_of_code": 15.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 13.4
},
"recommendations": [],
"severity": "Low",
"start_line": 180
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_208:208",
"entity_name": "anonymous_function_208",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 209,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 210,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 210,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.025382366147050694,
"calculated_length": 39.50977500432694,
"difficulty": 3.75,
"effort": 285.5516191543203,
"length": 20.0,
"n1": 6.0,
"n2": 8.0,
"n_1": 10.0,
"n_2": 10.0,
"time": 15.863978841906683,
"vocabulary": 14.0,
"volume": 76.14709844115208
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 209
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_214:214",
"entity_name": "anonymous_function_214",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 215,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 217,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 220,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 223,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0728373831044092,
"calculated_length": 77.30296890880646,
"difficulty": 6.571428571428571,
"effort": 1435.9369812012098,
"length": 49.0,
"n1": 8.0,
"n2": 14.0,
"n_1": 26.0,
"n_2": 23.0,
"time": 79.77427673340054,
"vocabulary": 22.0,
"volume": 218.51214931322758
},
"lines_of_code": 14.0,
"maintainability_index": 99.31569485571183,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 13.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 215
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_215:215",
"entity_name": "anonymous_function_215",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 216,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 217,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 220,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 223,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05281905001826929,
"calculated_length": 57.219280948873624,
"difficulty": 6.4,
"effort": 1014.1257603507704,
"length": 38.0,
"n1": 8.0,
"n2": 10.0,
"n_1": 22.0,
"n_2": 16.0,
"time": 56.340320019487244,
"vocabulary": 18.0,
"volume": 158.45715005480787
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 12.6
},
"recommendations": [],
"severity": "Low",
"start_line": 216
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_245:245",
"entity_name": "anonymous_function_245",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 246,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 25.84962500721156,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.43609027817842,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 246
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_252:252",
"entity_name": "anonymous_function_252",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 253,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 253
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_262:262",
"entity_name": "anonymous_function_262",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 263,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 264,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 264,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 267,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 268,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.056639033512581136,
"calculated_length": 62.6710344630571,
"difficulty": 5.541666666666666,
"effort": 941.6239321466613,
"length": 40.0,
"n1": 7.0,
"n2": 12.0,
"n_1": 21.0,
"n_2": 19.0,
"time": 52.31244067481452,
"vocabulary": 19.0,
"volume": 169.9171005377434
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 16.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 263
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_273:273",
"entity_name": "anonymous_function_273",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 274,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 275,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 278,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 281,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 282,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.0691508495181978,
"calculated_length": 67.75720079023742,
"difficulty": 5.923076923076923,
"effort": 1228.7574029772072,
"length": 48.0,
"n1": 7.0,
"n2": 13.0,
"n_1": 26.0,
"n_2": 22.0,
"time": 68.2643001654004,
"vocabulary": 20.0,
"volume": 207.45254855459342
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 16.6
},
"recommendations": [],
"severity": "Low",
"start_line": 274
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_303:303",
"entity_name": "anonymous_function_303",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 304,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 308,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 311,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 314,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06338827872501465,
"calculated_length": 67.75720079023742,
"difficulty": 5.653846153846154,
"effort": 1075.1627276050563,
"length": 44.0,
"n1": 7.0,
"n2": 13.0,
"n_1": 23.0,
"n_2": 21.0,
"time": 59.73126264472535,
"vocabulary": 20.0,
"volume": 190.16483617504394
},
"lines_of_code": 17.0,
"maintainability_index": 96.89290930099196,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 13.8
},
"recommendations": [],
"severity": "Low",
"start_line": 304
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_306:306",
"entity_name": "anonymous_function_306",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 307,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 308,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 311,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 314,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.044,
"calculated_length": 48.18080946738404,
"difficulty": 5.444444444444445,
"effort": 718.6666666666667,
"length": 33.0,
"n1": 7.0,
"n2": 9.0,
"n_1": 19.0,
"n_2": 14.0,
"time": 39.92592592592593,
"vocabulary": 16.0,
"volume": 132.0
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 12.6
},
"recommendations": [],
"severity": "Low",
"start_line": 307
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_334:334",
"entity_name": "anonymous_function_334",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 335,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 339,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 342,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 345,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06734886714927432,
"calculated_length": 72.95445336320968,
"difficulty": 5.5,
"effort": 1111.2563079630263,
"length": 46.0,
"n1": 7.0,
"n2": 14.0,
"n_1": 24.0,
"n_2": 22.0,
"time": 61.736461553501464,
"vocabulary": 21.0,
"volume": 202.04660144782298
},
"lines_of_code": 17.0,
"maintainability_index": 96.57775229692945,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 13.8
},
"recommendations": [],
"severity": "Low",
"start_line": 335
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_337:337",
"entity_name": "anonymous_function_337",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 338,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 339,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 342,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 345,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.047687066481253954,
"calculated_length": 52.87076540327685,
"difficulty": 5.25,
"effort": 751.0712970797498,
"length": 35.0,
"n1": 7.0,
"n2": 10.0,
"n_1": 20.0,
"n_2": 15.0,
"time": 41.72618317109721,
"vocabulary": 17.0,
"volume": 143.06119944376186
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 12.6
},
"recommendations": [],
"severity": "Low",
"start_line": 338
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_364:364",
"entity_name": "anonymous_function_364",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 365,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 367,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 370,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.050975130161323025,
"calculated_length": 62.6710344630571,
"difficulty": 5.25,
"effort": 802.8583000408375,
"length": 36.0,
"n1": 7.0,
"n2": 12.0,
"n_1": 18.0,
"n_2": 18.0,
"time": 44.603238891157645,
"vocabulary": 19.0,
"volume": 152.92539048396907
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 9.8
},
"recommendations": [],
"severity": "Low",
"start_line": 365
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_365:365",
"entity_name": "anonymous_function_365",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 366,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 367,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 370,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03255742163007099,
"calculated_length": 43.65148445440323,
"difficulty": 4.8125,
"effort": 470.0477747841499,
"length": 25.0,
"n1": 7.0,
"n2": 8.0,
"n_1": 14.0,
"n_2": 11.0,
"time": 26.113765265786107,
"vocabulary": 15.0,
"volume": 97.67226489021297
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 366
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_395:395",
"entity_name": "anonymous_function_395",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 396,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 408,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 411,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 421,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 424,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 432,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.5319066825035439,
"calculated_length": 358.4311565840994,
"difficulty": 12.5,
"effort": 19946.500593882898,
"length": 264.0,
"n1": 10.0,
"n2": 56.0,
"n_1": 124.0,
"n_2": 140.0,
"time": 1108.1389218823833,
"vocabulary": 66.0,
"volume": 1595.7200475106317
},
"lines_of_code": 69.0,
"maintainability_index": 62.67705678578571,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 36.0,
"technical_debt_score": 29.799999999999997
},
"recommendations": [],
"severity": "Low",
"start_line": 396
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_405:405",
"entity_name": "anonymous_function_405",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 406,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 408,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 411,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.050975130161323025,
"calculated_length": 62.6710344630571,
"difficulty": 5.25,
"effort": 802.8583000408375,
"length": 36.0,
"n1": 7.0,
"n2": 12.0,
"n_1": 18.0,
"n_2": 18.0,
"time": 44.603238891157645,
"vocabulary": 19.0,
"volume": 152.92539048396907
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 9.8
},
"recommendations": [],
"severity": "Low",
"start_line": 406
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_406:406",
"entity_name": "anonymous_function_406",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 407,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 408,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 411,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03255742163007099,
"calculated_length": 43.65148445440323,
"difficulty": 4.8125,
"effort": 470.0477747841499,
"length": 25.0,
"n1": 7.0,
"n2": 8.0,
"n_1": 14.0,
"n_2": 11.0,
"time": 26.113765265786107,
"vocabulary": 15.0,
"volume": 97.67226489021297
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 407
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_418:418",
"entity_name": "anonymous_function_418",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 419,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 421,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 424,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.050975130161323025,
"calculated_length": 62.6710344630571,
"difficulty": 5.25,
"effort": 802.8583000408375,
"length": 36.0,
"n1": 7.0,
"n2": 12.0,
"n_1": 18.0,
"n_2": 18.0,
"time": 44.603238891157645,
"vocabulary": 19.0,
"volume": 152.92539048396907
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 9.8
},
"recommendations": [],
"severity": "Low",
"start_line": 419
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_419:419",
"entity_name": "anonymous_function_419",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 420,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 421,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 424,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03255742163007099,
"calculated_length": 43.65148445440323,
"difficulty": 4.8125,
"effort": 470.0477747841499,
"length": 25.0,
"n1": 7.0,
"n2": 8.0,
"n_1": 14.0,
"n_2": 11.0,
"time": 26.113765265786107,
"vocabulary": 15.0,
"volume": 97.67226489021297
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 420
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_459:459",
"entity_name": "anonymous_function_459",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 460,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 460
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_460:460",
"entity_name": "anonymous_function_460",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 461,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 461
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_470:470",
"entity_name": "anonymous_function_470",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 471,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 484,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 487,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.23699579100491253,
"calculated_length": 230.1306865356277,
"difficulty": 7.076923076923077,
"effort": 5031.602947488912,
"length": 128.0,
"n1": 8.0,
"n2": 39.0,
"n_1": 59.0,
"n_2": 69.0,
"time": 279.5334970827173,
"vocabulary": 47.0,
"volume": 710.9873730147376
},
"lines_of_code": 30.0,
"maintainability_index": 81.06399813217558,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 17.0,
"technical_debt_score": 13.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 471
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_481:481",
"entity_name": "anonymous_function_481",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 482,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 484,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 487,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.050975130161323025,
"calculated_length": 62.6710344630571,
"difficulty": 5.25,
"effort": 802.8583000408375,
"length": 36.0,
"n1": 7.0,
"n2": 12.0,
"n_1": 18.0,
"n_2": 18.0,
"time": 44.603238891157645,
"vocabulary": 19.0,
"volume": 152.92539048396907
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 9.8
},
"recommendations": [],
"severity": "Low",
"start_line": 482
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_482:482",
"entity_name": "anonymous_function_482",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 483,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 484,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 487,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03255742163007099,
"calculated_length": 43.65148445440323,
"difficulty": 4.8125,
"effort": 470.0477747841499,
"length": 25.0,
"n1": 7.0,
"n2": 8.0,
"n_1": 14.0,
"n_2": 11.0,
"time": 26.113765265786107,
"vocabulary": 15.0,
"volume": 97.67226489021297
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 483
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_506:506",
"entity_name": "anonymous_function_506",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 507,
"metrics": {
"cognitive_complexity": 15.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 516,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 519,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 522,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 522,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 522,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 528,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 531,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 534,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 537,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 537,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 537,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.23092331673108993,
"calculated_length": 156.91128757139447,
"difficulty": 11.0,
"effort": 7620.469452125968,
"length": 134.0,
"n1": 9.0,
"n2": 27.0,
"n_1": 68.0,
"n_2": 66.0,
"time": 423.35941400699824,
"vocabulary": 36.0,
"volume": 692.7699501932698
},
"lines_of_code": 43.0,
"maintainability_index": 73.29692862001338,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 26.0,
"technical_debt_score": 44.6
},
"recommendations": [],
"severity": "Moderate",
"start_line": 507
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_513:513",
"entity_name": "anonymous_function_513",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 514,
"metrics": {
"cognitive_complexity": 15.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 516,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 519,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 522,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 522,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 522,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 528,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 531,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 534,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 537,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 537,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 537,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.16505251899064438,
"calculated_length": 110.43856189774725,
"difficulty": 9.6,
"effort": 4753.5125469305585,
"length": 103.0,
"n1": 8.0,
"n2": 20.0,
"n_1": 55.0,
"n_2": 48.0,
"time": 264.08403038503104,
"vocabulary": 28.0,
"volume": 495.15755697193316
},
"lines_of_code": 32.0,
"maintainability_index": 79.82972312869741,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 19.0,
"technical_debt_score": 42.4
},
"recommendations": [],
"severity": "Moderate",
"start_line": 514
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_514:514",
"entity_name": "anonymous_function_514",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 515,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 516,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 519,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 522,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 522,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 522,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.048981851742056784,
"calculated_length": 67.01955000865388,
"difficulty": 5.0,
"effort": 734.7277761308517,
"length": 34.0,
"n1": 8.0,
"n2": 12.0,
"n_1": 19.0,
"n_2": 15.0,
"time": 40.818209785047316,
"vocabulary": 20.0,
"volume": 146.94555522617034
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 19.6
},
"recommendations": [],
"severity": "Low",
"start_line": 515
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_526:526",
"entity_name": "anonymous_function_526",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 527,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 528,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 531,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 534,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 537,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 537,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 537,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.06371891270165378,
"calculated_length": 62.05374780501027,
"difficulty": 7.2727272727272725,
"effort": 1390.230822581537,
"length": 45.0,
"n1": 8.0,
"n2": 11.0,
"n_1": 25.0,
"n_2": 20.0,
"time": 77.23504569897428,
"vocabulary": 19.0,
"volume": 191.15673810496133
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 23.0
},
"recommendations": [],
"severity": "Low",
"start_line": 527
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_541:541",
"entity_name": "anonymous_function_541",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 542,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 12.0,
"length": 6.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 0.6666666666666666,
"vocabulary": 4.0,
"volume": 12.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 542
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_555:555",
"entity_name": "anonymous_function_555",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 556,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 557,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 561,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 579,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 584,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 587,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 592,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 605,
"nesting_level": 0
},
{
"column": 7,
"kind": "For",
"line": 620,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 628,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.5394044086606296,
"calculated_length": 424.67435151632895,
"difficulty": 14.65079365079365,
"effort": 23708.108056845766,
"length": 259.0,
"n1": 13.0,
"n2": 63.0,
"n_1": 117.0,
"n_2": 142.0,
"time": 1317.1171142692092,
"vocabulary": 76.0,
"volume": 1618.2132259818886
},
"lines_of_code": 76.0,
"maintainability_index": 60.11891494979932,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 39.0,
"technical_debt_score": 42.400000000000006
},
"recommendations": [],
"severity": "Moderate",
"start_line": 556
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_566:566",
"entity_name": "anonymous_function_566",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 567,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 579,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 584,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 587,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 592,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1555882515139973,
"calculated_length": 150.7407576846492,
"difficulty": 9.173076923076923,
"effort": 4281.668998394811,
"length": 91.0,
"n1": 9.0,
"n2": 26.0,
"n_1": 38.0,
"n_2": 53.0,
"time": 237.87049991082282,
"vocabulary": 35.0,
"volume": 466.7647545419919
},
"lines_of_code": 34.0,
"maintainability_index": 80.76466745682237,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 16.0,
"technical_debt_score": 20.0
},
"recommendations": [],
"severity": "Low",
"start_line": 567
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_577:577",
"entity_name": "anonymous_function_577",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 578,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 579,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 584,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 587,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 592,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.10896671156663901,
"calculated_length": 109.23994776840892,
"difficulty": 8.052631578947368,
"effort": 2632.4063478467,
"length": 68.0,
"n1": 9.0,
"n2": 19.0,
"n_1": 34.0,
"n_2": 34.0,
"time": 146.24479710259445,
"vocabulary": 28.0,
"volume": 326.90013469991703
},
"lines_of_code": 20.0,
"maintainability_index": 91.21293259435664,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 17.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 578
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_602:602",
"entity_name": "anonymous_function_602",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 603,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 605,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.038149653185003164,
"calculated_length": 52.87076540327685,
"difficulty": 5.25,
"effort": 600.8570376637998,
"length": 28.0,
"n1": 7.0,
"n2": 10.0,
"n_1": 13.0,
"n_2": 15.0,
"time": 33.380946536877765,
"vocabulary": 17.0,
"volume": 114.4489595550095
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 603
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_603:603",
"entity_name": "anonymous_function_603",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 604,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 605,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02096915840279952,
"calculated_length": 35.161259458730164,
"difficulty": 4.666666666666666,
"effort": 293.5682176391933,
"length": 17.0,
"n1": 7.0,
"n2": 6.0,
"n_1": 9.0,
"n_2": 8.0,
"time": 16.309345424399627,
"vocabulary": 13.0,
"volume": 62.907475208398566
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 604
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_616:616",
"entity_name": "anonymous_function_616",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 617,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01403677461028802,
"calculated_length": 12.754887502163468,
"difficulty": 3.0,
"effort": 126.33097149259218,
"length": 15.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 7.0,
"n_2": 8.0,
"time": 7.01838730514401,
"vocabulary": 7.0,
"volume": 42.11032383086406
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 617
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_625:625",
"entity_name": "anonymous_function_625",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 626,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 626
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_637:637",
"entity_name": "anonymous_function_637",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [
{
"description": "Cyclomatic complexity of 17.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_637:637",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:638",
"metric_value": 17.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
}
],
"line_number": 638,
"metrics": {
"cognitive_complexity": 24.0,
"cyclomatic_complexity": 17.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 639,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 643,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 658,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 658,
"nesting_level": 1
},
{
"column": 9,
"kind": "While",
"line": 665,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 670,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 674,
"nesting_level": 1
},
{
"column": 18,
"kind": "If",
"line": 680,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 687,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 687,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 690,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 693,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 693,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalOr",
"line": 693,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 698,
"nesting_level": 0
},
{
"column": 7,
"kind": "For",
"line": 712,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.8521908706662655,
"calculated_length": 677.6286377343026,
"difficulty": 19.833333333333336,
"effort": 50705.356804642804,
"length": 377.0,
"n1": 17.0,
"n2": 93.0,
"n_1": 160.0,
"n_2": 217.0,
"time": 2816.9642669246005,
"vocabulary": 110.0,
"volume": 2556.5726119987967
},
"lines_of_code": 85.0,
"maintainability_index": 54.317650996400644,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 52.0,
"technical_debt_score": 70.2
},
"recommendations": [],
"severity": "High",
"start_line": 638
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_654:654",
"entity_name": "anonymous_function_654",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 655,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 655
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_656:656",
"entity_name": "anonymous_function_656",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 657,
"metrics": {
"cognitive_complexity": 21.0,
"cyclomatic_complexity": 14.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 658,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 658,
"nesting_level": 1
},
{
"column": 9,
"kind": "While",
"line": 665,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 670,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 674,
"nesting_level": 1
},
{
"column": 18,
"kind": "If",
"line": 680,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 687,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 687,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 690,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 693,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 693,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalOr",
"line": 693,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 698,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.43710990407503036,
"calculated_length": 307.38681888742906,
"difficulty": 19.32608695652174,
"effort": 25342.872047132736,
"length": 222.0,
"n1": 14.0,
"n2": 46.0,
"n_1": 95.0,
"n_2": 127.0,
"time": 1407.9373359518186,
"vocabulary": 60.0,
"volume": 1311.329712225091
},
"lines_of_code": 45.0,
"maintainability_index": 68.78232353152977,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 30.0,
"technical_debt_score": 53.79999999999999
},
"recommendations": [],
"severity": "Moderate",
"start_line": 657
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_728:728",
"entity_name": "anonymous_function_728",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [
{
"description": "Cyclomatic complexity of 17.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_728:728",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:729",
"metric_value": 17.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
}
],
"line_number": 729,
"metrics": {
"cognitive_complexity": 24.0,
"cyclomatic_complexity": 17.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 730,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 733,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 748,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 748,
"nesting_level": 1
},
{
"column": 9,
"kind": "While",
"line": 755,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 760,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 764,
"nesting_level": 1
},
{
"column": 18,
"kind": "If",
"line": 770,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 777,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 777,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 780,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 783,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 783,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalOr",
"line": 783,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 788,
"nesting_level": 0
},
{
"column": 7,
"kind": "For",
"line": 806,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.8661627282267288,
"calculated_length": 701.6432683704868,
"difficulty": 19.65625,
"effort": 51076.533380119916,
"length": 381.0,
"n1": 17.0,
"n2": 96.0,
"n_1": 159.0,
"n_2": 222.0,
"time": 2837.5851877844398,
"vocabulary": 113.0,
"volume": 2598.4881846801864
},
"lines_of_code": 90.0,
"maintainability_index": 53.307120885851845,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 55.0,
"technical_debt_score": 71.2
},
"recommendations": [],
"severity": "High",
"start_line": 729
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_744:744",
"entity_name": "anonymous_function_744",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 745,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 745
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_746:746",
"entity_name": "anonymous_function_746",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 747,
"metrics": {
"cognitive_complexity": 21.0,
"cyclomatic_complexity": 14.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 748,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 748,
"nesting_level": 1
},
{
"column": 9,
"kind": "While",
"line": 755,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 760,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 764,
"nesting_level": 1
},
{
"column": 18,
"kind": "If",
"line": 770,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 777,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 777,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 780,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 783,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalOr",
"line": 783,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalOr",
"line": 783,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 788,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.43710990407503036,
"calculated_length": 307.38681888742906,
"difficulty": 19.32608695652174,
"effort": 25342.872047132736,
"length": 222.0,
"n1": 14.0,
"n2": 46.0,
"n_1": 95.0,
"n_2": 127.0,
"time": 1407.9373359518186,
"vocabulary": 60.0,
"volume": 1311.329712225091
},
"lines_of_code": 45.0,
"maintainability_index": 68.78232353152977,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 30.0,
"technical_debt_score": 53.79999999999999
},
"recommendations": [],
"severity": "Moderate",
"start_line": 747
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_824:824",
"entity_name": "anonymous_function_824",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 825,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 826,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 829,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08400301253822128,
"calculated_length": 103.58797503894242,
"difficulty": 6.25,
"effort": 1575.0564850916487,
"length": 53.0,
"n1": 9.0,
"n2": 18.0,
"n_1": 28.0,
"n_2": 25.0,
"time": 87.50313806064715,
"vocabulary": 27.0,
"volume": 252.0090376146638
},
"lines_of_code": 17.0,
"maintainability_index": 95.6587260841126,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 11.0
},
"recommendations": [],
"severity": "Low",
"start_line": 825
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_847:847",
"entity_name": "anonymous_function_847",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [
{
"description": "Cyclomatic complexity of 22.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_847:847",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:848",
"metric_value": 22.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
}
],
"line_number": 848,
"metrics": {
"cognitive_complexity": 21.0,
"cyclomatic_complexity": 22.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 883,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 886,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 889,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 912,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 915,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 918,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 941,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 944,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 947,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 972,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 975,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 978,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 981,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 1008,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 1011,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 1014,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 1017,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 1044,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 1047,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 1050,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 1053,
"nesting_level": 0
}
],
"halstead": {
"bugs": 2.207364282561944,
"calculated_length": 865.7117767232068,
"difficulty": 18.483471074380166,
"effort": 122399.26160206087,
"length": 943.0,
"n1": 9.0,
"n2": 121.0,
"n_1": 446.0,
"n_2": 497.0,
"time": 6799.958977892271,
"vocabulary": 130.0,
"volume": 6622.092847685833
},
"lines_of_code": 236.0,
"maintainability_index": 31.67545771524898,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 135.0,
"technical_debt_score": 76.8
},
"recommendations": [],
"severity": "High",
"start_line": 848
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_878:878",
"entity_name": "anonymous_function_878",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 879,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 883,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 886,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 889,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06338827872501465,
"calculated_length": 67.75720079023742,
"difficulty": 5.653846153846154,
"effort": 1075.1627276050563,
"length": 44.0,
"n1": 7.0,
"n2": 13.0,
"n_1": 23.0,
"n_2": 21.0,
"time": 59.73126264472535,
"vocabulary": 20.0,
"volume": 190.16483617504394
},
"lines_of_code": 17.0,
"maintainability_index": 96.89290930099196,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 13.8
},
"recommendations": [],
"severity": "Low",
"start_line": 879
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_881:881",
"entity_name": "anonymous_function_881",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 882,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 883,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 886,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 889,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.044,
"calculated_length": 48.18080946738404,
"difficulty": 5.444444444444445,
"effort": 718.6666666666667,
"length": 33.0,
"n1": 7.0,
"n2": 9.0,
"n_1": 19.0,
"n_2": 14.0,
"time": 39.92592592592593,
"vocabulary": 16.0,
"volume": 132.0
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 12.6
},
"recommendations": [],
"severity": "Low",
"start_line": 882
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_909:909",
"entity_name": "anonymous_function_909",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 910,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 912,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 915,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 918,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06734886714927432,
"calculated_length": 72.95445336320968,
"difficulty": 5.5,
"effort": 1111.2563079630263,
"length": 46.0,
"n1": 7.0,
"n2": 14.0,
"n_1": 24.0,
"n_2": 22.0,
"time": 61.736461553501464,
"vocabulary": 21.0,
"volume": 202.04660144782298
},
"lines_of_code": 14.0,
"maintainability_index": 99.72307973087297,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 13.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 910
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_910:910",
"entity_name": "anonymous_function_910",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 911,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 912,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 915,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 918,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.047687066481253954,
"calculated_length": 52.87076540327685,
"difficulty": 5.25,
"effort": 751.0712970797498,
"length": 35.0,
"n1": 7.0,
"n2": 10.0,
"n_1": 20.0,
"n_2": 15.0,
"time": 41.72618317109721,
"vocabulary": 17.0,
"volume": 143.06119944376186
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 12.6
},
"recommendations": [],
"severity": "Low",
"start_line": 911
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_936:936",
"entity_name": "anonymous_function_936",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 937,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 941,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 944,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 947,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06734886714927432,
"calculated_length": 72.95445336320968,
"difficulty": 5.5,
"effort": 1111.2563079630263,
"length": 46.0,
"n1": 7.0,
"n2": 14.0,
"n_1": 24.0,
"n_2": 22.0,
"time": 61.736461553501464,
"vocabulary": 21.0,
"volume": 202.04660144782298
},
"lines_of_code": 17.0,
"maintainability_index": 96.57775229692945,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 13.8
},
"recommendations": [],
"severity": "Low",
"start_line": 937
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_939:939",
"entity_name": "anonymous_function_939",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 940,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 941,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 944,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 947,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.047687066481253954,
"calculated_length": 52.87076540327685,
"difficulty": 5.25,
"effort": 751.0712970797498,
"length": 35.0,
"n1": 7.0,
"n2": 10.0,
"n_1": 20.0,
"n_2": 15.0,
"time": 41.72618317109721,
"vocabulary": 17.0,
"volume": 143.06119944376186
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 12.6
},
"recommendations": [],
"severity": "Low",
"start_line": 940
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_967:967",
"entity_name": "anonymous_function_967",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 968,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 972,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 975,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 978,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 981,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08443982317973091,
"calculated_length": 83.65148445440323,
"difficulty": 5.6875,
"effort": 1440.7544830041586,
"length": 56.0,
"n1": 7.0,
"n2": 16.0,
"n_1": 30.0,
"n_2": 26.0,
"time": 80.04191572245325,
"vocabulary": 23.0,
"volume": 253.31946953919274
},
"lines_of_code": 20.0,
"maintainability_index": 92.5389497968451,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 11.0,
"technical_debt_score": 17.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 968
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_970:970",
"entity_name": "anonymous_function_970",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 971,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 972,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 975,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 978,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 981,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06371891270165378,
"calculated_length": 62.6710344630571,
"difficulty": 5.541666666666666,
"effort": 1059.326923664994,
"length": 45.0,
"n1": 7.0,
"n2": 12.0,
"n_1": 26.0,
"n_2": 19.0,
"time": 58.85149575916633,
"vocabulary": 19.0,
"volume": 191.15673810496133
},
"lines_of_code": 14.0,
"maintainability_index": 99.78118396888766,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 16.0
},
"recommendations": [],
"severity": "Low",
"start_line": 971
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_1003:1003",
"entity_name": "anonymous_function_1003",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 1004,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 1008,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 1011,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 1014,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 1017,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08443982317973091,
"calculated_length": 83.65148445440323,
"difficulty": 5.6875,
"effort": 1440.7544830041586,
"length": 56.0,
"n1": 7.0,
"n2": 16.0,
"n_1": 30.0,
"n_2": 26.0,
"time": 80.04191572245325,
"vocabulary": 23.0,
"volume": 253.31946953919274
},
"lines_of_code": 20.0,
"maintainability_index": 92.5389497968451,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 11.0,
"technical_debt_score": 17.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1004
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_1006:1006",
"entity_name": "anonymous_function_1006",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 1007,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 1008,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 1011,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 1014,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 1017,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06371891270165378,
"calculated_length": 62.6710344630571,
"difficulty": 5.541666666666666,
"effort": 1059.326923664994,
"length": 45.0,
"n1": 7.0,
"n2": 12.0,
"n_1": 26.0,
"n_2": 19.0,
"time": 58.85149575916633,
"vocabulary": 19.0,
"volume": 191.15673810496133
},
"lines_of_code": 14.0,
"maintainability_index": 99.78118396888766,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 16.0
},
"recommendations": [],
"severity": "Low",
"start_line": 1007
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_1039:1039",
"entity_name": "anonymous_function_1039",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 1040,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 1044,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 1047,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 1050,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 1053,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.09132917173223624,
"calculated_length": 93.48686830125577,
"difficulty": 6.352941176470588,
"effort": 1740.6265671320318,
"length": 59.0,
"n1": 8.0,
"n2": 17.0,
"n_1": 32.0,
"n_2": 27.0,
"time": 96.70147595177954,
"vocabulary": 25.0,
"volume": 273.9875151967087
},
"lines_of_code": 20.0,
"maintainability_index": 92.13110795847824,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 11.0,
"technical_debt_score": 17.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1040
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts:anonymous_function_1042:1042",
"entity_name": "anonymous_function_1042",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-client-v2.e2e.test.ts",
"issues": [],
"line_number": 1043,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 1044,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 1047,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 1050,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 1053,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07027707876446018,
"calculated_length": 72.10571633583419,
"difficulty": 6.153846153846154,
"effort": 1297.4229925746495,
"length": 48.0,
"n1": 8.0,
"n2": 13.0,
"n_1": 28.0,
"n_2": 20.0,
"time": 72.07905514303609,
"vocabulary": 21.0,
"volume": 210.83123629338053
},
"lines_of_code": 14.0,
"maintainability_index": 99.27176973589522,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 16.0
},
"recommendations": [],
"severity": "Low",
"start_line": 1043
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts:tmpCwd:11",
"entity_name": "tmpCwd",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts",
"issues": [],
"line_number": 12,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 52.303762523798156,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 2.905764584655453,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 12
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts:anonymous_function_19:19",
"entity_name": "anonymous_function_19",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts",
"issues": [],
"line_number": 20,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 14,
"kind": "LogicalAnd",
"line": 59,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 66,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 73,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 79,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 79,
"nesting_level": 1
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 83,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.7017340185324973,
"calculated_length": 465.1613704978132,
"difficulty": 11.598591549295776,
"effort": 24417.378771613166,
"length": 333.0,
"n1": 9.0,
"n2": 71.0,
"n_1": 150.0,
"n_2": 183.0,
"time": 1356.5210428673981,
"vocabulary": 80.0,
"volume": 2105.202055597492
},
"lines_of_code": 83.0,
"maintainability_index": 58.013515158125415,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 34.0,
"technical_debt_score": 36.199999999999996
},
"recommendations": [],
"severity": "Low",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts:anonymous_function_22:22",
"entity_name": "anonymous_function_22",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts",
"issues": [],
"line_number": 23,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 23
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts:anonymous_function_26:26",
"entity_name": "anonymous_function_26",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts",
"issues": [],
"line_number": 27,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 27
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts:anonymous_function_30:30",
"entity_name": "anonymous_function_30",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts",
"issues": [],
"line_number": 31,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 14,
"kind": "LogicalAnd",
"line": 59,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 66,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 73,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 79,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 79,
"nesting_level": 1
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 83,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.5199279732596798,
"calculated_length": 327.57978409184955,
"difficulty": 10.79245283018868,
"effort": 16833.894379502086,
"length": 263.0,
"n1": 8.0,
"n2": 53.0,
"n_1": 120.0,
"n_2": 143.0,
"time": 935.2163544167826,
"vocabulary": 61.0,
"volume": 1559.7839197790393
},
"lines_of_code": 55.0,
"maintainability_index": 66.23922899525832,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 23.0,
"technical_debt_score": 30.600000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts:anonymous_function_58:58",
"entity_name": "anonymous_function_58",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts",
"issues": [],
"line_number": 59,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 14,
"kind": "LogicalAnd",
"line": 59,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.016906266674359,
"calculated_length": 21.651484454403228,
"difficulty": 1.2857142857142858,
"effort": 65.20988574395614,
"length": 16.0,
"n1": 2.0,
"n2": 7.0,
"n_1": 7.0,
"n_2": 9.0,
"time": 3.6227714302197853,
"vocabulary": 9.0,
"volume": 50.718800023076994
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 59
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts:anonymous_function_64:64",
"entity_name": "anonymous_function_64",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts",
"issues": [],
"line_number": 65,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalAnd",
"line": 66,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.016,
"calculated_length": 17.509775004326936,
"difficulty": 1.5,
"effort": 72.0,
"length": 16.0,
"n1": 2.0,
"n2": 6.0,
"n_1": 7.0,
"n_2": 9.0,
"time": 4.0,
"vocabulary": 8.0,
"volume": 48.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 65
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts:anonymous_function_71:71",
"entity_name": "anonymous_function_71",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts",
"issues": [],
"line_number": 72,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalAnd",
"line": 73,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.016,
"calculated_length": 17.509775004326936,
"difficulty": 1.5,
"effort": 72.0,
"length": 16.0,
"n1": 2.0,
"n2": 6.0,
"n_1": 7.0,
"n_2": 9.0,
"time": 4.0,
"vocabulary": 8.0,
"volume": 48.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 72
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts:anonymous_function_77:77",
"entity_name": "anonymous_function_77",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts",
"issues": [],
"line_number": 78,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 79,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 79,
"nesting_level": 1
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 83,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05837895002019237,
"calculated_length": 59.715356810271004,
"difficulty": 4.230769230769231,
"effort": 740.963596410134,
"length": 42.0,
"n1": 5.0,
"n2": 13.0,
"n_1": 20.0,
"n_2": 22.0,
"time": 41.164644245007445,
"vocabulary": 18.0,
"volume": 175.1368500605771
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 12.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 78
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts:anonymous_function_88:88",
"entity_name": "anonymous_function_88",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-basics.e2e.test.ts",
"issues": [],
"line_number": 89,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0603141594140935,
"calculated_length": 88.71062275542812,
"difficulty": 2.736842105263158,
"effort": 495.21099308413613,
"length": 40.0,
"n1": 4.0,
"n2": 19.0,
"n_1": 14.0,
"n_2": 26.0,
"time": 27.511721838007563,
"vocabulary": 23.0,
"volume": 180.94247824228052
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 89
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-configs.ts:getFullAccessConfig:40",
"entity_name": "getFullAccessConfig",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-configs.ts",
"issues": [],
"line_number": 41,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 27,
"kind": "ConditionalExpression",
"line": 43,
"nesting_level": 0
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 47,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.048981851742056784,
"calculated_length": 68.81274391313339,
"difficulty": 4.928571428571429,
"effort": 724.2316650432681,
"length": 34.0,
"n1": 6.0,
"n2": 14.0,
"n_1": 11.0,
"n_2": 23.0,
"time": 40.23509250240378,
"vocabulary": 20.0,
"volume": 146.94555522617034
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 41
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-configs.ts:getAskModeConfig:54",
"entity_name": "getAskModeConfig",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-configs.ts",
"issues": [],
"line_number": 55,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 27,
"kind": "ConditionalExpression",
"line": 57,
"nesting_level": 0
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 61,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.048981851742056784,
"calculated_length": 68.81274391313339,
"difficulty": 4.928571428571429,
"effort": 724.2316650432681,
"length": 34.0,
"n1": 6.0,
"n2": 14.0,
"n_1": 11.0,
"n_2": 23.0,
"time": 40.23509250240378,
"vocabulary": 20.0,
"volume": 146.94555522617034
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 55
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:tmpCwd:11",
"entity_name": "tmpCwd",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [],
"line_number": 12,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 52.303762523798156,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 2.905764584655453,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 12
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_19:19",
"entity_name": "anonymous_function_19",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [
{
"description": "Cyclomatic complexity of 21.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_19:19",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:20",
"metric_value": 21.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 45.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_19:19",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:20",
"metric_value": 45.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 20,
"metrics": {
"cognitive_complexity": 45.0,
"cyclomatic_complexity": 21.0,
"decision_points": [
{
"column": 13,
"kind": "For",
"line": 157,
"nesting_level": 0
},
{
"column": 15,
"kind": "If",
"line": 159,
"nesting_level": 1
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 159,
"nesting_level": 2
},
{
"column": 17,
"kind": "If",
"line": 160,
"nesting_level": 2
},
{
"column": 15,
"kind": "For",
"line": 207,
"nesting_level": 0
},
{
"column": 17,
"kind": "If",
"line": 209,
"nesting_level": 1
},
{
"column": 21,
"kind": "LogicalAnd",
"line": 209,
"nesting_level": 2
},
{
"column": 19,
"kind": "If",
"line": 210,
"nesting_level": 2
},
{
"column": 21,
"kind": "LogicalOr",
"line": 211,
"nesting_level": 3
},
{
"column": 9,
"kind": "Try",
"line": 238,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 244,
"nesting_level": 1
},
{
"column": 11,
"kind": "Catch",
"line": 249,
"nesting_level": 1
},
{
"column": 15,
"kind": "For",
"line": 296,
"nesting_level": 0
},
{
"column": 17,
"kind": "If",
"line": 298,
"nesting_level": 1
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 299,
"nesting_level": 2
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 299,
"nesting_level": 2
},
{
"column": 15,
"kind": "For",
"line": 345,
"nesting_level": 0
},
{
"column": 17,
"kind": "If",
"line": 347,
"nesting_level": 1
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 348,
"nesting_level": 2
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 348,
"nesting_level": 2
}
],
"halstead": {
"bugs": 3.4100161470760444,
"calculated_length": 1212.6007171461101,
"difficulty": 36.313291139240505,
"effort": 371486.7274148507,
"length": 1376.0,
"n1": 15.0,
"n2": 158.0,
"n_1": 611.0,
"n_2": 765.0,
"time": 20638.15152304726,
"vocabulary": 173.0,
"volume": 10230.048441228133
},
"lines_of_code": 435.0,
"maintainability_index": 19.737354406796968,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 182.0,
"technical_debt_score": 96.0
},
"recommendations": [],
"severity": "High",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_22:22",
"entity_name": "anonymous_function_22",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [],
"line_number": 23,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 23
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_26:26",
"entity_name": "anonymous_function_26",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [],
"line_number": 27,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 27
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_30:30",
"entity_name": "anonymous_function_30",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [],
"line_number": 31,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.50911144816705,
"calculated_length": 300.903332914983,
"difficulty": 7.303921568627451,
"effort": 11155.530261307418,
"length": 263.0,
"n1": 5.0,
"n2": 51.0,
"n_1": 114.0,
"n_2": 149.0,
"time": 619.7516811837454,
"vocabulary": 56.0,
"volume": 1527.3343445011499
},
"lines_of_code": 89.0,
"maintainability_index": 59.93143878109572,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 29.0,
"technical_debt_score": 19.8
},
"recommendations": [],
"severity": "Low",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_33:33",
"entity_name": "anonymous_function_33",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [],
"line_number": 34,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.2446615415442258,
"calculated_length": 197.72694052636004,
"difficulty": 5.277777777777778,
"effort": 3873.8077411169083,
"length": 137.0,
"n1": 5.0,
"n2": 36.0,
"n_1": 61.0,
"n_2": 76.0,
"time": 215.21154117316158,
"vocabulary": 41.0,
"volume": 733.9846246326774
},
"lines_of_code": 45.0,
"maintainability_index": 74.78992964437425,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 15.0,
"technical_debt_score": 11.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_51:51",
"entity_name": "anonymous_function_51",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [],
"line_number": 52,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 52
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_84:84",
"entity_name": "anonymous_function_84",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [],
"line_number": 85,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.21235165305808076,
"calculated_length": 224.4867642699313,
"difficulty": 4.1875,
"effort": 2667.66764154214,
"length": 116.0,
"n1": 5.0,
"n2": 40.0,
"n_1": 49.0,
"n_2": 67.0,
"time": 148.2037578634522,
"vocabulary": 45.0,
"volume": 637.0549591742423
},
"lines_of_code": 32.0,
"maintainability_index": 81.04942753870192,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 8.4
},
"recommendations": [],
"severity": "Low",
"start_line": 85
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_101:101",
"entity_name": "anonymous_function_101",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [],
"line_number": 102,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 102
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_122:122",
"entity_name": "anonymous_function_122",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [
{
"description": "Cognitive complexity of 27.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_122:122",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:123",
"metric_value": 27.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 123,
"metrics": {
"cognitive_complexity": 27.0,
"cyclomatic_complexity": 13.0,
"decision_points": [
{
"column": 13,
"kind": "For",
"line": 157,
"nesting_level": 0
},
{
"column": 15,
"kind": "If",
"line": 159,
"nesting_level": 1
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 159,
"nesting_level": 2
},
{
"column": 17,
"kind": "If",
"line": 160,
"nesting_level": 2
},
{
"column": 15,
"kind": "For",
"line": 207,
"nesting_level": 0
},
{
"column": 17,
"kind": "If",
"line": 209,
"nesting_level": 1
},
{
"column": 21,
"kind": "LogicalAnd",
"line": 209,
"nesting_level": 2
},
{
"column": 19,
"kind": "If",
"line": 210,
"nesting_level": 2
},
{
"column": 21,
"kind": "LogicalOr",
"line": 211,
"nesting_level": 3
},
{
"column": 9,
"kind": "Try",
"line": 238,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 244,
"nesting_level": 1
},
{
"column": 11,
"kind": "Catch",
"line": 249,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.8162600335011795,
"calculated_length": 619.1394430729671,
"difficulty": 17.586206896551722,
"effort": 43064.75349161395,
"length": 367.0,
"n1": 15.0,
"n2": 87.0,
"n_1": 163.0,
"n_2": 204.0,
"time": 2392.486305089664,
"vocabulary": 102.0,
"volume": 2448.7801005035385
},
"lines_of_code": 135.0,
"maintainability_index": 47.96715323014985,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 60.0,
"technical_debt_score": 67.60000000000001
},
"recommendations": [],
"severity": "High",
"start_line": 123
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_125:125",
"entity_name": "anonymous_function_125",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [
{
"description": "Cognitive complexity of 27.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_125:125",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:126",
"metric_value": 27.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 126,
"metrics": {
"cognitive_complexity": 27.0,
"cyclomatic_complexity": 13.0,
"decision_points": [
{
"column": 13,
"kind": "For",
"line": 157,
"nesting_level": 0
},
{
"column": 15,
"kind": "If",
"line": 159,
"nesting_level": 1
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 159,
"nesting_level": 2
},
{
"column": 17,
"kind": "If",
"line": 160,
"nesting_level": 2
},
{
"column": 15,
"kind": "For",
"line": 207,
"nesting_level": 0
},
{
"column": 17,
"kind": "If",
"line": 209,
"nesting_level": 1
},
{
"column": 21,
"kind": "LogicalAnd",
"line": 209,
"nesting_level": 2
},
{
"column": 19,
"kind": "If",
"line": 210,
"nesting_level": 2
},
{
"column": 21,
"kind": "LogicalOr",
"line": 211,
"nesting_level": 3
},
{
"column": 9,
"kind": "Try",
"line": 238,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 244,
"nesting_level": 1
},
{
"column": 11,
"kind": "Catch",
"line": 249,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.7999423654896062,
"calculated_length": 595.5580224475436,
"difficulty": 17.94642857142857,
"effort": 43068.32557055647,
"length": 362.0,
"n1": 15.0,
"n2": 84.0,
"n_1": 161.0,
"n_2": 201.0,
"time": 2392.6847539198043,
"vocabulary": 99.0,
"volume": 2399.8270964688186
},
"lines_of_code": 129.0,
"maintainability_index": 48.80864880220629,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 59.0,
"technical_debt_score": 67.60000000000001
},
"recommendations": [],
"severity": "High",
"start_line": 126
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_149:149",
"entity_name": "anonymous_function_149",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [],
"line_number": 150,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 13,
"kind": "For",
"line": 157,
"nesting_level": 0
},
{
"column": 15,
"kind": "If",
"line": 159,
"nesting_level": 1
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 159,
"nesting_level": 2
},
{
"column": 17,
"kind": "If",
"line": 160,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.18123115217887925,
"calculated_length": 209.48455594748285,
"difficulty": 10.0,
"effort": 5436.934565366378,
"length": 99.0,
"n1": 12.0,
"n2": 33.0,
"n_1": 44.0,
"n_2": 55.0,
"time": 302.0519202981321,
"vocabulary": 45.0,
"volume": 543.6934565366378
},
"lines_of_code": 33.0,
"maintainability_index": 80.45497244135372,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 21.0,
"technical_debt_score": 23.799999999999997
},
"recommendations": [],
"severity": "Low",
"start_line": 150
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_150:150",
"entity_name": "anonymous_function_150",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [],
"line_number": 151,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 151
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_154:154",
"entity_name": "anonymous_function_154",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [],
"line_number": 155,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 13,
"kind": "For",
"line": 157,
"nesting_level": 0
},
{
"column": 15,
"kind": "If",
"line": 159,
"nesting_level": 1
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 159,
"nesting_level": 2
},
{
"column": 17,
"kind": "If",
"line": 160,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.09743252743760854,
"calculated_length": 124.49230970275752,
"difficulty": 8.25,
"effort": 2411.4550540808114,
"length": 59.0,
"n1": 11.0,
"n2": 20.0,
"n_1": 29.0,
"n_2": 30.0,
"time": 133.96972522671174,
"vocabulary": 31.0,
"volume": 292.2975823128256
},
"lines_of_code": 13.0,
"maintainability_index": 98.77340392480573,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 19.799999999999997
},
"recommendations": [],
"severity": "Low",
"start_line": 155
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_171:171",
"entity_name": "anonymous_function_171",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [],
"line_number": 172,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 20.67970000576925,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 1.1488722225427361,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 172
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_178:178",
"entity_name": "anonymous_function_178",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [],
"line_number": 179,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006191808253032966,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 24.76723301213186,
"length": 8.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 1.3759573895628812,
"vocabulary": 5.0,
"volume": 18.575424759098897
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 179
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_194:194",
"entity_name": "anonymous_function_194",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [],
"line_number": 195,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 15,
"kind": "For",
"line": 207,
"nesting_level": 0
},
{
"column": 17,
"kind": "If",
"line": 209,
"nesting_level": 1
},
{
"column": 21,
"kind": "LogicalAnd",
"line": 209,
"nesting_level": 2
},
{
"column": 19,
"kind": "If",
"line": 210,
"nesting_level": 2
},
{
"column": 21,
"kind": "LogicalOr",
"line": 211,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.1720756750680247,
"calculated_length": 178.93519666370983,
"difficulty": 10.241379310344827,
"effort": 5286.876775365863,
"length": 97.0,
"n1": 11.0,
"n2": 29.0,
"n_1": 43.0,
"n_2": 54.0,
"time": 293.7153764092146,
"vocabulary": 40.0,
"volume": 516.2270252040742
},
"lines_of_code": 29.0,
"maintainability_index": 82.58776502596805,
"max_nesting_depth": 3.0,
"parameter_count": 2.0,
"statement_count": 15.0,
"technical_debt_score": 28.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 195
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_195:195",
"entity_name": "anonymous_function_195",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [],
"line_number": 196,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 196
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_204:204",
"entity_name": "anonymous_function_204",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [],
"line_number": 205,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 15,
"kind": "For",
"line": 207,
"nesting_level": 0
},
{
"column": 17,
"kind": "If",
"line": 209,
"nesting_level": 1
},
{
"column": 21,
"kind": "LogicalAnd",
"line": 209,
"nesting_level": 2
},
{
"column": 19,
"kind": "If",
"line": 210,
"nesting_level": 2
},
{
"column": 21,
"kind": "LogicalOr",
"line": 211,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.11559791390902707,
"calculated_length": 125.4579468272276,
"difficulty": 8.571428571428571,
"effort": 2972.5177862321248,
"length": 70.0,
"n1": 10.0,
"n2": 21.0,
"n_1": 34.0,
"n_2": 36.0,
"time": 165.13987701289582,
"vocabulary": 31.0,
"volume": 346.7937417270812
},
"lines_of_code": 16.0,
"maintainability_index": 94.29066566505129,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 25.6
},
"recommendations": [],
"severity": "Low",
"start_line": 205
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_260:260",
"entity_name": "anonymous_function_260",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [],
"line_number": 261,
"metrics": {
"cognitive_complexity": 18.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 15,
"kind": "For",
"line": 296,
"nesting_level": 0
},
{
"column": 17,
"kind": "If",
"line": 298,
"nesting_level": 1
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 299,
"nesting_level": 2
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 299,
"nesting_level": 2
},
{
"column": 15,
"kind": "For",
"line": 345,
"nesting_level": 0
},
{
"column": 17,
"kind": "If",
"line": 347,
"nesting_level": 1
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 348,
"nesting_level": 2
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 348,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.75866871701186,
"calculated_length": 464.50773752634757,
"difficulty": 17.304347826086957,
"effort": 39384.80209183308,
"length": 359.0,
"n1": 12.0,
"n2": 69.0,
"n_1": 160.0,
"n_2": 199.0,
"time": 2188.0445606573935,
"vocabulary": 81.0,
"volume": 2276.00615103558
},
"lines_of_code": 110.0,
"maintainability_index": 52.58529508556889,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 48.0,
"technical_debt_score": 52.400000000000006
},
"recommendations": [],
"severity": "Moderate",
"start_line": 261
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_263:263",
"entity_name": "anonymous_function_263",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [],
"line_number": 264,
"metrics": {
"cognitive_complexity": 18.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 15,
"kind": "For",
"line": 296,
"nesting_level": 0
},
{
"column": 17,
"kind": "If",
"line": 298,
"nesting_level": 1
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 299,
"nesting_level": 2
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 299,
"nesting_level": 2
},
{
"column": 15,
"kind": "For",
"line": 345,
"nesting_level": 0
},
{
"column": 17,
"kind": "If",
"line": 347,
"nesting_level": 1
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 348,
"nesting_level": 2
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 348,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.7416774618257453,
"calculated_length": 441.9495618863118,
"difficulty": 17.81818181818182,
"effort": 39646.03159577621,
"length": 354.0,
"n1": 12.0,
"n2": 66.0,
"n_1": 158.0,
"n_2": 196.0,
"time": 2202.557310876456,
"vocabulary": 78.0,
"volume": 2225.032385477236
},
"lines_of_code": 104.0,
"maintainability_index": 53.611728335131346,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 47.0,
"technical_debt_score": 52.400000000000006
},
"recommendations": [],
"severity": "Moderate",
"start_line": 264
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_288:288",
"entity_name": "anonymous_function_288",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [],
"line_number": 289,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 15,
"kind": "For",
"line": 296,
"nesting_level": 0
},
{
"column": 17,
"kind": "If",
"line": 298,
"nesting_level": 1
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 299,
"nesting_level": 2
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 299,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.1391822584300392,
"calculated_length": 172.65968562262316,
"difficulty": 8.839285714285715,
"effort": 3690.8152458680047,
"length": 79.0,
"n1": 11.0,
"n2": 28.0,
"n_1": 34.0,
"n_2": 45.0,
"time": 205.04529143711136,
"vocabulary": 39.0,
"volume": 417.54677529011764
},
"lines_of_code": 23.0,
"maintainability_index": 87.67613151382855,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 13.0,
"technical_debt_score": 21.8
},
"recommendations": [],
"severity": "Low",
"start_line": 289
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_289:289",
"entity_name": "anonymous_function_289",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [],
"line_number": 290,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 290
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_293:293",
"entity_name": "anonymous_function_293",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [],
"line_number": 294,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 15,
"kind": "For",
"line": 296,
"nesting_level": 0
},
{
"column": 17,
"kind": "If",
"line": 298,
"nesting_level": 1
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 299,
"nesting_level": 2
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 299,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.09977344211070655,
"calculated_length": 119.65784284662087,
"difficulty": 8.0,
"effort": 2394.562610656957,
"length": 61.0,
"n1": 10.0,
"n2": 20.0,
"n_1": 29.0,
"n_2": 32.0,
"time": 133.03125614760873,
"vocabulary": 30.0,
"volume": 299.32032633211963
},
"lines_of_code": 15.0,
"maintainability_index": 96.3317122497703,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 20.2
},
"recommendations": [],
"severity": "Low",
"start_line": 294
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_337:337",
"entity_name": "anonymous_function_337",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [],
"line_number": 338,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 15,
"kind": "For",
"line": 345,
"nesting_level": 0
},
{
"column": 17,
"kind": "If",
"line": 347,
"nesting_level": 1
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 348,
"nesting_level": 2
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 348,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.1391822584300392,
"calculated_length": 172.65968562262316,
"difficulty": 8.839285714285715,
"effort": 3690.8152458680047,
"length": 79.0,
"n1": 11.0,
"n2": 28.0,
"n_1": 34.0,
"n_2": 45.0,
"time": 205.04529143711136,
"vocabulary": 39.0,
"volume": 417.54677529011764
},
"lines_of_code": 23.0,
"maintainability_index": 87.67613151382855,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 13.0,
"technical_debt_score": 21.8
},
"recommendations": [],
"severity": "Low",
"start_line": 338
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_338:338",
"entity_name": "anonymous_function_338",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [],
"line_number": 339,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 339
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_342:342",
"entity_name": "anonymous_function_342",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [],
"line_number": 343,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 15,
"kind": "For",
"line": 345,
"nesting_level": 0
},
{
"column": 17,
"kind": "If",
"line": 347,
"nesting_level": 1
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 348,
"nesting_level": 2
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 348,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.09977344211070655,
"calculated_length": 119.65784284662087,
"difficulty": 8.0,
"effort": 2394.562610656957,
"length": 61.0,
"n1": 10.0,
"n2": 20.0,
"n_1": 29.0,
"n_2": 32.0,
"time": 133.03125614760873,
"vocabulary": 30.0,
"volume": 299.32032633211963
},
"lines_of_code": 15.0,
"maintainability_index": 96.3317122497703,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 20.2
},
"recommendations": [],
"severity": "Low",
"start_line": 343
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_373:373",
"entity_name": "anonymous_function_373",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [],
"line_number": 374,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.6775247409067204,
"calculated_length": 297.7025844930631,
"difficulty": 11.76,
"effort": 23903.072859189095,
"length": 350.0,
"n1": 6.0,
"n2": 50.0,
"n_1": 154.0,
"n_2": 196.0,
"time": 1327.9484921771718,
"vocabulary": 56.0,
"volume": 2032.5742227201613
},
"lines_of_code": 78.0,
"maintainability_index": 60.58261354239538,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 36.0,
"technical_debt_score": 17.600000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 374
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_376:376",
"entity_name": "anonymous_function_376",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [],
"line_number": 377,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.6587108522747678,
"calculated_length": 276.57545103317585,
"difficulty": 12.319148936170214,
"effort": 24344.271285133444,
"length": 345.0,
"n1": 6.0,
"n2": 47.0,
"n_1": 152.0,
"n_2": 193.0,
"time": 1352.459515840747,
"vocabulary": 53.0,
"volume": 1976.1325568243035
},
"lines_of_code": 72.0,
"maintainability_index": 62.025744682691055,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 35.0,
"technical_debt_score": 16.4
},
"recommendations": [],
"severity": "Low",
"start_line": 377
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_416:416",
"entity_name": "anonymous_function_416",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [],
"line_number": 417,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 417
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_420:420",
"entity_name": "anonymous_function_420",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [],
"line_number": 421,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006191808253032966,
"calculated_length": 6.754887502163468,
"difficulty": 1.6666666666666667,
"effort": 30.95904126516483,
"length": 8.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.7199467369536017,
"vocabulary": 5.0,
"volume": 18.575424759098897
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 421
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_421:421",
"entity_name": "anonymous_function_421",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [],
"line_number": 422,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006191808253032966,
"calculated_length": 6.754887502163468,
"difficulty": 1.6666666666666667,
"effort": 30.95904126516483,
"length": 8.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.7199467369536017,
"vocabulary": 5.0,
"volume": 18.575424759098897
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 422
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts:anonymous_function_441:441",
"entity_name": "anonymous_function_441",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/agent-operations.e2e.test.ts",
"issues": [],
"line_number": 442,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006191808253032966,
"calculated_length": 6.754887502163468,
"difficulty": 1.6666666666666667,
"effort": 30.95904126516483,
"length": 8.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.7199467369536017,
"vocabulary": 5.0,
"volume": 18.575424759098897
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 442
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:tmpCwd:17",
"entity_name": "tmpCwd",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts",
"issues": [],
"line_number": 18,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.015502331109474358,
"calculated_length": 24.406371956566694,
"difficulty": 1.7142857142857142,
"effort": 79.7262742772967,
"length": 14.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 4.4292374598498165,
"vocabulary": 10.0,
"volume": 46.50699332842307
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 18
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:hasGitHubCliAuth:21",
"entity_name": "hasGitHubCliAuth",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts",
"issues": [],
"line_number": 22,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 23,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 26,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.01553483750312501,
"calculated_length": 31.26112492884004,
"difficulty": 2.5,
"effort": 116.51128127343756,
"length": 13.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 7.0,
"time": 6.47284895963542,
"vocabulary": 12.0,
"volume": 46.60451250937503
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 9.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 22
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:getStructuredContent:44",
"entity_name": "getStructuredContent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts",
"issues": [],
"line_number": 45,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 46,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 46,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 50,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 50,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 50,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 53,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 53,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07787867107979907,
"calculated_length": 62.6710344630571,
"difficulty": 8.458333333333332,
"effort": 1976.1712786499008,
"length": 55.0,
"n1": 7.0,
"n2": 12.0,
"n_1": 26.0,
"n_2": 29.0,
"time": 109.78729325832782,
"vocabulary": 19.0,
"volume": 233.6360132393972
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 27.200000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 45
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:getToolResultText:58",
"entity_name": "getToolResultText",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts",
"issues": [],
"line_number": 59,
"metrics": {
"cognitive_complexity": 15.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 61,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 64,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 68,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 68,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 69,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 69,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 72,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 73,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.1913687332287322,
"calculated_length": 119.65784284662087,
"difficulty": 13.5,
"effort": 7750.433695763655,
"length": 117.0,
"n1": 10.0,
"n2": 20.0,
"n_1": 63.0,
"n_2": 54.0,
"time": 430.5796497646475,
"vocabulary": 30.0,
"volume": 574.1061996861966
},
"lines_of_code": 22.0,
"maintainability_index": 85.82047739597428,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 34.400000000000006
},
"recommendations": [],
"severity": "Moderate",
"start_line": 59
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:createMcpClient:82",
"entity_name": "createMcpClient",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts",
"issues": [],
"line_number": 83,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.044594316186372975,
"calculated_length": 77.30296890880646,
"difficulty": 5.428571428571429,
"effort": 726.2502921780742,
"length": 30.0,
"n1": 8.0,
"n2": 14.0,
"n_1": 11.0,
"n_2": 19.0,
"time": 40.34723845433746,
"vocabulary": 22.0,
"volume": 133.78294855911892
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 83
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:initGitRepo:89",
"entity_name": "initGitRepo",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts",
"issues": [],
"line_number": 90,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.07363074356635547,
"calculated_length": 68.75488750216347,
"difficulty": 3.5625,
"effort": 786.9285718654241,
"length": 52.0,
"n1": 3.0,
"n2": 16.0,
"n_1": 14.0,
"n_2": 38.0,
"time": 43.718253992523564,
"vocabulary": 19.0,
"volume": 220.89223069906643
},
"lines_of_code": 16.0,
"maintainability_index": 97.78615301855264,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 90
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:createTempRepoName:107",
"entity_name": "createTempRepoName",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts",
"issues": [],
"line_number": 108,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02665148445440323,
"calculated_length": 42.80863530717374,
"difficulty": 1.6363636363636362,
"effort": 130.8345600488886,
"length": 21.0,
"n1": 3.0,
"n2": 11.0,
"n_1": 9.0,
"n_2": 12.0,
"time": 7.2685866693826995,
"vocabulary": 14.0,
"volume": 79.9544533632097
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 108
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:getGhLogin:112",
"entity_name": "getGhLogin",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts",
"issues": [],
"line_number": 113,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014395021744511903,
"calculated_length": 24.406371956566694,
"difficulty": 1.5,
"effort": 64.77759785030356,
"length": 13.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 7.0,
"time": 3.5987554361279757,
"vocabulary": 10.0,
"volume": 43.18506523353571
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 113
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:createPrivateRepo:118",
"entity_name": "createPrivateRepo",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts",
"issues": [],
"line_number": 119,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 13.60964047443681,
"difficulty": 1.2,
"effort": 26.950607251753,
"length": 8.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 2.0,
"n_2": 6.0,
"time": 1.4972559584307221,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 119
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:getGhToken:124",
"entity_name": "getGhToken",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts",
"issues": [],
"line_number": 125,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014395021744511903,
"calculated_length": 24.406371956566694,
"difficulty": 1.5,
"effort": 64.77759785030356,
"length": 13.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 7.0,
"time": 3.5987554361279757,
"vocabulary": 10.0,
"volume": 43.18506523353571
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 125
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:deleteRepoBestEffort:128",
"entity_name": "deleteRepoBestEffort",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts",
"issues": [],
"line_number": 129,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 130,
"nesting_level": 0
},
{
"column": 3,
"kind": "Try",
"line": 133,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 135,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.02213904670844827,
"calculated_length": 43.65148445440323,
"difficulty": 5.142857142857143,
"effort": 341.57386350177336,
"length": 17.0,
"n1": 8.0,
"n2": 7.0,
"n_1": 8.0,
"n_2": 9.0,
"time": 18.97632575009852,
"vocabulary": 15.0,
"volume": 66.41714012534482
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 13.0
},
"recommendations": [],
"severity": "Low",
"start_line": 129
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:anonymous_function_139:139",
"entity_name": "anonymous_function_139",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts",
"issues": [
{
"description": "Cyclomatic complexity of 18.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:anonymous_function_139:139",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:140",
"metric_value": 18.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 32.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:anonymous_function_139:139",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:140",
"metric_value": 32.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 140,
"metrics": {
"cognitive_complexity": 32.0,
"cyclomatic_complexity": 18.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 159,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 198,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 270,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 288,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 312,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 315,
"nesting_level": 1
},
{
"column": 4,
"kind": "Try",
"line": 331,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 358,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 401,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 416,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 440,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 456,
"nesting_level": 0
},
{
"column": 9,
"kind": "Try",
"line": 470,
"nesting_level": 1
},
{
"column": 11,
"kind": "Catch",
"line": 476,
"nesting_level": 2
},
{
"column": 26,
"kind": "ConditionalExpression",
"line": 477,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 481,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 484,
"nesting_level": 1
}
],
"halstead": {
"bugs": 3.680206689032327,
"calculated_length": 1495.3946224906622,
"difficulty": 28.041884816753925,
"effort": 309599.7962270755,
"length": 1439.0,
"n1": 13.0,
"n2": 191.0,
"n_1": 615.0,
"n_2": 824.0,
"time": 17199.988679281974,
"vocabulary": 204.0,
"volume": 11040.620067096981
},
"lines_of_code": 352.0,
"maintainability_index": 23.460625239801587,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 157.0,
"technical_debt_score": 81.60000000000001
},
"recommendations": [],
"severity": "High",
"start_line": 140
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:anonymous_function_142:142",
"entity_name": "anonymous_function_142",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts",
"issues": [],
"line_number": 143,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 143
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:anonymous_function_146:146",
"entity_name": "anonymous_function_146",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts",
"issues": [],
"line_number": 147,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 147
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:anonymous_function_152:152",
"entity_name": "anonymous_function_152",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts",
"issues": [],
"line_number": 153,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 159,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 198,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 270,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 288,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 312,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 315,
"nesting_level": 1
}
],
"halstead": {
"bugs": 1.9337888482440224,
"calculated_length": 984.9096993263518,
"difficulty": 18.511194029850746,
"effort": 107390.22174782009,
"length": 808.0,
"n1": 11.0,
"n2": 134.0,
"n_1": 357.0,
"n_2": 451.0,
"time": 5966.12343043445,
"vocabulary": 145.0,
"volume": 5801.366544732067
},
"lines_of_code": 168.0,
"maintainability_index": 41.31936987796226,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 80.0,
"technical_debt_score": 42.8
},
"recommendations": [],
"severity": "Low",
"start_line": 153
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:anonymous_function_286:286",
"entity_name": "anonymous_function_286",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts",
"issues": [],
"line_number": 287,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 15,
"kind": "LogicalAnd",
"line": 288,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.01310098963626882,
"calculated_length": 13.60964047443681,
"difficulty": 1.6,
"effort": 62.884750254090335,
"length": 14.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 3.493597236338352,
"vocabulary": 7.0,
"volume": 39.302968908806456
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 287
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:anonymous_function_303:303",
"entity_name": "anonymous_function_303",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts",
"issues": [],
"line_number": 304,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006191808253032966,
"calculated_length": 6.754887502163468,
"difficulty": 1.6666666666666667,
"effort": 30.95904126516483,
"length": 8.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.7199467369536017,
"vocabulary": 5.0,
"volume": 18.575424759098897
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 304
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:anonymous_function_309:309",
"entity_name": "anonymous_function_309",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts",
"issues": [],
"line_number": 310,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006191808253032966,
"calculated_length": 6.754887502163468,
"difficulty": 1.6666666666666667,
"effort": 30.95904126516483,
"length": 8.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.7199467369536017,
"vocabulary": 5.0,
"volume": 18.575424759098897
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 310
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:anonymous_function_312:312",
"entity_name": "anonymous_function_312",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts",
"issues": [],
"line_number": 313,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 313
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:anonymous_function_315:315",
"entity_name": "anonymous_function_315",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts",
"issues": [],
"line_number": 316,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 316
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:anonymous_function_326:326",
"entity_name": "anonymous_function_326",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts",
"issues": [],
"line_number": 327,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 4,
"kind": "Try",
"line": 331,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 358,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 401,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.6940365935078266,
"calculated_length": 511.07188864648816,
"difficulty": 11.512987012987013,
"effort": 23971.302862780063,
"length": 324.0,
"n1": 9.0,
"n2": 77.0,
"n_1": 127.0,
"n_2": 197.0,
"time": 1331.7390479322257,
"vocabulary": 86.0,
"volume": 2082.10978052348
},
"lines_of_code": 79.0,
"maintainability_index": 59.56103251388649,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 35.0,
"technical_debt_score": 27.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 327
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:anonymous_function_401:401",
"entity_name": "anonymous_function_401",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts",
"issues": [],
"line_number": 402,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 402
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:anonymous_function_411:411",
"entity_name": "anonymous_function_411",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts",
"issues": [],
"line_number": 412,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 416,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 440,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.24630057954621756,
"calculated_length": 268.7443162330219,
"difficulty": 7.7727272727272725,
"effort": 5743.281695782254,
"length": 129.0,
"n1": 9.0,
"n2": 44.0,
"n_1": 53.0,
"n_2": 76.0,
"time": 319.07120532123633,
"vocabulary": 53.0,
"volume": 738.9017386386527
},
"lines_of_code": 33.0,
"maintainability_index": 79.31971978087655,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 14.0,
"technical_debt_score": 15.0
},
"recommendations": [],
"severity": "Low",
"start_line": 412
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:anonymous_function_440:440",
"entity_name": "anonymous_function_440",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts",
"issues": [],
"line_number": 441,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 441
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:anonymous_function_450:450",
"entity_name": "anonymous_function_450",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts",
"issues": [],
"line_number": 451,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 456,
"nesting_level": 0
},
{
"column": 9,
"kind": "Try",
"line": 470,
"nesting_level": 1
},
{
"column": 11,
"kind": "Catch",
"line": 476,
"nesting_level": 2
},
{
"column": 26,
"kind": "ConditionalExpression",
"line": 477,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 481,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 484,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.27190829817433393,
"calculated_length": 323.22649869747937,
"difficulty": 10.479591836734693,
"effort": 8548.463945664518,
"length": 137.0,
"n1": 13.0,
"n2": 49.0,
"n_1": 58.0,
"n_2": 79.0,
"time": 474.9146636480288,
"vocabulary": 62.0,
"volume": 815.7248945230018
},
"lines_of_code": 38.0,
"maintainability_index": 75.59990298534649,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 19.0,
"technical_debt_score": 32.0
},
"recommendations": [],
"severity": "Low",
"start_line": 451
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:anonymous_function_481:481",
"entity_name": "anonymous_function_481",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts",
"issues": [],
"line_number": 482,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 482
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts:anonymous_function_484:484",
"entity_name": "anonymous_function_484",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/checkout-ship.e2e.test.ts",
"issues": [],
"line_number": 485,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 485
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:createCapturingLogger:12",
"entity_name": "createCapturingLogger",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts",
"issues": [],
"line_number": 13,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.046080793392585404,
"calculated_length": 81.09650877569258,
"difficulty": 3.088235294117647,
"effort": 426.92499760777656,
"length": 31.0,
"n1": 5.0,
"n2": 17.0,
"n_1": 10.0,
"n_2": 21.0,
"time": 23.718055422654253,
"vocabulary": 22.0,
"volume": 138.24238017775622
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 13
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:write:15",
"entity_name": "write",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts",
"issues": [],
"line_number": 16,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.019603445838944685,
"calculated_length": 28.75488750216347,
"difficulty": 1.875,
"effort": 110.26938284406386,
"length": 17.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 7.0,
"n_2": 10.0,
"time": 6.126076824670214,
"vocabulary": 11.0,
"volume": 58.81033751683405
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 16
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:parseOfferUrlFromLogs:24",
"entity_name": "parseOfferUrlFromLogs",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts",
"issues": [],
"line_number": 25,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 27,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 29,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 29,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 32,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.061918082530329654,
"calculated_length": 91.12526634448807,
"difficulty": 11.375,
"effort": 2112.9545663474996,
"length": 40.0,
"n1": 13.0,
"n2": 12.0,
"n_1": 19.0,
"n_2": 21.0,
"time": 117.38636479708332,
"vocabulary": 25.0,
"volume": 185.75424759098897
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 18.8
},
"recommendations": [],
"severity": "Low",
"start_line": 25
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:decodeOfferFromFragmentUrl:38",
"entity_name": "decodeOfferFromFragmentUrl",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts",
"issues": [],
"line_number": 39,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 42,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07934702292041701,
"calculated_length": 113.92990370430175,
"difficulty": 7.631578947368421,
"effort": 1816.629208967442,
"length": 49.0,
"n1": 10.0,
"n2": 19.0,
"n_1": 20.0,
"n_2": 29.0,
"time": 100.92384494263567,
"vocabulary": 29.0,
"volume": 238.041068761251
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 39
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:getAvailablePort:49",
"entity_name": "getAvailablePort",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts",
"issues": [],
"line_number": 50,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 56,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 56,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09614709844115209,
"calculated_length": 109.23994776840892,
"difficulty": 7.342105263157895,
"effort": 2117.7663525064286,
"length": 60.0,
"n1": 9.0,
"n2": 19.0,
"n_1": 29.0,
"n_2": 31.0,
"time": 117.65368625035714,
"vocabulary": 28.0,
"volume": 288.44129532345625
},
"lines_of_code": 13.0,
"maintainability_index": 99.30246417841522,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 10.999999999999998
},
"recommendations": [],
"severity": "Low",
"start_line": 50
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:anonymous_function_50:50",
"entity_name": "anonymous_function_50",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts",
"issues": [],
"line_number": 51,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 56,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 56,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08513736347920328,
"calculated_length": 92.5293250129808,
"difficulty": 7.875,
"effort": 2011.3702121961774,
"length": 55.0,
"n1": 9.0,
"n2": 16.0,
"n_1": 27.0,
"n_2": 28.0,
"time": 111.74278956645429,
"vocabulary": 25.0,
"volume": 255.41209043760983
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 8.0,
"technical_debt_score": 10.6
},
"recommendations": [],
"severity": "Low",
"start_line": 51
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:anonymous_function_53:53",
"entity_name": "anonymous_function_53",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts",
"issues": [],
"line_number": 54,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 56,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 56,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04955915432350849,
"calculated_length": 61.74860596185444,
"difficulty": 7.2,
"effort": 1070.4777333877835,
"length": 35.0,
"n1": 9.0,
"n2": 10.0,
"n_1": 19.0,
"n_2": 16.0,
"time": 59.47098518821019,
"vocabulary": 19.0,
"volume": 148.67746297052548
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 9.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 54
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:anonymous_function_56:56",
"entity_name": "anonymous_function_56",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts",
"issues": [],
"line_number": 57,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 57
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:anonymous_function_59:59",
"entity_name": "anonymous_function_59",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts",
"issues": [],
"line_number": 60,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 60
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:anonymous_function_64:64",
"entity_name": "anonymous_function_64",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts",
"issues": [],
"line_number": 65,
"metrics": {
"cognitive_complexity": 15.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 83,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 133,
"nesting_level": 0
},
{
"column": 15,
"kind": "If",
"line": 144,
"nesting_level": 1
},
{
"column": 15,
"kind": "If",
"line": 145,
"nesting_level": 1
},
{
"column": 15,
"kind": "If",
"line": 147,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 161,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 161,
"nesting_level": 2
},
{
"column": 9,
"kind": "Catch",
"line": 175,
"nesting_level": 1
}
],
"halstead": {
"bugs": 1.073317032219376,
"calculated_length": 876.2364181902265,
"difficulty": 20.22844827586207,
"effort": 65134.61420955429,
"length": 455.0,
"n1": 19.0,
"n2": 116.0,
"n_1": 208.0,
"n_2": 247.0,
"time": 3618.589678308572,
"vocabulary": 135.0,
"volume": 3219.951096658128
},
"lines_of_code": 121.0,
"maintainability_index": 49.23716161587346,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 64.0,
"technical_debt_score": 50.0
},
"recommendations": [],
"severity": "Moderate",
"start_line": 65
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:anonymous_function_67:67",
"entity_name": "anonymous_function_67",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts",
"issues": [],
"line_number": 68,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 68
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:anonymous_function_71:71",
"entity_name": "anonymous_function_71",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts",
"issues": [],
"line_number": 72,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 83,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.3306255036521833,
"calculated_length": 261.858709465171,
"difficulty": 9.52325581395349,
"effort": 9445.893749690867,
"length": 174.0,
"n1": 9.0,
"n2": 43.0,
"n_1": 83.0,
"n_2": 91.0,
"time": 524.7718749828259,
"vocabulary": 52.0,
"volume": 991.87651095655
},
"lines_of_code": 35.0,
"maintainability_index": 77.06544860788311,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 18.0,
"technical_debt_score": 11.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 72
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:anonymous_function_102:102",
"entity_name": "anonymous_function_102",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts",
"issues": [],
"line_number": 103,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 13.60964047443681,
"difficulty": 1.0,
"effort": 22.458839376460833,
"length": 8.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.2477132986922685,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 103
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:anonymous_function_110:110",
"entity_name": "anonymous_function_110",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts",
"issues": [],
"line_number": 111,
"metrics": {
"cognitive_complexity": 14.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 133,
"nesting_level": 0
},
{
"column": 15,
"kind": "If",
"line": 144,
"nesting_level": 1
},
{
"column": 15,
"kind": "If",
"line": 145,
"nesting_level": 1
},
{
"column": 15,
"kind": "If",
"line": 147,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 161,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 161,
"nesting_level": 2
},
{
"column": 9,
"kind": "Catch",
"line": 175,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.5748255913442383,
"calculated_length": 602.029887134111,
"difficulty": 16.682926829268293,
"effort": 28769.31983996041,
"length": 259.0,
"n1": 19.0,
"n2": 82.0,
"n_1": 115.0,
"n_2": 144.0,
"time": 1598.2955466644673,
"vocabulary": 101.0,
"volume": 1724.4767740327147
},
"lines_of_code": 72.0,
"maintainability_index": 61.12407825886169,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 41.0,
"technical_debt_score": 41.6
},
"recommendations": [],
"severity": "Low",
"start_line": 111
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:anonymous_function_133:133",
"entity_name": "anonymous_function_133",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts",
"issues": [],
"line_number": 134,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 15,
"kind": "If",
"line": 144,
"nesting_level": 1
},
{
"column": 15,
"kind": "If",
"line": 145,
"nesting_level": 1
},
{
"column": 15,
"kind": "If",
"line": 147,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 161,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 161,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.22773814291878314,
"calculated_length": 222.5444556017277,
"difficulty": 10.8,
"effort": 7378.715830568574,
"length": 123.0,
"n1": 12.0,
"n2": 35.0,
"n_1": 60.0,
"n_2": 63.0,
"time": 409.92865725380966,
"vocabulary": 47.0,
"volume": 683.2144287563494
},
"lines_of_code": 32.0,
"maintainability_index": 79.53567281419238,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 24.0,
"technical_debt_score": 27.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 134
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:anonymous_function_134:134",
"entity_name": "anonymous_function_134",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts",
"issues": [],
"line_number": 135,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 19.60964047443681,
"difficulty": 2.0,
"effort": 69.73835003173087,
"length": 11.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 6.0,
"n_2": 5.0,
"time": 3.874352779540604,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 135
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:anonymous_function_139:139",
"entity_name": "anonymous_function_139",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts",
"issues": [],
"line_number": 140,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 15,
"kind": "If",
"line": 144,
"nesting_level": 1
},
{
"column": 15,
"kind": "If",
"line": 145,
"nesting_level": 1
},
{
"column": 15,
"kind": "If",
"line": 147,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09230163890742386,
"calculated_length": 113.92990370430175,
"difficulty": 7.105263157894736,
"effort": 1967.4823030266664,
"length": 57.0,
"n1": 10.0,
"n2": 19.0,
"n_1": 30.0,
"n_2": 27.0,
"time": 109.30457239037035,
"vocabulary": 29.0,
"volume": 276.9049167222716
},
"lines_of_code": 13.0,
"maintainability_index": 99.28471464021027,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 15.4
},
"recommendations": [],
"severity": "Low",
"start_line": 140
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:anonymous_function_155:155",
"entity_name": "anonymous_function_155",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts",
"issues": [],
"line_number": 156,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007754887502163467,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 29.080828133113002,
"length": 9.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 5.0,
"time": 1.6156015629507223,
"vocabulary": 6.0,
"volume": 23.264662506490403
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 156
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts:anonymous_function_159:159",
"entity_name": "anonymous_function_159",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/connection-offer.e2e.test.ts",
"issues": [],
"line_number": 160,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 161,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 161,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.021509775004326936,
"calculated_length": 31.019550008653873,
"difficulty": 4.5,
"effort": 290.38196255841365,
"length": 18.0,
"n1": 6.0,
"n2": 6.0,
"n_1": 9.0,
"n_2": 9.0,
"time": 16.1323312532452,
"vocabulary": 12.0,
"volume": 64.5293250129808
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 11.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 160
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:tmpCwd:11",
"entity_name": "tmpCwd",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts",
"issues": [],
"line_number": 12,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 52.303762523798156,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 2.905764584655453,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 12
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:getAvailablePort:18",
"entity_name": "getAvailablePort",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts",
"issues": [],
"line_number": 19,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 26,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 26,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10140907230924272,
"calculated_length": 119.65784284662087,
"difficulty": 8.0,
"effort": 2433.817735421825,
"length": 62.0,
"n1": 10.0,
"n2": 20.0,
"n_1": 30.0,
"n_2": 32.0,
"time": 135.2120964123236,
"vocabulary": 30.0,
"volume": 304.22721692772814
},
"lines_of_code": 14.0,
"maintainability_index": 97.82484205932568,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 11.2
},
"recommendations": [],
"severity": "Low",
"start_line": 19
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:anonymous_function_20:20",
"entity_name": "anonymous_function_20",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts",
"issues": [],
"line_number": 21,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 26,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 26,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08100100417940709,
"calculated_length": 87.13268394710859,
"difficulty": 8.1,
"effort": 1968.3244015595922,
"length": 53.0,
"n1": 9.0,
"n2": 15.0,
"n_1": 26.0,
"n_2": 27.0,
"time": 109.35135564219956,
"vocabulary": 24.0,
"volume": 243.00301253822127
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 8.0,
"technical_debt_score": 10.6
},
"recommendations": [],
"severity": "Low",
"start_line": 21
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:anonymous_function_23:23",
"entity_name": "anonymous_function_23",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts",
"issues": [],
"line_number": 24,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 26,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 26,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04955915432350849,
"calculated_length": 61.74860596185444,
"difficulty": 7.2,
"effort": 1070.4777333877835,
"length": 35.0,
"n1": 9.0,
"n2": 10.0,
"n_1": 19.0,
"n_2": 16.0,
"time": 59.47098518821019,
"vocabulary": 19.0,
"volume": 148.67746297052548
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 9.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 24
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:anonymous_function_26:26",
"entity_name": "anonymous_function_26",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts",
"issues": [],
"line_number": 27,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 27
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:anonymous_function_29:29",
"entity_name": "anonymous_function_29",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts",
"issues": [],
"line_number": 30,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 30
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:startDaemon:42",
"entity_name": "startDaemon",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts",
"issues": [],
"line_number": 43,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 13,
"kind": "ConditionalExpression",
"line": 63,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2023475899733631,
"calculated_length": 285.06567602884894,
"difficulty": 6.212765957446808,
"effort": 3771.414655673746,
"length": 105.0,
"n1": 8.0,
"n2": 47.0,
"n_1": 32.0,
"n_2": 73.0,
"time": 209.5230364263192,
"vocabulary": 55.0,
"volume": 607.0427699200893
},
"lines_of_code": 39.0,
"maintainability_index": 77.86558523410068,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 12.600000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 43
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:stopDaemon:83",
"entity_name": "stopDaemon",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts",
"issues": [],
"line_number": 84,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03951214079875328,
"calculated_length": 54.62919048309068,
"difficulty": 3.125,
"effort": 370.426319988312,
"length": 29.0,
"n1": 5.0,
"n2": 12.0,
"n_1": 14.0,
"n_2": 15.0,
"time": 20.579239999350666,
"vocabulary": 17.0,
"volume": 118.53642239625984
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 84
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:anonymous_function_86:86",
"entity_name": "anonymous_function_86",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts",
"issues": [],
"line_number": 87,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 87
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:anonymous_function_89:89",
"entity_name": "anonymous_function_89",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts",
"issues": [],
"line_number": 90,
"metrics": {
"cognitive_complexity": 24.0,
"cyclomatic_complexity": 15.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 97,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 101,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 105,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 109,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 157,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 158,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 158,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 163,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 163,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 222,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 223,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 223,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 228,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 228,
"nesting_level": 2
}
],
"halstead": {
"bugs": 1.339434219968116,
"calculated_length": 734.8994784916838,
"difficulty": 16.60576923076923,
"effort": 66727.00666975777,
"length": 587.0,
"n1": 11.0,
"n2": 104.0,
"n_1": 273.0,
"n_2": 314.0,
"time": 3707.055926097654,
"vocabulary": 115.0,
"volume": 4018.302659904348
},
"lines_of_code": 154.0,
"maintainability_index": 42.798570524454476,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 71.0,
"technical_debt_score": 69.2
},
"recommendations": [],
"severity": "High",
"start_line": 90
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:anonymous_function_95:95",
"entity_name": "anonymous_function_95",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts",
"issues": [],
"line_number": 96,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 97,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 101,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 105,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 109,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.09628635697138793,
"calculated_length": 62.6710344630571,
"difficulty": 10.208333333333332,
"effort": 2948.769682248755,
"length": 68.0,
"n1": 7.0,
"n2": 12.0,
"n_1": 33.0,
"n_2": 35.0,
"time": 163.82053790270862,
"vocabulary": 19.0,
"volume": 288.8590709141638
},
"lines_of_code": 17.0,
"maintainability_index": 94.48906141483405,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 16.6
},
"recommendations": [],
"severity": "Low",
"start_line": 96
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:anonymous_function_97:97",
"entity_name": "anonymous_function_97",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts",
"issues": [],
"line_number": 98,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 98
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:anonymous_function_101:101",
"entity_name": "anonymous_function_101",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts",
"issues": [],
"line_number": 102,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 102
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:anonymous_function_105:105",
"entity_name": "anonymous_function_105",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts",
"issues": [],
"line_number": 106,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 106
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:anonymous_function_116:116",
"entity_name": "anonymous_function_116",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts",
"issues": [],
"line_number": 117,
"metrics": {
"cognitive_complexity": 20.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 157,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 158,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 158,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 163,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 163,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 222,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 223,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 223,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 228,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 228,
"nesting_level": 2
}
],
"halstead": {
"bugs": 1.098814919967109,
"calculated_length": 638.2214477622555,
"difficulty": 15.36413043478261,
"effort": 50647.00726217962,
"length": 493.0,
"n1": 11.0,
"n2": 92.0,
"n_1": 236.0,
"n_2": 257.0,
"time": 2813.7226256766457,
"vocabulary": 103.0,
"volume": 3296.4447599013265
},
"lines_of_code": 124.0,
"maintainability_index": 48.25831956687351,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 53.0,
"technical_debt_score": 58.00000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 117
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:anonymous_function_180:180",
"entity_name": "anonymous_function_180",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts",
"issues": [],
"line_number": 181,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 181
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts:anonymous_function_202:202",
"entity_name": "anonymous_function_202",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/daemon-restart-resume.e2e.test.ts",
"issues": [],
"line_number": 203,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 203
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/file-download.e2e.test.ts:tmpCwd:11",
"entity_name": "tmpCwd",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/file-download.e2e.test.ts",
"issues": [],
"line_number": 12,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 52.303762523798156,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 2.905764584655453,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 12
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/file-download.e2e.test.ts:anonymous_function_19:19",
"entity_name": "anonymous_function_19",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/file-download.e2e.test.ts",
"issues": [],
"line_number": 20,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.8568353006269465,
"calculated_length": 517.6501635603944,
"difficulty": 10.189873417721518,
"effort": 26193.12975967184,
"length": 400.0,
"n1": 7.0,
"n2": 79.0,
"n_1": 170.0,
"n_2": 230.0,
"time": 1455.1738755373244,
"vocabulary": 86.0,
"volume": 2570.5059018808392
},
"lines_of_code": 130.0,
"maintainability_index": 51.086280263630385,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 49.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/file-download.e2e.test.ts:anonymous_function_22:22",
"entity_name": "anonymous_function_22",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/file-download.e2e.test.ts",
"issues": [],
"line_number": 23,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 23
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/file-download.e2e.test.ts:anonymous_function_26:26",
"entity_name": "anonymous_function_26",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/file-download.e2e.test.ts",
"issues": [],
"line_number": 27,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 27
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/file-download.e2e.test.ts:anonymous_function_30:30",
"entity_name": "anonymous_function_30",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/file-download.e2e.test.ts",
"issues": [],
"line_number": 31,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.792481250360578,
"calculated_length": 479.1510335109455,
"difficulty": 10.358108108108109,
"effort": 24625.81939465067,
"length": 375.0,
"n1": 7.0,
"n2": 74.0,
"n_1": 156.0,
"n_2": 219.0,
"time": 1368.1010774805927,
"vocabulary": 81.0,
"volume": 2377.4437510817343
},
"lines_of_code": 116.0,
"maintainability_index": 53.338177000575854,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 43.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/file-download.e2e.test.ts:anonymous_function_33:33",
"entity_name": "anonymous_function_33",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/file-download.e2e.test.ts",
"issues": [],
"line_number": 34,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.3163309737368889,
"calculated_length": 315.18942456628633,
"difficulty": 4.386792452830189,
"effort": 4163.034984556227,
"length": 162.0,
"n1": 5.0,
"n2": 53.0,
"n_1": 69.0,
"n_2": 93.0,
"time": 231.27972136423483,
"vocabulary": 58.0,
"volume": 948.9929212106666
},
"lines_of_code": 38.0,
"maintainability_index": 76.19301724769235,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 18.0,
"technical_debt_score": 9.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/file-download.e2e.test.ts:anonymous_function_77:77",
"entity_name": "anonymous_function_77",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/file-download.e2e.test.ts",
"issues": [],
"line_number": 78,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02343611821489358,
"calculated_length": 36.529325012980806,
"difficulty": 2.2222222222222223,
"effort": 156.24078809929057,
"length": 19.0,
"n1": 4.0,
"n2": 9.0,
"n_1": 9.0,
"n_2": 10.0,
"time": 8.68004378329392,
"vocabulary": 13.0,
"volume": 70.30835464468075
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 78
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/file-download.e2e.test.ts:anonymous_function_89:89",
"entity_name": "anonymous_function_89",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/file-download.e2e.test.ts",
"issues": [],
"line_number": 90,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.22354590892295353,
"calculated_length": 290.6305573659721,
"difficulty": 4.163265306122449,
"effort": 2792.042780833624,
"length": 116.0,
"n1": 6.0,
"n2": 49.0,
"n_1": 48.0,
"n_2": 68.0,
"time": 155.1134878240902,
"vocabulary": 55.0,
"volume": 670.6377267688606
},
"lines_of_code": 31.0,
"maintainability_index": 81.29661601580761,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 13.0,
"technical_debt_score": 8.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 90
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/file-download.e2e.test.ts:anonymous_function_111:111",
"entity_name": "anonymous_function_111",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/file-download.e2e.test.ts",
"issues": [],
"line_number": 112,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 112
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/file-download.e2e.test.ts:anonymous_function_126:126",
"entity_name": "anonymous_function_126",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/file-download.e2e.test.ts",
"issues": [],
"line_number": 127,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.09666666666666666,
"calculated_length": 142.6059378176129,
"difficulty": 2.5714285714285716,
"effort": 745.7142857142858,
"length": 58.0,
"n1": 4.0,
"n2": 28.0,
"n_1": 22.0,
"n_2": 36.0,
"time": 41.42857142857143,
"vocabulary": 32.0,
"volume": 290.0
},
"lines_of_code": 17.0,
"maintainability_index": 95.38856302679059,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 127
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts:tmpCwd:11",
"entity_name": "tmpCwd",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts",
"issues": [],
"line_number": 12,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 52.303762523798156,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 2.905764584655453,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 12
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts:anonymous_function_19:19",
"entity_name": "anonymous_function_19",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts",
"issues": [],
"line_number": 20,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 1.149710386435103,
"calculated_length": 556.6061479678191,
"difficulty": 12.166666666666668,
"effort": 41964.42910488127,
"length": 530.0,
"n1": 7.0,
"n2": 84.0,
"n_1": 238.0,
"n_2": 292.0,
"time": 2331.3571724934036,
"vocabulary": 91.0,
"volume": 3449.131159305309
},
"lines_of_code": 132.0,
"maintainability_index": 49.31004512388351,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 59.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts:anonymous_function_22:22",
"entity_name": "anonymous_function_22",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts",
"issues": [],
"line_number": 23,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 23
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts:anonymous_function_26:26",
"entity_name": "anonymous_function_26",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts",
"issues": [],
"line_number": 27,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 27
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts:anonymous_function_30:30",
"entity_name": "anonymous_function_30",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts",
"issues": [],
"line_number": 31,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 1.0731316376100657,
"calculated_length": 498.0523386378343,
"difficulty": 10.948051948051948,
"effort": 35246.102746959165,
"length": 505.0,
"n1": 6.0,
"n2": 77.0,
"n_1": 224.0,
"n_2": 281.0,
"time": 1958.1168192755092,
"vocabulary": 83.0,
"volume": 3219.394912830197
},
"lines_of_code": 118.0,
"maintainability_index": 51.484775814483996,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 53.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts:anonymous_function_33:33",
"entity_name": "anonymous_function_33",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts",
"issues": [],
"line_number": 34,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.512,
"calculated_length": 355.27267272172605,
"difficulty": 7.189655172413794,
"effort": 11043.310344827587,
"length": 256.0,
"n1": 6.0,
"n2": 58.0,
"n_1": 117.0,
"n_2": 139.0,
"time": 613.5172413793103,
"vocabulary": 64.0,
"volume": 1536.0
},
"lines_of_code": 47.0,
"maintainability_index": 70.24553690101745,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 26.0,
"technical_debt_score": 11.4
},
"recommendations": [],
"severity": "Low",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts:anonymous_function_63:63",
"entity_name": "anonymous_function_63",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts",
"issues": [],
"line_number": 64,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 64
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts:anonymous_function_64:64",
"entity_name": "anonymous_function_64",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts",
"issues": [],
"line_number": 65,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 65
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts:anonymous_function_65:65",
"entity_name": "anonymous_function_65",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts",
"issues": [],
"line_number": 66,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 66
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts:anonymous_function_86:86",
"entity_name": "anonymous_function_86",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts",
"issues": [],
"line_number": 87,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.29536180726487726,
"calculated_length": 258.7430298092722,
"difficulty": 4.777777777777778,
"effort": 4233.519237463241,
"length": 157.0,
"n1": 5.0,
"n2": 45.0,
"n_1": 71.0,
"n_2": 86.0,
"time": 235.19551319240225,
"vocabulary": 50.0,
"volume": 886.0854217946318
},
"lines_of_code": 31.0,
"maintainability_index": 79.84797782148487,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 16.0,
"technical_debt_score": 8.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 87
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts:anonymous_function_123:123",
"entity_name": "anonymous_function_123",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/filesystem.e2e.test.ts",
"issues": [],
"line_number": 124,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1316515974349208,
"calculated_length": 161.58008562199313,
"difficulty": 3.032258064516129,
"effort": 1197.6048540854085,
"length": 77.0,
"n1": 4.0,
"n2": 31.0,
"n_1": 30.0,
"n_2": 47.0,
"time": 66.53360300474492,
"vocabulary": 35.0,
"volume": 394.9547923047624
},
"lines_of_code": 22.0,
"maintainability_index": 89.60550145144794,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 124
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:tmpCwd:12",
"entity_name": "tmpCwd",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts",
"issues": [],
"line_number": 13,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 52.303762523798156,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 2.905764584655453,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 13
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:withTimeout:16",
"entity_name": "withTimeout",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts",
"issues": [],
"line_number": 17,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 28,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 31,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08096634991879287,
"calculated_length": 113.11239783097187,
"difficulty": 10.083333333333332,
"effort": 2449.232085043484,
"length": 50.0,
"n1": 11.0,
"n2": 18.0,
"n_1": 17.0,
"n_2": 33.0,
"time": 136.06844916908244,
"vocabulary": 29.0,
"volume": 242.8990497563786
},
"lines_of_code": 18.0,
"maintainability_index": 94.92421871768259,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 8.0,
"technical_debt_score": 12.0
},
"recommendations": [],
"severity": "Low",
"start_line": 17
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:anonymous_function_22:22",
"entity_name": "anonymous_function_22",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts",
"issues": [],
"line_number": 23,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017297158093186486,
"calculated_length": 27.651484454403228,
"difficulty": 2.5714285714285716,
"effort": 133.43521957601004,
"length": 15.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 6.0,
"n_2": 9.0,
"time": 7.41306775422278,
"vocabulary": 11.0,
"volume": 51.89147427955946
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 23
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:anonymous_function_23:23",
"entity_name": "anonymous_function_23",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts",
"issues": [],
"line_number": 24,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.00655049481813441,
"calculated_length": 12.754887502163468,
"difficulty": 1.5,
"effort": 29.47722668160484,
"length": 7.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 4.0,
"time": 1.6376237045336022,
"vocabulary": 7.0,
"volume": 19.651484454403228
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 24
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:findTimelineToolCall:36",
"entity_name": "findTimelineToolCall",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts",
"issues": [],
"line_number": 37,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 3,
"kind": "For",
"line": 42,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 44,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 47,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 51,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 55,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 55,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.13736149671375916,
"calculated_length": 142.09567279432156,
"difficulty": 11.0,
"effort": 4532.929391554052,
"length": 81.0,
"n1": 11.0,
"n2": 23.0,
"n_1": 35.0,
"n_2": 46.0,
"time": 251.82941064189177,
"vocabulary": 34.0,
"volume": 412.08449014127746
},
"lines_of_code": 23.0,
"maintainability_index": 87.28460601423438,
"max_nesting_depth": 2.0,
"parameter_count": 3.0,
"statement_count": 14.0,
"technical_debt_score": 28.199999999999996
},
"recommendations": [],
"severity": "Low",
"start_line": 37
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:waitForTimelineToolCall:61",
"entity_name": "waitForTimelineToolCall",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts",
"issues": [],
"line_number": 62,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 73,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 73,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 85,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 88,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 92,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 96,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 99,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.24303672606650858,
"calculated_length": 217.57865339808407,
"difficulty": 11.314285714285713,
"effort": 8249.360873343205,
"length": 132.0,
"n1": 11.0,
"n2": 35.0,
"n_1": 60.0,
"n_2": 72.0,
"time": 458.29782629684473,
"vocabulary": 46.0,
"volume": 729.1101781995258
},
"lines_of_code": 45.0,
"maintainability_index": 73.21457841106324,
"max_nesting_depth": 1.0,
"parameter_count": 4.0,
"statement_count": 24.0,
"technical_debt_score": 31.400000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 62
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:anonymous_function_76:76",
"entity_name": "anonymous_function_76",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts",
"issues": [],
"line_number": 77,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 85,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 88,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 92,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 96,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 99,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.15854436671089758,
"calculated_length": 154.1501525493784,
"difficulty": 9.68,
"effort": 4604.128409284465,
"length": 92.0,
"n1": 11.0,
"n2": 25.0,
"n_1": 48.0,
"n_2": 44.0,
"time": 255.78491162691475,
"vocabulary": 36.0,
"volume": 475.63310013269273
},
"lines_of_code": 29.0,
"maintainability_index": 83.0136444075579,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 20.0,
"technical_debt_score": 21.8
},
"recommendations": [],
"severity": "Low",
"start_line": 77
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:anonymous_function_77:77",
"entity_name": "anonymous_function_77",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts",
"issues": [],
"line_number": 78,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 78
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:anonymous_function_78:78",
"entity_name": "anonymous_function_78",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts",
"issues": [],
"line_number": 79,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008422064766172813,
"calculated_length": 12.754887502163468,
"difficulty": 1.5,
"effort": 37.89929144777766,
"length": 9.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 5.0,
"n_2": 4.0,
"time": 2.1055161915432032,
"vocabulary": 7.0,
"volume": 25.26619429851844
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 79
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:anonymous_function_83:83",
"entity_name": "anonymous_function_83",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts",
"issues": [],
"line_number": 84,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 85,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 88,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 92,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 96,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 99,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1046075250475963,
"calculated_length": 103.58797503894242,
"difficulty": 7.25,
"effort": 2275.2136697852193,
"length": 66.0,
"n1": 9.0,
"n2": 18.0,
"n_1": 37.0,
"n_2": 29.0,
"time": 126.40075943251219,
"vocabulary": 27.0,
"volume": 313.8225751427889
},
"lines_of_code": 21.0,
"maintainability_index": 90.40483205863748,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 15.0,
"technical_debt_score": 20.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 84
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:anonymous_function_112:112",
"entity_name": "anonymous_function_112",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts",
"issues": [],
"line_number": 113,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 21,
"kind": "LogicalAnd",
"line": 432,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 444,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 444,
"nesting_level": 0
},
{
"column": 21,
"kind": "LogicalAnd",
"line": 517,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 525,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 525,
"nesting_level": 0
}
],
"halstead": {
"bugs": 3.929446993131694,
"calculated_length": 1213.0557004673092,
"difficulty": 24.098765432098766,
"effort": 284084.46409603953,
"length": 1591.0,
"n1": 8.0,
"n2": 162.0,
"n_1": 615.0,
"n_2": 976.0,
"time": 15782.470227557751,
"vocabulary": 170.0,
"volume": 11788.340979395083
},
"lines_of_code": 488.0,
"maintainability_index": 20.357585824224202,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 175.0,
"technical_debt_score": 38.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 113
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:anonymous_function_115:115",
"entity_name": "anonymous_function_115",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts",
"issues": [],
"line_number": 116,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 116
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:anonymous_function_119:119",
"entity_name": "anonymous_function_119",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts",
"issues": [],
"line_number": 120,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 120
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:anonymous_function_123:123",
"entity_name": "anonymous_function_123",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts",
"issues": [],
"line_number": 124,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.8159932061133912,
"calculated_length": 377.16017124398627,
"difficulty": 7.774193548387097,
"effort": 19031.067355483287,
"length": 405.0,
"n1": 4.0,
"n2": 62.0,
"n_1": 164.0,
"n_2": 241.0,
"time": 1057.2815197490715,
"vocabulary": 66.0,
"volume": 2447.9796183401736
},
"lines_of_code": 121.0,
"maintainability_index": 52.50249790900095,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 49.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 124
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:anonymous_function_126:126",
"entity_name": "anonymous_function_126",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts",
"issues": [],
"line_number": 127,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.33339174347992206,
"calculated_length": 297.29369244054624,
"difficulty": 4.0,
"effort": 4000.700921759065,
"length": 173.0,
"n1": 4.0,
"n2": 51.0,
"n_1": 71.0,
"n_2": 102.0,
"time": 222.26116231994806,
"vocabulary": 55.0,
"volume": 1000.1752304397662
},
"lines_of_code": 44.0,
"maintainability_index": 73.54488936135579,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 21.0,
"technical_debt_score": 10.8
},
"recommendations": [],
"severity": "Low",
"start_line": 127
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:anonymous_function_176:176",
"entity_name": "anonymous_function_176",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts",
"issues": [],
"line_number": 177,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.24268581616031315,
"calculated_length": 262.0838499786226,
"difficulty": 3.4782608695652173,
"effort": 2532.373733846746,
"length": 129.0,
"n1": 4.0,
"n2": 46.0,
"n_1": 49.0,
"n_2": 80.0,
"time": 140.68742965815255,
"vocabulary": 50.0,
"volume": 728.0574484809395
},
"lines_of_code": 36.0,
"maintainability_index": 78.44701741628576,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 16.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 177
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:anonymous_function_218:218",
"entity_name": "anonymous_function_218",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts",
"issues": [],
"line_number": 219,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.15045896849705234,
"calculated_length": 161.58008562199313,
"difficulty": 3.225806451612903,
"effort": 1456.054533842442,
"length": 88.0,
"n1": 4.0,
"n2": 31.0,
"n_1": 38.0,
"n_2": 50.0,
"time": 80.89191854680233,
"vocabulary": 35.0,
"volume": 451.37690549115706
},
"lines_of_code": 23.0,
"maintainability_index": 88.19101965615292,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 219
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:anonymous_function_247:247",
"entity_name": "anonymous_function_247",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts",
"issues": [],
"line_number": 248,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.8493930085318916,
"calculated_length": 421.9474732050231,
"difficulty": 7.205882352941177,
"effort": 18361.878272674716,
"length": 413.0,
"n1": 4.0,
"n2": 68.0,
"n_1": 168.0,
"n_2": 245.0,
"time": 1020.1043484819287,
"vocabulary": 72.0,
"volume": 2548.179025595675
},
"lines_of_code": 123.0,
"maintainability_index": 52.02831521064431,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 49.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 248
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:anonymous_function_250:250",
"entity_name": "anonymous_function_250",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts",
"issues": [],
"line_number": 251,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.38254591510399466,
"calculated_length": 355.07593991234864,
"difficulty": 3.7966101694915255,
"effort": 4357.133134743804,
"length": 192.0,
"n1": 4.0,
"n2": 59.0,
"n_1": 80.0,
"n_2": 112.0,
"time": 242.0629519302113,
"vocabulary": 63.0,
"volume": 1147.637745311984
},
"lines_of_code": 46.0,
"maintainability_index": 72.10961231094252,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 22.0,
"technical_debt_score": 11.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 251
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:anonymous_function_290:290",
"entity_name": "anonymous_function_290",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts",
"issues": [],
"line_number": 291,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 291
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:anonymous_function_302:302",
"entity_name": "anonymous_function_302",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts",
"issues": [],
"line_number": 303,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.26093156573068876,
"calculated_length": 269.06567602884894,
"difficulty": 3.574468085106383,
"effort": 2798.074662303556,
"length": 138.0,
"n1": 4.0,
"n2": 47.0,
"n_1": 54.0,
"n_2": 84.0,
"time": 155.44859235019757,
"vocabulary": 51.0,
"volume": 782.7946971920663
},
"lines_of_code": 37.0,
"maintainability_index": 77.62620341617091,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 17.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 303
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:anonymous_function_345:345",
"entity_name": "anonymous_function_345",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts",
"issues": [],
"line_number": 346,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.11122285350045975,
"calculated_length": 130.21143267166838,
"difficulty": 3.076923076923077,
"effort": 1026.6724938503978,
"length": 68.0,
"n1": 4.0,
"n2": 26.0,
"n_1": 28.0,
"n_2": 40.0,
"time": 57.037360769466545,
"vocabulary": 30.0,
"volume": 333.66856050137926
},
"lines_of_code": 22.0,
"maintainability_index": 90.48234179000687,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 346
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:anonymous_function_372:372",
"entity_name": "anonymous_function_372",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts",
"issues": [],
"line_number": 373,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 21,
"kind": "LogicalAnd",
"line": 432,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 444,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 444,
"nesting_level": 0
},
{
"column": 21,
"kind": "LogicalAnd",
"line": 517,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 525,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 525,
"nesting_level": 0
}
],
"halstead": {
"bugs": 1.2814428988244313,
"calculated_length": 700.2388693354957,
"difficulty": 12.558823529411764,
"effort": 48280.24568806166,
"length": 568.0,
"n1": 7.0,
"n2": 102.0,
"n_1": 202.0,
"n_2": 366.0,
"time": 2682.235871558981,
"vocabulary": 109.0,
"volume": 3844.328696473294
},
"lines_of_code": 170.0,
"maintainability_index": 43.26742308769235,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 51.0,
"technical_debt_score": 38.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 373
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:anonymous_function_375:375",
"entity_name": "anonymous_function_375",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts",
"issues": [],
"line_number": 376,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 21,
"kind": "LogicalAnd",
"line": 432,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 444,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 444,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.5955005339357278,
"calculated_length": 525.1374907080914,
"difficulty": 5.5246913580246915,
"effort": 9869.869960601414,
"length": 278.0,
"n1": 5.0,
"n2": 81.0,
"n_1": 99.0,
"n_2": 179.0,
"time": 548.3261089223008,
"vocabulary": 86.0,
"volume": 1786.5016018071833
},
"lines_of_code": 79.0,
"maintainability_index": 60.357269004815294,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 24.0,
"technical_debt_score": 26.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 376
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:anonymous_function_431:431",
"entity_name": "anonymous_function_431",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts",
"issues": [],
"line_number": 432,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 21,
"kind": "LogicalAnd",
"line": 432,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 13.60964047443681,
"difficulty": 1.4,
"effort": 47.16356269056775,
"length": 12.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 2.620197927253764,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 432
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:anonymous_function_442:442",
"entity_name": "anonymous_function_442",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts",
"issues": [],
"line_number": 443,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 13,
"kind": "LogicalAnd",
"line": 444,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 444,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.021132833342948746,
"calculated_length": 21.651484454403228,
"difficulty": 1.5714285714285714,
"effort": 99.6262143310441,
"length": 20.0,
"n1": 2.0,
"n2": 7.0,
"n_1": 9.0,
"n_2": 11.0,
"time": 5.534789685058005,
"vocabulary": 9.0,
"volume": 63.39850002884624
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 8.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 443
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:anonymous_function_460:460",
"entity_name": "anonymous_function_460",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts",
"issues": [],
"line_number": 461,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 21,
"kind": "LogicalAnd",
"line": 517,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 525,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 525,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.6103214890367495,
"calculated_length": 572.3102533587836,
"difficulty": 7.366279069767442,
"effort": 13487.395231562123,
"length": 280.0,
"n1": 7.0,
"n2": 86.0,
"n_1": 99.0,
"n_2": 181.0,
"time": 749.2997350867846,
"vocabulary": 93.0,
"volume": 1830.9644671102487
},
"lines_of_code": 79.0,
"maintainability_index": 60.22943447133662,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 25.0,
"technical_debt_score": 26.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 461
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:anonymous_function_516:516",
"entity_name": "anonymous_function_516",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts",
"issues": [],
"line_number": 517,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 21,
"kind": "LogicalAnd",
"line": 517,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 13.60964047443681,
"difficulty": 1.4,
"effort": 47.16356269056775,
"length": 12.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 2.620197927253764,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 517
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:anonymous_function_523:523",
"entity_name": "anonymous_function_523",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts",
"issues": [],
"line_number": 524,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 13,
"kind": "LogicalAnd",
"line": 525,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 525,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.021132833342948746,
"calculated_length": 21.651484454403228,
"difficulty": 1.5714285714285714,
"effort": 99.6262143310441,
"length": 20.0,
"n1": 2.0,
"n2": 7.0,
"n_1": 9.0,
"n_2": 11.0,
"time": 5.534789685058005,
"vocabulary": 9.0,
"volume": 63.39850002884624
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 8.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 524
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:anonymous_function_544:544",
"entity_name": "anonymous_function_544",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts",
"issues": [],
"line_number": 545,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.33725259752959347,
"calculated_length": 369.7749775913361,
"difficulty": 3.5081967213114753,
"effort": 3549.445370721295,
"length": 168.0,
"n1": 4.0,
"n2": 61.0,
"n_1": 61.0,
"n_2": 107.0,
"time": 197.19140948451638,
"vocabulary": 65.0,
"volume": 1011.7577925887804
},
"lines_of_code": 53.0,
"maintainability_index": 70.4701596742148,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 17.0,
"technical_debt_score": 12.6
},
"recommendations": [],
"severity": "Low",
"start_line": 545
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts:anonymous_function_547:547",
"entity_name": "anonymous_function_547",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/git-operations.e2e.test.ts",
"issues": [],
"line_number": 548,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.3235113328643535,
"calculated_length": 347.76289771739914,
"difficulty": 3.586206896551724,
"effort": 3480.535719092355,
"length": 163.0,
"n1": 4.0,
"n2": 58.0,
"n_1": 59.0,
"n_2": 104.0,
"time": 193.36309550513084,
"vocabulary": 62.0,
"volume": 970.5339985930606
},
"lines_of_code": 47.0,
"maintainability_index": 72.6328073953221,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 16.0,
"technical_debt_score": 11.4
},
"recommendations": [],
"severity": "Low",
"start_line": 548
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/images.e2e.test.ts:tmpCwd:11",
"entity_name": "tmpCwd",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/images.e2e.test.ts",
"issues": [],
"line_number": 12,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 52.303762523798156,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 2.905764584655453,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 12
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/images.e2e.test.ts:anonymous_function_19:19",
"entity_name": "anonymous_function_19",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/images.e2e.test.ts",
"issues": [],
"line_number": 20,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 18,
"kind": "LogicalAnd",
"line": 75,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 84,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 90,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalOr",
"line": 90,
"nesting_level": 1
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 94,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 147,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 147,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.8540311526203626,
"calculated_length": 480.38651781122206,
"difficulty": 13.86986301369863,
"effort": 35535.88528882673,
"length": 403.0,
"n1": 9.0,
"n2": 73.0,
"n_1": 178.0,
"n_2": 225.0,
"time": 1974.2158493792626,
"vocabulary": 82.0,
"volume": 2562.0934578610877
},
"lines_of_code": 142.0,
"maintainability_index": 48.06298587345802,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 42.0,
"technical_debt_score": 42.400000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/images.e2e.test.ts:anonymous_function_22:22",
"entity_name": "anonymous_function_22",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/images.e2e.test.ts",
"issues": [],
"line_number": 23,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 23
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/images.e2e.test.ts:anonymous_function_26:26",
"entity_name": "anonymous_function_26",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/images.e2e.test.ts",
"issues": [],
"line_number": 27,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 27
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/images.e2e.test.ts:anonymous_function_30:30",
"entity_name": "anonymous_function_30",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/images.e2e.test.ts",
"issues": [],
"line_number": 31,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 18,
"kind": "LogicalAnd",
"line": 75,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 84,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 90,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalOr",
"line": 90,
"nesting_level": 1
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 94,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 147,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 147,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.7799178944188822,
"calculated_length": 415.4539078468495,
"difficulty": 13.169230769230769,
"effort": 30812.756197964452,
"length": 378.0,
"n1": 8.0,
"n2": 65.0,
"n_1": 164.0,
"n_2": 214.0,
"time": 1711.8197887758029,
"vocabulary": 73.0,
"volume": 2339.7536832566466
},
"lines_of_code": 128.0,
"maintainability_index": 50.216544840425016,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 36.0,
"technical_debt_score": 42.400000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/images.e2e.test.ts:anonymous_function_38:38",
"entity_name": "anonymous_function_38",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/images.e2e.test.ts",
"issues": [],
"line_number": 39,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 18,
"kind": "LogicalAnd",
"line": 75,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 84,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 90,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalOr",
"line": 90,
"nesting_level": 1
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 94,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.44967013003945794,
"calculated_length": 356.47473080739024,
"difficulty": 8.701754385964913,
"effort": 11738.757078924797,
"length": 224.0,
"n1": 8.0,
"n2": 57.0,
"n_1": 100.0,
"n_2": 124.0,
"time": 652.1531710513776,
"vocabulary": 65.0,
"volume": 1349.0103901183738
},
"lines_of_code": 62.0,
"maintainability_index": 65.28336485927942,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 21.0,
"technical_debt_score": 29.2
},
"recommendations": [],
"severity": "Low",
"start_line": 39
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/images.e2e.test.ts:anonymous_function_74:74",
"entity_name": "anonymous_function_74",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/images.e2e.test.ts",
"issues": [],
"line_number": 75,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 18,
"kind": "LogicalAnd",
"line": 75,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.016906266674359,
"calculated_length": 21.651484454403228,
"difficulty": 1.2857142857142858,
"effort": 65.20988574395614,
"length": 16.0,
"n1": 2.0,
"n2": 7.0,
"n_1": 7.0,
"n_2": 9.0,
"time": 3.6227714302197853,
"vocabulary": 9.0,
"volume": 50.718800023076994
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 75
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/images.e2e.test.ts:anonymous_function_82:82",
"entity_name": "anonymous_function_82",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/images.e2e.test.ts",
"issues": [],
"line_number": 83,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 13,
"kind": "LogicalAnd",
"line": 84,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.016,
"calculated_length": 17.509775004326936,
"difficulty": 1.5,
"effort": 72.0,
"length": 16.0,
"n1": 2.0,
"n2": 6.0,
"n_1": 7.0,
"n_2": 9.0,
"time": 4.0,
"vocabulary": 8.0,
"volume": 48.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 83
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/images.e2e.test.ts:anonymous_function_88:88",
"entity_name": "anonymous_function_88",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/images.e2e.test.ts",
"issues": [],
"line_number": 89,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 90,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalOr",
"line": 90,
"nesting_level": 1
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 94,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05837895002019237,
"calculated_length": 59.715356810271004,
"difficulty": 4.230769230769231,
"effort": 740.963596410134,
"length": 42.0,
"n1": 5.0,
"n2": 13.0,
"n_1": 20.0,
"n_2": 22.0,
"time": 41.164644245007445,
"vocabulary": 18.0,
"volume": 175.1368500605771
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 12.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 89
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/images.e2e.test.ts:anonymous_function_106:106",
"entity_name": "anonymous_function_106",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/images.e2e.test.ts",
"issues": [],
"line_number": 107,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 13,
"kind": "LogicalAnd",
"line": 147,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 147,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2684947995199841,
"calculated_length": 265.6934904530594,
"difficulty": 4.456521739130435,
"effort": 3589.658732712831,
"length": 142.0,
"n1": 5.0,
"n2": 46.0,
"n_1": 60.0,
"n_2": 82.0,
"time": 199.42548515071283,
"vocabulary": 51.0,
"volume": 805.4843985599523
},
"lines_of_code": 49.0,
"maintainability_index": 72.46700323490612,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 17.4
},
"recommendations": [],
"severity": "Low",
"start_line": 107
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/images.e2e.test.ts:anonymous_function_145:145",
"entity_name": "anonymous_function_145",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/images.e2e.test.ts",
"issues": [],
"line_number": 146,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 13,
"kind": "LogicalAnd",
"line": 147,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 147,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02998174069485658,
"calculated_length": 30.52932501298081,
"difficulty": 1.5555555555555556,
"effort": 139.9147899093307,
"length": 26.0,
"n1": 2.0,
"n2": 9.0,
"n_1": 12.0,
"n_2": 14.0,
"time": 7.773043883851705,
"vocabulary": 11.0,
"volume": 89.94522208456974
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 8.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 146
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/models.e2e.test.ts:tmpCwd:11",
"entity_name": "tmpCwd",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/models.e2e.test.ts",
"issues": [],
"line_number": 12,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 52.303762523798156,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 2.905764584655453,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 12
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/models.e2e.test.ts:anonymous_function_19:19",
"entity_name": "anonymous_function_19",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/models.e2e.test.ts",
"issues": [],
"line_number": 20,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.3802900956909133,
"calculated_length": 169.08986062632007,
"difficulty": 10.35483870967742,
"effort": 11813.5278113016,
"length": 219.0,
"n1": 6.0,
"n2": 31.0,
"n_1": 112.0,
"n_2": 107.0,
"time": 656.3071006278666,
"vocabulary": 37.0,
"volume": 1140.87028707274
},
"lines_of_code": 62.0,
"maintainability_index": 67.30478033103655,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 28.0,
"technical_debt_score": 14.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/models.e2e.test.ts:anonymous_function_22:22",
"entity_name": "anonymous_function_22",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/models.e2e.test.ts",
"issues": [],
"line_number": 23,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 23
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/models.e2e.test.ts:anonymous_function_26:26",
"entity_name": "anonymous_function_26",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/models.e2e.test.ts",
"issues": [],
"line_number": 27,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 27
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/models.e2e.test.ts:anonymous_function_30:30",
"entity_name": "anonymous_function_30",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/models.e2e.test.ts",
"issues": [],
"line_number": 31,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.3141494376849163,
"calculated_length": 121.64874049174456,
"difficulty": 10.0,
"effort": 9424.483130547489,
"length": 194.0,
"n1": 5.0,
"n2": 24.0,
"n_1": 98.0,
"n_2": 96.0,
"time": 523.5823961415272,
"vocabulary": 29.0,
"volume": 942.448313054749
},
"lines_of_code": 48.0,
"maintainability_index": 72.44444201998971,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 22.0,
"technical_debt_score": 11.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/models.e2e.test.ts:anonymous_function_33:33",
"entity_name": "anonymous_function_33",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/models.e2e.test.ts",
"issues": [],
"line_number": 34,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1406055166887821,
"calculated_length": 92.32026322986493,
"difficulty": 5.921052631578947,
"effort": 2497.5979938138926,
"length": 92.0,
"n1": 5.0,
"n2": 19.0,
"n_1": 47.0,
"n_2": 45.0,
"time": 138.7554441007718,
"vocabulary": 24.0,
"volume": 421.81655006634634
},
"lines_of_code": 18.0,
"maintainability_index": 92.51421090108845,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/models.e2e.test.ts:anonymous_function_57:57",
"entity_name": "anonymous_function_57",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/models.e2e.test.ts",
"issues": [],
"line_number": 58,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1406055166887821,
"calculated_length": 92.32026322986493,
"difficulty": 5.921052631578947,
"effort": 2497.5979938138926,
"length": 92.0,
"n1": 5.0,
"n2": 19.0,
"n_1": 47.0,
"n_2": 45.0,
"time": 138.7554441007718,
"vocabulary": 24.0,
"volume": 421.81655006634634
},
"lines_of_code": 18.0,
"maintainability_index": 92.51421090108845,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 58
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:tmpCwd:11",
"entity_name": "tmpCwd",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts",
"issues": [],
"line_number": 12,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 52.303762523798156,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 2.905764584655453,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 12
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:anonymous_function_19:19",
"entity_name": "anonymous_function_19",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts",
"issues": [
{
"description": "Cyclomatic complexity of 22.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:anonymous_function_19:19",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:20",
"metric_value": 22.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 45.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:anonymous_function_19:19",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:20",
"metric_value": 45.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 20,
"metrics": {
"cognitive_complexity": 45.0,
"cyclomatic_complexity": 22.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 74,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 75,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 75,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 86,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 101,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 113,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 118,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 119,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 119,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 125,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 126,
"nesting_level": 1
},
{
"column": 15,
"kind": "Try",
"line": 127,
"nesting_level": 2
},
{
"column": 17,
"kind": "Catch",
"line": 129,
"nesting_level": 3
},
{
"column": 13,
"kind": "If",
"line": 133,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 136,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 138,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 138,
"nesting_level": 2
},
{
"column": 15,
"kind": "If",
"line": 140,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 142,
"nesting_level": 1
},
{
"column": 15,
"kind": "Try",
"line": 143,
"nesting_level": 2
},
{
"column": 17,
"kind": "Catch",
"line": 145,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.9768746042094696,
"calculated_length": 672.1417694330469,
"difficulty": 19.78494623655914,
"effort": 57982.23457243304,
"length": 433.0,
"n1": 16.0,
"n2": 93.0,
"n_1": 203.0,
"n_2": 230.0,
"time": 3221.2352540240577,
"vocabulary": 109.0,
"volume": 2930.623812628409
},
"lines_of_code": 148.0,
"maintainability_index": 43.47371412466498,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 63.0,
"technical_debt_score": 96.0
},
"recommendations": [],
"severity": "High",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:anonymous_function_22:22",
"entity_name": "anonymous_function_22",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts",
"issues": [],
"line_number": 23,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 23
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:anonymous_function_26:26",
"entity_name": "anonymous_function_26",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts",
"issues": [],
"line_number": 27,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 27
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:anonymous_function_30:30",
"entity_name": "anonymous_function_30",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts",
"issues": [
{
"description": "Cyclomatic complexity of 22.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:anonymous_function_30:30",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:31",
"metric_value": 22.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 45.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:anonymous_function_30:30",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:31",
"metric_value": 45.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 31,
"metrics": {
"cognitive_complexity": 45.0,
"cyclomatic_complexity": 22.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 74,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 75,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 75,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 86,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 101,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 113,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 118,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 119,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 119,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 125,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 126,
"nesting_level": 1
},
{
"column": 15,
"kind": "Try",
"line": 127,
"nesting_level": 2
},
{
"column": 17,
"kind": "Catch",
"line": 129,
"nesting_level": 3
},
{
"column": 13,
"kind": "If",
"line": 133,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 136,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 138,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 138,
"nesting_level": 2
},
{
"column": 15,
"kind": "If",
"line": 140,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 142,
"nesting_level": 1
},
{
"column": 15,
"kind": "Try",
"line": 143,
"nesting_level": 2
},
{
"column": 17,
"kind": "Catch",
"line": 145,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.9055167616542441,
"calculated_length": 608.7982295717046,
"difficulty": 20.611764705882354,
"effort": 55992.8952853495,
"length": 408.0,
"n1": 16.0,
"n2": 85.0,
"n_1": 189.0,
"n_2": 219.0,
"time": 3110.716404741639,
"vocabulary": 101.0,
"volume": 2716.5502849627323
},
"lines_of_code": 134.0,
"maintainability_index": 45.477981241653,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 57.0,
"technical_debt_score": 96.0
},
"recommendations": [],
"severity": "High",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:anonymous_function_33:33",
"entity_name": "anonymous_function_33",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts",
"issues": [
{
"description": "Cyclomatic complexity of 22.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:anonymous_function_33:33",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:34",
"metric_value": 22.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 45.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:anonymous_function_33:33",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:34",
"metric_value": 45.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 34,
"metrics": {
"cognitive_complexity": 45.0,
"cyclomatic_complexity": 22.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 74,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 75,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 75,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 86,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 101,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 113,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 118,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 119,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 119,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 125,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 126,
"nesting_level": 1
},
{
"column": 15,
"kind": "Try",
"line": 127,
"nesting_level": 2
},
{
"column": 17,
"kind": "Catch",
"line": 129,
"nesting_level": 3
},
{
"column": 13,
"kind": "If",
"line": 133,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 136,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 138,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 138,
"nesting_level": 2
},
{
"column": 15,
"kind": "If",
"line": 140,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 142,
"nesting_level": 1
},
{
"column": 15,
"kind": "Try",
"line": 143,
"nesting_level": 2
},
{
"column": 17,
"kind": "Catch",
"line": 145,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.8885760223928096,
"calculated_length": 585.3192643786829,
"difficulty": 21.073170731707318,
"effort": 56175.34268395518,
"length": 403.0,
"n1": 16.0,
"n2": 82.0,
"n_1": 187.0,
"n_2": 216.0,
"time": 3120.8523713308437,
"vocabulary": 98.0,
"volume": 2665.728067178429
},
"lines_of_code": 128.0,
"maintainability_index": 46.318300749316094,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 56.0,
"technical_debt_score": 96.0
},
"recommendations": [],
"severity": "High",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:anonymous_function_84:84",
"entity_name": "anonymous_function_84",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts",
"issues": [],
"line_number": 85,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 13,
"kind": "LogicalAnd",
"line": 86,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 13.60964047443681,
"difficulty": 1.4,
"effort": 47.16356269056775,
"length": 12.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 2.620197927253764,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 85
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:anonymous_function_94:94",
"entity_name": "anonymous_function_94",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts",
"issues": [],
"line_number": 95,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 95
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:anonymous_function_111:111",
"entity_name": "anonymous_function_111",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts",
"issues": [],
"line_number": 112,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 13,
"kind": "LogicalAnd",
"line": 113,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 13.60964047443681,
"difficulty": 1.4,
"effort": 47.16356269056775,
"length": 12.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 2.620197927253764,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 112
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:anonymous_function_123:123",
"entity_name": "anonymous_function_123",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts",
"issues": [
{
"description": "Cognitive complexity of 32.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:anonymous_function_123:123",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/orchestration.e2e.test.ts:124",
"metric_value": 32.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 124,
"metrics": {
"cognitive_complexity": 32.0,
"cyclomatic_complexity": 13.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 125,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 126,
"nesting_level": 1
},
{
"column": 15,
"kind": "Try",
"line": 127,
"nesting_level": 2
},
{
"column": 17,
"kind": "Catch",
"line": 129,
"nesting_level": 3
},
{
"column": 13,
"kind": "If",
"line": 133,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 136,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 138,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 138,
"nesting_level": 2
},
{
"column": 15,
"kind": "If",
"line": 140,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 142,
"nesting_level": 1
},
{
"column": 15,
"kind": "Try",
"line": 143,
"nesting_level": 2
},
{
"column": 17,
"kind": "Catch",
"line": 145,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.15169930219930766,
"calculated_length": 91.82263988300141,
"difficulty": 15.0,
"effort": 6826.468598968845,
"length": 98.0,
"n1": 10.0,
"n2": 15.0,
"n_1": 53.0,
"n_2": 45.0,
"time": 379.24825549826915,
"vocabulary": 25.0,
"volume": 455.097906597923
},
"lines_of_code": 26.0,
"maintainability_index": 83.40217069332766,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 22.0,
"technical_debt_score": 56.800000000000004
},
"recommendations": [],
"severity": "High",
"start_line": 124
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts:tmpCwd:12",
"entity_name": "tmpCwd",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts",
"issues": [],
"line_number": 13,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 52.303762523798156,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 2.905764584655453,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 13
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts:anonymous_function_23:23",
"entity_name": "anonymous_function_23",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts",
"issues": [],
"line_number": 24,
"metrics": {
"cognitive_complexity": 15.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 4,
"kind": "ConditionalExpression",
"line": 35,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 104,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 104,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 106,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 106,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 175,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 175,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 177,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 177,
"nesting_level": 1
}
],
"halstead": {
"bugs": 1.2239469885137728,
"calculated_length": 649.3506330065715,
"difficulty": 16.170212765957444,
"effort": 59374.44965556174,
"length": 548.0,
"n1": 10.0,
"n2": 94.0,
"n_1": 244.0,
"n_2": 304.0,
"time": 3298.5805364200965,
"vocabulary": 104.0,
"volume": 3671.8409655413184
},
"lines_of_code": 169.0,
"maintainability_index": 42.91170892626974,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 59.0,
"technical_debt_score": 52.0
},
"recommendations": [],
"severity": "Moderate",
"start_line": 24
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts:anonymous_function_26:26",
"entity_name": "anonymous_function_26",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts",
"issues": [],
"line_number": 27,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 27
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts:anonymous_function_30:30",
"entity_name": "anonymous_function_30",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts",
"issues": [],
"line_number": 31,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts:anonymous_function_34:34",
"entity_name": "anonymous_function_34",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts",
"issues": [],
"line_number": 35,
"metrics": {
"cognitive_complexity": 15.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 4,
"kind": "ConditionalExpression",
"line": 35,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 104,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 104,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 106,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 106,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 175,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 175,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 177,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 177,
"nesting_level": 1
}
],
"halstead": {
"bugs": 1.1295741454391128,
"calculated_length": 573.3275545846855,
"difficulty": 15.352941176470587,
"effort": 52026.856228166194,
"length": 517.0,
"n1": 9.0,
"n2": 85.0,
"n_1": 227.0,
"n_2": 290.0,
"time": 2890.3809015647885,
"vocabulary": 94.0,
"volume": 3388.7224363173386
},
"lines_of_code": 155.0,
"maintainability_index": 44.72983011802438,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 53.0,
"technical_debt_score": 52.0
},
"recommendations": [],
"severity": "Moderate",
"start_line": 35
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts:anonymous_function_39:39",
"entity_name": "anonymous_function_39",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts",
"issues": [],
"line_number": 40,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.5,
"effort": 17.414460711655217,
"length": 5.0,
"n1": 3.0,
"n2": 2.0,
"n_1": 3.0,
"n_2": 2.0,
"time": 0.9674700395364009,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 40
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts:anonymous_function_43:43",
"entity_name": "anonymous_function_43",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts",
"issues": [],
"line_number": 44,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 1.0,
"effort": 4.754887502163468,
"length": 3.0,
"n1": 2.0,
"n2": 1.0,
"n_1": 2.0,
"n_2": 1.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 44
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts:anonymous_function_49:49",
"entity_name": "anonymous_function_49",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts",
"issues": [],
"line_number": 50,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 104,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 104,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 106,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 106,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.5342591886032911,
"calculated_length": 453.0498111861476,
"difficulty": 8.17142857142857,
"effort": 13096.982394903536,
"length": 255.0,
"n1": 8.0,
"n2": 70.0,
"n_1": 112.0,
"n_2": 143.0,
"time": 727.6101330501965,
"vocabulary": 78.0,
"volume": 1602.7775658098735
},
"lines_of_code": 66.0,
"maintainability_index": 63.6042275938653,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 24.0,
"technical_debt_score": 28.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 50
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts:anonymous_function_102:102",
"entity_name": "anonymous_function_102",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts",
"issues": [],
"line_number": 103,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 104,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 104,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 106,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 106,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07923534840626832,
"calculated_length": 70.2129994085646,
"difficulty": 4.5,
"effort": 1069.6772034846222,
"length": 55.0,
"n1": 5.0,
"n2": 15.0,
"n_1": 28.0,
"n_2": 27.0,
"time": 59.42651130470123,
"vocabulary": 20.0,
"volume": 237.70604521880495
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 17.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 103
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts:anonymous_function_121:121",
"entity_name": "anonymous_function_121",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts",
"issues": [],
"line_number": 122,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 175,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 175,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 177,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 177,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.4965467752901176,
"calculated_length": 453.0498111861476,
"difficulty": 7.714285714285714,
"effort": 11491.51108528558,
"length": 237.0,
"n1": 8.0,
"n2": 70.0,
"n_1": 102.0,
"n_2": 135.0,
"time": 638.4172825158655,
"vocabulary": 78.0,
"volume": 1489.6403258703529
},
"lines_of_code": 65.0,
"maintainability_index": 64.2322183433052,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 22.0,
"technical_debt_score": 28.6
},
"recommendations": [],
"severity": "Low",
"start_line": 122
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts:anonymous_function_173:173",
"entity_name": "anonymous_function_173",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-claude.e2e.test.ts",
"issues": [],
"line_number": 174,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 175,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 175,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 177,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 177,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07923534840626832,
"calculated_length": 70.2129994085646,
"difficulty": 4.5,
"effort": 1069.6772034846222,
"length": 55.0,
"n1": 5.0,
"n2": 15.0,
"n_1": 28.0,
"n_2": 27.0,
"time": 59.42651130470123,
"vocabulary": 20.0,
"volume": 237.70604521880495
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 17.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 174
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:tmpCwd:11",
"entity_name": "tmpCwd",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts",
"issues": [],
"line_number": 12,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 52.303762523798156,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 2.905764584655453,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 12
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:anonymous_function_19:19",
"entity_name": "anonymous_function_19",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts",
"issues": [
{
"description": "Cyclomatic complexity of 18.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:anonymous_function_19:19",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:20",
"metric_value": 18.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 28.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:anonymous_function_19:19",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:20",
"metric_value": 28.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 20,
"metrics": {
"cognitive_complexity": 28.0,
"cyclomatic_complexity": 18.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 81,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 81,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 83,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 83,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 145,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 145,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 147,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 147,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalOr",
"line": 198,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 216,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 216,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 216,
"nesting_level": 0
},
{
"column": 13,
"kind": "For",
"line": 328,
"nesting_level": 0
},
{
"column": 15,
"kind": "If",
"line": 330,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 331,
"nesting_level": 2
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 331,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 366,
"nesting_level": 0
}
],
"halstead": {
"bugs": 2.8680200068254385,
"calculated_length": 1071.9673174951438,
"difficulty": 29.863636363636363,
"effort": 256948.51970240634,
"length": 1181.0,
"n1": 13.0,
"n2": 143.0,
"n_1": 524.0,
"n_2": 657.0,
"time": 14274.917761244797,
"vocabulary": 156.0,
"volume": 8604.060020476316
},
"lines_of_code": 358.0,
"maintainability_index": 24.483420395840653,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 125.0,
"technical_debt_score": 78.4
},
"recommendations": [],
"severity": "High",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:anonymous_function_22:22",
"entity_name": "anonymous_function_22",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts",
"issues": [],
"line_number": 23,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 23
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:anonymous_function_26:26",
"entity_name": "anonymous_function_26",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts",
"issues": [],
"line_number": 27,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 27
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:anonymous_function_30:30",
"entity_name": "anonymous_function_30",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts",
"issues": [
{
"description": "Cyclomatic complexity of 18.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:anonymous_function_30:30",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:31",
"metric_value": 18.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 28.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:anonymous_function_30:30",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:31",
"metric_value": 28.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 31,
"metrics": {
"cognitive_complexity": 28.0,
"cyclomatic_complexity": 18.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 81,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 81,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 83,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 83,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 145,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 145,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 147,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 147,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalOr",
"line": 198,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 216,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 216,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 216,
"nesting_level": 0
},
{
"column": 13,
"kind": "For",
"line": 328,
"nesting_level": 0
},
{
"column": 15,
"kind": "If",
"line": 330,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 331,
"nesting_level": 2
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 331,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 366,
"nesting_level": 0
}
],
"halstead": {
"bugs": 2.7780426968890226,
"calculated_length": 1006.9144964187,
"difficulty": 28.5,
"effort": 237522.65058401143,
"length": 1156.0,
"n1": 12.0,
"n2": 136.0,
"n_1": 510.0,
"n_2": 646.0,
"time": 13195.702810222858,
"vocabulary": 148.0,
"volume": 8334.128090667067
},
"lines_of_code": 344.0,
"maintainability_index": 25.29541140667419,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 119.0,
"technical_debt_score": 78.4
},
"recommendations": [],
"severity": "High",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:anonymous_function_33:33",
"entity_name": "anonymous_function_33",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts",
"issues": [],
"line_number": 34,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 81,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 81,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 83,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 83,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.5055023389752015,
"calculated_length": 415.4539078468495,
"difficulty": 8.307692307692308,
"effort": 12598.673679074253,
"length": 245.0,
"n1": 8.0,
"n2": 65.0,
"n_1": 110.0,
"n_2": 135.0,
"time": 699.9263155041251,
"vocabulary": 73.0,
"volume": 1516.5070169256044
},
"lines_of_code": 59.0,
"maintainability_index": 65.70823564703943,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 23.0,
"technical_debt_score": 27.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:anonymous_function_79:79",
"entity_name": "anonymous_function_79",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts",
"issues": [],
"line_number": 80,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 81,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 81,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 83,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 83,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07923534840626832,
"calculated_length": 70.2129994085646,
"difficulty": 4.5,
"effort": 1069.6772034846222,
"length": 55.0,
"n1": 5.0,
"n2": 15.0,
"n_1": 28.0,
"n_2": 27.0,
"time": 59.42651130470123,
"vocabulary": 20.0,
"volume": 237.70604521880495
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 17.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 80
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:anonymous_function_98:98",
"entity_name": "anonymous_function_98",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts",
"issues": [],
"line_number": 99,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 145,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 145,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 147,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 147,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.46836339162192137,
"calculated_length": 415.4539078468495,
"difficulty": 7.815384615384615,
"effort": 10981.320135873972,
"length": 227.0,
"n1": 8.0,
"n2": 65.0,
"n_1": 100.0,
"n_2": 127.0,
"time": 610.0733408818874,
"vocabulary": 73.0,
"volume": 1405.090174865764
},
"lines_of_code": 58.0,
"maintainability_index": 66.38196807138937,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 21.0,
"technical_debt_score": 27.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 99
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:anonymous_function_143:143",
"entity_name": "anonymous_function_143",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts",
"issues": [],
"line_number": 144,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 145,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 145,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 147,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 147,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07923534840626832,
"calculated_length": 70.2129994085646,
"difficulty": 4.5,
"effort": 1069.6772034846222,
"length": 55.0,
"n1": 5.0,
"n2": 15.0,
"n_1": 28.0,
"n_2": 27.0,
"time": 59.42651130470123,
"vocabulary": 20.0,
"volume": 237.70604521880495
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 17.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 144
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:anonymous_function_163:163",
"entity_name": "anonymous_function_163",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts",
"issues": [],
"line_number": 164,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 13,
"kind": "LogicalOr",
"line": 198,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 216,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 216,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 216,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.3983427076686749,
"calculated_length": 315.18942456628633,
"difficulty": 5.283018867924528,
"effort": 6313.356121541263,
"length": 204.0,
"n1": 5.0,
"n2": 53.0,
"n_1": 92.0,
"n_2": 112.0,
"time": 350.74200675229235,
"vocabulary": 58.0,
"volume": 1195.0281230060248
},
"lines_of_code": 60.0,
"maintainability_index": 66.67480810248026,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 16.0,
"technical_debt_score": 25.2
},
"recommendations": [],
"severity": "Low",
"start_line": 164
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:anonymous_function_184:184",
"entity_name": "anonymous_function_184",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts",
"issues": [],
"line_number": 185,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 185
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:anonymous_function_196:196",
"entity_name": "anonymous_function_196",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts",
"issues": [],
"line_number": 197,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 13,
"kind": "LogicalOr",
"line": 198,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.010339850002884624,
"calculated_length": 10.0,
"difficulty": 1.75,
"effort": 54.284212515144276,
"length": 12.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 3.015789584174682,
"vocabulary": 6.0,
"volume": 31.019550008653873
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 197
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:anonymous_function_214:214",
"entity_name": "anonymous_function_214",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts",
"issues": [],
"line_number": 215,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 13,
"kind": "LogicalAnd",
"line": 216,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 216,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 216,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03823960000769233,
"calculated_length": 35.219280948873624,
"difficulty": 1.7,
"effort": 195.0219600392309,
"length": 32.0,
"n1": 2.0,
"n2": 10.0,
"n_1": 15.0,
"n_2": 17.0,
"time": 10.834553335512828,
"vocabulary": 12.0,
"volume": 114.718800023077
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 11.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 215
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:anonymous_function_229:229",
"entity_name": "anonymous_function_229",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts",
"issues": [],
"line_number": 230,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1951658557806811,
"calculated_length": 231.26927266377825,
"difficulty": 3.8414634146341466,
"effort": 2249.167484301752,
"length": 106.0,
"n1": 5.0,
"n2": 41.0,
"n_1": 43.0,
"n_2": 63.0,
"time": 124.95374912787513,
"vocabulary": 46.0,
"volume": 585.4975673420433
},
"lines_of_code": 36.0,
"maintainability_index": 79.58019065041985,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 230
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:anonymous_function_251:251",
"entity_name": "anonymous_function_251",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts",
"issues": [],
"line_number": 252,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 252
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:anonymous_function_258:258",
"entity_name": "anonymous_function_258",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts",
"issues": [],
"line_number": 259,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 259
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:anonymous_function_272:272",
"entity_name": "anonymous_function_272",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts",
"issues": [],
"line_number": 273,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 13,
"kind": "For",
"line": 328,
"nesting_level": 0
},
{
"column": 15,
"kind": "If",
"line": 330,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 331,
"nesting_level": 2
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 331,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 366,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.7572706875829329,
"calculated_length": 579.9742135220697,
"difficulty": 13.714285714285714,
"effort": 31156.27971769781,
"length": 345.0,
"n1": 12.0,
"n2": 84.0,
"n_1": 153.0,
"n_2": 192.0,
"time": 1730.9044287609895,
"vocabulary": 96.0,
"volume": 2271.812062748799
},
"lines_of_code": 99.0,
"maintainability_index": 54.9917265285124,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 42.0,
"technical_debt_score": 39.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 273
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:anonymous_function_320:320",
"entity_name": "anonymous_function_320",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts",
"issues": [],
"line_number": 321,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 13,
"kind": "For",
"line": 328,
"nesting_level": 0
},
{
"column": 15,
"kind": "If",
"line": 330,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 331,
"nesting_level": 2
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 331,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.13389685621117697,
"calculated_length": 172.65968562262316,
"difficulty": 8.446428571428571,
"effort": 3392.850695779645,
"length": 76.0,
"n1": 11.0,
"n2": 28.0,
"n_1": 33.0,
"n_2": 43.0,
"time": 188.4917053210914,
"vocabulary": 39.0,
"volume": 401.6905686335309
},
"lines_of_code": 23.0,
"maintainability_index": 87.87744697716815,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 13.0,
"technical_debt_score": 21.8
},
"recommendations": [],
"severity": "Low",
"start_line": 321
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:anonymous_function_321:321",
"entity_name": "anonymous_function_321",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts",
"issues": [],
"line_number": 322,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 322
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:anonymous_function_325:325",
"entity_name": "anonymous_function_325",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts",
"issues": [],
"line_number": 326,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 13,
"kind": "For",
"line": 328,
"nesting_level": 0
},
{
"column": 15,
"kind": "If",
"line": 330,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 331,
"nesting_level": 2
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 331,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.09486655151509803,
"calculated_length": 119.65784284662087,
"difficulty": 7.5,
"effort": 2134.4974090897053,
"length": 58.0,
"n1": 10.0,
"n2": 20.0,
"n_1": 28.0,
"n_2": 30.0,
"time": 118.58318939387252,
"vocabulary": 30.0,
"volume": 284.5996545452941
},
"lines_of_code": 15.0,
"maintainability_index": 96.59395268863014,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 20.2
},
"recommendations": [],
"severity": "Low",
"start_line": 326
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts:anonymous_function_364:364",
"entity_name": "anonymous_function_364",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/permissions-codex.e2e.test.ts",
"issues": [],
"line_number": 365,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 13,
"kind": "LogicalAnd",
"line": 366,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.014,
"calculated_length": 17.509775004326936,
"difficulty": 1.3333333333333333,
"effort": 56.0,
"length": 14.0,
"n1": 2.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 3.111111111111111,
"vocabulary": 8.0,
"volume": 42.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 365
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:tmpCwd:11",
"entity_name": "tmpCwd",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 12,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 52.303762523798156,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 2.905764584655453,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 12
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_19:19",
"entity_name": "anonymous_function_19",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [
{
"description": "Cyclomatic complexity of 58.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_19:19",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:20",
"metric_value": 58.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 103.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_19:19",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:20",
"metric_value": 103.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 20,
"metrics": {
"cognitive_complexity": 103.0,
"cyclomatic_complexity": 58.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 62,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 63,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 63,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 94,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 130,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalOr",
"line": 130,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 176,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 177,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 177,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 225,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 226,
"nesting_level": 1
},
{
"column": 15,
"kind": "If",
"line": 231,
"nesting_level": 1
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 231,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 240,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 241,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 241,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 322,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 333,
"nesting_level": 0
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 333,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 342,
"nesting_level": 0
},
{
"column": 17,
"kind": "LogicalOr",
"line": 342,
"nesting_level": 1
},
{
"column": 27,
"kind": "LogicalOr",
"line": 361,
"nesting_level": 0
},
{
"column": 93,
"kind": "LogicalOr",
"line": 361,
"nesting_level": 0
},
{
"column": 43,
"kind": "LogicalOr",
"line": 362,
"nesting_level": 0
},
{
"column": 11,
"kind": "Try",
"line": 367,
"nesting_level": 0
},
{
"column": 15,
"kind": "If",
"line": 371,
"nesting_level": 1
},
{
"column": 17,
"kind": "If",
"line": 373,
"nesting_level": 2
},
{
"column": 22,
"kind": "If",
"line": 374,
"nesting_level": 2
},
{
"column": 26,
"kind": "LogicalAnd",
"line": 374,
"nesting_level": 3
},
{
"column": 13,
"kind": "Catch",
"line": 378,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 431,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 432,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 432,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 437,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 437,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 502,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 502,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 502,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 547,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 557,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalOr",
"line": 557,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 567,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 615,
"nesting_level": 0
},
{
"column": 21,
"kind": "LogicalAnd",
"line": 619,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 627,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalOr",
"line": 627,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 637,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 685,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 686,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 686,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 691,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 691,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 734,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 735,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 735,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 740,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 740,
"nesting_level": 2
}
],
"halstead": {
"bugs": 6.901235941762546,
"calculated_length": 2362.637806642338,
"difficulty": 49.96428571428571,
"effort": 1034445.9731277644,
"length": 2516.0,
"n1": 20.0,
"n2": 280.0,
"n_1": 1117.0,
"n_2": 1399.0,
"time": 57469.220729320245,
"vocabulary": 300.0,
"volume": 20703.707825287638
},
"lines_of_code": 740.0,
"maintainability_index": 0.0,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 287.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_22:22",
"entity_name": "anonymous_function_22",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 23,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 23
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_26:26",
"entity_name": "anonymous_function_26",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 27,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 27
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_30:30",
"entity_name": "anonymous_function_30",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 31,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 62,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 63,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 63,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 94,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 130,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalOr",
"line": 130,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.8650936245493923,
"calculated_length": 489.91094060325156,
"difficulty": 16.273972602739725,
"effort": 42235.52983416485,
"length": 406.0,
"n1": 11.0,
"n2": 73.0,
"n_1": 190.0,
"n_2": 216.0,
"time": 2346.4183241202695,
"vocabulary": 84.0,
"volume": 2595.280873648177
},
"lines_of_code": 112.0,
"maintainability_index": 52.070778148695595,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 42.0,
"technical_debt_score": 41.199999999999996
},
"recommendations": [],
"severity": "Low",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_33:33",
"entity_name": "anonymous_function_33",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 34,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 62,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 63,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 63,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 94,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 130,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalOr",
"line": 130,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.8474266170522448,
"calculated_length": 467.1035589911579,
"difficulty": 16.735714285714284,
"effort": 42546.86922328734,
"length": 401.0,
"n1": 11.0,
"n2": 70.0,
"n_1": 188.0,
"n_2": 213.0,
"time": 2363.714956849297,
"vocabulary": 81.0,
"volume": 2542.2798511567344
},
"lines_of_code": 106.0,
"maintainability_index": 53.07004068493542,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 41.0,
"technical_debt_score": 41.199999999999996
},
"recommendations": [],
"severity": "Low",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_72:72",
"entity_name": "anonymous_function_72",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 73,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 73
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_92:92",
"entity_name": "anonymous_function_92",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 93,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 13,
"kind": "LogicalAnd",
"line": 94,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.014,
"calculated_length": 17.509775004326936,
"difficulty": 1.3333333333333333,
"effort": 56.0,
"length": 14.0,
"n1": 2.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 3.111111111111111,
"vocabulary": 8.0,
"volume": 42.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 93
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_128:128",
"entity_name": "anonymous_function_128",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 129,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 130,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalOr",
"line": 130,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04061178583528111,
"calculated_length": 40.13896548741762,
"difficulty": 4.444444444444445,
"effort": 541.4904778037481,
"length": 32.0,
"n1": 5.0,
"n2": 9.0,
"n_1": 16.0,
"n_2": 16.0,
"time": 30.08280432243045,
"vocabulary": 14.0,
"volume": 121.83535750584333
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 129
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_145:145",
"entity_name": "anonymous_function_145",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 146,
"metrics": {
"cognitive_complexity": 18.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 176,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 177,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 177,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 225,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 226,
"nesting_level": 1
},
{
"column": 15,
"kind": "If",
"line": 231,
"nesting_level": 1
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 231,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 240,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 241,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 241,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.8953928891551589,
"calculated_length": 502.5190990651962,
"difficulty": 18.16216216216216,
"effort": 48786.81255504866,
"length": 418.0,
"n1": 12.0,
"n2": 74.0,
"n_1": 194.0,
"n_2": 224.0,
"time": 2710.378475280481,
"vocabulary": 86.0,
"volume": 2686.178667465477
},
"lines_of_code": 120.0,
"maintainability_index": 49.85408432377446,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 44.0,
"technical_debt_score": 56.400000000000006
},
"recommendations": [],
"severity": "Moderate",
"start_line": 146
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_148:148",
"entity_name": "anonymous_function_148",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 149,
"metrics": {
"cognitive_complexity": 18.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 176,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 177,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 177,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 225,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 226,
"nesting_level": 1
},
{
"column": 15,
"kind": "If",
"line": 231,
"nesting_level": 1
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 231,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 240,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 241,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 241,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.8776304283820933,
"calculated_length": 479.6515954934863,
"difficulty": 18.676056338028168,
"effort": 49172.025973295305,
"length": 413.0,
"n1": 12.0,
"n2": 71.0,
"n_1": 192.0,
"n_2": 221.0,
"time": 2731.7792207386283,
"vocabulary": 83.0,
"volume": 2632.8912851462796
},
"lines_of_code": 114.0,
"maintainability_index": 50.78922821567146,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 43.0,
"technical_debt_score": 56.400000000000006
},
"recommendations": [],
"severity": "Moderate",
"start_line": 149
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_186:186",
"entity_name": "anonymous_function_186",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 187,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 187
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_215:215",
"entity_name": "anonymous_function_215",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 216,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 216
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_255:255",
"entity_name": "anonymous_function_255",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 256,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 256
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_268:268",
"entity_name": "anonymous_function_268",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [
{
"description": "Cyclomatic complexity of 23.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_268:268",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:269",
"metric_value": 23.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 38.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_268:268",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:269",
"metric_value": 38.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 269,
"metrics": {
"cognitive_complexity": 38.0,
"cyclomatic_complexity": 23.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 322,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 333,
"nesting_level": 0
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 333,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 342,
"nesting_level": 0
},
{
"column": 17,
"kind": "LogicalOr",
"line": 342,
"nesting_level": 1
},
{
"column": 27,
"kind": "LogicalOr",
"line": 361,
"nesting_level": 0
},
{
"column": 93,
"kind": "LogicalOr",
"line": 361,
"nesting_level": 0
},
{
"column": 43,
"kind": "LogicalOr",
"line": 362,
"nesting_level": 0
},
{
"column": 11,
"kind": "Try",
"line": 367,
"nesting_level": 0
},
{
"column": 15,
"kind": "If",
"line": 371,
"nesting_level": 1
},
{
"column": 17,
"kind": "If",
"line": 373,
"nesting_level": 2
},
{
"column": 22,
"kind": "If",
"line": 374,
"nesting_level": 2
},
{
"column": 26,
"kind": "LogicalAnd",
"line": 374,
"nesting_level": 3
},
{
"column": 13,
"kind": "Catch",
"line": 378,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 431,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 432,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 432,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 437,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 437,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 502,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 502,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 502,
"nesting_level": 0
}
],
"halstead": {
"bugs": 1.8539818908796666,
"calculated_length": 1246.5671452079398,
"difficulty": 24.3,
"effort": 135155.2798451277,
"length": 744.0,
"n1": 18.0,
"n2": 160.0,
"n_1": 312.0,
"n_2": 432.0,
"time": 7508.62665806265,
"vocabulary": 178.0,
"volume": 5561.945672639
},
"lines_of_code": 246.0,
"maintainability_index": 31.680372128707205,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 93.0,
"technical_debt_score": 90.40000000000002
},
"recommendations": [],
"severity": "High",
"start_line": 269
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_271:271",
"entity_name": "anonymous_function_271",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [
{
"description": "Cyclomatic complexity of 20.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_271:271",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:272",
"metric_value": 20.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 35.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_271:271",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:272",
"metric_value": 35.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 272,
"metrics": {
"cognitive_complexity": 35.0,
"cyclomatic_complexity": 20.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 322,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 333,
"nesting_level": 0
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 333,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 342,
"nesting_level": 0
},
{
"column": 17,
"kind": "LogicalOr",
"line": 342,
"nesting_level": 1
},
{
"column": 27,
"kind": "LogicalOr",
"line": 361,
"nesting_level": 0
},
{
"column": 93,
"kind": "LogicalOr",
"line": 361,
"nesting_level": 0
},
{
"column": 43,
"kind": "LogicalOr",
"line": 362,
"nesting_level": 0
},
{
"column": 11,
"kind": "Try",
"line": 367,
"nesting_level": 0
},
{
"column": 15,
"kind": "If",
"line": 371,
"nesting_level": 1
},
{
"column": 17,
"kind": "If",
"line": 373,
"nesting_level": 2
},
{
"column": 22,
"kind": "If",
"line": 374,
"nesting_level": 2
},
{
"column": 26,
"kind": "LogicalAnd",
"line": 374,
"nesting_level": 3
},
{
"column": 13,
"kind": "Catch",
"line": 378,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 431,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 432,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 432,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 437,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 437,
"nesting_level": 2
}
],
"halstead": {
"bugs": 1.3856751722209637,
"calculated_length": 1150.7147595748238,
"difficulty": 19.75167785234899,
"effort": 82108.22882912005,
"length": 563.0,
"n1": 18.0,
"n2": 149.0,
"n_1": 236.0,
"n_2": 327.0,
"time": 4561.568268284447,
"vocabulary": 167.0,
"volume": 4157.025516662891
},
"lines_of_code": 188.0,
"maintainability_index": 38.24035379929205,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 77.0,
"technical_debt_score": 87.99999999999999
},
"recommendations": [],
"severity": "High",
"start_line": 272
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_297:297",
"entity_name": "anonymous_function_297",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 298,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 322,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 333,
"nesting_level": 0
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 333,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 342,
"nesting_level": 0
},
{
"column": 17,
"kind": "LogicalOr",
"line": 342,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.2749401818190335,
"calculated_length": 262.6791821979953,
"difficulty": 12.146341463414634,
"effort": 10018.551991161856,
"length": 144.0,
"n1": 12.0,
"n2": 41.0,
"n_1": 61.0,
"n_2": 83.0,
"time": 556.5862217312142,
"vocabulary": 53.0,
"volume": 824.8205454571006
},
"lines_of_code": 55.0,
"maintainability_index": 69.782340020753,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 23.0,
"technical_debt_score": 28.6
},
"recommendations": [],
"severity": "Low",
"start_line": 298
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_298:298",
"entity_name": "anonymous_function_298",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 299,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 19.60964047443681,
"difficulty": 2.0,
"effort": 69.73835003173087,
"length": 11.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 6.0,
"n_2": 5.0,
"time": 3.874352779540604,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 299
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_314:314",
"entity_name": "anonymous_function_314",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 315,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 322,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.034062190343752824,
"calculated_length": 52.529325012980806,
"difficulty": 6.222222222222222,
"effort": 635.8275530833861,
"length": 25.0,
"n1": 8.0,
"n2": 9.0,
"n_1": 11.0,
"n_2": 14.0,
"time": 35.323752949077004,
"vocabulary": 17.0,
"volume": 102.18657103125848
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 315
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_327:327",
"entity_name": "anonymous_function_327",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 328,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 333,
"nesting_level": 0
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 333,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.032699702730002715,
"calculated_length": 52.529325012980806,
"difficulty": 7.3125,
"effort": 717.3497286394345,
"length": 24.0,
"n1": 9.0,
"n2": 8.0,
"n_1": 11.0,
"n_2": 13.0,
"time": 39.8527627021908,
"vocabulary": 17.0,
"volume": 98.09910819000814
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 10.2
},
"recommendations": [],
"severity": "Low",
"start_line": 328
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_338:338",
"entity_name": "anonymous_function_338",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 339,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 342,
"nesting_level": 0
},
{
"column": 17,
"kind": "LogicalOr",
"line": 342,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.02865053103446247,
"calculated_length": 43.65148445440323,
"difficulty": 4.375,
"effort": 376.0382198273199,
"length": 22.0,
"n1": 7.0,
"n2": 8.0,
"n_1": 12.0,
"n_2": 10.0,
"time": 20.891012212628883,
"vocabulary": 15.0,
"volume": 85.95159310338741
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 10.0
},
"recommendations": [],
"severity": "Low",
"start_line": 339
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_348:348",
"entity_name": "anonymous_function_348",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 349,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007754887502163467,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 29.080828133113002,
"length": 9.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 5.0,
"time": 1.6156015629507223,
"vocabulary": 6.0,
"volume": 23.264662506490403
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 349
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:findTranscriptFile:365",
"entity_name": "findTranscriptFile",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 366,
"metrics": {
"cognitive_complexity": 15.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 11,
"kind": "Try",
"line": 367,
"nesting_level": 0
},
{
"column": 15,
"kind": "If",
"line": 371,
"nesting_level": 1
},
{
"column": 17,
"kind": "If",
"line": 373,
"nesting_level": 2
},
{
"column": 22,
"kind": "If",
"line": 374,
"nesting_level": 2
},
{
"column": 26,
"kind": "LogicalAnd",
"line": 374,
"nesting_level": 3
},
{
"column": 13,
"kind": "Catch",
"line": 378,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09294219515978033,
"calculated_length": 108.27793097483524,
"difficulty": 9.166666666666666,
"effort": 2555.9103668939592,
"length": 58.0,
"n1": 10.0,
"n2": 18.0,
"n_1": 25.0,
"n_2": 33.0,
"time": 141.99502038299772,
"vocabulary": 28.0,
"volume": 278.826585479341
},
"lines_of_code": 16.0,
"maintainability_index": 95.1949945377212,
"max_nesting_depth": 3.0,
"parameter_count": 2.0,
"statement_count": 11.0,
"technical_debt_score": 29.200000000000003
},
"recommendations": [],
"severity": "Moderate",
"start_line": 366
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_465:465",
"entity_name": "anonymous_function_465",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 466,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 13,
"kind": "LogicalAnd",
"line": 502,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 502,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 502,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.33805202824108455,
"calculated_length": 336.8215161096626,
"difficulty": 4.419642857142857,
"effort": 4482.207695875093,
"length": 171.0,
"n1": 5.0,
"n2": 56.0,
"n_1": 72.0,
"n_2": 99.0,
"time": 249.0115386597274,
"vocabulary": 61.0,
"volume": 1014.1560847232536
},
"lines_of_code": 46.0,
"maintainability_index": 72.06258644641157,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 14.0,
"technical_debt_score": 19.6
},
"recommendations": [],
"severity": "Low",
"start_line": 466
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_500:500",
"entity_name": "anonymous_function_500",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 501,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 13,
"kind": "LogicalAnd",
"line": 502,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 502,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 502,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04687223642978716,
"calculated_length": 40.05374780501027,
"difficulty": 1.8181818181818181,
"effort": 255.66674416247542,
"length": 38.0,
"n1": 2.0,
"n2": 11.0,
"n_1": 18.0,
"n_2": 20.0,
"time": 14.203708009026412,
"vocabulary": 13.0,
"volume": 140.6167092893615
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 11.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 501
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_517:517",
"entity_name": "anonymous_function_517",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 518,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 547,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 557,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalOr",
"line": 557,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 567,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.49910656261519626,
"calculated_length": 499.96290913407546,
"difficulty": 12.109589041095889,
"effort": 18131.92608295206,
"length": 233.0,
"n1": 13.0,
"n2": 73.0,
"n_1": 97.0,
"n_2": 136.0,
"time": 1007.32922683067,
"vocabulary": 86.0,
"volume": 1497.3196878455888
},
"lines_of_code": 57.0,
"maintainability_index": 66.33312350851098,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 26.0,
"technical_debt_score": 27.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 518
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_518:518",
"entity_name": "anonymous_function_518",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 519,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 547,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 557,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalOr",
"line": 557,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 567,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.4879468966054454,
"calculated_length": 484.7377618206666,
"difficulty": 12.267605633802816,
"effort": 17957.820293380686,
"length": 229.0,
"n1": 13.0,
"n2": 71.0,
"n_1": 95.0,
"n_2": 134.0,
"time": 997.6566829655936,
"vocabulary": 84.0,
"volume": 1463.8406898163362
},
"lines_of_code": 55.0,
"maintainability_index": 67.02934427435704,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 25.0,
"technical_debt_score": 27.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 519
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_549:549",
"entity_name": "anonymous_function_549",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 550,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 550
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_555:555",
"entity_name": "anonymous_function_555",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 556,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 557,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalOr",
"line": 557,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.02306287745758198,
"calculated_length": 27.11941547876375,
"difficulty": 4.166666666666667,
"effort": 288.28596821977476,
"length": 20.0,
"n1": 5.0,
"n2": 6.0,
"n_1": 10.0,
"n_2": 10.0,
"time": 16.01588712332082,
"vocabulary": 11.0,
"volume": 69.18863237274594
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 11.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 556
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_561:561",
"entity_name": "anonymous_function_561",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 562,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004,
"calculated_length": 4.0,
"difficulty": 2.0,
"effort": 24.0,
"length": 6.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.3333333333333333,
"vocabulary": 4.0,
"volume": 12.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 562
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_577:577",
"entity_name": "anonymous_function_577",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 578,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 615,
"nesting_level": 0
},
{
"column": 21,
"kind": "LogicalAnd",
"line": 619,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 627,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalOr",
"line": 627,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 637,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.54580468365677,
"calculated_length": 543.5643419800618,
"difficulty": 13.551282051282051,
"effort": 22189.059639430998,
"length": 251.0,
"n1": 14.0,
"n2": 78.0,
"n_1": 100.0,
"n_2": 151.0,
"time": 1232.7255355239442,
"vocabulary": 92.0,
"volume": 1637.4140509703102
},
"lines_of_code": 67.0,
"maintainability_index": 63.01943747935738,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 25.0,
"technical_debt_score": 33.4
},
"recommendations": [],
"severity": "Low",
"start_line": 578
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_578:578",
"entity_name": "anonymous_function_578",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 579,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 615,
"nesting_level": 0
},
{
"column": 21,
"kind": "LogicalAnd",
"line": 619,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 627,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalOr",
"line": 627,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 637,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.5344959049311432,
"calculated_length": 528.1454599305189,
"difficulty": 13.723684210526315,
"effort": 22005.759033283513,
"length": 247.0,
"n1": 14.0,
"n2": 76.0,
"n_1": 98.0,
"n_2": 149.0,
"time": 1222.5421685157507,
"vocabulary": 90.0,
"volume": 1603.4877147934296
},
"lines_of_code": 65.0,
"maintainability_index": 63.61925716812247,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 24.0,
"technical_debt_score": 33.0
},
"recommendations": [],
"severity": "Low",
"start_line": 579
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_618:618",
"entity_name": "anonymous_function_618",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 619,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 21,
"kind": "LogicalAnd",
"line": 619,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 13.60964047443681,
"difficulty": 1.4,
"effort": 47.16356269056775,
"length": 12.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 2.620197927253764,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 619
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_625:625",
"entity_name": "anonymous_function_625",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 626,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 627,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalOr",
"line": 627,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.02306287745758198,
"calculated_length": 27.11941547876375,
"difficulty": 4.166666666666667,
"effort": 288.28596821977476,
"length": 20.0,
"n1": 5.0,
"n2": 6.0,
"n_1": 10.0,
"n_2": 10.0,
"time": 16.01588712332082,
"vocabulary": 11.0,
"volume": 69.18863237274594
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 11.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 626
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_631:631",
"entity_name": "anonymous_function_631",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 632,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004,
"calculated_length": 4.0,
"difficulty": 2.0,
"effort": 24.0,
"length": 6.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.3333333333333333,
"vocabulary": 4.0,
"volume": 12.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 632
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_647:647",
"entity_name": "anonymous_function_647",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 648,
"metrics": {
"cognitive_complexity": 20.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 685,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 686,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 686,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 691,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 691,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 734,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 735,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 735,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 740,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 740,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.8778611765677607,
"calculated_length": 447.1667541538967,
"difficulty": 16.102941176470587,
"effort": 42408.44066213373,
"length": 419.0,
"n1": 10.0,
"n2": 68.0,
"n_1": 200.0,
"n_2": 219.0,
"time": 2356.024481229652,
"vocabulary": 78.0,
"volume": 2633.5835297032822
},
"lines_of_code": 109.0,
"maintainability_index": 51.51444037380996,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 46.0,
"technical_debt_score": 58.00000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 648
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts:anonymous_function_650:650",
"entity_name": "anonymous_function_650",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/persistence.e2e.test.ts",
"issues": [],
"line_number": 651,
"metrics": {
"cognitive_complexity": 20.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 685,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 686,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 686,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 691,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 691,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 734,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 735,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 735,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 740,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 740,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.8595769792884315,
"calculated_length": 424.67318879572315,
"difficulty": 16.615384615384617,
"effort": 42846.60635222336,
"length": 414.0,
"n1": 10.0,
"n2": 65.0,
"n_1": 198.0,
"n_2": 216.0,
"time": 2380.3670195679642,
"vocabulary": 75.0,
"volume": 2578.7309378652944
},
"lines_of_code": 103.0,
"maintainability_index": 52.54111649444722,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 45.0,
"technical_debt_score": 58.00000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 651
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts:createCapturingLogger:7",
"entity_name": "createCapturingLogger",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts",
"issues": [],
"line_number": 8,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.046080793392585404,
"calculated_length": 81.09650877569258,
"difficulty": 3.088235294117647,
"effort": 426.92499760777656,
"length": 31.0,
"n1": 5.0,
"n2": 17.0,
"n_1": 10.0,
"n_2": 21.0,
"time": 23.718055422654253,
"vocabulary": 22.0,
"volume": 138.24238017775622
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 8
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts:write:10",
"entity_name": "write",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts",
"issues": [],
"line_number": 11,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.019603445838944685,
"calculated_length": 28.75488750216347,
"difficulty": 1.875,
"effort": 110.26938284406386,
"length": 17.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 7.0,
"n_2": 10.0,
"time": 6.126076824670214,
"vocabulary": 11.0,
"volume": 58.81033751683405
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 11
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts:parseOfferUrlFromLogs:19",
"entity_name": "parseOfferUrlFromLogs",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts",
"issues": [],
"line_number": 20,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 22,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 23,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 25,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 25,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 28,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07766316253533664,
"calculated_length": 101.40868524464065,
"difficulty": 12.923076923076923,
"effort": 3010.941070600744,
"length": 49.0,
"n1": 14.0,
"n2": 13.0,
"n_1": 25.0,
"n_2": 24.0,
"time": 167.27450392226353,
"vocabulary": 27.0,
"volume": 232.98948760600993
},
"lines_of_code": 13.0,
"maintainability_index": 99.72265506724219,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 21.8
},
"recommendations": [],
"severity": "Low",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts:decodeOfferFromFragmentUrl:34",
"entity_name": "decodeOfferFromFragmentUrl",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts",
"issues": [],
"line_number": 35,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 38,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 44,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.11,
"calculated_length": 131.32677655889415,
"difficulty": 8.863636363636363,
"effort": 2925.0,
"length": 66.0,
"n1": 10.0,
"n2": 22.0,
"n_1": 27.0,
"n_2": 39.0,
"time": 162.5,
"vocabulary": 32.0,
"volume": 330.0
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 9.8
},
"recommendations": [],
"severity": "Low",
"start_line": 35
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts:anonymous_function_47:47",
"entity_name": "anonymous_function_47",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts",
"issues": [],
"line_number": 48,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 62,
"nesting_level": 0
},
{
"column": 13,
"kind": "Try",
"line": 84,
"nesting_level": 1
},
{
"column": 15,
"kind": "Catch",
"line": 86,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.294,
"calculated_length": 346.50410925683707,
"difficulty": 6.627272727272727,
"effort": 5845.254545454545,
"length": 147.0,
"n1": 9.0,
"n2": 55.0,
"n_1": 66.0,
"n_2": 81.0,
"time": 324.73636363636365,
"vocabulary": 64.0,
"volume": 882.0
},
"lines_of_code": 58.0,
"maintainability_index": 69.03342453791271,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 25.0,
"technical_debt_score": 24.4
},
"recommendations": [],
"severity": "Low",
"start_line": 48
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts:anonymous_function_50:50",
"entity_name": "anonymous_function_50",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts",
"issues": [],
"line_number": 51,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 62,
"nesting_level": 0
},
{
"column": 13,
"kind": "Try",
"line": 84,
"nesting_level": 1
},
{
"column": 15,
"kind": "Catch",
"line": 86,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.28072156731131,
"calculated_length": 324.95219035631754,
"difficulty": 6.75,
"effort": 5684.611738054027,
"length": 142.0,
"n1": 9.0,
"n2": 52.0,
"n_1": 64.0,
"n_2": 78.0,
"time": 315.81176322522373,
"vocabulary": 61.0,
"volume": 842.1647019339299
},
"lines_of_code": 52.0,
"maintainability_index": 71.04277862280307,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 24.0,
"technical_debt_score": 23.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 51
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts:anonymous_function_71:71",
"entity_name": "anonymous_function_71",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts",
"issues": [],
"line_number": 72,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 13,
"kind": "Try",
"line": 84,
"nesting_level": 1
},
{
"column": 15,
"kind": "Catch",
"line": 86,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.13739293667703853,
"calculated_length": 123.69340944371453,
"difficulty": 6.543478260869565,
"effort": 2697.083083029691,
"length": 84.0,
"n1": 7.0,
"n2": 23.0,
"n_1": 41.0,
"n_2": 43.0,
"time": 149.83794905720504,
"vocabulary": 30.0,
"volume": 412.1788100311156
},
"lines_of_code": 25.0,
"maintainability_index": 86.85263388447724,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 14.0,
"technical_debt_score": 15.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 72
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts:anonymous_function_72:72",
"entity_name": "anonymous_function_72",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts",
"issues": [],
"line_number": 73,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 19.60964047443681,
"difficulty": 2.0,
"effort": 69.73835003173087,
"length": 11.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 6.0,
"n_2": 5.0,
"time": 3.874352779540604,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 73
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts:anonymous_function_77:77",
"entity_name": "anonymous_function_77",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts",
"issues": [],
"line_number": 78,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 52.303762523798156,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 2.905764584655453,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 78
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts:anonymous_function_81:81",
"entity_name": "anonymous_function_81",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts",
"issues": [],
"line_number": 82,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 13,
"kind": "Try",
"line": 84,
"nesting_level": 1
},
{
"column": 15,
"kind": "Catch",
"line": 86,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.03951214079875328,
"calculated_length": 53.5635228093372,
"difficulty": 3.545454545454546,
"effort": 420.26549758673946,
"length": 29.0,
"n1": 6.0,
"n2": 11.0,
"n_1": 16.0,
"n_2": 13.0,
"time": 23.348083199263304,
"vocabulary": 17.0,
"volume": 118.53642239625984
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 11.8
},
"recommendations": [],
"severity": "Low",
"start_line": 82
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts:anonymous_function_92:92",
"entity_name": "anonymous_function_92",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/relay-transport.e2e.test.ts",
"issues": [],
"line_number": 93,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007754887502163467,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 29.080828133113002,
"length": 9.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 5.0,
"time": 1.6156015629507223,
"vocabulary": 6.0,
"volume": 23.264662506490403
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 93
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/setup.ts:tmpCwd:24",
"entity_name": "tmpCwd",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/setup.ts",
"issues": [],
"line_number": 25,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 52.303762523798156,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 2.905764584655453,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 25
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/setup.ts:getTestContext:31",
"entity_name": "getTestContext",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/setup.ts",
"issues": [],
"line_number": 32,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 33,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01383772647454919,
"calculated_length": 27.11941547876375,
"difficulty": 3.5999999999999996,
"effort": 149.44744592513123,
"length": 12.0,
"n1": 6.0,
"n2": 5.0,
"n_1": 6.0,
"n_2": 6.0,
"time": 8.302635884729513,
"vocabulary": 11.0,
"volume": 41.51317942364757
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 32
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/setup.ts:setupDaemonE2E:38",
"entity_name": "setupDaemonE2E",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/setup.ts",
"issues": [],
"line_number": 39,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 45,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.037333333333333336,
"calculated_length": 48.18080946738404,
"difficulty": 4.666666666666666,
"effort": 522.6666666666666,
"length": 28.0,
"n1": 7.0,
"n2": 9.0,
"n_1": 16.0,
"n_2": 12.0,
"time": 29.037037037037035,
"vocabulary": 16.0,
"volume": 112.0
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 39
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/setup.ts:anonymous_function_39:39",
"entity_name": "anonymous_function_39",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/setup.ts",
"issues": [],
"line_number": 40,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 40
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/setup.ts:anonymous_function_43:43",
"entity_name": "anonymous_function_43",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/setup.ts",
"issues": [],
"line_number": 44,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 45,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.014395021744511903,
"calculated_length": 24.406371956566694,
"difficulty": 5.833333333333334,
"effort": 251.91288052895834,
"length": 13.0,
"n1": 7.0,
"n2": 3.0,
"n_1": 8.0,
"n_2": 5.0,
"time": 13.995160029386575,
"vocabulary": 10.0,
"volume": 43.18506523353571
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 44
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:tmpCwd:11",
"entity_name": "tmpCwd",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts",
"issues": [],
"line_number": 12,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 52.303762523798156,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 2.905764584655453,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 12
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_24:24",
"entity_name": "anonymous_function_24",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts",
"issues": [
{
"description": "Cyclomatic complexity of 108.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_24:24",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:25",
"metric_value": 108.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 260.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_24:24",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:25",
"metric_value": 260.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 25,
"metrics": {
"cognitive_complexity": 260.0,
"cyclomatic_complexity": 108.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 70,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 71,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 71,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 76,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 76,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalOr",
"line": 106,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 106,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 106,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 106,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 106,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 126,
"nesting_level": 0
},
{
"column": 9,
"kind": "For",
"line": 135,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 216,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 217,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 217,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 222,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 222,
"nesting_level": 2
},
{
"column": 9,
"kind": "For",
"line": 235,
"nesting_level": 0
},
{
"column": 9,
"kind": "For",
"line": 253,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 262,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 262,
"nesting_level": 2
},
{
"column": 23,
"kind": "LogicalOr",
"line": 278,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 283,
"nesting_level": 0
},
{
"column": 9,
"kind": "While",
"line": 350,
"nesting_level": 0
},
{
"column": 11,
"kind": "For",
"line": 359,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 361,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 362,
"nesting_level": 3
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 362,
"nesting_level": 3
},
{
"column": 15,
"kind": "If",
"line": 367,
"nesting_level": 3
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 367,
"nesting_level": 4
},
{
"column": 13,
"kind": "If",
"line": 371,
"nesting_level": 2
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 371,
"nesting_level": 3
},
{
"column": 15,
"kind": "If",
"line": 372,
"nesting_level": 3
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 372,
"nesting_level": 4
},
{
"column": 15,
"kind": "If",
"line": 375,
"nesting_level": 3
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 375,
"nesting_level": 4
},
{
"column": 43,
"kind": "LogicalOr",
"line": 375,
"nesting_level": 4
},
{
"column": 11,
"kind": "If",
"line": 382,
"nesting_level": 1
},
{
"column": 9,
"kind": "For",
"line": 401,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 403,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 404,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 404,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 409,
"nesting_level": 2
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 409,
"nesting_level": 3
},
{
"column": 15,
"kind": "If",
"line": 411,
"nesting_level": 3
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 411,
"nesting_level": 4
},
{
"column": 15,
"kind": "If",
"line": 414,
"nesting_level": 3
},
{
"column": 9,
"kind": "For",
"line": 422,
"nesting_level": 0
},
{
"column": 23,
"kind": "LogicalOr",
"line": 440,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 452,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 462,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 462,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 462,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 462,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 468,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 505,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 505,
"nesting_level": 1
},
{
"column": 18,
"kind": "If",
"line": 507,
"nesting_level": 1
},
{
"column": 22,
"kind": "LogicalAnd",
"line": 507,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 509,
"nesting_level": 2
},
{
"column": 28,
"kind": "ConditionalExpression",
"line": 511,
"nesting_level": 3
},
{
"column": 52,
"kind": "ConditionalExpression",
"line": 512,
"nesting_level": 3
},
{
"column": 34,
"kind": "ConditionalExpression",
"line": 513,
"nesting_level": 3
},
{
"column": 9,
"kind": "While",
"line": 530,
"nesting_level": 0
},
{
"column": 11,
"kind": "For",
"line": 532,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 534,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 535,
"nesting_level": 3
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 535,
"nesting_level": 3
},
{
"column": 32,
"kind": "LogicalOr",
"line": 540,
"nesting_level": 3
},
{
"column": 15,
"kind": "If",
"line": 541,
"nesting_level": 3
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 541,
"nesting_level": 4
},
{
"column": 17,
"kind": "If",
"line": 544,
"nesting_level": 4
},
{
"column": 11,
"kind": "If",
"line": 553,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 567,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 567,
"nesting_level": 1
},
{
"column": 11,
"kind": "For",
"line": 622,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 624,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 625,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 625,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 625,
"nesting_level": 2
},
{
"column": 9,
"kind": "While",
"line": 650,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 653,
"nesting_level": 1
},
{
"column": 9,
"kind": "While",
"line": 666,
"nesting_level": 0
},
{
"column": 11,
"kind": "For",
"line": 671,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 673,
"nesting_level": 2
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 673,
"nesting_level": 3
},
{
"column": 15,
"kind": "If",
"line": 674,
"nesting_level": 3
},
{
"column": 11,
"kind": "If",
"line": 682,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 682,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 682,
"nesting_level": 2
},
{
"column": 9,
"kind": "For",
"line": 696,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 698,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 698,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 701,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 702,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 702,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 707,
"nesting_level": 2
},
{
"column": 33,
"kind": "LogicalOr",
"line": 708,
"nesting_level": 3
},
{
"column": 13,
"kind": "If",
"line": 710,
"nesting_level": 2
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 710,
"nesting_level": 3
},
{
"column": 30,
"kind": "LogicalOr",
"line": 726,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 730,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 730,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 730,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 736,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 736,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 736,
"nesting_level": 0
}
],
"halstead": {
"bugs": 6.410918680271318,
"calculated_length": 1767.294366345663,
"difficulty": 63.38888888888889,
"effort": 1219143.0356982625,
"length": 2438.0,
"n1": 21.0,
"n2": 216.0,
"n_1": 1134.0,
"n_2": 1304.0,
"time": 67730.16864990347,
"vocabulary": 237.0,
"volume": 19232.756040813954
},
"lines_of_code": 736.0,
"maintainability_index": 0.0,
"max_nesting_depth": 4.0,
"parameter_count": 0.0,
"statement_count": 307.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 25
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_27:27",
"entity_name": "anonymous_function_27",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts",
"issues": [],
"line_number": 28,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 28
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_31:31",
"entity_name": "anonymous_function_31",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts",
"issues": [],
"line_number": 32,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 32
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_35:35",
"entity_name": "anonymous_function_35",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts",
"issues": [],
"line_number": 36,
"metrics": {
"cognitive_complexity": 17.0,
"cyclomatic_complexity": 13.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 70,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 71,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 71,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 76,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 76,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalOr",
"line": 106,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 106,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 106,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 106,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 106,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 126,
"nesting_level": 0
},
{
"column": 9,
"kind": "For",
"line": 135,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.6230400964525722,
"calculated_length": 474.6857932898427,
"difficulty": 12.23943661971831,
"effort": 22876.97931622332,
"length": 294.0,
"n1": 11.0,
"n2": 71.0,
"n_1": 136.0,
"n_2": 158.0,
"time": 1270.9432953457401,
"vocabulary": 82.0,
"volume": 1869.1202893577167
},
"lines_of_code": 119.0,
"maintainability_index": 51.415438950153245,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 34.0,
"technical_debt_score": 59.60000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 36
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_38:38",
"entity_name": "anonymous_function_38",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts",
"issues": [],
"line_number": 39,
"metrics": {
"cognitive_complexity": 17.0,
"cyclomatic_complexity": 13.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 70,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 71,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 71,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 76,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 76,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalOr",
"line": 106,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 106,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 106,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 106,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 106,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 126,
"nesting_level": 0
},
{
"column": 9,
"kind": "For",
"line": 135,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.6072642120743943,
"calculated_length": 452.00122101003336,
"difficulty": 12.536764705882351,
"effort": 22839.385623239166,
"length": 289.0,
"n1": 11.0,
"n2": 68.0,
"n_1": 134.0,
"n_2": 155.0,
"time": 1268.8547568466204,
"vocabulary": 79.0,
"volume": 1821.7926362231829
},
"lines_of_code": 113.0,
"maintainability_index": 52.386920783461576,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 33.0,
"technical_debt_score": 59.60000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 39
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_157:157",
"entity_name": "anonymous_function_157",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts",
"issues": [],
"line_number": 158,
"metrics": {
"cognitive_complexity": 19.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 216,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 217,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 217,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 222,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 222,
"nesting_level": 2
},
{
"column": 9,
"kind": "For",
"line": 235,
"nesting_level": 0
},
{
"column": 9,
"kind": "For",
"line": 253,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 262,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 262,
"nesting_level": 2
},
{
"column": 23,
"kind": "LogicalOr",
"line": 278,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 283,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.9767694376069715,
"calculated_length": 579.9742135220697,
"difficulty": 17.0,
"effort": 49815.241317955544,
"length": 445.0,
"n1": 12.0,
"n2": 84.0,
"n_1": 207.0,
"n_2": 238.0,
"time": 2767.5134065530856,
"vocabulary": 96.0,
"volume": 2930.3083128209146
},
"lines_of_code": 137.0,
"maintainability_index": 47.02542180357575,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 53.0,
"technical_debt_score": 59.20000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 158
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_160:160",
"entity_name": "anonymous_function_160",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts",
"issues": [],
"line_number": 161,
"metrics": {
"cognitive_complexity": 19.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 216,
"nesting_level": 0
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 217,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 217,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 222,
"nesting_level": 1
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 222,
"nesting_level": 2
},
{
"column": 9,
"kind": "For",
"line": 235,
"nesting_level": 0
},
{
"column": 9,
"kind": "For",
"line": 253,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 262,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 262,
"nesting_level": 2
},
{
"column": 23,
"kind": "LogicalOr",
"line": 278,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 283,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.9590766256291778,
"calculated_length": 556.5474002423084,
"difficulty": 17.40740740740741,
"effort": 50085.112671745956,
"length": 440.0,
"n1": 12.0,
"n2": 81.0,
"n_1": 205.0,
"n_2": 235.0,
"time": 2782.506259541442,
"vocabulary": 93.0,
"volume": 2877.2298768875335
},
"lines_of_code": 131.0,
"maintainability_index": 47.84597040197983,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 52.0,
"technical_debt_score": 59.20000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 161
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_281:281",
"entity_name": "anonymous_function_281",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts",
"issues": [],
"line_number": 282,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 282
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_286:286",
"entity_name": "anonymous_function_286",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts",
"issues": [],
"line_number": 287,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 287
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_297:297",
"entity_name": "anonymous_function_297",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts",
"issues": [
{
"description": "Cyclomatic complexity of 85.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_297:297",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:298",
"metric_value": 85.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 224.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_297:297",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:298",
"metric_value": 224.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 298,
"metrics": {
"cognitive_complexity": 224.0,
"cyclomatic_complexity": 85.0,
"decision_points": [
{
"column": 9,
"kind": "While",
"line": 350,
"nesting_level": 0
},
{
"column": 11,
"kind": "For",
"line": 359,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 361,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 362,
"nesting_level": 3
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 362,
"nesting_level": 3
},
{
"column": 15,
"kind": "If",
"line": 367,
"nesting_level": 3
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 367,
"nesting_level": 4
},
{
"column": 13,
"kind": "If",
"line": 371,
"nesting_level": 2
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 371,
"nesting_level": 3
},
{
"column": 15,
"kind": "If",
"line": 372,
"nesting_level": 3
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 372,
"nesting_level": 4
},
{
"column": 15,
"kind": "If",
"line": 375,
"nesting_level": 3
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 375,
"nesting_level": 4
},
{
"column": 43,
"kind": "LogicalOr",
"line": 375,
"nesting_level": 4
},
{
"column": 11,
"kind": "If",
"line": 382,
"nesting_level": 1
},
{
"column": 9,
"kind": "For",
"line": 401,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 403,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 404,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 404,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 409,
"nesting_level": 2
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 409,
"nesting_level": 3
},
{
"column": 15,
"kind": "If",
"line": 411,
"nesting_level": 3
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 411,
"nesting_level": 4
},
{
"column": 15,
"kind": "If",
"line": 414,
"nesting_level": 3
},
{
"column": 9,
"kind": "For",
"line": 422,
"nesting_level": 0
},
{
"column": 23,
"kind": "LogicalOr",
"line": 440,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 452,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 462,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 462,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 462,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 462,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 468,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 505,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 505,
"nesting_level": 1
},
{
"column": 18,
"kind": "If",
"line": 507,
"nesting_level": 1
},
{
"column": 22,
"kind": "LogicalAnd",
"line": 507,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 509,
"nesting_level": 2
},
{
"column": 28,
"kind": "ConditionalExpression",
"line": 511,
"nesting_level": 3
},
{
"column": 52,
"kind": "ConditionalExpression",
"line": 512,
"nesting_level": 3
},
{
"column": 34,
"kind": "ConditionalExpression",
"line": 513,
"nesting_level": 3
},
{
"column": 9,
"kind": "While",
"line": 530,
"nesting_level": 0
},
{
"column": 11,
"kind": "For",
"line": 532,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 534,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 535,
"nesting_level": 3
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 535,
"nesting_level": 3
},
{
"column": 32,
"kind": "LogicalOr",
"line": 540,
"nesting_level": 3
},
{
"column": 15,
"kind": "If",
"line": 541,
"nesting_level": 3
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 541,
"nesting_level": 4
},
{
"column": 17,
"kind": "If",
"line": 544,
"nesting_level": 4
},
{
"column": 11,
"kind": "If",
"line": 553,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 567,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 567,
"nesting_level": 1
},
{
"column": 11,
"kind": "For",
"line": 622,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 624,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 625,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 625,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 625,
"nesting_level": 2
},
{
"column": 9,
"kind": "While",
"line": 650,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 653,
"nesting_level": 1
},
{
"column": 9,
"kind": "While",
"line": 666,
"nesting_level": 0
},
{
"column": 11,
"kind": "For",
"line": 671,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 673,
"nesting_level": 2
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 673,
"nesting_level": 3
},
{
"column": 15,
"kind": "If",
"line": 674,
"nesting_level": 3
},
{
"column": 11,
"kind": "If",
"line": 682,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 682,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 682,
"nesting_level": 2
},
{
"column": 9,
"kind": "For",
"line": 696,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 698,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 698,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 701,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 702,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 702,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 707,
"nesting_level": 2
},
{
"column": 33,
"kind": "LogicalOr",
"line": 708,
"nesting_level": 3
},
{
"column": 13,
"kind": "If",
"line": 710,
"nesting_level": 2
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 710,
"nesting_level": 3
},
{
"column": 30,
"kind": "LogicalOr",
"line": 726,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 730,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 730,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 730,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 736,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 736,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 736,
"nesting_level": 0
}
],
"halstead": {
"bugs": 4.228702200098646,
"calculated_length": 1396.2006104490115,
"difficulty": 53.580000000000005,
"effort": 679721.5916438564,
"length": 1666.0,
"n1": 21.0,
"n2": 175.0,
"n_1": 773.0,
"n_2": 893.0,
"time": 37762.31064688091,
"vocabulary": 196.0,
"volume": 12686.106600295938
},
"lines_of_code": 460.0,
"maintainability_index": 2.9931648036151586,
"max_nesting_depth": 4.0,
"parameter_count": 0.0,
"statement_count": 212.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 298
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_300:300",
"entity_name": "anonymous_function_300",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts",
"issues": [
{
"description": "Cyclomatic complexity of 33.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_300:300",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:301",
"metric_value": 33.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 92.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_300:300",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:301",
"metric_value": 92.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 301,
"metrics": {
"cognitive_complexity": 92.0,
"cyclomatic_complexity": 33.0,
"decision_points": [
{
"column": 9,
"kind": "While",
"line": 350,
"nesting_level": 0
},
{
"column": 11,
"kind": "For",
"line": 359,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 361,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 362,
"nesting_level": 3
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 362,
"nesting_level": 3
},
{
"column": 15,
"kind": "If",
"line": 367,
"nesting_level": 3
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 367,
"nesting_level": 4
},
{
"column": 13,
"kind": "If",
"line": 371,
"nesting_level": 2
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 371,
"nesting_level": 3
},
{
"column": 15,
"kind": "If",
"line": 372,
"nesting_level": 3
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 372,
"nesting_level": 4
},
{
"column": 15,
"kind": "If",
"line": 375,
"nesting_level": 3
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 375,
"nesting_level": 4
},
{
"column": 43,
"kind": "LogicalOr",
"line": 375,
"nesting_level": 4
},
{
"column": 11,
"kind": "If",
"line": 382,
"nesting_level": 1
},
{
"column": 9,
"kind": "For",
"line": 401,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 403,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 404,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 404,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 409,
"nesting_level": 2
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 409,
"nesting_level": 3
},
{
"column": 15,
"kind": "If",
"line": 411,
"nesting_level": 3
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 411,
"nesting_level": 4
},
{
"column": 15,
"kind": "If",
"line": 414,
"nesting_level": 3
},
{
"column": 9,
"kind": "For",
"line": 422,
"nesting_level": 0
},
{
"column": 23,
"kind": "LogicalOr",
"line": 440,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 452,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 462,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 462,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 462,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 462,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 468,
"nesting_level": 0
}
],
"halstead": {
"bugs": 1.2823793539179815,
"calculated_length": 755.6460349070541,
"difficulty": 26.205882352941174,
"effort": 100817.64744184601,
"length": 557.0,
"n1": 18.0,
"n2": 102.0,
"n_1": 260.0,
"n_2": 297.0,
"time": 5600.980413435889,
"vocabulary": 120.0,
"volume": 3847.138061753945
},
"lines_of_code": 177.0,
"maintainability_index": 36.62993342290538,
"max_nesting_depth": 4.0,
"parameter_count": 0.0,
"statement_count": 70.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 301
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_327:327",
"entity_name": "anonymous_function_327",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts",
"issues": [],
"line_number": 328,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 328
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_385:385",
"entity_name": "anonymous_function_385",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts",
"issues": [],
"line_number": 386,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 386
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_450:450",
"entity_name": "anonymous_function_450",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts",
"issues": [],
"line_number": 451,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 451
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_483:483",
"entity_name": "anonymous_function_483",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts",
"issues": [
{
"description": "Cyclomatic complexity of 21.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_483:483",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:484",
"metric_value": 21.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 60.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_483:483",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:484",
"metric_value": 60.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 484,
"metrics": {
"cognitive_complexity": 60.0,
"cyclomatic_complexity": 21.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 505,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 505,
"nesting_level": 1
},
{
"column": 18,
"kind": "If",
"line": 507,
"nesting_level": 1
},
{
"column": 22,
"kind": "LogicalAnd",
"line": 507,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 509,
"nesting_level": 2
},
{
"column": 28,
"kind": "ConditionalExpression",
"line": 511,
"nesting_level": 3
},
{
"column": 52,
"kind": "ConditionalExpression",
"line": 512,
"nesting_level": 3
},
{
"column": 34,
"kind": "ConditionalExpression",
"line": 513,
"nesting_level": 3
},
{
"column": 9,
"kind": "While",
"line": 530,
"nesting_level": 0
},
{
"column": 11,
"kind": "For",
"line": 532,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 534,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 535,
"nesting_level": 3
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 535,
"nesting_level": 3
},
{
"column": 32,
"kind": "LogicalOr",
"line": 540,
"nesting_level": 3
},
{
"column": 15,
"kind": "If",
"line": 541,
"nesting_level": 3
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 541,
"nesting_level": 4
},
{
"column": 17,
"kind": "If",
"line": 544,
"nesting_level": 4
},
{
"column": 11,
"kind": "If",
"line": 553,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 567,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 567,
"nesting_level": 1
}
],
"halstead": {
"bugs": 1.1122382907050083,
"calculated_length": 664.9774014250988,
"difficulty": 27.444444444444443,
"effort": 91574.28593471234,
"length": 493.0,
"n1": 19.0,
"n2": 90.0,
"n_1": 233.0,
"n_2": 260.0,
"time": 5087.460329706241,
"vocabulary": 109.0,
"volume": 3336.7148721150247
},
"lines_of_code": 108.0,
"maintainability_index": 48.13321556082224,
"max_nesting_depth": 4.0,
"parameter_count": 0.0,
"statement_count": 66.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 484
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_486:486",
"entity_name": "anonymous_function_486",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts",
"issues": [],
"line_number": 487,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 66.56842503028855,
"length": 12.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 3.6982458350160305,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 487
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_503:503",
"entity_name": "anonymous_function_503",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts",
"issues": [],
"line_number": 504,
"metrics": {
"cognitive_complexity": 23.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 505,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 505,
"nesting_level": 1
},
{
"column": 18,
"kind": "If",
"line": 507,
"nesting_level": 1
},
{
"column": 22,
"kind": "LogicalAnd",
"line": 507,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 509,
"nesting_level": 2
},
{
"column": 28,
"kind": "ConditionalExpression",
"line": 511,
"nesting_level": 3
},
{
"column": 52,
"kind": "ConditionalExpression",
"line": 512,
"nesting_level": 3
},
{
"column": 34,
"kind": "ConditionalExpression",
"line": 513,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.16926633955918388,
"calculated_length": 150.7407576846492,
"difficulty": 9.173076923076923,
"effort": 4658.079459792157,
"length": 99.0,
"n1": 9.0,
"n2": 26.0,
"n_1": 46.0,
"n_2": 53.0,
"time": 258.78219221067536,
"vocabulary": 35.0,
"volume": 507.79901867755166
},
"lines_of_code": 15.0,
"maintainability_index": 92.66314091093614,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 39.4
},
"recommendations": [],
"severity": "Moderate",
"start_line": 504
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_553:553",
"entity_name": "anonymous_function_553",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts",
"issues": [],
"line_number": 554,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 554
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_560:560",
"entity_name": "anonymous_function_560",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts",
"issues": [],
"line_number": 561,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 561
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_597:597",
"entity_name": "anonymous_function_597",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts",
"issues": [
{
"description": "Cyclomatic complexity of 33.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_597:597",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:598",
"metric_value": 33.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 72.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_597:597",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:598",
"metric_value": 72.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 598,
"metrics": {
"cognitive_complexity": 72.0,
"cyclomatic_complexity": 33.0,
"decision_points": [
{
"column": 11,
"kind": "For",
"line": 622,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 624,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 625,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 625,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 625,
"nesting_level": 2
},
{
"column": 9,
"kind": "While",
"line": 650,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 653,
"nesting_level": 1
},
{
"column": 9,
"kind": "While",
"line": 666,
"nesting_level": 0
},
{
"column": 11,
"kind": "For",
"line": 671,
"nesting_level": 1
},
{
"column": 13,
"kind": "If",
"line": 673,
"nesting_level": 2
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 673,
"nesting_level": 3
},
{
"column": 15,
"kind": "If",
"line": 674,
"nesting_level": 3
},
{
"column": 11,
"kind": "If",
"line": 682,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 682,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 682,
"nesting_level": 2
},
{
"column": 9,
"kind": "For",
"line": 696,
"nesting_level": 0
},
{
"column": 11,
"kind": "If",
"line": 698,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 698,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 701,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 702,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 702,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 707,
"nesting_level": 2
},
{
"column": 33,
"kind": "LogicalOr",
"line": 708,
"nesting_level": 3
},
{
"column": 13,
"kind": "If",
"line": 710,
"nesting_level": 2
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 710,
"nesting_level": 3
},
{
"column": 30,
"kind": "LogicalOr",
"line": 726,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 730,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 730,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 730,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 736,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 736,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 736,
"nesting_level": 0
}
],
"halstead": {
"bugs": 1.3558929263969774,
"calculated_length": 672.1417694330469,
"difficulty": 28.129032258064516,
"effort": 114419.86759530622,
"length": 601.0,
"n1": 16.0,
"n2": 93.0,
"n_1": 274.0,
"n_2": 327.0,
"time": 6356.659310850346,
"vocabulary": 109.0,
"volume": 4067.6787791909323
},
"lines_of_code": 157.0,
"maintainability_index": 38.28251343903091,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 73.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 598
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_618:618",
"entity_name": "anonymous_function_618",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts",
"issues": [],
"line_number": 619,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 11,
"kind": "For",
"line": 622,
"nesting_level": 0
},
{
"column": 13,
"kind": "If",
"line": 624,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 625,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 625,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 625,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.10958722330192358,
"calculated_length": 119.65784284662087,
"difficulty": 9.0,
"effort": 2958.855029151937,
"length": 67.0,
"n1": 10.0,
"n2": 20.0,
"n_1": 31.0,
"n_2": 36.0,
"time": 164.38083495288538,
"vocabulary": 30.0,
"volume": 328.76166990577076
},
"lines_of_code": 15.0,
"maintainability_index": 95.61385472263851,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 24.6
},
"recommendations": [],
"severity": "Low",
"start_line": 619
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_638:638",
"entity_name": "anonymous_function_638",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts",
"issues": [],
"line_number": 639,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 639
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_642:642",
"entity_name": "anonymous_function_642",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts",
"issues": [],
"line_number": 643,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 643
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_653:653",
"entity_name": "anonymous_function_653",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts",
"issues": [],
"line_number": 654,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 654
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_685:685",
"entity_name": "anonymous_function_685",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts",
"issues": [],
"line_number": 686,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 686
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_728:728",
"entity_name": "anonymous_function_728",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts",
"issues": [],
"line_number": 729,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 11,
"kind": "LogicalAnd",
"line": 730,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 730,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 730,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.038237877087457954,
"calculated_length": 40.05374780501027,
"difficulty": 1.5454545454545454,
"effort": 177.28470286003233,
"length": 31.0,
"n1": 2.0,
"n2": 11.0,
"n_1": 14.0,
"n_2": 17.0,
"time": 9.849150158890685,
"vocabulary": 13.0,
"volume": 114.71363126237385
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 11.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 729
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts:anonymous_function_734:734",
"entity_name": "anonymous_function_734",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/streaming.e2e.test.ts",
"issues": [],
"line_number": 735,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 11,
"kind": "LogicalAnd",
"line": 736,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 736,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 736,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.038237877087457954,
"calculated_length": 40.05374780501027,
"difficulty": 1.5454545454545454,
"effort": 177.28470286003233,
"length": 31.0,
"n1": 2.0,
"n2": 11.0,
"n_1": 14.0,
"n_2": 17.0,
"time": 9.849150158890685,
"vocabulary": 13.0,
"volume": 114.71363126237385
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 11.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 735
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:tmpCwd:9",
"entity_name": "tmpCwd",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts",
"issues": [],
"line_number": 10,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 52.303762523798156,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 2.905764584655453,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 10
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:anonymous_function_13:13",
"entity_name": "anonymous_function_13",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts",
"issues": [
{
"description": "Cyclomatic complexity of 17.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:anonymous_function_13:13",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:14",
"metric_value": 17.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 41.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:anonymous_function_13:13",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:14",
"metric_value": 41.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 14,
"metrics": {
"cognitive_complexity": 41.0,
"cyclomatic_complexity": 17.0,
"decision_points": [
{
"column": 7,
"kind": "While",
"line": 115,
"nesting_level": 0
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 115,
"nesting_level": 1
},
{
"column": 9,
"kind": "Try",
"line": 116,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 127,
"nesting_level": 2
},
{
"column": 11,
"kind": "Catch",
"line": 130,
"nesting_level": 2
},
{
"column": 7,
"kind": "While",
"line": 204,
"nesting_level": 0
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 204,
"nesting_level": 1
},
{
"column": 9,
"kind": "Try",
"line": 205,
"nesting_level": 1
},
{
"column": 17,
"kind": "If",
"line": 213,
"nesting_level": 2
},
{
"column": 21,
"kind": "LogicalOr",
"line": 213,
"nesting_level": 3
},
{
"column": 39,
"kind": "LogicalAnd",
"line": 213,
"nesting_level": 3
},
{
"column": 19,
"kind": "If",
"line": 216,
"nesting_level": 3
},
{
"column": 15,
"kind": "If",
"line": 224,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 226,
"nesting_level": 2
},
{
"column": 11,
"kind": "Catch",
"line": 228,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 235,
"nesting_level": 0
}
],
"halstead": {
"bugs": 1.9039995075227483,
"calculated_length": 760.8457306866735,
"difficulty": 33.92307692307692,
"effort": 193768.5652655843,
"length": 827.0,
"n1": 16.0,
"n2": 104.0,
"n_1": 386.0,
"n_2": 441.0,
"time": 10764.92029253246,
"vocabulary": 120.0,
"volume": 5711.998522568245
},
"lines_of_code": 233.0,
"maintainability_index": 33.80149097633574,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 106.0,
"technical_debt_score": 86.80000000000001
},
"recommendations": [],
"severity": "High",
"start_line": 14
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:anonymous_function_16:16",
"entity_name": "anonymous_function_16",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts",
"issues": [],
"line_number": 17,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 17
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:anonymous_function_20:20",
"entity_name": "anonymous_function_20",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts",
"issues": [],
"line_number": 21,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 21
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:anonymous_function_26:26",
"entity_name": "anonymous_function_26",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts",
"issues": [],
"line_number": 27,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10497648703848438,
"calculated_length": 103.84830635279079,
"difficulty": 4.285714285714286,
"effort": 1349.6976904947992,
"length": 67.0,
"n1": 5.0,
"n2": 21.0,
"n_1": 31.0,
"n_2": 36.0,
"time": 74.98320502748885,
"vocabulary": 26.0,
"volume": 314.92946111545314
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 27
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:anonymous_function_43:43",
"entity_name": "anonymous_function_43",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts",
"issues": [],
"line_number": 44,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.15059741084895473,
"calculated_length": 121.64874049174456,
"difficulty": 5.0,
"effort": 2258.961162734321,
"length": 93.0,
"n1": 5.0,
"n2": 24.0,
"n_1": 45.0,
"n_2": 48.0,
"time": 125.49784237412895,
"vocabulary": 29.0,
"volume": 451.79223254686417
},
"lines_of_code": 19.0,
"maintainability_index": 91.28133199693356,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 44
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:anonymous_function_68:68",
"entity_name": "anonymous_function_68",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts",
"issues": [],
"line_number": 69,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.21030060369474363,
"calculated_length": 156.3912238630265,
"difficulty": 6.413793103448276,
"effort": 4046.473684885067,
"length": 123.0,
"n1": 6.0,
"n2": 29.0,
"n_1": 61.0,
"n_2": 62.0,
"time": 224.80409360472595,
"vocabulary": 35.0,
"volume": 630.9018110842309
},
"lines_of_code": 22.0,
"maintainability_index": 87.16993099715052,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 13.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 69
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:anonymous_function_96:96",
"entity_name": "anonymous_function_96",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts",
"issues": [],
"line_number": 97,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "While",
"line": 115,
"nesting_level": 0
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 115,
"nesting_level": 1
},
{
"column": 9,
"kind": "Try",
"line": 116,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 127,
"nesting_level": 2
},
{
"column": 11,
"kind": "Catch",
"line": 130,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.334,
"calculated_length": 337.3994087763804,
"difficulty": 11.598039215686276,
"effort": 11621.235294117649,
"length": 167.0,
"n1": 13.0,
"n2": 51.0,
"n_1": 76.0,
"n_2": 91.0,
"time": 645.624183006536,
"vocabulary": 64.0,
"volume": 1002.0
},
"lines_of_code": 43.0,
"maintainability_index": 72.75784106121128,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 19.0,
"technical_debt_score": 29.400000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 97
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:anonymous_function_122:122",
"entity_name": "anonymous_function_122",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts",
"issues": [],
"line_number": 123,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.016906266674359,
"calculated_length": 21.651484454403228,
"difficulty": 1.2857142857142858,
"effort": 65.20988574395614,
"length": 16.0,
"n1": 2.0,
"n2": 7.0,
"n_1": 7.0,
"n_2": 9.0,
"time": 3.6227714302197853,
"vocabulary": 9.0,
"volume": 50.718800023076994
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 123
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:anonymous_function_122:122",
"entity_name": "anonymous_function_122",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts",
"issues": [],
"line_number": 123,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 123
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:anonymous_function_123:123",
"entity_name": "anonymous_function_123",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts",
"issues": [],
"line_number": 124,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 124
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:anonymous_function_145:145",
"entity_name": "anonymous_function_145",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts",
"issues": [],
"line_number": 146,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1390285668755747,
"calculated_length": 127.70604521880493,
"difficulty": 4.699999999999999,
"effort": 1960.302792945603,
"length": 85.0,
"n1": 5.0,
"n2": 25.0,
"n_1": 38.0,
"n_2": 47.0,
"time": 108.90571071920016,
"vocabulary": 30.0,
"volume": 417.0857006267241
},
"lines_of_code": 18.0,
"maintainability_index": 92.57286058965984,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 146
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:anonymous_function_169:169",
"entity_name": "anonymous_function_169",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts",
"issues": [],
"line_number": 170,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02343611821489358,
"calculated_length": 36.529325012980806,
"difficulty": 2.2222222222222223,
"effort": 156.24078809929057,
"length": 19.0,
"n1": 4.0,
"n2": 9.0,
"n_1": 9.0,
"n_2": 10.0,
"time": 8.68004378329392,
"vocabulary": 13.0,
"volume": 70.30835464468075
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 170
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:anonymous_function_181:181",
"entity_name": "anonymous_function_181",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts",
"issues": [
{
"description": "Cognitive complexity of 30.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:anonymous_function_181:181",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:182",
"metric_value": 30.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 182,
"metrics": {
"cognitive_complexity": 30.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 7,
"kind": "While",
"line": 204,
"nesting_level": 0
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 204,
"nesting_level": 1
},
{
"column": 9,
"kind": "Try",
"line": 205,
"nesting_level": 1
},
{
"column": 17,
"kind": "If",
"line": 213,
"nesting_level": 2
},
{
"column": 21,
"kind": "LogicalOr",
"line": 213,
"nesting_level": 3
},
{
"column": 39,
"kind": "LogicalAnd",
"line": 213,
"nesting_level": 3
},
{
"column": 19,
"kind": "If",
"line": 216,
"nesting_level": 3
},
{
"column": 15,
"kind": "If",
"line": 224,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 226,
"nesting_level": 2
},
{
"column": 11,
"kind": "Catch",
"line": 228,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 235,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.4418499357069542,
"calculated_length": 369.36728405095505,
"difficulty": 16.25,
"effort": 21540.184365714016,
"length": 217.0,
"n1": 15.0,
"n2": 54.0,
"n_1": 100.0,
"n_2": 117.0,
"time": 1196.6769092063341,
"vocabulary": 69.0,
"volume": 1325.5498071208626
},
"lines_of_code": 62.0,
"maintainability_index": 63.994593436428104,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 33.0,
"technical_debt_score": 60.4
},
"recommendations": [],
"severity": "High",
"start_line": 182
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:anonymous_function_236:236",
"entity_name": "anonymous_function_236",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts",
"issues": [],
"line_number": 237,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.013,
"calculated_length": 17.509775004326936,
"difficulty": 1.3333333333333333,
"effort": 52.0,
"length": 13.0,
"n1": 2.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 2.888888888888889,
"vocabulary": 8.0,
"volume": 39.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 237
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts:anonymous_function_236:236",
"entity_name": "anonymous_function_236",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/terminal.e2e.test.ts",
"issues": [],
"line_number": 237,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 237
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:tmpCwd:11",
"entity_name": "tmpCwd",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts",
"issues": [],
"line_number": 12,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 52.303762523798156,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 2.905764584655453,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 12
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:anonymous_function_19:19",
"entity_name": "anonymous_function_19",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts",
"issues": [
{
"description": "Cyclomatic complexity of 16.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:anonymous_function_19:19",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:20",
"metric_value": 16.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
}
],
"line_number": 20,
"metrics": {
"cognitive_complexity": 19.0,
"cyclomatic_complexity": 16.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 41,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 42,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 42,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 42,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 48,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 61,
"nesting_level": 0
},
{
"column": 49,
"kind": "LogicalAnd",
"line": 93,
"nesting_level": 0
},
{
"column": 49,
"kind": "LogicalAnd",
"line": 132,
"nesting_level": 0
},
{
"column": 49,
"kind": "LogicalAnd",
"line": 176,
"nesting_level": 0
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 215,
"nesting_level": 0
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 221,
"nesting_level": 0
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 262,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 264,
"nesting_level": 0
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 306,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 308,
"nesting_level": 0
}
],
"halstead": {
"bugs": 2.4340724402479106,
"calculated_length": 873.7862827424517,
"difficulty": 34.411764705882355,
"effort": 251282.18427265197,
"length": 1035.0,
"n1": 14.0,
"n2": 119.0,
"n_1": 450.0,
"n_2": 585.0,
"time": 13960.121348480665,
"vocabulary": 133.0,
"volume": 7302.217320743732
},
"lines_of_code": 298.0,
"maintainability_index": 28.76823223597728,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 120.0,
"technical_debt_score": 67.20000000000002
},
"recommendations": [],
"severity": "High",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:anonymous_function_22:22",
"entity_name": "anonymous_function_22",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts",
"issues": [],
"line_number": 23,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 23
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:anonymous_function_26:26",
"entity_name": "anonymous_function_26",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts",
"issues": [],
"line_number": 27,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 27
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:anonymous_function_30:30",
"entity_name": "anonymous_function_30",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts",
"issues": [
{
"description": "Cyclomatic complexity of 16.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:anonymous_function_30:30",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:31",
"metric_value": 16.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
}
],
"line_number": 31,
"metrics": {
"cognitive_complexity": 19.0,
"cyclomatic_complexity": 16.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 41,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 42,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 42,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 42,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 48,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 61,
"nesting_level": 0
},
{
"column": 49,
"kind": "LogicalAnd",
"line": 93,
"nesting_level": 0
},
{
"column": 49,
"kind": "LogicalAnd",
"line": 132,
"nesting_level": 0
},
{
"column": 49,
"kind": "LogicalAnd",
"line": 176,
"nesting_level": 0
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 215,
"nesting_level": 0
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 221,
"nesting_level": 0
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 262,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 264,
"nesting_level": 0
},
{
"column": 19,
"kind": "LogicalAnd",
"line": 306,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 308,
"nesting_level": 0
}
],
"halstead": {
"bugs": 2.341246091163581,
"calculated_length": 802.2858775006961,
"difficulty": 33.61261261261261,
"effort": 236086.19367922487,
"length": 1010.0,
"n1": 13.0,
"n2": 111.0,
"n_1": 436.0,
"n_2": 574.0,
"time": 13115.899648845827,
"vocabulary": 124.0,
"volume": 7023.738273490743
},
"lines_of_code": 286.0,
"maintainability_index": 29.636268125773825,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 114.0,
"technical_debt_score": 67.20000000000002
},
"recommendations": [],
"severity": "High",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:extractToolCalls:32",
"entity_name": "extractToolCalls",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts",
"issues": [],
"line_number": 33,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 41,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 42,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 42,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 42,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 48,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.14333333333333334,
"calculated_length": 131.32677655889415,
"difficulty": 10.909090909090908,
"effort": 4690.909090909091,
"length": 86.0,
"n1": 10.0,
"n2": 22.0,
"n_1": 38.0,
"n_2": 48.0,
"time": 260.6060606060606,
"vocabulary": 32.0,
"volume": 430.0
},
"lines_of_code": 24.0,
"maintainability_index": 86.60384486318773,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 9.0,
"technical_debt_score": 24.0
},
"recommendations": [],
"severity": "Low",
"start_line": 33
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:logToolCall:59",
"entity_name": "logToolCall",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts",
"issues": [],
"line_number": 60,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 61,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01383772647454919,
"calculated_length": 27.11941547876375,
"difficulty": 2.916666666666667,
"effort": 121.08010665230543,
"length": 12.0,
"n1": 5.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 6.726672591794746,
"vocabulary": 11.0,
"volume": 41.51317942364757
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 60
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:anonymous_function_66:66",
"entity_name": "anonymous_function_66",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts",
"issues": [],
"line_number": 67,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 49,
"kind": "LogicalAnd",
"line": 93,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2638913626734148,
"calculated_length": 248.83915945651714,
"difficulty": 5.441860465116279,
"effort": 4308.179920854353,
"length": 141.0,
"n1": 6.0,
"n2": 43.0,
"n_1": 63.0,
"n_2": 78.0,
"time": 239.34332893635298,
"vocabulary": 49.0,
"volume": 791.6740880202444
},
"lines_of_code": 33.0,
"maintainability_index": 79.19099853333314,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 15.0,
"technical_debt_score": 11.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 67
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:anonymous_function_92:92",
"entity_name": "anonymous_function_92",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts",
"issues": [],
"line_number": 93,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 49,
"kind": "LogicalAnd",
"line": 93,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 13.60964047443681,
"difficulty": 1.4,
"effort": 47.16356269056775,
"length": 12.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 2.620197927253764,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 93
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:anonymous_function_105:105",
"entity_name": "anonymous_function_105",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts",
"issues": [],
"line_number": 106,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 49,
"kind": "LogicalAnd",
"line": 132,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.30448494491229877,
"calculated_length": 287.7296844890187,
"difficulty": 6.416666666666666,
"effort": 5861.335189561751,
"length": 158.0,
"n1": 7.0,
"n2": 48.0,
"n_1": 70.0,
"n_2": 88.0,
"time": 325.6297327534306,
"vocabulary": 55.0,
"volume": 913.4548347368963
},
"lines_of_code": 36.0,
"maintainability_index": 77.03737674749085,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 17.0,
"technical_debt_score": 12.0
},
"recommendations": [],
"severity": "Low",
"start_line": 106
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:anonymous_function_131:131",
"entity_name": "anonymous_function_131",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts",
"issues": [],
"line_number": 132,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 49,
"kind": "LogicalAnd",
"line": 132,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 13.60964047443681,
"difficulty": 1.4,
"effort": 47.16356269056775,
"length": 12.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 2.620197927253764,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 132
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:anonymous_function_147:147",
"entity_name": "anonymous_function_147",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts",
"issues": [],
"line_number": 148,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 49,
"kind": "LogicalAnd",
"line": 176,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2730308750008458,
"calculated_length": 276.57545103317585,
"difficulty": 5.170212765957446,
"effort": 4234.883146289714,
"length": 143.0,
"n1": 6.0,
"n2": 47.0,
"n_1": 62.0,
"n_2": 81.0,
"time": 235.27128590498413,
"vocabulary": 53.0,
"volume": 819.0926250025374
},
"lines_of_code": 34.0,
"maintainability_index": 78.5303342031809,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 16.0,
"technical_debt_score": 11.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 148
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:anonymous_function_175:175",
"entity_name": "anonymous_function_175",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts",
"issues": [],
"line_number": 176,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 49,
"kind": "LogicalAnd",
"line": 176,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 13.60964047443681,
"difficulty": 1.4,
"effort": 47.16356269056775,
"length": 12.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 2.620197927253764,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 176
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:anonymous_function_187:187",
"entity_name": "anonymous_function_187",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts",
"issues": [],
"line_number": 188,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 19,
"kind": "LogicalAnd",
"line": 215,
"nesting_level": 0
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 221,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.32675796915132876,
"calculated_length": 339.2932501298081,
"difficulty": 7.833333333333333,
"effort": 7678.812275056226,
"length": 164.0,
"n1": 9.0,
"n2": 54.0,
"n_1": 70.0,
"n_2": 94.0,
"time": 426.6006819475681,
"vocabulary": 63.0,
"volume": 980.2739074539863
},
"lines_of_code": 40.0,
"maintainability_index": 74.73342628727873,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 17.0,
"technical_debt_score": 15.600000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 188
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:anonymous_function_214:214",
"entity_name": "anonymous_function_214",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts",
"issues": [],
"line_number": 215,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 19,
"kind": "LogicalAnd",
"line": 215,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 13.60964047443681,
"difficulty": 1.4,
"effort": 47.16356269056775,
"length": 12.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 2.620197927253764,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 215
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:anonymous_function_218:218",
"entity_name": "anonymous_function_218",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts",
"issues": [],
"line_number": 219,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 18,
"kind": "LogicalAnd",
"line": 221,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.029189721069108297,
"calculated_length": 39.50977500432694,
"difficulty": 4.875,
"effort": 426.89967063570884,
"length": 23.0,
"n1": 6.0,
"n2": 8.0,
"n_1": 10.0,
"n_2": 13.0,
"time": 23.716648368650493,
"vocabulary": 14.0,
"volume": 87.56916320732489
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 219
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:anonymous_function_233:233",
"entity_name": "anonymous_function_233",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts",
"issues": [],
"line_number": 234,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 19,
"kind": "LogicalAnd",
"line": 262,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 264,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.25202850000078075,
"calculated_length": 271.13338933483533,
"difficulty": 6.7555555555555555,
"effort": 5107.777600015823,
"length": 132.0,
"n1": 8.0,
"n2": 45.0,
"n_1": 56.0,
"n_2": 76.0,
"time": 283.76542222310127,
"vocabulary": 53.0,
"volume": 756.0855000023422
},
"lines_of_code": 36.0,
"maintainability_index": 77.79058997887613,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 14.0,
"technical_debt_score": 14.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 234
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:anonymous_function_261:261",
"entity_name": "anonymous_function_261",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts",
"issues": [],
"line_number": 262,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 19,
"kind": "LogicalAnd",
"line": 262,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 13.60964047443681,
"difficulty": 1.4,
"effort": 47.16356269056775,
"length": 12.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 2.620197927253764,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 262
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:anonymous_function_275:275",
"entity_name": "anonymous_function_275",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts",
"issues": [],
"line_number": 276,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 19,
"kind": "LogicalAnd",
"line": 306,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 308,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.28118308776612344,
"calculated_length": 306.1928094887362,
"difficulty": 6.72,
"effort": 5668.6510493650485,
"length": 144.0,
"n1": 8.0,
"n2": 50.0,
"n_1": 60.0,
"n_2": 84.0,
"time": 314.9250582980583,
"vocabulary": 58.0,
"volume": 843.5492632983703
},
"lines_of_code": 38.0,
"maintainability_index": 76.34548903310554,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 16.0,
"technical_debt_score": 15.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 276
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts:anonymous_function_305:305",
"entity_name": "anonymous_function_305",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/tool-calls.e2e.test.ts",
"issues": [],
"line_number": 306,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 19,
"kind": "LogicalAnd",
"line": 306,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 13.60964047443681,
"difficulty": 1.4,
"effort": 47.16356269056775,
"length": 12.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 2.620197927253764,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 306
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/two-cycle-resume.e2e.test.ts:tmpCwd:11",
"entity_name": "tmpCwd",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/two-cycle-resume.e2e.test.ts",
"issues": [],
"line_number": 12,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 52.303762523798156,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 2.905764584655453,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 12
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/two-cycle-resume.e2e.test.ts:anonymous_function_18:18",
"entity_name": "anonymous_function_18",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/two-cycle-resume.e2e.test.ts",
"issues": [],
"line_number": 19,
"metrics": {
"cognitive_complexity": 20.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 64,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 65,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 65,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 70,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 70,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 145,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 146,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 146,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 151,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 151,
"nesting_level": 2
}
],
"halstead": {
"bugs": 1.3205452774124393,
"calculated_length": 625.4285932069549,
"difficulty": 17.142857142857142,
"effort": 67913.7571240683,
"length": 595.0,
"n1": 10.0,
"n2": 91.0,
"n_1": 283.0,
"n_2": 312.0,
"time": 3772.9865068926833,
"vocabulary": 101.0,
"volume": 3961.635832237318
},
"lines_of_code": 149.0,
"maintainability_index": 44.32712584260568,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 66.0,
"technical_debt_score": 58.00000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 19
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/two-cycle-resume.e2e.test.ts:anonymous_function_21:21",
"entity_name": "anonymous_function_21",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/two-cycle-resume.e2e.test.ts",
"issues": [],
"line_number": 22,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 22
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/two-cycle-resume.e2e.test.ts:anonymous_function_25:25",
"entity_name": "anonymous_function_25",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/two-cycle-resume.e2e.test.ts",
"issues": [],
"line_number": 26,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 26
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/two-cycle-resume.e2e.test.ts:anonymous_function_31:31",
"entity_name": "anonymous_function_31",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/two-cycle-resume.e2e.test.ts",
"issues": [],
"line_number": 32,
"metrics": {
"cognitive_complexity": 20.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 64,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 65,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 65,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 70,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 70,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 145,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 146,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 146,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 151,
"nesting_level": 1
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 151,
"nesting_level": 2
}
],
"halstead": {
"bugs": 1.234311716757686,
"calculated_length": 549.8485893916637,
"difficulty": 16.463414634146343,
"effort": 60962.956742300354,
"length": 569.0,
"n1": 9.0,
"n2": 82.0,
"n_1": 269.0,
"n_2": 300.0,
"time": 3386.8309301277973,
"vocabulary": 91.0,
"volume": 3702.9351502730583
},
"lines_of_code": 133.0,
"maintainability_index": 46.51856256917344,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 60.0,
"technical_debt_score": 58.00000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 32
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/two-cycle-resume.e2e.test.ts:anonymous_function_87:87",
"entity_name": "anonymous_function_87",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/two-cycle-resume.e2e.test.ts",
"issues": [],
"line_number": 88,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006191808253032966,
"calculated_length": 6.754887502163468,
"difficulty": 1.6666666666666667,
"effort": 30.95904126516483,
"length": 8.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.7199467369536017,
"vocabulary": 5.0,
"volume": 18.575424759098897
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 88
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/two-cycle-resume.e2e.test.ts:anonymous_function_117:117",
"entity_name": "anonymous_function_117",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/two-cycle-resume.e2e.test.ts",
"issues": [],
"line_number": 118,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006191808253032966,
"calculated_length": 6.754887502163468,
"difficulty": 1.6666666666666667,
"effort": 30.95904126516483,
"length": 8.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.7199467369536017,
"vocabulary": 5.0,
"volume": 18.575424759098897
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 118
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/wait-for-idle.e2e.test.ts:tmpCwd:9",
"entity_name": "tmpCwd",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/wait-for-idle.e2e.test.ts",
"issues": [],
"line_number": 10,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 52.303762523798156,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 2.905764584655453,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 10
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/wait-for-idle.e2e.test.ts:anonymous_function_17:17",
"entity_name": "anonymous_function_17",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/wait-for-idle.e2e.test.ts",
"issues": [],
"line_number": 18,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalAnd",
"line": 74,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 74,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 74,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.9149508349414556,
"calculated_length": 452.14182048915933,
"difficulty": 10.647887323943662,
"effort": 29226.880192214387,
"length": 438.0,
"n1": 6.0,
"n2": 71.0,
"n_1": 186.0,
"n_2": 252.0,
"time": 1623.7155662341327,
"vocabulary": 77.0,
"volume": 2744.852504824367
},
"lines_of_code": 105.0,
"maintainability_index": 53.51493270243114,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 43.0,
"technical_debt_score": 30.400000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 18
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/wait-for-idle.e2e.test.ts:anonymous_function_20:20",
"entity_name": "anonymous_function_20",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/wait-for-idle.e2e.test.ts",
"issues": [],
"line_number": 21,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 21
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/wait-for-idle.e2e.test.ts:anonymous_function_24:24",
"entity_name": "anonymous_function_24",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/wait-for-idle.e2e.test.ts",
"issues": [],
"line_number": 25,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 2.0,
"effort": 31.019550008653873,
"length": 6.0,
"n1": 4.0,
"n2": 2.0,
"n_1": 4.0,
"n_2": 2.0,
"time": 1.723308333814104,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 25
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/wait-for-idle.e2e.test.ts:anonymous_function_28:28",
"entity_name": "anonymous_function_28",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/wait-for-idle.e2e.test.ts",
"issues": [],
"line_number": 29,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.12379492913709159,
"calculated_length": 155.20671786825557,
"difficulty": 2.933333333333333,
"effort": 1089.3953764064058,
"length": 73.0,
"n1": 4.0,
"n2": 30.0,
"n_1": 29.0,
"n_2": 44.0,
"time": 60.52196535591143,
"vocabulary": 34.0,
"volume": 371.3847874112748
},
"lines_of_code": 19.0,
"maintainability_index": 92.30044736011534,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 29
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/wait-for-idle.e2e.test.ts:anonymous_function_49:49",
"entity_name": "anonymous_function_49",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/wait-for-idle.e2e.test.ts",
"issues": [],
"line_number": 50,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalAnd",
"line": 74,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 74,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 74,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2983230119160505,
"calculated_length": 272.6753165032857,
"difficulty": 4.680851063829787,
"effort": 4189.216763076453,
"length": 157.0,
"n1": 5.0,
"n2": 47.0,
"n_1": 69.0,
"n_2": 88.0,
"time": 232.7342646153585,
"vocabulary": 52.0,
"volume": 894.9690357481514
},
"lines_of_code": 33.0,
"maintainability_index": 78.09327407635901,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 17.0
},
"recommendations": [],
"severity": "Low",
"start_line": 50
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/wait-for-idle.e2e.test.ts:anonymous_function_72:72",
"entity_name": "anonymous_function_72",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/wait-for-idle.e2e.test.ts",
"issues": [],
"line_number": 73,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalAnd",
"line": 74,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 74,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 74,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04687223642978716,
"calculated_length": 40.05374780501027,
"difficulty": 1.8181818181818181,
"effort": 255.66674416247542,
"length": 38.0,
"n1": 2.0,
"n2": 11.0,
"n_1": 18.0,
"n_2": 20.0,
"time": 14.203708009026412,
"vocabulary": 13.0,
"volume": 140.6167092893615
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 11.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 73
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/wait-for-idle.e2e.test.ts:anonymous_function_84:84",
"entity_name": "anonymous_function_84",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/daemon-e2e/wait-for-idle.e2e.test.ts",
"issues": [],
"line_number": 85,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.30302972721476895,
"calculated_length": 187.5249055930738,
"difficulty": 5.828571428571428,
"effort": 5298.6912301553875,
"length": 172.0,
"n1": 4.0,
"n2": 35.0,
"n_1": 70.0,
"n_2": 102.0,
"time": 294.37173500863264,
"vocabulary": 39.0,
"volume": 909.0891816443068
},
"lines_of_code": 37.0,
"maintainability_index": 76.84842518044289,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 16.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 85
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/file-download/token-store.ts:constructor:23",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/file-download/token-store.ts",
"issues": [],
"line_number": 24,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02748471250552886,
"calculated_length": 31.019550008653873,
"difficulty": 5.5,
"effort": 453.4977563412262,
"length": 23.0,
"n1": 6.0,
"n2": 6.0,
"n_1": 12.0,
"n_2": 11.0,
"time": 25.19431979673479,
"vocabulary": 12.0,
"volume": 82.45413751658658
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 24
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/file-download/token-store.ts:anonymous_function_25:25",
"entity_name": "anonymous_function_25",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/file-download/token-store.ts",
"issues": [],
"line_number": 26,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 8.0,
"length": 4.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 2.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 26
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/file-download/token-store.ts:issueToken:28",
"entity_name": "issueToken",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/file-download/token-store.ts",
"issues": [],
"line_number": 29,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05807619167580131,
"calculated_length": 92.32026322986493,
"difficulty": 3.2894736842105265,
"effort": 573.1203125901445,
"length": 38.0,
"n1": 5.0,
"n2": 19.0,
"n_1": 13.0,
"n_2": 25.0,
"time": 31.84001736611914,
"vocabulary": 24.0,
"volume": 174.22857502740393
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 29
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/file-download/token-store.ts:consumeToken:41",
"entity_name": "consumeToken",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/file-download/token-store.ts",
"issues": [],
"line_number": 42,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 44,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 50,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05380708183695208,
"calculated_length": 62.05374780501027,
"difficulty": 6.909090909090909,
"effort": 1115.2740598931887,
"length": 38.0,
"n1": 8.0,
"n2": 11.0,
"n_1": 19.0,
"n_2": 19.0,
"time": 61.95966999406604,
"vocabulary": 19.0,
"volume": 161.42124551085624
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 11.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 42
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/file-download/token-store.ts:pruneExpired:56",
"entity_name": "pruneExpired",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/file-download/token-store.ts",
"issues": [],
"line_number": 57,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 60,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03125512476486815,
"calculated_length": 43.65148445440323,
"difficulty": 5.25,
"effort": 492.26821504667333,
"length": 24.0,
"n1": 7.0,
"n2": 8.0,
"n_1": 12.0,
"n_2": 12.0,
"time": 27.34823416925963,
"vocabulary": 15.0,
"volume": 93.76537429460444
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 57
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/file-explorer/service.ts:listDirectoryEntries:85",
"entity_name": "listDirectoryEntries",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/file-explorer/service.ts",
"issues": [],
"line_number": 86,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 93,
"nesting_level": 0
},
{
"column": 39,
"kind": "ConditionalExpression",
"line": 102,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 112,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.25901546335166303,
"calculated_length": 330.2985258245704,
"difficulty": 10.01,
"effort": 7778.234364450442,
"length": 130.0,
"n1": 13.0,
"n2": 50.0,
"n_1": 53.0,
"n_2": 77.0,
"time": 432.1241313583579,
"vocabulary": 63.0,
"volume": 777.0463900549892
},
"lines_of_code": 36.0,
"maintainability_index": 77.41839292325231,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 15.0,
"technical_debt_score": 17.599999999999998
},
"recommendations": [],
"severity": "Low",
"start_line": 86
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/file-explorer/service.ts:anonymous_function_99:99",
"entity_name": "anonymous_function_99",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/file-explorer/service.ts",
"issues": [],
"line_number": 100,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 39,
"kind": "ConditionalExpression",
"line": 102,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04106329929662132,
"calculated_length": 66.60335893412778,
"difficulty": 2.6666666666666665,
"effort": 328.5063943729706,
"length": 29.0,
"n1": 4.0,
"n2": 15.0,
"n_1": 9.0,
"n_2": 20.0,
"time": 18.25035524294281,
"vocabulary": 19.0,
"volume": 123.18989788986397
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 100
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/file-explorer/service.ts:anonymous_function_108:108",
"entity_name": "anonymous_function_108",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/file-explorer/service.ts",
"issues": [],
"line_number": 109,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 112,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04933333333333333,
"calculated_length": 48.18080946738404,
"difficulty": 7.388888888888889,
"effort": 1093.5555555555557,
"length": 37.0,
"n1": 7.0,
"n2": 9.0,
"n_1": 18.0,
"n_2": 19.0,
"time": 60.75308641975309,
"vocabulary": 16.0,
"volume": 148.0
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 109
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/file-explorer/service.ts:readExplorerFile:123",
"entity_name": "readExplorerFile",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/file-explorer/service.ts",
"issues": [],
"line_number": 124,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 131,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 142,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 153,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.23824458735621026,
"calculated_length": 313.1745301666555,
"difficulty": 8.86734693877551,
"effort": 6337.792237118777,
"length": 121.0,
"n1": 11.0,
"n2": 49.0,
"n_1": 42.0,
"n_2": 79.0,
"time": 352.09956872882094,
"vocabulary": 60.0,
"volume": 714.7337620686308
},
"lines_of_code": 46.0,
"maintainability_index": 73.88207679131843,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 13.0,
"technical_debt_score": 19.6
},
"recommendations": [],
"severity": "Low",
"start_line": 124
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/file-explorer/service.ts:getDownloadableFileInfo:171",
"entity_name": "getDownloadableFileInfo",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/file-explorer/service.ts",
"issues": [],
"line_number": 172,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 185,
"nesting_level": 0
},
{
"column": 20,
"kind": "ConditionalExpression",
"line": 190,
"nesting_level": 0
},
{
"column": 7,
"kind": "ConditionalExpression",
"line": 192,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.15367695822974797,
"calculated_length": 222.5444556017277,
"difficulty": 9.257142857142858,
"effort": 4267.828668551859,
"length": 83.0,
"n1": 12.0,
"n2": 35.0,
"n_1": 29.0,
"n_2": 54.0,
"time": 237.1015926973255,
"vocabulary": 47.0,
"volume": 461.03087468924394
},
"lines_of_code": 31.0,
"maintainability_index": 82.55538921428285,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 16.6
},
"recommendations": [],
"severity": "Low",
"start_line": 172
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/file-explorer/service.ts:resolveScopedPath:204",
"entity_name": "resolveScopedPath",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/file-explorer/service.ts",
"issues": [],
"line_number": 205,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 213,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 214,
"nesting_level": 1
},
{
"column": 6,
"kind": "LogicalAnd",
"line": 215,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08668840052241716,
"calculated_length": 119.65784284662087,
"difficulty": 7.75,
"effort": 2015.5053121461992,
"length": 53.0,
"n1": 10.0,
"n2": 20.0,
"n_1": 22.0,
"n_2": 31.0,
"time": 111.97251734145551,
"vocabulary": 30.0,
"volume": 260.0652015672515
},
"lines_of_code": 16.0,
"maintainability_index": 96.24721435057184,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 15.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 205
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/file-explorer/service.ts:buildEntryPayload:222",
"entity_name": "buildEntryPayload",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/file-explorer/service.ts",
"issues": [],
"line_number": 223,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.053271650138932376,
"calculated_length": 106.10749561002054,
"difficulty": 2.272727272727273,
"effort": 363.2157964018117,
"length": 34.0,
"n1": 4.0,
"n2": 22.0,
"n_1": 9.0,
"n_2": 25.0,
"time": 20.178655355656204,
"vocabulary": 26.0,
"volume": 159.81495041679713
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 4.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 223
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/file-explorer/service.ts:normalizeRelativePath:238",
"entity_name": "normalizeRelativePath",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/file-explorer/service.ts",
"issues": [],
"line_number": 239,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 10,
"kind": "ConditionalExpression",
"line": 249,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06266115417652246,
"calculated_length": 92.32026322986493,
"difficulty": 3.552631578947368,
"effort": 667.8359853024104,
"length": 41.0,
"n1": 5.0,
"n2": 19.0,
"n_1": 14.0,
"n_2": 27.0,
"time": 37.10199918346725,
"vocabulary": 24.0,
"volume": 187.9834625295674
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 239
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/index.ts:main:12",
"entity_name": "main",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/index.ts",
"issues": [],
"line_number": 13,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 19,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 28,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 40,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 45,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.2798396502039271,
"calculated_length": 255.00665676968876,
"difficulty": 8.571428571428571,
"effort": 7195.876719529554,
"length": 148.0,
"n1": 9.0,
"n2": 42.0,
"n_1": 68.0,
"n_2": 80.0,
"time": 399.770928862753,
"vocabulary": 51.0,
"volume": 839.5189506117813
},
"lines_of_code": 41.0,
"maintainability_index": 74.67942145964162,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 28.0,
"technical_debt_score": 22.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 13
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/index.ts:anonymous_function_26:26",
"entity_name": "anonymous_function_26",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/index.ts",
"issues": [],
"line_number": 27,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 28,
"nesting_level": 0
},
{
"column": 5,
"kind": "Try",
"line": 40,
"nesting_level": 0
},
{
"column": 7,
"kind": "Catch",
"line": 45,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.14,
"calculated_length": 132.57125000229212,
"difficulty": 8.217391304347826,
"effort": 3451.304347826087,
"length": 84.0,
"n1": 9.0,
"n2": 23.0,
"n_1": 42.0,
"n_2": 42.0,
"time": 191.73913043478262,
"vocabulary": 32.0,
"volume": 420.0
},
"lines_of_code": 23.0,
"maintainability_index": 87.87566920330525,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 16.0,
"technical_debt_score": 15.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 27
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/index.ts:anonymous_function_34:34",
"entity_name": "anonymous_function_34",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/index.ts",
"issues": [],
"line_number": 35,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 57.05865002596162,
"length": 12.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 6.0,
"time": 3.169925001442312,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 35
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/index.ts:anonymous_function_51:51",
"entity_name": "anonymous_function_51",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/index.ts",
"issues": [],
"line_number": 52,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 52
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/index.ts:anonymous_function_52:52",
"entity_name": "anonymous_function_52",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/index.ts",
"issues": [],
"line_number": 53,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.001584962500721156,
"calculated_length": 2.0,
"difficulty": 0.5,
"effort": 2.377443751081734,
"length": 3.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 2.0,
"time": 0.13208020839342968,
"vocabulary": 3.0,
"volume": 4.754887502163468
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 53
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/index.ts:anonymous_function_55:55",
"entity_name": "anonymous_function_55",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/index.ts",
"issues": [],
"line_number": 56,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03333333333333333,
"calculated_length": 52.860603837997665,
"difficulty": 1.8461538461538463,
"effort": 184.6153846153846,
"length": 25.0,
"n1": 3.0,
"n2": 13.0,
"n_1": 9.0,
"n_2": 16.0,
"time": 10.256410256410255,
"vocabulary": 16.0,
"volume": 100.0
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 56
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/json-utils.ts:ensureValidJson:14",
"entity_name": "ensureValidJson",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/json-utils.ts",
"issues": [],
"line_number": 15,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 19,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 19,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 23,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 23,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 27,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 31,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 35,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 39,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 43,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 44,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.2614485992533653,
"calculated_length": 213.30296890880646,
"difficulty": 15.09375,
"effort": 11838.719384941447,
"length": 142.0,
"n1": 14.0,
"n2": 32.0,
"n_1": 73.0,
"n_2": 69.0,
"time": 657.706632496747,
"vocabulary": 46.0,
"volume": 784.3457977600958
},
"lines_of_code": 46.0,
"maintainability_index": 71.78878942014167,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 25.0,
"technical_debt_score": 41.60000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 15
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/json-utils.ts:anonymous_function_17:17",
"entity_name": "anonymous_function_17",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/json-utils.ts",
"issues": [],
"line_number": 18,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 19,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 19,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 23,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 23,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 27,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 31,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 35,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 39,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 43,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 44,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.2282747708976342,
"calculated_length": 187.90890672641936,
"difficulty": 14.500000000000002,
"effort": 9929.952534047088,
"length": 127.0,
"n1": 14.0,
"n2": 28.0,
"n_1": 69.0,
"n_2": 58.0,
"time": 551.6640296692826,
"vocabulary": 42.0,
"volume": 684.8243126929026
},
"lines_of_code": 40.0,
"maintainability_index": 74.7585087401172,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 22.0,
"technical_debt_score": 40.400000000000006
},
"recommendations": [],
"severity": "Moderate",
"start_line": 18
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/json-utils.ts:anonymous_function_39:39",
"entity_name": "anonymous_function_39",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/json-utils.ts",
"issues": [],
"line_number": 40,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 40
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/logger.test.ts:anonymous_function_4:4",
"entity_name": "anonymous_function_4",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/logger.test.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.579435902150205,
"calculated_length": 255.724766224368,
"difficulty": 13.90909090909091,
"effort": 24178.27991699492,
"length": 308.0,
"n1": 6.0,
"n2": 44.0,
"n_1": 104.0,
"n_2": 204.0,
"time": 1343.2377731663846,
"vocabulary": 50.0,
"volume": 1738.3077064506151
},
"lines_of_code": 104.0,
"maintainability_index": 56.73539728440261,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 48.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/logger.test.ts:anonymous_function_7:7",
"entity_name": "anonymous_function_7",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/logger.test.ts",
"issues": [],
"line_number": 8,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.021132833342948746,
"calculated_length": 19.60964047443681,
"difficulty": 3.6,
"effort": 228.23460010384647,
"length": 20.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 11.0,
"n_2": 9.0,
"time": 12.679700005769249,
"vocabulary": 9.0,
"volume": 63.39850002884624
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 8
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/logger.test.ts:anonymous_function_13:13",
"entity_name": "anonymous_function_13",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/logger.test.ts",
"issues": [],
"line_number": 14,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 14
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/logger.test.ts:anonymous_function_17:17",
"entity_name": "anonymous_function_17",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/logger.test.ts",
"issues": [],
"line_number": 18,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01614401422030739,
"calculated_length": 28.75488750216347,
"difficulty": 1.6875,
"effort": 81.72907199030615,
"length": 14.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 5.0,
"n_2": 9.0,
"time": 4.540503999461453,
"vocabulary": 11.0,
"volume": 48.432042660922164
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 18
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/logger.test.ts:anonymous_function_22:22",
"entity_name": "anonymous_function_22",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/logger.test.ts",
"issues": [],
"line_number": 23,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.027920602761755765,
"calculated_length": 42.80863530717374,
"difficulty": 2.3181818181818183,
"effort": 194.17510102493782,
"length": 22.0,
"n1": 3.0,
"n2": 11.0,
"n_1": 5.0,
"n_2": 17.0,
"time": 10.787505612496545,
"vocabulary": 14.0,
"volume": 83.76180828526729
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 23
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/logger.test.ts:anonymous_function_33:33",
"entity_name": "anonymous_function_33",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/logger.test.ts",
"issues": [],
"line_number": 34,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.042479275134435855,
"calculated_length": 66.60335893412778,
"difficulty": 2.8,
"effort": 356.82591112926116,
"length": 30.0,
"n1": 4.0,
"n2": 15.0,
"n_1": 9.0,
"n_2": 21.0,
"time": 19.823661729403398,
"vocabulary": 19.0,
"volume": 127.43782540330756
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/logger.test.ts:anonymous_function_45:45",
"entity_name": "anonymous_function_45",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/logger.test.ts",
"issues": [],
"line_number": 46,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.042479275134435855,
"calculated_length": 66.60335893412778,
"difficulty": 2.8,
"effort": 356.82591112926116,
"length": 30.0,
"n1": 4.0,
"n2": 15.0,
"n_1": 9.0,
"n_2": 21.0,
"time": 19.823661729403398,
"vocabulary": 19.0,
"volume": 127.43782540330756
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 46
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/logger.test.ts:anonymous_function_57:57",
"entity_name": "anonymous_function_57",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/logger.test.ts",
"issues": [],
"line_number": 58,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05563602068853097,
"calculated_length": 77.48686830125577,
"difficulty": 2.9411764705882355,
"effort": 490.9060648988027,
"length": 38.0,
"n1": 4.0,
"n2": 17.0,
"n_1": 13.0,
"n_2": 25.0,
"time": 27.272559161044594,
"vocabulary": 21.0,
"volume": 166.9080620655929
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 58
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/logger.test.ts:anonymous_function_70:70",
"entity_name": "anonymous_function_70",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/logger.test.ts",
"issues": [],
"line_number": 71,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.025382366147050694,
"calculated_length": 42.80863530717374,
"difficulty": 2.0454545454545454,
"effort": 155.75542862962925,
"length": 20.0,
"n1": 3.0,
"n2": 11.0,
"n_1": 5.0,
"n_2": 15.0,
"time": 8.653079368312737,
"vocabulary": 14.0,
"volume": 76.14709844115208
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 71
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/logger.test.ts:anonymous_function_80:80",
"entity_name": "anonymous_function_80",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/logger.test.ts",
"issues": [],
"line_number": 81,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.025382366147050694,
"calculated_length": 42.80863530717374,
"difficulty": 2.0454545454545454,
"effort": 155.75542862962925,
"length": 20.0,
"n1": 3.0,
"n2": 11.0,
"n_1": 5.0,
"n_2": 15.0,
"time": 8.653079368312737,
"vocabulary": 14.0,
"volume": 76.14709844115208
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 81
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/logger.test.ts:anonymous_function_90:90",
"entity_name": "anonymous_function_90",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/logger.test.ts",
"issues": [],
"line_number": 91,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.022844129532345624,
"calculated_length": 42.80863530717374,
"difficulty": 1.772727272727273,
"effort": 121.48923433111084,
"length": 18.0,
"n1": 3.0,
"n2": 11.0,
"n_1": 5.0,
"n_2": 13.0,
"time": 6.749401907283936,
"vocabulary": 14.0,
"volume": 68.53238859703687
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 91
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/logger.test.ts:anonymous_function_98:98",
"entity_name": "anonymous_function_98",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/logger.test.ts",
"issues": [],
"line_number": 99,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.07050787219017819,
"calculated_length": 115.65156546374811,
"difficulty": 3.5869565217391304,
"effort": 758.7260159595261,
"length": 44.0,
"n1": 5.0,
"n2": 23.0,
"n_1": 11.0,
"n_2": 33.0,
"time": 42.15144533108478,
"vocabulary": 28.0,
"volume": 211.52361657053456
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 99
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/logger.ts:resolveLogConfig:11",
"entity_name": "resolveLogConfig",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/logger.ts",
"issues": [],
"line_number": 12,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.07520703549025748,
"calculated_length": 106.10749561002054,
"difficulty": 3.0,
"effort": 676.8633194123172,
"length": 48.0,
"n1": 4.0,
"n2": 22.0,
"n_1": 15.0,
"n_2": 33.0,
"time": 37.603517745128734,
"vocabulary": 26.0,
"volume": 225.62110647077242
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 4.4
},
"recommendations": [],
"severity": "Low",
"start_line": 12
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/logger.ts:createRootLogger:25",
"entity_name": "createRootLogger",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/logger.ts",
"issues": [],
"line_number": 26,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "ConditionalExpression",
"line": 32,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05547368752524046,
"calculated_length": 109.71713608445735,
"difficulty": 3.1818181818181817,
"effort": 529.5215627409316,
"length": 35.0,
"n1": 5.0,
"n2": 22.0,
"n_1": 7.0,
"n_2": 28.0,
"time": 29.41786459671842,
"vocabulary": 27.0,
"volume": 166.42106257572138
},
"lines_of_code": 21.0,
"maintainability_index": 94.62322679742994,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 9.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 26
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/logger.ts:createChildLogger:48",
"entity_name": "createChildLogger",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/logger.ts",
"issues": [],
"line_number": 49,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017297158093186486,
"calculated_length": 28.75488750216347,
"difficulty": 2.25,
"effort": 116.75581712900879,
"length": 15.0,
"n1": 3.0,
"n2": 8.0,
"n_1": 3.0,
"n_2": 12.0,
"time": 6.486434284944933,
"vocabulary": 11.0,
"volume": 51.89147427955946
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 49
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/messages.test.ts:anonymous_function_4:4",
"entity_name": "anonymous_function_4",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/messages.test.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.12532230835304492,
"calculated_length": 94.43856189774725,
"difficulty": 5.2,
"effort": 1955.0280103075008,
"length": 82.0,
"n1": 4.0,
"n2": 20.0,
"n_1": 30.0,
"n_2": 52.0,
"time": 108.61266723930561,
"vocabulary": 24.0,
"volume": 375.9669250591348
},
"lines_of_code": 30.0,
"maintainability_index": 84.83719631096028,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 8.0
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/messages.test.ts:anonymous_function_5:5",
"entity_name": "anonymous_function_5",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/messages.test.ts",
"issues": [],
"line_number": 6,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.060506993328423075,
"calculated_length": 72.0,
"difficulty": 3.375,
"effort": 612.6333074502837,
"length": 42.0,
"n1": 4.0,
"n2": 16.0,
"n_1": 15.0,
"n_2": 27.0,
"time": 34.03518374723799,
"vocabulary": 20.0,
"volume": 181.52097998526924
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 4.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 6
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/messages.test.ts:anonymous_function_21:21",
"entity_name": "anonymous_function_21",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/messages.test.ts",
"issues": [],
"line_number": 22,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04359960364000362,
"calculated_length": 56.105716335834195,
"difficulty": 3.230769230769231,
"effort": 422.5807737415735,
"length": 32.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 11.0,
"n_2": 21.0,
"time": 23.47670965230964,
"vocabulary": 17.0,
"volume": 130.79881092001085
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 4.4
},
"recommendations": [],
"severity": "Low",
"start_line": 22
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/messages.ts:serializeAgentSnapshot:11",
"entity_name": "serializeAgentSnapshot",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/messages.ts",
"issues": [],
"line_number": 12,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01499087034742829,
"calculated_length": 30.52932501298081,
"difficulty": 1.2222222222222223,
"effort": 54.96652460723706,
"length": 13.0,
"n1": 2.0,
"n2": 9.0,
"n_1": 2.0,
"n_2": 11.0,
"time": 3.0536958115131703,
"vocabulary": 11.0,
"volume": 44.97261104228487
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 12
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/messages.ts:serializeAgentStreamEvent:18",
"entity_name": "serializeAgentStreamEvent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/messages.ts",
"issues": [],
"line_number": 19,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 22,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 25,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 29,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08200852502836548,
"calculated_length": 57.70523225941349,
"difficulty": 10.5,
"effort": 2583.2685383935122,
"length": 59.0,
"n1": 7.0,
"n2": 11.0,
"n_1": 26.0,
"n_2": 33.0,
"time": 143.51491879963956,
"vocabulary": 18.0,
"volume": 246.02557508509642
},
"lines_of_code": 20.0,
"maintainability_index": 92.92087259812224,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 14.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 19
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/pairing-qr.ts:parseBooleanEnv:4",
"entity_name": "parseBooleanEnv",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/pairing-qr.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 6,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 8,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 9,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06810989078336262,
"calculated_length": 96.22039775975506,
"difficulty": 3.947368421052632,
"effort": 806.5644961187679,
"length": 44.0,
"n1": 6.0,
"n2": 19.0,
"n_1": 19.0,
"n_2": 25.0,
"time": 44.80913867326488,
"vocabulary": 25.0,
"volume": 204.32967235008786
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 11.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/pairing-qr.ts:shouldPrintPairingQr:12",
"entity_name": "shouldPrintPairingQr",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/pairing-qr.ts",
"issues": [],
"line_number": 13,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 15,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02995282789966531,
"calculated_length": 44.039100017307746,
"difficulty": 4.0,
"effort": 359.4339347959837,
"length": 23.0,
"n1": 6.0,
"n2": 9.0,
"n_1": 11.0,
"n_2": 12.0,
"time": 19.968551933110206,
"vocabulary": 15.0,
"volume": 89.85848369899593
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 13
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/pairing-qr.ts:renderQr:18",
"entity_name": "renderQr",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/pairing-qr.ts",
"issues": [],
"line_number": 19,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 29,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 31,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04465992364716941,
"calculated_length": 68.81274391313339,
"difficulty": 4.5,
"effort": 602.908969236787,
"length": 31.0,
"n1": 6.0,
"n2": 14.0,
"n_1": 10.0,
"n_2": 21.0,
"time": 33.49494273537706,
"vocabulary": 20.0,
"volume": 133.97977094150824
},
"lines_of_code": 15.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 11.399999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 19
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/pairing-qr.ts:printPairingQrIfEnabled:35",
"entity_name": "printPairingQrIfEnabled",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/pairing-qr.ts",
"issues": [],
"line_number": 36,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 40,
"nesting_level": 0
},
{
"column": 3,
"kind": "Try",
"line": 45,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 47,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.06973835003173086,
"calculated_length": 102.70614925012939,
"difficulty": 7.352941176470589,
"effort": 1538.3459565822986,
"length": 44.0,
"n1": 10.0,
"n2": 17.0,
"n_1": 19.0,
"n_2": 25.0,
"time": 85.46366425457215,
"vocabulary": 27.0,
"volume": 209.2150500951926
},
"lines_of_code": 14.0,
"maintainability_index": 99.54178537215222,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 14.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 36
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/paseo-home.ts:expandHomeDir:4",
"entity_name": "expandHomeDir",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/paseo-home.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 6,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 9,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.047687066481253954,
"calculated_length": 53.5635228093372,
"difficulty": 4.636363636363637,
"effort": 663.2837428756233,
"length": 35.0,
"n1": 6.0,
"n2": 11.0,
"n_1": 18.0,
"n_2": 17.0,
"time": 36.84909682642351,
"vocabulary": 17.0,
"volume": 143.06119944376186
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/paseo-home.ts:resolvePaseoHome:14",
"entity_name": "resolvePaseoHome",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/paseo-home.ts",
"issues": [],
"line_number": 15,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05126703550197948,
"calculated_length": 86.66829050039843,
"difficulty": 3.194444444444444,
"effort": 491.3090902273033,
"length": 34.0,
"n1": 5.0,
"n2": 18.0,
"n_1": 11.0,
"n_2": 23.0,
"time": 27.294949457072406,
"vocabulary": 23.0,
"volume": 153.80110650593844
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 15
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/persisted-config.ts:getConfigPath:30",
"entity_name": "getConfigPath",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/persisted-config.ts",
"issues": [],
"line_number": 31,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 48.599999999999994,
"length": 9.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 2.6999999999999997,
"vocabulary": 8.0,
"volume": 27.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/persisted-config.ts:getLogger:34",
"entity_name": "getLogger",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/persisted-config.ts",
"issues": [],
"line_number": 35,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014395021744511903,
"calculated_length": 24.406371956566694,
"difficulty": 2.142857142857143,
"effort": 92.53942550043367,
"length": 13.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 3.0,
"n_2": 10.0,
"time": 5.141079194468537,
"vocabulary": 10.0,
"volume": 43.18506523353571
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 35
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/persisted-config.ts:loadPersistedConfig:38",
"entity_name": "loadPersistedConfig",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/persisted-config.ts",
"issues": [],
"line_number": 39,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 46,
"nesting_level": 0
},
{
"column": 3,
"kind": "Try",
"line": 52,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 54,
"nesting_level": 1
},
{
"column": 21,
"kind": "ConditionalExpression",
"line": 55,
"nesting_level": 1
},
{
"column": 3,
"kind": "Try",
"line": 60,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 62,
"nesting_level": 1
},
{
"column": 21,
"kind": "ConditionalExpression",
"line": 63,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 68,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.25585481393645415,
"calculated_length": 239.4202689607297,
"difficulty": 15.166666666666666,
"effort": 11641.394034108664,
"length": 136.0,
"n1": 14.0,
"n2": 36.0,
"n_1": 58.0,
"n_2": 78.0,
"time": 646.7441130060369,
"vocabulary": 50.0,
"volume": 767.5644418093625
},
"lines_of_code": 38.0,
"maintainability_index": 75.45634752856051,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 21.0,
"technical_debt_score": 35.2
},
"recommendations": [],
"severity": "Low",
"start_line": 39
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/persisted-config.ts:anonymous_function_69:69",
"entity_name": "anonymous_function_69",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/persisted-config.ts",
"issues": [],
"line_number": 70,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.010293634714211216,
"calculated_length": 13.60964047443681,
"difficulty": 1.4,
"effort": 43.2332657996871,
"length": 11.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 7.0,
"time": 2.401848099982617,
"vocabulary": 7.0,
"volume": 30.880904142633646
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 70
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/persisted-config.ts:savePersistedConfig:78",
"entity_name": "savePersistedConfig",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/persisted-config.ts",
"issues": [],
"line_number": 79,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 88,
"nesting_level": 0
},
{
"column": 3,
"kind": "Try",
"line": 95,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 98,
"nesting_level": 1
},
{
"column": 21,
"kind": "ConditionalExpression",
"line": 99,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.17404378401923262,
"calculated_length": 222.5444556017277,
"difficulty": 9.771428571428572,
"effort": 5101.96921153522,
"length": 94.0,
"n1": 12.0,
"n2": 35.0,
"n_1": 37.0,
"n_2": 57.0,
"time": 283.4427339741789,
"vocabulary": 47.0,
"volume": 522.1313520576979
},
"lines_of_code": 23.0,
"maintainability_index": 86.51381392162827,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 11.0,
"technical_debt_score": 19.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 79
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/persisted-config.ts:anonymous_function_89:89",
"entity_name": "anonymous_function_89",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/persisted-config.ts",
"issues": [],
"line_number": 90,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.010293634714211216,
"calculated_length": 13.60964047443681,
"difficulty": 1.4,
"effort": 43.2332657996871,
"length": 11.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 7.0,
"time": 2.401848099982617,
"vocabulary": 7.0,
"volume": 30.880904142633646
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 90
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.test.ts:anonymous_function_14:14",
"entity_name": "anonymous_function_14",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.test.ts",
"issues": [],
"line_number": 15,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 1.0,
"n1": 0.0,
"n2": 1.0,
"n_1": 0.0,
"n_2": 1.0,
"time": 0.0,
"vocabulary": 1.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 15
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.test.ts:createManagedAgent:28",
"entity_name": "createManagedAgent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.test.ts",
"issues": [],
"line_number": 29,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "ConditionalExpression",
"line": 45,
"nesting_level": 0
},
{
"column": 6,
"kind": "ConditionalExpression",
"line": 50,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.38411048591391267,
"calculated_length": 430.42797576067073,
"difficulty": 7.582089552238806,
"effort": 8737.080306459744,
"length": 185.0,
"n1": 8.0,
"n2": 67.0,
"n_1": 58.0,
"n_2": 127.0,
"time": 485.39335035887467,
"vocabulary": 75.0,
"volume": 1152.331457741738
},
"lines_of_code": 57.0,
"maintainability_index": 68.15494833833195,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 19.0
},
"recommendations": [],
"severity": "Low",
"start_line": 29
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.test.ts:createRecord:87",
"entity_name": "createRecord",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.test.ts",
"issues": [],
"line_number": 88,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.065,
"calculated_length": 142.6059378176129,
"difficulty": 2.5,
"effort": 487.5,
"length": 39.0,
"n1": 4.0,
"n2": 28.0,
"n_1": 4.0,
"n_2": 35.0,
"time": 27.083333333333332,
"vocabulary": 32.0,
"volume": 195.0
},
"lines_of_code": 20.0,
"maintainability_index": 94.81953946389386,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 88
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.test.ts:anonymous_function_109:109",
"entity_name": "anonymous_function_109",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.test.ts",
"issues": [],
"line_number": 110,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.18630175657810538,
"calculated_length": 203.5249055930738,
"difficulty": 6.9714285714285715,
"effort": 3896.3681661478035,
"length": 103.0,
"n1": 8.0,
"n2": 35.0,
"n_1": 42.0,
"n_2": 61.0,
"time": 216.4648981193224,
"vocabulary": 43.0,
"volume": 558.9052697343161
},
"lines_of_code": 33.0,
"maintainability_index": 81.2314815302855,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 16.0,
"technical_debt_score": 8.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 110
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.test.ts:anonymous_function_110:110",
"entity_name": "anonymous_function_110",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.test.ts",
"issues": [],
"line_number": 111,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.17679921615239674,
"calculated_length": 190.46500593882897,
"difficulty": 7.151515151515151,
"effort": 3793.146819269603,
"length": 99.0,
"n1": 8.0,
"n2": 33.0,
"n_1": 40.0,
"n_2": 59.0,
"time": 210.73037884831126,
"vocabulary": 41.0,
"volume": 530.3976484571903
},
"lines_of_code": 31.0,
"maintainability_index": 82.51654685960042,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 15.0,
"technical_debt_score": 8.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 111
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.test.ts:anonymous_function_112:112",
"entity_name": "anonymous_function_112",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.test.ts",
"issues": [],
"line_number": 113,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 8.0,
"length": 4.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 2.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 113
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.test.ts:anonymous_function_116:116",
"entity_name": "anonymous_function_116",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.test.ts",
"issues": [],
"line_number": 117,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.015502331109474358,
"calculated_length": 23.21928094887362,
"difficulty": 3.5,
"effort": 162.77447664948076,
"length": 14.0,
"n1": 5.0,
"n2": 5.0,
"n_1": 7.0,
"n_2": 7.0,
"time": 9.04302648052671,
"vocabulary": 10.0,
"volume": 46.50699332842307
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 117
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.test.ts:anonymous_function_118:118",
"entity_name": "anonymous_function_118",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.test.ts",
"issues": [],
"line_number": 119,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.00655049481813441,
"calculated_length": 12.754887502163468,
"difficulty": 2.0,
"effort": 39.302968908806456,
"length": 7.0,
"n1": 4.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 3.0,
"time": 2.1834982727114696,
"vocabulary": 7.0,
"volume": 19.651484454403228
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 119
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.test.ts:anonymous_function_119:119",
"entity_name": "anonymous_function_119",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.test.ts",
"issues": [],
"line_number": 120,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.0,
"difficulty": 1.0,
"effort": 8.0,
"length": 4.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 2.0,
"time": 0.4444444444444444,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 120
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.ts:getLogger:15",
"entity_name": "getLogger",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.ts",
"issues": [],
"line_number": 16,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 2.0,
"effort": 69.73835003173087,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 3.0,
"n_2": 8.0,
"time": 3.874352779540604,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 16
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.ts:isKnownProvider:22",
"entity_name": "isKnownProvider",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.ts",
"issues": [],
"line_number": 23,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 10,
"kind": "LogicalOr",
"line": 24,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 13.60964047443681,
"difficulty": 1.6,
"effort": 53.901214503506004,
"length": 12.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 8.0,
"time": 2.9945119168614447,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 23
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.ts:attachAgentStoragePersistence:30",
"entity_name": "attachAgentStoragePersistence",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.ts",
"issues": [],
"line_number": 31,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 38,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08917553358696376,
"calculated_length": 128.0419249893113,
"difficulty": 5.739130434782608,
"effort": 1535.370056540767,
"length": 54.0,
"n1": 8.0,
"n2": 23.0,
"n_1": 21.0,
"n_2": 33.0,
"time": 85.29833647448706,
"vocabulary": 31.0,
"volume": 267.52660076089126
},
"lines_of_code": 16.0,
"maintainability_index": 96.56012388157372,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 7.0,
"technical_debt_score": 8.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.ts:anonymous_function_36:36",
"entity_name": "anonymous_function_36",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.ts",
"issues": [],
"line_number": 37,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 38,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05351317942364757,
"calculated_length": 77.30296890880646,
"difficulty": 5.428571428571429,
"effort": 871.500350613689,
"length": 36.0,
"n1": 8.0,
"n2": 14.0,
"n_1": 17.0,
"n_2": 19.0,
"time": 48.41668614520494,
"vocabulary": 22.0,
"volume": 160.5395382709427
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 37
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.ts:anonymous_function_40:40",
"entity_name": "anonymous_function_40",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.ts",
"issues": [],
"line_number": 41,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01792481250360578,
"calculated_length": 33.284212515144276,
"difficulty": 1.6666666666666667,
"effort": 89.62406251802891,
"length": 15.0,
"n1": 3.0,
"n2": 9.0,
"n_1": 5.0,
"n_2": 10.0,
"time": 4.97911458433494,
"vocabulary": 12.0,
"volume": 53.77443751081734
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 41
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.ts:buildConfigOverrides:48",
"entity_name": "buildConfigOverrides",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.ts",
"issues": [],
"line_number": 49,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.052091874608113584,
"calculated_length": 47.77443751081734,
"difficulty": 3.125,
"effort": 488.3613244510649,
"length": 40.0,
"n1": 3.0,
"n2": 12.0,
"n_1": 15.0,
"n_2": 25.0,
"time": 27.131184691725828,
"vocabulary": 15.0,
"volume": 156.27562382434076
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 49
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.ts:buildSessionConfig:60",
"entity_name": "buildSessionConfig",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/persistence-hooks.ts",
"issues": [],
"line_number": 61,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 64,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06986442869198432,
"calculated_length": 77.30296890880646,
"difficulty": 8.857142857142858,
"effort": 1856.3976766727262,
"length": 47.0,
"n1": 8.0,
"n2": 14.0,
"n_1": 16.0,
"n_2": 31.0,
"time": 103.1332042595959,
"vocabulary": 22.0,
"volume": 209.59328607595296
},
"lines_of_code": 15.0,
"maintainability_index": 98.87470835890613,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 7.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 61
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/push/push-service.ts:constructor:35",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/push/push-service.ts",
"issues": [],
"line_number": 36,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.029333333333333333,
"calculated_length": 51.01955000865387,
"difficulty": 2.3333333333333335,
"effort": 205.33333333333334,
"length": 22.0,
"n1": 4.0,
"n2": 12.0,
"n_1": 8.0,
"n_2": 14.0,
"time": 11.407407407407408,
"vocabulary": 16.0,
"volume": 88.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 36
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/push/push-service.ts:sendPush:40",
"entity_name": "sendPush",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/push/push-service.ts",
"issues": [],
"line_number": 41,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 42,
"nesting_level": 1
},
{
"column": 5,
"kind": "For",
"line": 56,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.12310279240667919,
"calculated_length": 148.09284782231802,
"difficulty": 10.541666666666668,
"effort": 3893.1258098612298,
"length": 72.0,
"n1": 11.0,
"n2": 24.0,
"n_1": 26.0,
"n_2": 46.0,
"time": 216.28476721451275,
"vocabulary": 35.0,
"volume": 369.3083772200376
},
"lines_of_code": 22.0,
"maintainability_index": 89.49462582620359,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 9.0,
"technical_debt_score": 13.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 41
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/push/push-service.ts:anonymous_function_45:45",
"entity_name": "anonymous_function_45",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/push/push-service.ts",
"issues": [],
"line_number": 46,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01993156856932417,
"calculated_length": 26.0,
"difficulty": 1.75,
"effort": 104.6407349889519,
"length": 18.0,
"n1": 2.0,
"n2": 8.0,
"n_1": 4.0,
"n_2": 14.0,
"time": 5.813374166052884,
"vocabulary": 10.0,
"volume": 59.79470570797252
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 46
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/push/push-service.ts:sendBatch:64",
"entity_name": "sendBatch",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/push/push-service.ts",
"issues": [],
"line_number": 65,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 66,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 76,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 86,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.13215294944724607,
"calculated_length": 185.26046567326583,
"difficulty": 8.066666666666666,
"effort": 3198.1013766233546,
"length": 74.0,
"n1": 11.0,
"n2": 30.0,
"n_1": 30.0,
"n_2": 44.0,
"time": 177.67229870129748,
"vocabulary": 41.0,
"volume": 396.4588483417382
},
"lines_of_code": 24.0,
"maintainability_index": 87.48615225666126,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 19.2
},
"recommendations": [],
"severity": "Low",
"start_line": 65
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/push/push-service.ts:handleTickets:90",
"entity_name": "handleTickets",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/push/push-service.ts",
"issues": [],
"line_number": 91,
"metrics": {
"cognitive_complexity": 14.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "For",
"line": 95,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 99,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 106,
"nesting_level": 3
},
{
"column": 11,
"kind": "LogicalOr",
"line": 107,
"nesting_level": 4
}
],
"halstead": {
"bugs": 0.125,
"calculated_length": 132.57125000229212,
"difficulty": 8.608695652173914,
"effort": 3228.260869565218,
"length": 75.0,
"n1": 9.0,
"n2": 23.0,
"n_1": 31.0,
"n_2": 44.0,
"time": 179.34782608695656,
"vocabulary": 32.0,
"volume": 375.0
},
"lines_of_code": 23.0,
"maintainability_index": 88.23497836690163,
"max_nesting_depth": 4.0,
"parameter_count": 2.0,
"statement_count": 8.0,
"technical_debt_score": 25.8
},
"recommendations": [],
"severity": "Low",
"start_line": 91
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/push/token-store.ts:constructor:10",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/push/token-store.ts",
"issues": [],
"line_number": 11,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01850219859070546,
"calculated_length": 36.529325012980806,
"difficulty": 2.2222222222222223,
"effort": 123.34799060470309,
"length": 15.0,
"n1": 4.0,
"n2": 9.0,
"n_1": 5.0,
"n_2": 10.0,
"time": 6.852666144705727,
"vocabulary": 13.0,
"volume": 55.506595772116384
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 11
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/push/token-store.ts:addToken:14",
"entity_name": "addToken",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/push/token-store.ts",
"issues": [],
"line_number": 15,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.025094737505048093,
"calculated_length": 33.284212515144276,
"difficulty": 1.8333333333333335,
"effort": 138.02105627776453,
"length": 21.0,
"n1": 3.0,
"n2": 9.0,
"n_1": 10.0,
"n_2": 11.0,
"time": 7.667836459875807,
"vocabulary": 12.0,
"volume": 75.28421251514428
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 15
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/push/token-store.ts:removeToken:19",
"entity_name": "removeToken",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/push/token-store.ts",
"issues": [],
"line_number": 20,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 22,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03125512476486815,
"calculated_length": 44.82892142331043,
"difficulty": 3.25,
"effort": 304.73746645746445,
"length": 24.0,
"n1": 5.0,
"n2": 10.0,
"n_1": 11.0,
"n_2": 13.0,
"time": 16.929859247636912,
"vocabulary": 15.0,
"volume": 93.76537429460444
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/push/token-store.ts:getAllTokens:26",
"entity_name": "getAllTokens",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/push/token-store.ts",
"issues": [],
"line_number": 27,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.5,
"effort": 33.68825906469125,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 1.871569948038403,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 27
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/relay-transport.ts:startRelayTransport:14",
"entity_name": "startRelayTransport",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/relay-transport.ts",
"issues": [],
"line_number": 15,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 30,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 34,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 35,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 37,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 45,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 57,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 77,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 78,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.3957020758514271,
"calculated_length": 424.67435151632895,
"difficulty": 11.452380952380953,
"effort": 13595.19274889546,
"length": 190.0,
"n1": 13.0,
"n2": 63.0,
"n_1": 79.0,
"n_2": 111.0,
"time": 755.2884860497478,
"vocabulary": 76.0,
"volume": 1187.1062275542813
},
"lines_of_code": 76.0,
"maintainability_index": 61.959895695402395,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 45.0,
"technical_debt_score": 42.00000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 15
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/relay-transport.ts:anonymous_function_27:27",
"entity_name": "anonymous_function_27",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/relay-transport.ts",
"issues": [],
"line_number": 28,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 30,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 34,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 35,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 37,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.04,
"calculated_length": 48.0,
"difficulty": 6.5,
"effort": 780.0,
"length": 30.0,
"n1": 8.0,
"n2": 8.0,
"n_1": 17.0,
"n_2": 13.0,
"time": 43.333333333333336,
"vocabulary": 16.0,
"volume": 120.0
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 18.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 28
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/relay-transport.ts:anonymous_function_43:43",
"entity_name": "anonymous_function_43",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/relay-transport.ts",
"issues": [],
"line_number": 44,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 45,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 57,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1609791877228289,
"calculated_length": 201.50306161549236,
"difficulty": 6.61764705882353,
"effort": 3195.9103444973384,
"length": 89.0,
"n1": 9.0,
"n2": 34.0,
"n_1": 39.0,
"n_2": 50.0,
"time": 177.55057469429659,
"vocabulary": 43.0,
"volume": 482.9375631684867
},
"lines_of_code": 30.0,
"maintainability_index": 83.07518805930255,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 18.0,
"technical_debt_score": 13.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 44
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/relay-transport.ts:anonymous_function_52:52",
"entity_name": "anonymous_function_52",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/relay-transport.ts",
"issues": [],
"line_number": 53,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 57,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0333594000115385,
"calculated_length": 57.219280948873624,
"difficulty": 4.4,
"effort": 440.3440801523082,
"length": 24.0,
"n1": 8.0,
"n2": 10.0,
"n_1": 13.0,
"n_2": 11.0,
"time": 24.463560008461567,
"vocabulary": 18.0,
"volume": 100.07820003461549
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 53
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/relay-transport.ts:anonymous_function_61:61",
"entity_name": "anonymous_function_61",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/relay-transport.ts",
"issues": [],
"line_number": 62,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.022202638308846556,
"calculated_length": 37.974168451037094,
"difficulty": 1.6500000000000001,
"effort": 109.90305962879046,
"length": 18.0,
"n1": 3.0,
"n2": 10.0,
"n_1": 7.0,
"n_2": 11.0,
"time": 6.1057255349328035,
"vocabulary": 13.0,
"volume": 66.60791492653966
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 62
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/relay-transport.ts:anonymous_function_69:69",
"entity_name": "anonymous_function_69",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/relay-transport.ts",
"issues": [],
"line_number": 70,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009509775004326936,
"calculated_length": 20.264662506490403,
"difficulty": 1.5,
"effort": 42.793987519471216,
"length": 9.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 2.377443751081734,
"vocabulary": 9.0,
"volume": 28.52932501298081
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 70
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/relay-transport.ts:anonymous_function_75:75",
"entity_name": "anonymous_function_75",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/relay-transport.ts",
"issues": [],
"line_number": 76,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 77,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 78,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04977959745815929,
"calculated_length": 71.54887502163469,
"difficulty": 6.0,
"effort": 896.0327542468672,
"length": 34.0,
"n1": 9.0,
"n2": 12.0,
"n_1": 18.0,
"n_2": 16.0,
"time": 49.77959745815929,
"vocabulary": 21.0,
"volume": 149.33879237447786
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 9.6
},
"recommendations": [],
"severity": "Low",
"start_line": 76
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/relay-transport.ts:anonymous_function_81:81",
"entity_name": "anonymous_function_81",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/relay-transport.ts",
"issues": [],
"line_number": 82,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 27.14210625757214,
"length": 7.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 3.0,
"time": 1.5078947920873411,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 82
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/relay-transport.ts:buildRelayWebSocketUrl:92",
"entity_name": "buildRelayWebSocketUrl",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/relay-transport.ts",
"issues": [],
"line_number": 93,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 20,
"kind": "ConditionalExpression",
"line": 99,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04162136177394811,
"calculated_length": 83.05865002596161,
"difficulty": 2.5555555555555554,
"effort": 319.09710693360216,
"length": 28.0,
"n1": 4.0,
"n2": 18.0,
"n_1": 5.0,
"n_2": 23.0,
"time": 17.727617051866787,
"vocabulary": 22.0,
"volume": 124.86408532184433
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 3.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 93
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/relay-transport.ts:parseHostPort:104",
"entity_name": "parseHostPort",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/relay-transport.ts",
"issues": [],
"line_number": 105,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 108,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 110,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 115,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 119,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 126,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 131,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 131,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.24126316673397458,
"calculated_length": 156.91128757139447,
"difficulty": 12.833333333333332,
"effort": 9288.63191925802,
"length": 140.0,
"n1": 9.0,
"n2": 27.0,
"n_1": 63.0,
"n_2": 77.0,
"time": 516.0351066254456,
"vocabulary": 36.0,
"volume": 723.7895002019237
},
"lines_of_code": 30.0,
"maintainability_index": 79.82119927349851,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 21.0,
"technical_debt_score": 30.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 105
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:pcm16lePeakAbs:163",
"entity_name": "pcm16lePeakAbs",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 164,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 165,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 168,
"nesting_level": 0
},
{
"column": 3,
"kind": "For",
"line": 177,
"nesting_level": 0
},
{
"column": 17,
"kind": "ConditionalExpression",
"line": 179,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 180,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 182,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.1424489595550095,
"calculated_length": 139.0586500259616,
"difficulty": 20.88888888888889,
"effort": 8926.801465447263,
"length": 84.0,
"n1": 16.0,
"n2": 18.0,
"n_1": 37.0,
"n_2": 47.0,
"time": 495.9334147470702,
"vocabulary": 34.0,
"volume": 427.3468786650285
},
"lines_of_code": 24.0,
"maintainability_index": 86.40602851096133,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 15.0,
"technical_debt_score": 26.8
},
"recommendations": [],
"severity": "Low",
"start_line": 164
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:parseDictationTurnDetection:189",
"entity_name": "parseDictationTurnDetection",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 190,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 194,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 194,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 194,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 197,
"nesting_level": 0
},
{
"column": 5,
"kind": "ConditionalExpression",
"line": 201,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalOr",
"line": 201,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.12549075008417504,
"calculated_length": 148.03344701281688,
"difficulty": 6.87037037037037,
"effort": 2586.5037934016077,
"length": 74.0,
"n1": 7.0,
"n2": 27.0,
"n_1": 21.0,
"n_2": 53.0,
"time": 143.6946551889782,
"vocabulary": 34.0,
"volume": 376.4722502525251
},
"lines_of_code": 16.0,
"maintainability_index": 93.63367213163717,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 23.599999999999998
},
"recommendations": [],
"severity": "Low",
"start_line": 190
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:convertPCMToWavBuffer:226",
"entity_name": "convertPCMToWavBuffer",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 227,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.2534389188706017,
"calculated_length": 201.62707505625016,
"difficulty": 7.0,
"effort": 5322.217296282636,
"length": 141.0,
"n1": 6.0,
"n2": 36.0,
"n_1": 57.0,
"n_2": 84.0,
"time": 295.6787386823687,
"vocabulary": 42.0,
"volume": 760.3167566118052
},
"lines_of_code": 27.0,
"maintainability_index": 82.88202008711104,
"max_nesting_depth": 0.0,
"parameter_count": 4.0,
"statement_count": 19.0,
"technical_debt_score": 7.400000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 227
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:coerceAgentProvider:255",
"entity_name": "coerceAgentProvider",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 256,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 261,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.046080793392585404,
"calculated_length": 78.25484338853101,
"difficulty": 5.133333333333333,
"effort": 709.6442182458152,
"length": 31.0,
"n1": 7.0,
"n2": 15.0,
"n_1": 9.0,
"n_2": 22.0,
"time": 39.424678791434175,
"vocabulary": 22.0,
"volume": 138.24238017775622
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 4.0,
"technical_debt_score": 7.400000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 256
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:toAgentPersistenceHandle:270",
"entity_name": "toAgentPersistenceHandle",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 271,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 275,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 279,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 286,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.10849490889118243,
"calculated_length": 116.23866587835397,
"difficulty": 7.809523809523809,
"effort": 2541.880722593417,
"length": 67.0,
"n1": 8.0,
"n2": 21.0,
"n_1": 26.0,
"n_2": 41.0,
"time": 141.21559569963426,
"vocabulary": 29.0,
"volume": 325.4847266735473
},
"lines_of_code": 25.0,
"maintainability_index": 87.85057084012895,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 10.0,
"technical_debt_score": 15.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 271
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:constructor:384",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 385,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.316,
"calculated_length": 355.27267272172605,
"difficulty": 4.396551724137931,
"effort": 4167.931034482758,
"length": 158.0,
"n1": 6.0,
"n2": 58.0,
"n_1": 73.0,
"n_2": 85.0,
"time": 231.55172413793102,
"vocabulary": 64.0,
"volume": 948.0
},
"lines_of_code": 43.0,
"maintainability_index": 74.1959147140382,
"max_nesting_depth": 0.0,
"parameter_count": 13.0,
"statement_count": 19.0,
"technical_debt_score": 10.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 385
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:getClientActivity:432",
"entity_name": "getClientActivity",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 433,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02213904670844827,
"calculated_length": 50.105716335834195,
"difficulty": 1.1538461538461537,
"effort": 76.63516168309016,
"length": 17.0,
"n1": 2.0,
"n2": 13.0,
"n_1": 2.0,
"n_2": 15.0,
"time": 4.257508982393897,
"vocabulary": 15.0,
"volume": 66.41714012534482
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 433
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:sendInitialState:444",
"entity_name": "sendInitialState",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 445,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.00655049481813441,
"calculated_length": 12.754887502163468,
"difficulty": 2.0,
"effort": 39.302968908806456,
"length": 7.0,
"n1": 4.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 3.0,
"time": 2.1834982727114696,
"vocabulary": 7.0,
"volume": 19.651484454403228
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 445
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:buildAgentPrompt:451",
"entity_name": "buildAgentPrompt",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 452,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 457,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 457,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 461,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10363692789605487,
"calculated_length": 114.96788691072805,
"difficulty": 9.0,
"effort": 2798.197053193481,
"length": 64.0,
"n1": 9.0,
"n2": 20.0,
"n_1": 24.0,
"n_2": 40.0,
"time": 155.4553918440823,
"vocabulary": 29.0,
"volume": 310.9107836881646
},
"lines_of_code": 16.0,
"maintainability_index": 95.3186314900721,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 9.0,
"technical_debt_score": 16.8
},
"recommendations": [],
"severity": "Low",
"start_line": 452
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:interruptAgentIfRunning:474",
"entity_name": "interruptAgentIfRunning",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [
{
"description": "Cognitive complexity of 38.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:interruptAgentIfRunning:474",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:475",
"metric_value": 38.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 475,
"metrics": {
"cognitive_complexity": 38.0,
"cyclomatic_complexity": 13.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 477,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 481,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 481,
"nesting_level": 2
},
{
"column": 5,
"kind": "Try",
"line": 488,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 492,
"nesting_level": 2
},
{
"column": 7,
"kind": "While",
"line": 500,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 502,
"nesting_level": 3
},
{
"column": 9,
"kind": "If",
"line": 505,
"nesting_level": 3
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 505,
"nesting_level": 4
},
{
"column": 7,
"kind": "If",
"line": 512,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalOr",
"line": 512,
"nesting_level": 3
},
{
"column": 7,
"kind": "Catch",
"line": 515,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.3903317115613622,
"calculated_length": 212.18344455612092,
"difficulty": 25.161290322580648,
"effort": 29463.74855011573,
"length": 212.0,
"n1": 15.0,
"n2": 31.0,
"n_1": 108.0,
"n_2": 104.0,
"time": 1636.874919450874,
"vocabulary": 46.0,
"volume": 1170.9951346840867
},
"lines_of_code": 44.0,
"maintainability_index": 69.96496004502126,
"max_nesting_depth": 4.0,
"parameter_count": 1.0,
"statement_count": 29.0,
"technical_debt_score": 65.2
},
"recommendations": [],
"severity": "High",
"start_line": 475
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_508:508",
"entity_name": "anonymous_function_508",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 509,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 509
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:startAgentStream:523",
"entity_name": "startAgentStream",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 524,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 104,
"kind": "ConditionalExpression",
"line": 525,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 532,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 534,
"nesting_level": 2
},
{
"column": 7,
"kind": "Try",
"line": 540,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 544,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.1319728185959334,
"calculated_length": 159.11595475302198,
"difficulty": 9.84,
"effort": 3895.837604951954,
"length": 76.0,
"n1": 12.0,
"n2": 25.0,
"n_1": 35.0,
"n_2": 41.0,
"time": 216.43542249733076,
"vocabulary": 37.0,
"volume": 395.9184557878002
},
"lines_of_code": 24.0,
"maintainability_index": 87.03324494268719,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 11.0,
"technical_debt_score": 26.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 524
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_538:538",
"entity_name": "anonymous_function_538",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 539,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 540,
"nesting_level": 1
},
{
"column": 9,
"kind": "Catch",
"line": 544,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.01553483750312501,
"calculated_length": 31.019550008653873,
"difficulty": 3.5,
"effort": 163.1157937828126,
"length": 13.0,
"n1": 6.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 7.0,
"time": 9.061988543489589,
"vocabulary": 12.0,
"volume": 46.60451250937503
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 11.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 539
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleAgentRunError:549",
"entity_name": "handleAgentRunError",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 550,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "ConditionalExpression",
"line": 556,
"nesting_level": 1
},
{
"column": 48,
"kind": "ConditionalExpression",
"line": 556,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08091853973631895,
"calculated_length": 129.69058447171096,
"difficulty": 4.958333333333334,
"effort": 1203.6632785777447,
"length": 49.0,
"n1": 7.0,
"n2": 24.0,
"n_1": 15.0,
"n_2": 34.0,
"time": 66.87018214320804,
"vocabulary": 31.0,
"volume": 242.75561920895686
},
"lines_of_code": 20.0,
"maintainability_index": 93.2204498422425,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 3.0,
"technical_debt_score": 13.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 550
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:initializeAgentMcp:574",
"entity_name": "initializeAgentMcp",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 575,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 576,
"nesting_level": 1
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 579,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 598,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.12861145399231472,
"calculated_length": 171.40151256706753,
"difficulty": 7.777777777777778,
"effort": 3000.9339264873433,
"length": 73.0,
"n1": 12.0,
"n2": 27.0,
"n_1": 38.0,
"n_2": 35.0,
"time": 166.71855147151908,
"vocabulary": 39.0,
"volume": 385.83436197694414
},
"lines_of_code": 29.0,
"maintainability_index": 84.56168510495678,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 20.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 575
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:subscribeToAgentEvents:608",
"entity_name": "subscribeToAgentEvents",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 609,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 610,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 616,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 632,
"nesting_level": 1
},
{
"column": 16,
"kind": "If",
"line": 640,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.21608793085292938,
"calculated_length": 183.90099886735345,
"difficulty": 13.241379310344827,
"effort": 8583.906770433608,
"length": 121.0,
"n1": 12.0,
"n2": 29.0,
"n_1": 57.0,
"n_2": 64.0,
"time": 476.8837094685338,
"vocabulary": 41.0,
"volume": 648.2637925587882
},
"lines_of_code": 46.0,
"maintainability_index": 74.15966133273325,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 26.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 609
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_614:614",
"entity_name": "anonymous_function_614",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 615,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 616,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 632,
"nesting_level": 1
},
{
"column": 16,
"kind": "If",
"line": 640,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.17127791565542808,
"calculated_length": 142.09567279432156,
"difficulty": 13.391304347826088,
"effort": 6880.904089809372,
"length": 101.0,
"n1": 11.0,
"n2": 23.0,
"n_1": 45.0,
"n_2": 56.0,
"time": 382.272449433854,
"vocabulary": 34.0,
"volume": 513.8337469662843
},
"lines_of_code": 37.0,
"maintainability_index": 79.12525104417233,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 21.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 615
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:buildAgentPayload:656",
"entity_name": "buildAgentPayload",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 657,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.022844129532345624,
"calculated_length": 41.219280948873624,
"difficulty": 2.4,
"effort": 164.4777326328885,
"length": 18.0,
"n1": 4.0,
"n2": 10.0,
"n_1": 6.0,
"n_2": 12.0,
"time": 9.13765181293825,
"vocabulary": 14.0,
"volume": 68.53238859703687
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 657
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:buildStoredAgentPayload:663",
"entity_name": "buildStoredAgentPayload",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 664,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 31,
"kind": "ConditionalExpression",
"line": 676,
"nesting_level": 1
},
{
"column": 26,
"kind": "ConditionalExpression",
"line": 688,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.23067863057350746,
"calculated_length": 259.8664756744443,
"difficulty": 6.840909090909091,
"effort": 4734.154622906301,
"length": 122.0,
"n1": 7.0,
"n2": 44.0,
"n_1": 36.0,
"n_2": 86.0,
"time": 263.00859016146114,
"vocabulary": 51.0,
"volume": 692.0358917205224
},
"lines_of_code": 35.0,
"maintainability_index": 78.70724473508336,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 16.2
},
"recommendations": [],
"severity": "Low",
"start_line": 664
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:ensureAgentLoaded:700",
"entity_name": "ensureAgentLoaded",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 701,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 703,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 708,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 714,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 720,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 737,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 741,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.2441819139615944,
"calculated_length": 193.20929675174068,
"difficulty": 18.21428571428571,
"effort": 13342.797441472834,
"length": 135.0,
"n1": 15.0,
"n2": 28.0,
"n_1": 67.0,
"n_2": 68.0,
"time": 741.2665245262685,
"vocabulary": 43.0,
"volume": 732.5457418847832
},
"lines_of_code": 44.0,
"maintainability_index": 73.7841938474809,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 24.0,
"technical_debt_score": 33.2
},
"recommendations": [],
"severity": "Low",
"start_line": 701
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_711:711",
"entity_name": "anonymous_function_711",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 712,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 714,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 720,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.12666666666666668,
"calculated_length": 128.8163390912623,
"difficulty": 12.657894736842106,
"effort": 4810.0,
"length": 76.0,
"n1": 13.0,
"n2": 19.0,
"n_1": 39.0,
"n_2": 37.0,
"time": 267.22222222222223,
"vocabulary": 32.0,
"volume": 380.0
},
"lines_of_code": 21.0,
"maintainability_index": 90.0998459947343,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 11.0,
"technical_debt_score": 13.4
},
"recommendations": [],
"severity": "Low",
"start_line": 712
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:forwardAgentState:746",
"entity_name": "forwardAgentState",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 747,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 748,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 754,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.04245906842019469,
"calculated_length": 74.11313393845472,
"difficulty": 3.4,
"effort": 433.0824978859858,
"length": 29.0,
"n1": 6.0,
"n2": 15.0,
"n_1": 12.0,
"n_2": 17.0,
"time": 24.060138771443654,
"vocabulary": 21.0,
"volume": 127.37720526058406
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 12.6
},
"recommendations": [],
"severity": "Low",
"start_line": 747
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:getStoredAgentTitle:761",
"entity_name": "getStoredAgentTitle",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 762,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 763,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 767,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.05428274347268416,
"calculated_length": 82.60335893412778,
"difficulty": 5.866666666666666,
"effort": 955.3762851192412,
"length": 36.0,
"n1": 8.0,
"n2": 15.0,
"n_1": 14.0,
"n_2": 22.0,
"time": 53.07646028440229,
"vocabulary": 23.0,
"volume": 162.84823041805248
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 12.4
},
"recommendations": [],
"severity": "Low",
"start_line": 762
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleMessage:778",
"entity_name": "handleMessage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 779,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 780,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 999,
"nesting_level": 2
}
],
"halstead": {
"bugs": 1.252977483936218,
"calculated_length": 971.5718448705318,
"difficulty": 8.571428571428571,
"effort": 32219.42101550275,
"length": 525.0,
"n1": 10.0,
"n2": 133.0,
"n_1": 297.0,
"n_2": 228.0,
"time": 1789.9678341945973,
"vocabulary": 143.0,
"volume": 3758.932451808654
},
"lines_of_code": 235.0,
"maintainability_index": 39.058885247733656,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 104.0,
"technical_debt_score": 30.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 779
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleLoadVoiceConversation:1018",
"entity_name": "handleLoadVoiceConversation",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1019,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.06810989078336262,
"calculated_length": 96.22039775975506,
"difficulty": 3.6315789473684212,
"effort": 742.0393364292664,
"length": 44.0,
"n1": 6.0,
"n2": 19.0,
"n_1": 21.0,
"n_2": 23.0,
"time": 41.22440757940369,
"vocabulary": 25.0,
"volume": 204.32967235008786
},
"lines_of_code": 23.0,
"maintainability_index": 92.3123731039355,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 1019
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleListVoiceConversations:1046",
"entity_name": "handleListVoiceConversations",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1047,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 1048,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 1061,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.1276995694937939,
"calculated_length": 171.20671786825557,
"difficulty": 6.0,
"effort": 2298.5922508882904,
"length": 73.0,
"n1": 8.0,
"n2": 30.0,
"n_1": 28.0,
"n_2": 45.0,
"time": 127.69956949379392,
"vocabulary": 38.0,
"volume": 383.0987084813817
},
"lines_of_code": 29.0,
"maintainability_index": 84.82868561577584,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 15.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1047
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_1052:1052",
"entity_name": "anonymous_function_1052",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1053,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017,
"calculated_length": 16.36452797660028,
"difficulty": 3.3000000000000003,
"effort": 168.3,
"length": 17.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 6.0,
"n_2": 11.0,
"time": 9.350000000000001,
"vocabulary": 8.0,
"volume": 51.0
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1053
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleDeleteVoiceConversation:1080",
"entity_name": "handleDeleteVoiceConversation",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1081,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 1085,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 1099,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.09668271254399051,
"calculated_length": 107.74844088268091,
"difficulty": 5.428571428571429,
"effort": 1574.5470328592742,
"length": 61.0,
"n1": 6.0,
"n2": 21.0,
"n_1": 23.0,
"n_2": 38.0,
"time": 87.47483515884856,
"vocabulary": 27.0,
"volume": 290.04813763197154
},
"lines_of_code": 33.0,
"maintainability_index": 84.18233361883615,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 6.0,
"technical_debt_score": 16.6
},
"recommendations": [],
"severity": "Low",
"start_line": 1081
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleRestartServerRequest:1115",
"entity_name": "handleRestartServerRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1116,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1120,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1130,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1130,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 1141,
"nesting_level": 1
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 1144,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.17364047215046716,
"calculated_length": 199.6842868877026,
"difficulty": 7.575757575757576,
"effort": 3946.3743670560716,
"length": 96.0,
"n1": 10.0,
"n2": 33.0,
"n_1": 46.0,
"n_2": 50.0,
"time": 219.24302039200398,
"vocabulary": 43.0,
"volume": 520.9214164514015
},
"lines_of_code": 36.0,
"maintainability_index": 79.03787736621486,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 15.0,
"technical_debt_score": 28.799999999999997
},
"recommendations": [],
"severity": "Low",
"start_line": 1116
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_1148:1148",
"entity_name": "anonymous_function_1148",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1149,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 9.509775004326936,
"difficulty": 1.5,
"effort": 23.264662506490403,
"length": 6.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.292481250360578,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1149
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleDeleteAgentRequest:1153",
"entity_name": "handleDeleteAgentRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1154,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 1166,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 1168,
"nesting_level": 2
},
{
"column": 5,
"kind": "Try",
"line": 1175,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 1177,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.11094737505048093,
"calculated_length": 107.74844088268091,
"difficulty": 5.285714285714286,
"effort": 1759.3083758004832,
"length": 70.0,
"n1": 6.0,
"n2": 21.0,
"n_1": 33.0,
"n_2": 37.0,
"time": 97.73935421113795,
"vocabulary": 27.0,
"volume": 332.84212515144276
},
"lines_of_code": 37.0,
"maintainability_index": 81.15325476480123,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 9.0,
"technical_debt_score": 25.4
},
"recommendations": [],
"severity": "Low",
"start_line": 1154
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleSetVoiceConversation:1195",
"entity_name": "handleSetVoiceConversation",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1196,
"metrics": {
"cognitive_complexity": 18.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1200,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1201,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalOr",
"line": 1201,
"nesting_level": 3
},
{
"column": 5,
"kind": "If",
"line": 1224,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 1225,
"nesting_level": 2
},
{
"column": 9,
"kind": "Catch",
"line": 1231,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.19868531554246155,
"calculated_length": 177.62548782626678,
"difficulty": 11.142857142857142,
"effort": 6641.766262419428,
"length": 112.0,
"n1": 12.0,
"n2": 28.0,
"n_1": 60.0,
"n_2": 52.0,
"time": 368.9870145788571,
"vocabulary": 40.0,
"volume": 596.0559466273846
},
"lines_of_code": 41.0,
"maintainability_index": 76.00039294862222,
"max_nesting_depth": 3.0,
"parameter_count": 2.0,
"statement_count": 17.0,
"technical_debt_score": 36.6
},
"recommendations": [],
"severity": "Moderate",
"start_line": 1196
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleSendAgentMessage:1241",
"entity_name": "handleSendAgentMessage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1242,
"metrics": {
"cognitive_complexity": 19.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 42,
"kind": "ConditionalExpression",
"line": 1251,
"nesting_level": 1
},
{
"column": 42,
"kind": "LogicalAnd",
"line": 1251,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 1254,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 1258,
"nesting_level": 2
},
{
"column": 5,
"kind": "Try",
"line": 1268,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 1273,
"nesting_level": 2
},
{
"column": 5,
"kind": "Try",
"line": 1286,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 1288,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.3461565129728497,
"calculated_length": 246.09640474436813,
"difficulty": 12.25,
"effort": 12721.251851752228,
"length": 184.0,
"n1": 10.0,
"n2": 40.0,
"n_1": 86.0,
"n_2": 98.0,
"time": 706.7362139862348,
"vocabulary": 50.0,
"volume": 1038.4695389185492
},
"lines_of_code": 55.0,
"maintainability_index": 67.89458518162269,
"max_nesting_depth": 2.0,
"parameter_count": 4.0,
"statement_count": 24.0,
"technical_debt_score": 44.2
},
"recommendations": [],
"severity": "Moderate",
"start_line": 1242
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:emitDictationAck:1298",
"entity_name": "emitDictationAck",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1299,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014339850002884624,
"calculated_length": 33.284212515144276,
"difficulty": 1.5,
"effort": 64.5293250129808,
"length": 12.0,
"n1": 3.0,
"n2": 9.0,
"n_1": 3.0,
"n_2": 9.0,
"time": 3.584962500721156,
"vocabulary": 12.0,
"volume": 43.01955000865387
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1299
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:failDictationStream:1305",
"entity_name": "failDictationStream",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1306,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017767656302935485,
"calculated_length": 42.80863530717374,
"difficulty": 1.5,
"effort": 79.95445336320968,
"length": 14.0,
"n1": 3.0,
"n2": 11.0,
"n_1": 3.0,
"n_2": 11.0,
"time": 4.441914075733871,
"vocabulary": 14.0,
"volume": 53.302968908806456
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 1.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1306
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:maybePersistDictationStreamAudio:1312",
"entity_name": "maybePersistDictationStreamAudio",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1313,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1315,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1318,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1321,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.1319728185959334,
"calculated_length": 161.60124350728728,
"difficulty": 8.333333333333334,
"effort": 3299.3204648983356,
"length": 76.0,
"n1": 10.0,
"n2": 27.0,
"n_1": 31.0,
"n_2": 45.0,
"time": 183.29558138324086,
"vocabulary": 37.0,
"volume": 395.9184557878002
},
"lines_of_code": 27.0,
"maintainability_index": 85.58515976505379,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 18.2
},
"recommendations": [],
"severity": "Low",
"start_line": 1313
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:failAndCleanupDictationStream:1341",
"entity_name": "failAndCleanupDictationStream",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1342,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 13,
"kind": "ConditionalExpression",
"line": 1354,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1357,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09079909414845216,
"calculated_length": 140.0964047443681,
"difficulty": 5.76,
"effort": 1569.0083468852533,
"length": 54.0,
"n1": 8.0,
"n2": 25.0,
"n_1": 18.0,
"n_2": 36.0,
"time": 87.16713038251407,
"vocabulary": 33.0,
"volume": 272.3972824453565
},
"lines_of_code": 28.0,
"maintainability_index": 87.17052662614951,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 5.0,
"technical_debt_score": 14.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 1342
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:cleanupDictationStream:1371",
"entity_name": "cleanupDictationStream",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1372,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1374,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1377,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 1380,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 1382,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.06295654972649557,
"calculated_length": 71.27302875388389,
"difficulty": 8.636363636363637,
"effort": 1631.1469701864762,
"length": 43.0,
"n1": 10.0,
"n2": 11.0,
"n_1": 24.0,
"n_2": 19.0,
"time": 90.6192761214709,
"vocabulary": 21.0,
"volume": 188.86964917948671
},
"lines_of_code": 14.0,
"maintainability_index": 99.8437743910097,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 20.0
},
"recommendations": [],
"severity": "Low",
"start_line": 1372
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:emitDictationPartial:1387",
"entity_name": "emitDictationPartial",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1388,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014339850002884624,
"calculated_length": 33.284212515144276,
"difficulty": 1.5,
"effort": 64.5293250129808,
"length": 12.0,
"n1": 3.0,
"n2": 9.0,
"n_1": 3.0,
"n_2": 9.0,
"time": 3.584962500721156,
"vocabulary": 12.0,
"volume": 43.01955000865387
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1388
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:maybeFinalizeDictationStream:1394",
"entity_name": "maybeFinalizeDictationStream",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1395,
"metrics": {
"cognitive_complexity": 19.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1397,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1401,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 1401,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 1404,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1407,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1411,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1418,
"nesting_level": 1
},
{
"column": 15,
"kind": "ConditionalExpression",
"line": 1434,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1437,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.289067985676233,
"calculated_length": 278.26873902505133,
"difficulty": 9.5,
"effort": 8238.43759177264,
"length": 150.0,
"n1": 11.0,
"n2": 44.0,
"n_1": 74.0,
"n_2": 76.0,
"time": 457.6909773207022,
"vocabulary": 55.0,
"volume": 867.2039570286989
},
"lines_of_code": 56.0,
"maintainability_index": 68.3098768030101,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 21.0,
"technical_debt_score": 46.400000000000006
},
"recommendations": [],
"severity": "Moderate",
"start_line": 1395
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_1414:1414",
"entity_name": "anonymous_function_1414",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1415,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 25.84962500721156,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.43609027817842,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1415
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_1422:1422",
"entity_name": "anonymous_function_1422",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1423,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 53.99999999999999,
"length": 10.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 2.9999999999999996,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1423
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_1426:1426",
"entity_name": "anonymous_function_1426",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1427,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 15,
"kind": "ConditionalExpression",
"line": 1434,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1437,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07934702292041701,
"calculated_length": 116.23866587835397,
"difficulty": 5.904761904761905,
"effort": 1405.575834590244,
"length": 49.0,
"n1": 8.0,
"n2": 21.0,
"n_1": 18.0,
"n_2": 31.0,
"time": 78.08754636612467,
"vocabulary": 29.0,
"volume": 238.041068761251
},
"lines_of_code": 23.0,
"maintainability_index": 91.05828897559934,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 13.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1427
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleDictationStreamStart:1452",
"entity_name": "handleDictationStreamStart",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1453,
"metrics": {
"cognitive_complexity": 17.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1460,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1482,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1490,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1490,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 1501,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1505,
"nesting_level": 1
},
{
"column": 28,
"kind": "ConditionalExpression",
"line": 1509,
"nesting_level": 1
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 1523,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.7132300234932674,
"calculated_length": 739.8652806953273,
"difficulty": 10.730769230769232,
"effort": 22960.52037168711,
"length": 312.0,
"n1": 12.0,
"n2": 104.0,
"n_1": 126.0,
"n_2": 186.0,
"time": 1275.5844650937283,
"vocabulary": 116.0,
"volume": 2139.690070479802
},
"lines_of_code": 101.0,
"maintainability_index": 54.28928301979745,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 36.0,
"technical_debt_score": 51.6
},
"recommendations": [],
"severity": "Moderate",
"start_line": 1453
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_1479:1479",
"entity_name": "anonymous_function_1479",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1480,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 1482,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1490,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1490,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.08358941141594504,
"calculated_length": 92.5293250129808,
"difficulty": 7.3125,
"effort": 1833.7427129372943,
"length": 54.0,
"n1": 9.0,
"n2": 16.0,
"n_1": 28.0,
"n_2": 26.0,
"time": 101.87459516318302,
"vocabulary": 25.0,
"volume": 250.76823424783512
},
"lines_of_code": 15.0,
"maintainability_index": 97.48203519837264,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 16.6
},
"recommendations": [],
"severity": "Low",
"start_line": 1480
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_1498:1498",
"entity_name": "anonymous_function_1498",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1499,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 1501,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1505,
"nesting_level": 1
},
{
"column": 28,
"kind": "ConditionalExpression",
"line": 1509,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.15218989788986398,
"calculated_length": 169.4107738716804,
"difficulty": 7.448275862068965,
"effort": 3400.657028711443,
"length": 87.0,
"n1": 9.0,
"n2": 29.0,
"n_1": 39.0,
"n_2": 48.0,
"time": 188.92539048396907,
"vocabulary": 38.0,
"volume": 456.5696936695919
},
"lines_of_code": 20.0,
"maintainability_index": 89.70568210694988,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 16.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1499
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_1512:1512",
"entity_name": "anonymous_function_1512",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1513,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 53.99999999999999,
"length": 10.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 2.9999999999999996,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1513
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_1521:1521",
"entity_name": "anonymous_function_1521",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1522,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 23,
"kind": "ConditionalExpression",
"line": 1523,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.025382366147050694,
"calculated_length": 39.50977500432694,
"difficulty": 4.5,
"effort": 342.6619429851844,
"length": 20.0,
"n1": 6.0,
"n2": 8.0,
"n_1": 8.0,
"n_2": 12.0,
"time": 19.03677461028802,
"vocabulary": 14.0,
"volume": 76.14709844115208
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1522
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleDictationStreamChunk:1555",
"entity_name": "handleDictationStreamChunk",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1556,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1560,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1565,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1574,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1579,
"nesting_level": 1
},
{
"column": 5,
"kind": "While",
"line": 1583,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1589,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.4329438256420907,
"calculated_length": 318.14033237029906,
"difficulty": 13.836734693877553,
"effort": 17971.586558285973,
"length": 219.0,
"n1": 12.0,
"n2": 49.0,
"n_1": 106.0,
"n_2": 113.0,
"time": 998.4214754603319,
"vocabulary": 61.0,
"volume": 1298.8314769262722
},
"lines_of_code": 45.0,
"maintainability_index": 70.44212223402376,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 25.0,
"technical_debt_score": 33.4
},
"recommendations": [],
"severity": "Low",
"start_line": 1556
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleDictationStreamFinish:1602",
"entity_name": "handleDictationStreamFinish",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1603,
"metrics": {
"cognitive_complexity": 24.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1607,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1617,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1617,
"nesting_level": 2
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1617,
"nesting_level": 2
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1617,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 1639,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1640,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 1661,
"nesting_level": 3
},
{
"column": 5,
"kind": "If",
"line": 1677,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.6170246276569697,
"calculated_length": 392.4671835415214,
"difficulty": 14.758333333333333,
"effort": 27318.765389512337,
"length": 301.0,
"n1": 11.0,
"n2": 60.0,
"n_1": 140.0,
"n_2": 161.0,
"time": 1517.709188306241,
"vocabulary": 71.0,
"volume": 1851.0738829709094
},
"lines_of_code": 86.0,
"maintainability_index": 57.417263420593855,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 32.0,
"technical_debt_score": 56.400000000000006
},
"recommendations": [],
"severity": "Moderate",
"start_line": 1603
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_1679:1679",
"entity_name": "anonymous_function_1679",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1680,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.010566416671474373,
"calculated_length": 19.60964047443681,
"difficulty": 2.0,
"effort": 63.39850002884624,
"length": 10.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 5.0,
"time": 3.522138890491458,
"vocabulary": 9.0,
"volume": 31.69925001442312
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 1680
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleDictationStreamCancel:1690",
"entity_name": "handleDictationStreamCancel",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1691,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01850219859070546,
"calculated_length": 37.974168451037094,
"difficulty": 1.6500000000000001,
"effort": 91.58588302399204,
"length": 15.0,
"n1": 3.0,
"n2": 10.0,
"n_1": 4.0,
"n_2": 11.0,
"time": 5.088104612444003,
"vocabulary": 13.0,
"volume": 55.506595772116384
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1691
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleInitializeAgentRequest:1699",
"entity_name": "handleInitializeAgentRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1700,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 1709,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 1730,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.14796889416784798,
"calculated_length": 141.8629171260716,
"difficulty": 7.26923076923077,
"effort": 3226.8601151219154,
"length": 88.0,
"n1": 7.0,
"n2": 26.0,
"n_1": 34.0,
"n_2": 54.0,
"time": 179.27000639566197,
"vocabulary": 33.0,
"volume": 443.9066825035439
},
"lines_of_code": 44.0,
"maintainability_index": 77.30893322835954,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 9.0,
"technical_debt_score": 18.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1700
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleCreateAgentRequest:1748",
"entity_name": "handleCreateAgentRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [
{
"description": "Cognitive complexity of 43.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleCreateAgentRequest:1748",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:1749",
"metric_value": 43.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 1749,
"metrics": {
"cognitive_complexity": 43.0,
"cyclomatic_complexity": 14.0,
"decision_points": [
{
"column": 9,
"kind": "ConditionalExpression",
"line": 1756,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 1760,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 1763,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 1765,
"nesting_level": 3
},
{
"column": 9,
"kind": "Catch",
"line": 1770,
"nesting_level": 3
},
{
"column": 9,
"kind": "If",
"line": 1771,
"nesting_level": 3
},
{
"column": 7,
"kind": "If",
"line": 1788,
"nesting_level": 2
},
{
"column": 9,
"kind": "Try",
"line": 1789,
"nesting_level": 3
},
{
"column": 11,
"kind": "Catch",
"line": 1800,
"nesting_level": 4
},
{
"column": 7,
"kind": "If",
"line": 1817,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 1828,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 1836,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 1841,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.6044017868901971,
"calculated_length": 520.4643706959974,
"difficulty": 15.400000000000002,
"effort": 27923.36255432711,
"length": 280.0,
"n1": 14.0,
"n2": 75.0,
"n_1": 115.0,
"n_2": 165.0,
"time": 1551.2979196848394,
"vocabulary": 89.0,
"volume": 1813.2053606705913
},
"lines_of_code": 112.0,
"maintainability_index": 52.32549061225372,
"max_nesting_depth": 4.0,
"parameter_count": 1.0,
"statement_count": 30.0,
"technical_debt_score": 82.4
},
"recommendations": [],
"severity": "High",
"start_line": 1749
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleResumeAgentRequest:1862",
"entity_name": "handleResumeAgentRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1863,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 1867,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 1884,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1892,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 1903,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.27452334230355263,
"calculated_length": 306.1319478396258,
"difficulty": 9.739583333333332,
"effort": 8021.228907931927,
"length": 140.0,
"n1": 11.0,
"n2": 48.0,
"n_1": 55.0,
"n_2": 85.0,
"time": 445.6238282184404,
"vocabulary": 59.0,
"volume": 823.5700269106578
},
"lines_of_code": 55.0,
"maintainability_index": 70.02022977430775,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 15.0,
"technical_debt_score": 29.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1863
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleRefreshAgentRequest:1919",
"entity_name": "handleRefreshAgentRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1920,
"metrics": {
"cognitive_complexity": 23.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 1929,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 1932,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 1934,
"nesting_level": 3
},
{
"column": 9,
"kind": "If",
"line": 1943,
"nesting_level": 3
},
{
"column": 9,
"kind": "If",
"line": 1947,
"nesting_level": 3
},
{
"column": 7,
"kind": "If",
"line": 1961,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 1972,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.3425156667636457,
"calculated_length": 351.68550042768373,
"difficulty": 11.283018867924529,
"effort": 11593.832191961896,
"length": 170.0,
"n1": 13.0,
"n2": 53.0,
"n_1": 78.0,
"n_2": 92.0,
"time": 644.1017884423276,
"vocabulary": 66.0,
"volume": 1027.5470002909371
},
"lines_of_code": 67.0,
"maintainability_index": 64.98234518982716,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 24.0,
"technical_debt_score": 47.80000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 1920
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleCancelAgentRequest:1988",
"entity_name": "handleCancelAgentRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 1989,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 1995,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 1997,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.036,
"calculated_length": 48.72905595320056,
"difficulty": 4.199999999999999,
"effort": 453.5999999999999,
"length": 27.0,
"n1": 6.0,
"n2": 10.0,
"n_1": 13.0,
"n_2": 14.0,
"time": 25.199999999999996,
"vocabulary": 16.0,
"volume": 108.0
},
"lines_of_code": 15.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 13.0
},
"recommendations": [],
"severity": "Low",
"start_line": 1989
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:buildAgentSessionConfig:2005",
"entity_name": "buildAgentSessionConfig",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2006,
"metrics": {
"cognitive_complexity": 17.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 2015,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 2024,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 2027,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 2038,
"nesting_level": 2
},
{
"column": 12,
"kind": "If",
"line": 2061,
"nesting_level": 2
},
{
"column": 12,
"kind": "If",
"line": 2067,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.33669276394968556,
"calculated_length": 307.38681888742906,
"difficulty": 15.065217391304346,
"effort": 15217.049048943394,
"length": 171.0,
"n1": 14.0,
"n2": 46.0,
"n_1": 72.0,
"n_2": 99.0,
"time": 845.3916138301886,
"vocabulary": 60.0,
"volume": 1010.0782918490567
},
"lines_of_code": 72.0,
"maintainability_index": 64.13553662967084,
"max_nesting_depth": 3.0,
"parameter_count": 3.0,
"statement_count": 22.0,
"technical_debt_score": 42.00000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 2006
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:runAsyncWorktreeSetup:2079",
"entity_name": "runAsyncWorktreeSetup",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2080,
"metrics": {
"cognitive_complexity": 20.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 2086,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 2098,
"nesting_level": 2
},
{
"column": 46,
"kind": "ConditionalExpression",
"line": 2120,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 2124,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 2125,
"nesting_level": 2
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 2128,
"nesting_level": 2
},
{
"column": 46,
"kind": "ConditionalExpression",
"line": 2140,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.3874748393874419,
"calculated_length": 316.1839163704497,
"difficulty": 17.604166666666668,
"effort": 20463.514955149276,
"length": 196.0,
"n1": 13.0,
"n2": 48.0,
"n_1": 66.0,
"n_2": 130.0,
"time": 1136.8619419527377,
"vocabulary": 61.0,
"volume": 1162.4245181623257
},
"lines_of_code": 66.0,
"maintainability_index": 64.58462451452196,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 12.0,
"technical_debt_score": 45.20000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 2080
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_2115:2115",
"entity_name": "anonymous_function_2115",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2116,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 46,
"kind": "ConditionalExpression",
"line": 2120,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.03934266752792858,
"calculated_length": 40.13896548741762,
"difficulty": 5.555555555555555,
"effort": 655.7111254654762,
"length": 31.0,
"n1": 5.0,
"n2": 9.0,
"n_1": 11.0,
"n_2": 20.0,
"time": 36.428395859193124,
"vocabulary": 14.0,
"volume": 118.02800258378574
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 7.400000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 2116
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_2135:2135",
"entity_name": "anonymous_function_2135",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2136,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 46,
"kind": "ConditionalExpression",
"line": 2140,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.03934266752792858,
"calculated_length": 40.13896548741762,
"difficulty": 5.555555555555555,
"effort": 655.7111254654762,
"length": 31.0,
"n1": 5.0,
"n2": 9.0,
"n_1": 11.0,
"n_2": 20.0,
"time": 36.428395859193124,
"vocabulary": 14.0,
"volume": 118.02800258378574
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 7.400000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 2136
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:safeAppendTimelineItem:2147",
"entity_name": "safeAppendTimelineItem",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2148,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 2152,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 2155,
"nesting_level": 2
},
{
"column": 23,
"kind": "ConditionalExpression",
"line": 2156,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 2157,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.06570051726812058,
"calculated_length": 107.01955000865388,
"difficulty": 8.625,
"effort": 1700.00088431262,
"length": 41.0,
"n1": 12.0,
"n2": 16.0,
"n_1": 18.0,
"n_2": 23.0,
"time": 94.44449357292334,
"vocabulary": 28.0,
"volume": 197.10155180436175
},
"lines_of_code": 14.0,
"maintainability_index": 99.62193200621746,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 7.0,
"technical_debt_score": 21.6
},
"recommendations": [],
"severity": "Low",
"start_line": 2148
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleGitRepoInfoRequest:2163",
"entity_name": "handleGitRepoInfoRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2164,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 2170,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 2172,
"nesting_level": 2
},
{
"column": 26,
"kind": "LogicalOr",
"line": 2199,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 2204,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.2838165500663464,
"calculated_length": 395.18165624818283,
"difficulty": 10.135593220338983,
"effort": 8629.94730201738,
"length": 138.0,
"n1": 13.0,
"n2": 59.0,
"n_1": 46.0,
"n_2": 92.0,
"time": 479.4415167787433,
"vocabulary": 72.0,
"volume": 851.4496501990391
},
"lines_of_code": 51.0,
"maintainability_index": 71.07033483812327,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 13.0,
"technical_debt_score": 29.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 2164
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_2182:2182",
"entity_name": "anonymous_function_2182",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2183,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.0,
"difficulty": 1.5,
"effort": 15.0,
"length": 5.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.8333333333333334,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 2183
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_2183:2183",
"entity_name": "anonymous_function_2183",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2184,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 2184
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_2184:2184",
"entity_name": "anonymous_function_2184",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2185,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 22.61842188131012,
"length": 7.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 5.0,
"time": 1.2565789934061178,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 2185
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleListProviderModelsRequest:2216",
"entity_name": "handleListProviderModelsRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2217,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 2221,
"nesting_level": 1
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 2223,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 2235,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.17906673690516922,
"calculated_length": 196.59963563064701,
"difficulty": 12.193548387096774,
"effort": 6550.376762918126,
"length": 99.0,
"n1": 12.0,
"n2": 31.0,
"n_1": 36.0,
"n_2": 63.0,
"time": 363.9098201621181,
"vocabulary": 43.0,
"volume": 537.2002107155076
},
"lines_of_code": 33.0,
"maintainability_index": 80.74744904837975,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 21.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 2217
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:normalizeGitOptions:2251",
"entity_name": "normalizeGitOptions",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [
{
"description": "Cyclomatic complexity of 19.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:normalizeGitOptions:2251",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:2252",
"metric_value": 19.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 43.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:normalizeGitOptions:2251",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:2252",
"metric_value": 43.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 2252,
"metrics": {
"cognitive_complexity": 43.0,
"cyclomatic_complexity": 19.0,
"decision_points": [
{
"column": 58,
"kind": "ConditionalExpression",
"line": 2256,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 2266,
"nesting_level": 1
},
{
"column": 24,
"kind": "LogicalOr",
"line": 2270,
"nesting_level": 1
},
{
"column": 34,
"kind": "ConditionalExpression",
"line": 2273,
"nesting_level": 1
},
{
"column": 36,
"kind": "ConditionalExpression",
"line": 2276,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 2280,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 2280,
"nesting_level": 2
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 2280,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 2284,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 2288,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 2288,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 2291,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 2291,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 2295,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 2296,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 2300,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 2305,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 2307,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.30903459170657066,
"calculated_length": 230.80352233328142,
"difficulty": 13.824324324324325,
"effort": 12816.583269560342,
"length": 166.0,
"n1": 11.0,
"n2": 37.0,
"n_1": 73.0,
"n_2": 93.0,
"time": 712.0324038644635,
"vocabulary": 48.0,
"volume": 927.1037751197119
},
"lines_of_code": 67.0,
"maintainability_index": 62.98723893169881,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 28.0,
"technical_debt_score": 85.8
},
"recommendations": [],
"severity": "High",
"start_line": 2252
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:assertSafeGitRef:2320",
"entity_name": "assertSafeGitRef",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2321,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 2322,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 2322,
"nesting_level": 2
},
{
"column": 9,
"kind": "LogicalOr",
"line": 2322,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.038149653185003164,
"calculated_length": 52.529325012980806,
"difficulty": 6.666666666666667,
"effort": 762.9930637000633,
"length": 28.0,
"n1": 8.0,
"n2": 9.0,
"n_1": 13.0,
"n_2": 15.0,
"time": 42.38850353889241,
"vocabulary": 17.0,
"volume": 114.4489595550095
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 15.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 2321
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:toCheckoutError:2326",
"entity_name": "toCheckoutError",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2327,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 2328,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 2331,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 2334,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 2337,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08212659859324264,
"calculated_length": 63.61549134016113,
"difficulty": 8.307692307692307,
"effort": 2046.8475341700473,
"length": 58.0,
"n1": 6.0,
"n2": 13.0,
"n_1": 22.0,
"n_2": 36.0,
"time": 113.71375189833596,
"vocabulary": 19.0,
"volume": 246.37979577972794
},
"lines_of_code": 14.0,
"maintainability_index": 98.46152526085194,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 19.2
},
"recommendations": [],
"severity": "Low",
"start_line": 2327
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:isPathWithinRoot:2342",
"entity_name": "isPathWithinRoot",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2343,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 2346,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.033859718495273826,
"calculated_length": 44.039100017307746,
"difficulty": 5.333333333333333,
"effort": 541.7554959243812,
"length": 26.0,
"n1": 6.0,
"n2": 9.0,
"n_1": 10.0,
"n_2": 16.0,
"time": 30.09752755135451,
"vocabulary": 15.0,
"volume": 101.57915548582149
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 2343
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:buildEphemeralAgentConfig:2351",
"entity_name": "buildEphemeralAgentConfig",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2352,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.025382366147050694,
"calculated_length": 45.01955000865387,
"difficulty": 1.3333333333333333,
"effort": 101.52946458820277,
"length": 20.0,
"n1": 2.0,
"n2": 12.0,
"n_1": 4.0,
"n_2": 16.0,
"time": 5.64052581045571,
"vocabulary": 14.0,
"volume": 76.14709844115208
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 2352
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:generateCommitMessage:2361",
"entity_name": "generateCommitMessage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2362,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "ConditionalExpression",
"line": 2375,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 2377,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 2387,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 2388,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.18159741084895473,
"calculated_length": 299.11942383385923,
"difficulty": 6.787234042553192,
"effort": 3697.6323868606314,
"length": 93.0,
"n1": 11.0,
"n2": 47.0,
"n_1": 35.0,
"n_2": 58.0,
"time": 205.4240214922573,
"vocabulary": 58.0,
"volume": 544.7922325468642
},
"lines_of_code": 31.0,
"maintainability_index": 81.45730390141188,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 24.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 2362
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:generatePullRequestText:2394",
"entity_name": "generatePullRequestText",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2395,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "ConditionalExpression",
"line": 2415,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 2417,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 2426,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 2427,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.19804898266184867,
"calculated_length": 306.1319478396258,
"difficulty": 7.447916666666667,
"effort": 4425.156956350682,
"length": 101.0,
"n1": 11.0,
"n2": 48.0,
"n_1": 36.0,
"n_2": 65.0,
"time": 245.84205313059343,
"vocabulary": 59.0,
"volume": 594.146947985546
},
"lines_of_code": 40.0,
"maintainability_index": 76.87709412842183,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 8.0,
"technical_debt_score": 26.0
},
"recommendations": [],
"severity": "Low",
"start_line": 2395
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:ensureCleanWorkingTree:2436",
"entity_name": "ensureCleanWorkingTree",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2437,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 2439,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.020305892917640556,
"calculated_length": 39.302968908806456,
"difficulty": 4.5,
"effort": 274.1295543881475,
"length": 16.0,
"n1": 7.0,
"n2": 7.0,
"n_1": 7.0,
"n_2": 9.0,
"time": 15.229419688230415,
"vocabulary": 14.0,
"volume": 60.91767875292167
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 2437
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:isWorkingTreeDirty:2445",
"entity_name": "isWorkingTreeDirty",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2446,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 2447,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 2453,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.05288090414263365,
"calculated_length": 107.54061610626604,
"difficulty": 6.147058823529412,
"effort": 975.1860852185675,
"length": 33.0,
"n1": 11.0,
"n2": 17.0,
"n_1": 14.0,
"n_2": 19.0,
"time": 54.177004734364864,
"vocabulary": 28.0,
"volume": 158.64271242790093
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 12.4
},
"recommendations": [],
"severity": "Low",
"start_line": 2446
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:checkoutExistingBranch:2459",
"entity_name": "checkoutExistingBranch",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2460,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 2465,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 2467,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 2475,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08332748531566514,
"calculated_length": 107.01955000865388,
"difficulty": 10.125,
"effort": 2531.0723664633283,
"length": 52.0,
"n1": 12.0,
"n2": 16.0,
"n_1": 25.0,
"n_2": 27.0,
"time": 140.6151314701849,
"vocabulary": 28.0,
"volume": 249.9824559469954
},
"lines_of_code": 21.0,
"maintainability_index": 92.04750466510419,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 10.0,
"technical_debt_score": 17.8
},
"recommendations": [],
"severity": "Low",
"start_line": 2460
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:createBranchFromBase:2482",
"entity_name": "createBranchFromBase",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2483,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 2491,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 2493,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 2498,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09247833112722166,
"calculated_length": 125.4579468272276,
"difficulty": 7.619047619047619,
"effort": 2113.7904257650666,
"length": 56.0,
"n1": 10.0,
"n2": 21.0,
"n_1": 24.0,
"n_2": 32.0,
"time": 117.43280143139259,
"vocabulary": 31.0,
"volume": 277.434993381665
},
"lines_of_code": 23.0,
"maintainability_index": 90.03194313411743,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 18.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 2483
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:doesLocalBranchExist:2507",
"entity_name": "doesLocalBranchExist",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2508,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 2512,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 2517,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.02213904670844827,
"calculated_length": 44.039100017307746,
"difficulty": 3.3333333333333335,
"effort": 221.39046708448274,
"length": 17.0,
"n1": 6.0,
"n2": 9.0,
"n_1": 7.0,
"n_2": 10.0,
"time": 12.299470393582375,
"vocabulary": 15.0,
"volume": 66.41714012534482
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 12.4
},
"recommendations": [],
"severity": "Low",
"start_line": 2508
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleSetAgentMode:2524",
"entity_name": "handleSetAgentMode",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2525,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 2534,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 2540,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.11433960003879162,
"calculated_length": 140.0964047443681,
"difficulty": 6.72,
"effort": 2305.086336782039,
"length": 68.0,
"n1": 8.0,
"n2": 25.0,
"n_1": 26.0,
"n_2": 42.0,
"time": 128.0603520434466,
"vocabulary": 33.0,
"volume": 343.01880011637485
},
"lines_of_code": 31.0,
"maintainability_index": 84.3229239535469,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 7.0,
"technical_debt_score": 16.2
},
"recommendations": [],
"severity": "Low",
"start_line": 2525
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleClearAgentAttention:2560",
"entity_name": "handleClearAgentAttention",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2561,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 22,
"kind": "ConditionalExpression",
"line": 2562,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 2568,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 2572,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.09230163890742386,
"calculated_length": 117.75898006442377,
"difficulty": 5.090909090909091,
"effort": 1409.6977578588371,
"length": 57.0,
"n1": 7.0,
"n2": 22.0,
"n_1": 25.0,
"n_2": 32.0,
"time": 78.31654210326873,
"vocabulary": 29.0,
"volume": 276.9049167222716
},
"lines_of_code": 18.0,
"maintainability_index": 94.0128717531693,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 17.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 2561
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_2569:2569",
"entity_name": "anonymous_function_2569",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2570,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005417832221403845,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 21.67132888561538,
"length": 7.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 4.0,
"time": 1.2039627158675212,
"vocabulary": 5.0,
"volume": 16.253496664211536
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 2570
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleClientHeartbeat:2583",
"entity_name": "handleClientHeartbeat",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2584,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.06483772137015052,
"calculated_length": 86.66829050039843,
"difficulty": 4.305555555555555,
"effort": 837.4872343644441,
"length": 43.0,
"n1": 5.0,
"n2": 18.0,
"n_1": 12.0,
"n_2": 31.0,
"time": 46.52706857580245,
"vocabulary": 23.0,
"volume": 194.51316411045156
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 4.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 2584
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleRegisterPushToken:2601",
"entity_name": "handleRegisterPushToken",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2602,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017716949839399265,
"calculated_length": 24.406371956566694,
"difficulty": 1.7142857142857142,
"effort": 91.11574203119622,
"length": 16.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 8.0,
"n_2": 8.0,
"time": 5.06198566839979,
"vocabulary": 10.0,
"volume": 53.150849518197795
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 2602
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleListCommandsRequest:2609",
"entity_name": "handleListCommandsRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2610,
"metrics": {
"cognitive_complexity": 15.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 2616,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 2620,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 2634,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalOr",
"line": 2634,
"nesting_level": 3
},
{
"column": 7,
"kind": "Catch",
"line": 2658,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.2085029403474454,
"calculated_length": 191.6338334270034,
"difficulty": 12.596774193548388,
"effort": 7879.393374742977,
"length": 116.0,
"n1": 11.0,
"n2": 31.0,
"n_1": 45.0,
"n_2": 71.0,
"time": 437.74407637460985,
"vocabulary": 42.0,
"volume": 625.5088210423362
},
"lines_of_code": 63.0,
"maintainability_index": 69.02067718505172,
"max_nesting_depth": 3.0,
"parameter_count": 2.0,
"statement_count": 15.0,
"technical_debt_score": 36.6
},
"recommendations": [],
"severity": "Moderate",
"start_line": 2610
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_2617:2617",
"entity_name": "anonymous_function_2617",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2618,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 2618
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleExecuteCommandRequest:2677",
"entity_name": "handleExecuteCommandRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2678,
"metrics": {
"cognitive_complexity": 15.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 2689,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 2693,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 2707,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalOr",
"line": 2707,
"nesting_level": 3
},
{
"column": 7,
"kind": "Catch",
"line": 2731,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.23198960215439457,
"calculated_length": 217.57865339808407,
"difficulty": 12.72857142857143,
"effort": 8858.688665124238,
"length": 126.0,
"n1": 11.0,
"n2": 35.0,
"n_1": 45.0,
"n_2": 81.0,
"time": 492.1493702846799,
"vocabulary": 46.0,
"volume": 695.9688064631837
},
"lines_of_code": 68.0,
"maintainability_index": 67.22839000279093,
"max_nesting_depth": 3.0,
"parameter_count": 4.0,
"statement_count": 15.0,
"technical_debt_score": 37.6
},
"recommendations": [],
"severity": "Moderate",
"start_line": 2678
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_2690:2690",
"entity_name": "anonymous_function_2690",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2691,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 2691
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleAgentPermissionResponse:2750",
"entity_name": "handleAgentPermissionResponse",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2751,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 2761,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 2767,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.11797350938973422,
"calculated_length": 152.38196255841365,
"difficulty": 6.37037037037037,
"effort": 2254.6048461149207,
"length": 69.0,
"n1": 8.0,
"n2": 27.0,
"n_1": 26.0,
"n_2": 43.0,
"time": 125.25582478416226,
"vocabulary": 35.0,
"volume": 353.92052816920267
},
"lines_of_code": 32.0,
"maintainability_index": 83.6459019402305,
"max_nesting_depth": 2.0,
"parameter_count": 3.0,
"statement_count": 7.0,
"technical_debt_score": 16.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 2751
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleGitDiffRequest:2787",
"entity_name": "handleGitDiffRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2788,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 2794,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 2798,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 2828,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.21910129092359484,
"calculated_length": 217.57865339808407,
"difficulty": 12.100000000000001,
"effort": 7953.376860526494,
"length": 119.0,
"n1": 11.0,
"n2": 35.0,
"n_1": 42.0,
"n_2": 77.0,
"time": 441.8542700292497,
"vocabulary": 46.0,
"volume": 657.3038727707846
},
"lines_of_code": 55.0,
"maintainability_index": 71.4228409778456,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 13.0,
"technical_debt_score": 25.4
},
"recommendations": [],
"severity": "Low",
"start_line": 2788
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_2795:2795",
"entity_name": "anonymous_function_2795",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2796,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 2796
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleCheckoutStatusRequest:2844",
"entity_name": "handleCheckoutStatusRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2845,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 2850,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 2872,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 2874,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 2896,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 2936,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.5040570000015615,
"calculated_length": 264.53107956171823,
"difficulty": 25.92857142857143,
"effort": 39208.43378583575,
"length": 264.0,
"n1": 11.0,
"n2": 42.0,
"n_1": 66.0,
"n_2": 198.0,
"time": 2178.2463214353193,
"vocabulary": 53.0,
"volume": 1512.1710000046844
},
"lines_of_code": 111.0,
"maintainability_index": 55.254842181693576,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 15.0,
"technical_debt_score": 42.400000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 2845
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleCheckoutDiffRequest:2957",
"entity_name": "handleCheckoutDiffRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 2958,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 2963,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 2976,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 2995,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.17405600516757147,
"calculated_length": 237.4749933158665,
"difficulty": 9.407894736842104,
"effort": 4912.501724795274,
"length": 93.0,
"n1": 11.0,
"n2": 38.0,
"n_1": 28.0,
"n_2": 65.0,
"time": 272.9167624886263,
"vocabulary": 49.0,
"volume": 522.1680155027144
},
"lines_of_code": 48.0,
"maintainability_index": 74.82499871795184,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 23.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 2958
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleCheckoutCommitRequest:3007",
"entity_name": "handleCheckoutCommitRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 3008,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 3013,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 3026,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 3028,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 3031,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 3049,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.21766097727340153,
"calculated_length": 259.4336554444341,
"difficulty": 12.743589743589743,
"effort": 8321.34659268312,
"length": 114.0,
"n1": 14.0,
"n2": 39.0,
"n_1": 43.0,
"n_2": 71.0,
"time": 462.29703292683996,
"vocabulary": 53.0,
"volume": 652.9829318202046
},
"lines_of_code": 52.0,
"maintainability_index": 71.90578660664374,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 14.0,
"technical_debt_score": 32.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 3008
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleCheckoutMergeRequest:3061",
"entity_name": "handleCheckoutMergeRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [
{
"description": "Cognitive complexity of 48.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleCheckoutMergeRequest:3061",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:3062",
"metric_value": 48.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 3062,
"metrics": {
"cognitive_complexity": 48.0,
"cyclomatic_complexity": 15.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 3067,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 3080,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 3082,
"nesting_level": 2
},
{
"column": 9,
"kind": "Try",
"line": 3085,
"nesting_level": 3
},
{
"column": 11,
"kind": "Catch",
"line": 3090,
"nesting_level": 4
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 3092,
"nesting_level": 4
},
{
"column": 17,
"kind": "ConditionalExpression",
"line": 3094,
"nesting_level": 4
},
{
"column": 7,
"kind": "If",
"line": 3101,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 3106,
"nesting_level": 3
},
{
"column": 37,
"kind": "ConditionalExpression",
"line": 3111,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 3112,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 3115,
"nesting_level": 2
},
{
"column": 17,
"kind": "ConditionalExpression",
"line": 3123,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 3137,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.48328985736024455,
"calculated_length": 440.56863518049477,
"difficulty": 16.88888888888889,
"effort": 24486.68610625239,
"length": 230.0,
"n1": 16.0,
"n2": 63.0,
"n_1": 97.0,
"n_2": 133.0,
"time": 1360.371450347355,
"vocabulary": 79.0,
"volume": 1449.8695720807336
},
"lines_of_code": 86.0,
"maintainability_index": 57.53758361907876,
"max_nesting_depth": 4.0,
"parameter_count": 1.0,
"statement_count": 24.0,
"technical_debt_score": 85.60000000000001
},
"recommendations": [],
"severity": "High",
"start_line": 3062
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleCheckoutMergeFromBaseRequest:3149",
"entity_name": "handleCheckoutMergeFromBaseRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 3150,
"metrics": {
"cognitive_complexity": 14.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 3155,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 3168,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 3169,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 3174,
"nesting_level": 3
},
{
"column": 7,
"kind": "Catch",
"line": 3196,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.23331560056658965,
"calculated_length": 288.3207075558753,
"difficulty": 11.522727272727273,
"effort": 8065.296101404156,
"length": 120.0,
"n1": 13.0,
"n2": 44.0,
"n_1": 42.0,
"n_2": 78.0,
"time": 448.07200563356423,
"vocabulary": 57.0,
"volume": 699.9468016997689
},
"lines_of_code": 57.0,
"maintainability_index": 70.05734692124513,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 13.0,
"technical_debt_score": 34.599999999999994
},
"recommendations": [],
"severity": "Low",
"start_line": 3150
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleCheckoutPushRequest:3208",
"entity_name": "handleCheckoutPushRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 3209,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 3214,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 3227,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 3238,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.1392963521200702,
"calculated_length": 186.79936657086677,
"difficulty": 8.709677419354838,
"effort": 3639.678877976027,
"length": 78.0,
"n1": 10.0,
"n2": 31.0,
"n_1": 24.0,
"n_2": 54.0,
"time": 202.20438210977926,
"vocabulary": 41.0,
"volume": 417.88905636021053
},
"lines_of_code": 40.0,
"maintainability_index": 78.93702973752802,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 21.6
},
"recommendations": [],
"severity": "Low",
"start_line": 3209
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleCheckoutPrCreateRequest:3250",
"entity_name": "handleCheckoutPrCreateRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 3251,
"metrics": {
"cognitive_complexity": 25.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 3256,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 3270,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 3273,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalOr",
"line": 3273,
"nesting_level": 3
},
{
"column": 9,
"kind": "If",
"line": 3275,
"nesting_level": 3
},
{
"column": 9,
"kind": "If",
"line": 3278,
"nesting_level": 3
},
{
"column": 7,
"kind": "If",
"line": 3282,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 3302,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.31374096263263157,
"calculated_length": 300.4363582436418,
"difficulty": 15.244444444444444,
"effort": 14348.420024399016,
"length": 160.0,
"n1": 14.0,
"n2": 45.0,
"n_1": 62.0,
"n_2": 98.0,
"time": 797.1344457999453,
"vocabulary": 59.0,
"volume": 941.2228878978947
},
"lines_of_code": 63.0,
"maintainability_index": 66.20588156588344,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 19.0,
"technical_debt_score": 50.6
},
"recommendations": [],
"severity": "High",
"start_line": 3251
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleCheckoutPrStatusRequest:3315",
"entity_name": "handleCheckoutPrStatusRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 3316,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 3321,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 3334,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 3345,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.13751050145186416,
"calculated_length": 186.79936657086677,
"difficulty": 8.709677419354838,
"effort": 3593.016328258386,
"length": 77.0,
"n1": 10.0,
"n2": 31.0,
"n_1": 23.0,
"n_2": 54.0,
"time": 199.612018236577,
"vocabulary": 41.0,
"volume": 412.53150435559246
},
"lines_of_code": 40.0,
"maintainability_index": 79.00412744267474,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 21.6
},
"recommendations": [],
"severity": "Low",
"start_line": 3316
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handlePaseoWorktreeListRequest:3357",
"entity_name": "handlePaseoWorktreeListRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 3358,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 3363,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 3375,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 3389,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.17491279527513875,
"calculated_length": 217.57865339808407,
"difficulty": 10.057142857142857,
"effort": 5277.368908872758,
"length": 95.0,
"n1": 11.0,
"n2": 35.0,
"n_1": 31.0,
"n_2": 64.0,
"time": 293.1871616040421,
"vocabulary": 46.0,
"volume": 524.7383858254162
},
"lines_of_code": 41.0,
"maintainability_index": 77.35305342585895,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 21.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 3358
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_3379:3379",
"entity_name": "anonymous_function_3379",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 3380,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.019019550008653872,
"calculated_length": 20.264662506490403,
"difficulty": 3.0,
"effort": 171.17595007788486,
"length": 18.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 12.0,
"time": 9.509775004326936,
"vocabulary": 9.0,
"volume": 57.05865002596162
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 3380
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handlePaseoWorktreeArchiveRequest:3400",
"entity_name": "handlePaseoWorktreeArchiveRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [
{
"description": "Cyclomatic complexity of 18.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handlePaseoWorktreeArchiveRequest:3400",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:3401",
"metric_value": 18.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 63.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handlePaseoWorktreeArchiveRequest:3400",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:3401",
"metric_value": 63.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 3401,
"metrics": {
"cognitive_complexity": 63.0,
"cyclomatic_complexity": 18.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 3408,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 3409,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 3410,
"nesting_level": 3
},
{
"column": 13,
"kind": "LogicalOr",
"line": 3410,
"nesting_level": 4
},
{
"column": 9,
"kind": "If",
"line": 3415,
"nesting_level": 3
},
{
"column": 7,
"kind": "If",
"line": 3422,
"nesting_level": 2
},
{
"column": 8,
"kind": "If",
"line": 3439,
"nesting_level": 2
},
{
"column": 8,
"kind": "If",
"line": 3446,
"nesting_level": 2
},
{
"column": 10,
"kind": "If",
"line": 3453,
"nesting_level": 2
},
{
"column": 11,
"kind": "Try",
"line": 3455,
"nesting_level": 3
},
{
"column": 13,
"kind": "Catch",
"line": 3457,
"nesting_level": 4
},
{
"column": 11,
"kind": "Try",
"line": 3460,
"nesting_level": 3
},
{
"column": 13,
"kind": "Catch",
"line": 3462,
"nesting_level": 4
},
{
"column": 9,
"kind": "If",
"line": 3470,
"nesting_level": 2
},
{
"column": 11,
"kind": "Try",
"line": 3472,
"nesting_level": 3
},
{
"column": 13,
"kind": "Catch",
"line": 3474,
"nesting_level": 4
},
{
"column": 7,
"kind": "Catch",
"line": 3505,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.6209209124510329,
"calculated_length": 465.0313346947985,
"difficulty": 18.02238805970149,
"effort": 33571.43291572935,
"length": 293.0,
"n1": 15.0,
"n2": 67.0,
"n_1": 132.0,
"n_2": 161.0,
"time": 1865.0796064294082,
"vocabulary": 82.0,
"volume": 1862.7627373530986
},
"lines_of_code": 115.0,
"maintainability_index": 50.83705628234779,
"max_nesting_depth": 4.0,
"parameter_count": 1.0,
"statement_count": 42.0,
"technical_debt_score": 96.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 3401
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_3413:3413",
"entity_name": "anonymous_function_3413",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 3414,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006191808253032966,
"calculated_length": 6.754887502163468,
"difficulty": 1.6666666666666667,
"effort": 30.95904126516483,
"length": 8.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.7199467369536017,
"vocabulary": 5.0,
"volume": 18.575424759098897
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 3414
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleHighlightedDiffRequest:3520",
"entity_name": "handleHighlightedDiffRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [
{
"description": "Cyclomatic complexity of 23.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleHighlightedDiffRequest:3520",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:3521",
"metric_value": 23.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 82.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleHighlightedDiffRequest:3520",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:3521",
"metric_value": 82.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 3521,
"metrics": {
"cognitive_complexity": 82.0,
"cyclomatic_complexity": 23.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 3533,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 3537,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 3566,
"nesting_level": 2
},
{
"column": 16,
"kind": "If",
"line": 3568,
"nesting_level": 3
},
{
"column": 9,
"kind": "If",
"line": 3587,
"nesting_level": 2
},
{
"column": 28,
"kind": "LogicalAnd",
"line": 3590,
"nesting_level": 3
},
{
"column": 24,
"kind": "ConditionalExpression",
"line": 3593,
"nesting_level": 3
},
{
"column": 24,
"kind": "ConditionalExpression",
"line": 3594,
"nesting_level": 3
},
{
"column": 7,
"kind": "Try",
"line": 3604,
"nesting_level": 2
},
{
"column": 11,
"kind": "Try",
"line": 3612,
"nesting_level": 3
},
{
"column": 30,
"kind": "LogicalAnd",
"line": 3618,
"nesting_level": 4
},
{
"column": 31,
"kind": "ConditionalExpression",
"line": 3619,
"nesting_level": 4
},
{
"column": 47,
"kind": "LogicalOr",
"line": 3619,
"nesting_level": 4
},
{
"column": 13,
"kind": "Catch",
"line": 3630,
"nesting_level": 4
},
{
"column": 9,
"kind": "Catch",
"line": 3643,
"nesting_level": 3
},
{
"column": 9,
"kind": "If",
"line": 3654,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 3668,
"nesting_level": 2
},
{
"column": 9,
"kind": "Try",
"line": 3682,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 3684,
"nesting_level": 3
},
{
"column": 11,
"kind": "If",
"line": 3698,
"nesting_level": 3
},
{
"column": 11,
"kind": "Catch",
"line": 3704,
"nesting_level": 3
},
{
"column": 7,
"kind": "Catch",
"line": 3732,
"nesting_level": 2
}
],
"halstead": {
"bugs": 1.2481162573909852,
"calculated_length": 731.364955413843,
"difficulty": 31.727272727272727,
"effort": 118797.97468076013,
"length": 545.0,
"n1": 18.0,
"n2": 99.0,
"n_1": 196.0,
"n_2": 349.0,
"time": 6599.887482264452,
"vocabulary": 117.0,
"volume": 3744.3487721729557
},
"lines_of_code": 226.0,
"maintainability_index": 35.111717473047264,
"max_nesting_depth": 4.0,
"parameter_count": 2.0,
"statement_count": 63.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 3521
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_3534:3534",
"entity_name": "anonymous_function_3534",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 3535,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 3535
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleFileExplorerRequest:3751",
"entity_name": "handleFileExplorerRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 3752,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 3762,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 3766,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 3782,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 3819,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.32023629440030726,
"calculated_length": 295.2391056706696,
"difficulty": 16.900000000000002,
"effort": 16235.980126095581,
"length": 164.0,
"n1": 13.0,
"n2": 45.0,
"n_1": 47.0,
"n_2": 117.0,
"time": 901.998895894199,
"vocabulary": 58.0,
"volume": 960.7088832009218
},
"lines_of_code": 85.0,
"maintainability_index": 62.16715819863923,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 15.0,
"technical_debt_score": 35.8
},
"recommendations": [],
"severity": "Low",
"start_line": 3752
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_3763:3763",
"entity_name": "anonymous_function_3763",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 3764,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 3764
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleFileDownloadTokenRequest:3841",
"entity_name": "handleFileDownloadTokenRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 3842,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 3852,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 3856,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 3900,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.3226728522737269,
"calculated_length": 264.53107956171823,
"difficulty": 15.976190476190476,
"effort": 15465.248848262196,
"length": 169.0,
"n1": 11.0,
"n2": 42.0,
"n_1": 47.0,
"n_2": 122.0,
"time": 859.180491570122,
"vocabulary": 53.0,
"volume": 968.0185568211806
},
"lines_of_code": 77.0,
"maintainability_index": 63.95904562768459,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 13.0,
"technical_debt_score": 29.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 3842
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_3853:3853",
"entity_name": "anonymous_function_3853",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 3854,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 3854
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:sendSessionState:3923",
"entity_name": "sendSessionState",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 3924,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 3925,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 3953,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.18123115217887925,
"calculated_length": 216.74977452827116,
"difficulty": 6.054054054054054,
"effort": 3291.5495747082937,
"length": 99.0,
"n1": 8.0,
"n2": 37.0,
"n_1": 43.0,
"n_2": 56.0,
"time": 182.86386526157187,
"vocabulary": 45.0,
"volume": 543.6934565366378
},
"lines_of_code": 35.0,
"maintainability_index": 79.9617563409822,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 17.0
},
"recommendations": [],
"severity": "Low",
"start_line": 3924
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_3928:3928",
"entity_name": "anonymous_function_3928",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 3929,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.0,
"difficulty": 1.5,
"effort": 15.0,
"length": 5.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.8333333333333334,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 3929
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_3933:3933",
"entity_name": "anonymous_function_3933",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 3934,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 3934
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_3935:3935",
"entity_name": "anonymous_function_3935",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 3936,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008422064766172813,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 47.374114309722074,
"length": 9.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 5.0,
"time": 2.6318952394290043,
"vocabulary": 7.0,
"volume": 25.26619429851844
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 3936
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_3936:3936",
"entity_name": "anonymous_function_3936",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 3937,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.0,
"difficulty": 1.5,
"effort": 15.0,
"length": 5.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.8333333333333334,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 3937
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:emitAgentTimelineSnapshot:3960",
"entity_name": "emitAgentTimelineSnapshot",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 3961,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.08422133727657687,
"calculated_length": 131.60617974869504,
"difficulty": 3.96,
"effort": 1000.5494868457332,
"length": 51.0,
"n1": 6.0,
"n2": 25.0,
"n_1": 18.0,
"n_2": 33.0,
"time": 55.586082602540735,
"vocabulary": 31.0,
"volume": 252.6640118297306
},
"lines_of_code": 17.0,
"maintainability_index": 96.10522876011521,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 3961
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_3962:3962",
"entity_name": "anonymous_function_3962",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 3963,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02344134357365111,
"calculated_length": 46.05374780501027,
"difficulty": 2.1818181818181817,
"effort": 153.43424884571635,
"length": 18.0,
"n1": 4.0,
"n2": 11.0,
"n_1": 6.0,
"n_2": 12.0,
"time": 8.52412493587313,
"vocabulary": 15.0,
"volume": 70.32403072095333
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 3963
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleUserText:3982",
"entity_name": "handleUserText",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 3983,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 3988,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.11602106474524443,
"calculated_length": 140.0964047443681,
"difficulty": 5.44,
"effort": 1893.4637766423893,
"length": 69.0,
"n1": 8.0,
"n2": 25.0,
"n_1": 35.0,
"n_2": 34.0,
"time": 105.1924320356883,
"vocabulary": 33.0,
"volume": 348.0631942357333
},
"lines_of_code": 28.0,
"maintainability_index": 86.12588984437797,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 11.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 3983
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleAudioChunk:4015",
"entity_name": "handleAudioChunk",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [
{
"description": "Cyclomatic complexity of 18.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleAudioChunk:4015",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:4016",
"metric_value": 18.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 40.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleAudioChunk:4015",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:4016",
"metric_value": 40.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 4016,
"metrics": {
"cognitive_complexity": 40.0,
"cyclomatic_complexity": 18.0,
"decision_points": [
{
"column": 25,
"kind": "LogicalOr",
"line": 4022,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 4025,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 4035,
"nesting_level": 1
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 4037,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 4041,
"nesting_level": 2
},
{
"column": 12,
"kind": "If",
"line": 4050,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 4056,
"nesting_level": 1
},
{
"column": 102,
"kind": "ConditionalExpression",
"line": 4062,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 4067,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 4068,
"nesting_level": 2
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 4077,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 4077,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 4081,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 4081,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 4087,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 4091,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 4091,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.6385427200109375,
"calculated_length": 316.1839163704497,
"difficulty": 21.802083333333332,
"effort": 41764.684780715375,
"length": 323.0,
"n1": 13.0,
"n2": 48.0,
"n_1": 162.0,
"n_2": 161.0,
"time": 2320.2602655952987,
"vocabulary": 61.0,
"volume": 1915.6281600328125
},
"lines_of_code": 90.0,
"maintainability_index": 54.66251882324063,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 34.0,
"technical_debt_score": 86.00000000000001
},
"recommendations": [],
"severity": "High",
"start_line": 4016
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:finalizeBufferedAudio:4107",
"entity_name": "finalizeBufferedAudio",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 4108,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 4111,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 4118,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09351278754254821,
"calculated_length": 104.71062275542812,
"difficulty": 7.7894736842105265,
"effort": 2185.246193099548,
"length": 59.0,
"n1": 8.0,
"n2": 19.0,
"n_1": 22.0,
"n_2": 37.0,
"time": 121.4025662833082,
"vocabulary": 27.0,
"volume": 280.53836262764463
},
"lines_of_code": 28.0,
"maintainability_index": 87.0173924351463,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 14.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 4108
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:processCompletedAudio:4137",
"entity_name": "processCompletedAudio",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 4138,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "LogicalAnd",
"line": 4143,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 4146,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 4159,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.22144548285754748,
"calculated_length": 186.79936657086677,
"difficulty": 9.67741935483871,
"effort": 6429.062405541701,
"length": 124.0,
"n1": 10.0,
"n2": 31.0,
"n_1": 64.0,
"n_2": 60.0,
"time": 357.1701336412056,
"vocabulary": 41.0,
"volume": 664.3364485726424
},
"lines_of_code": 46.0,
"maintainability_index": 74.26230802869013,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 17.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 4138
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_4173:4173",
"entity_name": "anonymous_function_4173",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 4174,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 4174
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:processAudio:4188",
"entity_name": "processAudio",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 4189,
"metrics": {
"cognitive_complexity": 17.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 4202,
"nesting_level": 1
},
{
"column": 16,
"kind": "ConditionalExpression",
"line": 4206,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 4210,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 4221,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 4242,
"nesting_level": 2
},
{
"column": 7,
"kind": "Catch",
"line": 4283,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.5605936821446292,
"calculated_length": 415.07794650014256,
"difficulty": 18.01639344262295,
"effort": 30299.629016899056,
"length": 270.0,
"n1": 14.0,
"n2": 61.0,
"n_1": 113.0,
"n_2": 157.0,
"time": 1683.3127231610588,
"vocabulary": 75.0,
"volume": 1681.7810464338877
},
"lines_of_code": 108.0,
"maintainability_index": 54.91590910145503,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 29.0,
"technical_debt_score": 47.6
},
"recommendations": [],
"severity": "Moderate",
"start_line": 4189
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:processWithLLM:4301",
"entity_name": "processWithLLM",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [
{
"description": "Cyclomatic complexity of 39.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:processWithLLM:4301",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:4302",
"metric_value": 39.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 151.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:processWithLLM:4301",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:4302",
"metric_value": 151.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 4302,
"metrics": {
"cognitive_complexity": 151.0,
"cyclomatic_complexity": 39.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 4309,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 4311,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 4311,
"nesting_level": 3
},
{
"column": 16,
"kind": "If",
"line": 4319,
"nesting_level": 3
},
{
"column": 20,
"kind": "LogicalAnd",
"line": 4319,
"nesting_level": 4
},
{
"column": 5,
"kind": "Try",
"line": 4337,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 4351,
"nesting_level": 2
},
{
"column": 9,
"kind": "While",
"line": 4354,
"nesting_level": 3
},
{
"column": 16,
"kind": "LogicalAnd",
"line": 4354,
"nesting_level": 4
},
{
"column": 9,
"kind": "If",
"line": 4357,
"nesting_level": 3
},
{
"column": 11,
"kind": "If",
"line": 4377,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 4386,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 4386,
"nesting_level": 3
},
{
"column": 13,
"kind": "Try",
"line": 4387,
"nesting_level": 3
},
{
"column": 15,
"kind": "Catch",
"line": 4393,
"nesting_level": 4
},
{
"column": 11,
"kind": "If",
"line": 4402,
"nesting_level": 2
},
{
"column": 18,
"kind": "If",
"line": 4413,
"nesting_level": 3
},
{
"column": 13,
"kind": "If",
"line": 4418,
"nesting_level": 4
},
{
"column": 13,
"kind": "If",
"line": 4427,
"nesting_level": 4
},
{
"column": 18,
"kind": "If",
"line": 4449,
"nesting_level": 4
},
{
"column": 13,
"kind": "If",
"line": 4451,
"nesting_level": 5
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 4451,
"nesting_level": 6
},
{
"column": 15,
"kind": "If",
"line": 4453,
"nesting_level": 6
},
{
"column": 17,
"kind": "ConditionalExpression",
"line": 4492,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 4502,
"nesting_level": 2
},
{
"column": 17,
"kind": "ConditionalExpression",
"line": 4510,
"nesting_level": 3
},
{
"column": 7,
"kind": "If",
"line": 4524,
"nesting_level": 2
},
{
"column": 9,
"kind": "Try",
"line": 4526,
"nesting_level": 3
},
{
"column": 11,
"kind": "Catch",
"line": 4528,
"nesting_level": 4
},
{
"column": 9,
"kind": "If",
"line": 4531,
"nesting_level": 3
},
{
"column": 7,
"kind": "If",
"line": 4547,
"nesting_level": 2
},
{
"column": 9,
"kind": "Try",
"line": 4548,
"nesting_level": 3
},
{
"column": 11,
"kind": "Catch",
"line": 4550,
"nesting_level": 4
},
{
"column": 7,
"kind": "Catch",
"line": 4557,
"nesting_level": 2
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 4562,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 4565,
"nesting_level": 2
},
{
"column": 15,
"kind": "ConditionalExpression",
"line": 4573,
"nesting_level": 3
},
{
"column": 7,
"kind": "If",
"line": 4580,
"nesting_level": 2
}
],
"halstead": {
"bugs": 1.7014641009294935,
"calculated_length": 1070.5378909756125,
"difficulty": 30.912408759124087,
"effort": 157789.0613307242,
"length": 698.0,
"n1": 22.0,
"n2": 137.0,
"n_1": 313.0,
"n_2": 385.0,
"time": 8766.05896281801,
"vocabulary": 159.0,
"volume": 5104.39230278848
},
"lines_of_code": 292.0,
"maintainability_index": 25.669733646960808,
"max_nesting_depth": 6.0,
"parameter_count": 1.0,
"statement_count": 82.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 4302
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_4307:4307",
"entity_name": "anonymous_function_4307",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 4308,
"metrics": {
"cognitive_complexity": 18.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 4309,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 4311,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 4311,
"nesting_level": 3
},
{
"column": 16,
"kind": "If",
"line": 4319,
"nesting_level": 3
},
{
"column": 20,
"kind": "LogicalAnd",
"line": 4319,
"nesting_level": 4
}
],
"halstead": {
"bugs": 0.12329039631988516,
"calculated_length": 161.60124350728728,
"difficulty": 6.666666666666666,
"effort": 2465.807926397703,
"length": 71.0,
"n1": 10.0,
"n2": 27.0,
"n_1": 35.0,
"n_2": 36.0,
"time": 136.98932924431682,
"vocabulary": 37.0,
"volume": 369.87118895965546
},
"lines_of_code": 27.0,
"maintainability_index": 85.47903777392787,
"max_nesting_depth": 4.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 31.8
},
"recommendations": [],
"severity": "Moderate",
"start_line": 4308
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_4314:4314",
"entity_name": "anonymous_function_4314",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 4315,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.0,
"difficulty": 1.5,
"effort": 15.0,
"length": 5.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.8333333333333334,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 4315
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_4354:4354",
"entity_name": "anonymous_function_4354",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 4355,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 4355
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_4374:4374",
"entity_name": "anonymous_function_4374",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 4375,
"metrics": {
"cognitive_complexity": 19.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 4377,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 4386,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 4386,
"nesting_level": 3
},
{
"column": 13,
"kind": "Try",
"line": 4387,
"nesting_level": 3
},
{
"column": 15,
"kind": "Catch",
"line": 4393,
"nesting_level": 4
}
],
"halstead": {
"bugs": 0.10777745004903862,
"calculated_length": 103.58797503894242,
"difficulty": 8.25,
"effort": 2667.4918887137055,
"length": 68.0,
"n1": 9.0,
"n2": 18.0,
"n_1": 35.0,
"n_2": 33.0,
"time": 148.1939938174281,
"vocabulary": 27.0,
"volume": 323.33235014711585
},
"lines_of_code": 25.0,
"maintainability_index": 87.42507177851375,
"max_nesting_depth": 4.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 32.2
},
"recommendations": [],
"severity": "Moderate",
"start_line": 4375
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_4400:4400",
"entity_name": "anonymous_function_4400",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [
{
"description": "Cognitive complexity of 42.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_4400:4400",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:4401",
"metric_value": 42.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 4401,
"metrics": {
"cognitive_complexity": 42.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 4402,
"nesting_level": 2
},
{
"column": 18,
"kind": "If",
"line": 4413,
"nesting_level": 3
},
{
"column": 13,
"kind": "If",
"line": 4418,
"nesting_level": 4
},
{
"column": 13,
"kind": "If",
"line": 4427,
"nesting_level": 4
},
{
"column": 18,
"kind": "If",
"line": 4449,
"nesting_level": 4
},
{
"column": 13,
"kind": "If",
"line": 4451,
"nesting_level": 5
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 4451,
"nesting_level": 6
},
{
"column": 15,
"kind": "If",
"line": 4453,
"nesting_level": 6
}
],
"halstead": {
"bugs": 0.38497074093487293,
"calculated_length": 290.1529393434892,
"difficulty": 15.2,
"effort": 17554.665786630205,
"length": 198.0,
"n1": 12.0,
"n2": 45.0,
"n_1": 84.0,
"n_2": 114.0,
"time": 975.2592103683447,
"vocabulary": 57.0,
"volume": 1154.9122228046188
},
"lines_of_code": 80.0,
"maintainability_index": 61.27191448130303,
"max_nesting_depth": 6.0,
"parameter_count": 1.0,
"statement_count": 20.0,
"technical_debt_score": 67.60000000000001
},
"recommendations": [],
"severity": "High",
"start_line": 4401
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_4481:4481",
"entity_name": "anonymous_function_4481",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 4482,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 17,
"kind": "ConditionalExpression",
"line": 4492,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.05501955000865387,
"calculated_length": 90.56842503028855,
"difficulty": 3.833333333333333,
"effort": 632.7248250995194,
"length": 36.0,
"n1": 6.0,
"n2": 18.0,
"n_1": 13.0,
"n_2": 23.0,
"time": 35.151379172195526,
"vocabulary": 24.0,
"volume": 165.0586500259616
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 4482
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handlePresentArtifact:4598",
"entity_name": "handlePresentArtifact",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 4599,
"metrics": {
"cognitive_complexity": 20.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 4606,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 4607,
"nesting_level": 2
},
{
"column": 14,
"kind": "If",
"line": 4611,
"nesting_level": 3
},
{
"column": 14,
"kind": "If",
"line": 4617,
"nesting_level": 4
},
{
"column": 7,
"kind": "Catch",
"line": 4624,
"nesting_level": 2
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 4630,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.3546519421276617,
"calculated_length": 330.2985258245704,
"difficulty": 13.52,
"effort": 14384.682772697959,
"length": 178.0,
"n1": 13.0,
"n2": 50.0,
"n_1": 74.0,
"n_2": 104.0,
"time": 799.1490429276644,
"vocabulary": 63.0,
"volume": 1063.9558263829852
},
"lines_of_code": 59.0,
"maintainability_index": 67.09119781581882,
"max_nesting_depth": 4.0,
"parameter_count": 2.0,
"statement_count": 21.0,
"technical_debt_score": 41.800000000000004
},
"recommendations": [],
"severity": "Moderate",
"start_line": 4599
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleAbort:4662",
"entity_name": "handleAbort",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 4663,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 4669,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 4675,
"nesting_level": 2
},
{
"column": 12,
"kind": "If",
"line": 4686,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.11858142141075421,
"calculated_length": 109.23994776840892,
"difficulty": 6.63157894736842,
"effort": 2359.1461733297415,
"length": 74.0,
"n1": 9.0,
"n2": 19.0,
"n_1": 46.0,
"n_2": 28.0,
"time": 131.06367629609676,
"vocabulary": 28.0,
"volume": 355.74426423226265
},
"lines_of_code": 29.0,
"maintainability_index": 84.98390456240452,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 20.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 4663
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleAudioPlayed:4696",
"entity_name": "handleAudioPlayed",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 4697,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008422064766172813,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 47.374114309722074,
"length": 9.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 5.0,
"time": 2.6318952394290043,
"vocabulary": 7.0,
"volume": 25.26619429851844
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 4697
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleRealtimeSpeechStart:4703",
"entity_name": "handleRealtimeSpeechStart",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 4704,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 4705,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 4717,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 4725,
"nesting_level": 1
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 4729,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.2624932375338943,
"calculated_length": 232.64052645972987,
"difficulty": 8.421052631578947,
"effort": 6631.408106119436,
"length": 141.0,
"n1": 10.0,
"n2": 38.0,
"n_1": 77.0,
"n_2": 64.0,
"time": 368.41156145107976,
"vocabulary": 48.0,
"volume": 787.479712601683
},
"lines_of_code": 43.0,
"maintainability_index": 74.2406025610843,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 19.0,
"technical_debt_score": 25.8
},
"recommendations": [],
"severity": "Low",
"start_line": 4704
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:clearSpeechInProgress:4751",
"entity_name": "clearSpeechInProgress",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 4752,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 4753,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.02734823416925963,
"calculated_length": 43.65148445440323,
"difficulty": 5.142857142857143,
"effort": 421.9441843257201,
"length": 21.0,
"n1": 8.0,
"n2": 7.0,
"n_1": 12.0,
"n_2": 9.0,
"time": 23.441343573651114,
"vocabulary": 15.0,
"volume": 82.0447025077789
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 7.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 4752
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:createAbortController:4766",
"entity_name": "createAbortController",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 4767,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.028370037839081708,
"calculated_length": 35.161259458730164,
"difficulty": 3.8571428571428577,
"effort": 328.28186642365984,
"length": 23.0,
"n1": 6.0,
"n2": 7.0,
"n_1": 14.0,
"n_2": 9.0,
"time": 18.2378814679811,
"vocabulary": 13.0,
"volume": 85.11011351724513
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 4767
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:setPhase:4776",
"entity_name": "setPhase",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 4777,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.018450301966065584,
"calculated_length": 27.651484454403228,
"difficulty": 2.5714285714285716,
"effort": 142.33090088107738,
"length": 16.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 7.0,
"n_2": 9.0,
"time": 7.9072722711709655,
"vocabulary": 11.0,
"volume": 55.35090589819676
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 4777
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:setBufferTimeout:4784",
"entity_name": "setBufferTimeout",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 4785,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 4791,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.1030447025077789,
"calculated_length": 120.76799089133478,
"difficulty": 6.214285714285714,
"effort": 1921.0476681807352,
"length": 63.0,
"n1": 9.0,
"n2": 21.0,
"n_1": 34.0,
"n_2": 29.0,
"time": 106.72487045448528,
"vocabulary": 30.0,
"volume": 309.1341075233367
},
"lines_of_code": 15.0,
"maintainability_index": 96.85395576623554,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 8.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 4785
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_4787:4787",
"entity_name": "anonymous_function_4787",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 4788,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 4791,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07990747520839857,
"calculated_length": 98.01619331423657,
"difficulty": 6.352941176470589,
"effort": 1522.9424686777138,
"length": 51.0,
"n1": 9.0,
"n2": 17.0,
"n_1": 27.0,
"n_2": 24.0,
"time": 84.60791492653965,
"vocabulary": 26.0,
"volume": 239.72242562519568
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 7.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 4788
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_4795:4795",
"entity_name": "anonymous_function_4795",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 4796,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 4796
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:clearBufferTimeout:4804",
"entity_name": "clearBufferTimeout",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 4805,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 4806,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.01660964047443681,
"calculated_length": 23.509775004326936,
"difficulty": 4.5,
"effort": 224.23014640489694,
"length": 15.0,
"n1": 6.0,
"n2": 4.0,
"n_1": 9.0,
"n_2": 6.0,
"time": 12.457230355827608,
"vocabulary": 10.0,
"volume": 49.82892142331043
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 4805
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:emit:4814",
"entity_name": "emit",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [
{
"description": "Cognitive complexity of 38.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:emit:4814",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:4815",
"metric_value": 38.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 4815,
"metrics": {
"cognitive_complexity": 38.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 4816,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 4817,
"nesting_level": 2
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 4817,
"nesting_level": 2
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 4817,
"nesting_level": 2
},
{
"column": 8,
"kind": "LogicalOr",
"line": 4818,
"nesting_level": 2
},
{
"column": 7,
"kind": "Try",
"line": 4830,
"nesting_level": 2
},
{
"column": 9,
"kind": "Catch",
"line": 4834,
"nesting_level": 3
},
{
"column": 7,
"kind": "If",
"line": 4838,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 4841,
"nesting_level": 3
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 4841,
"nesting_level": 4
},
{
"column": 13,
"kind": "If",
"line": 4848,
"nesting_level": 4
}
],
"halstead": {
"bugs": 0.3666847500768881,
"calculated_length": 302.1895663144568,
"difficulty": 14.130434782608695,
"effort": 15544.24484021591,
"length": 187.0,
"n1": 13.0,
"n2": 46.0,
"n_1": 87.0,
"n_2": 100.0,
"time": 863.5691577897728,
"vocabulary": 59.0,
"volume": 1100.0542502306644
},
"lines_of_code": 50.0,
"maintainability_index": 68.44903047706235,
"max_nesting_depth": 4.0,
"parameter_count": 1.0,
"statement_count": 16.0,
"technical_debt_score": 64.4
},
"recommendations": [],
"severity": "High",
"start_line": 4815
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_4841:4841",
"entity_name": "anonymous_function_4841",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 4842,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 13,
"kind": "If",
"line": 4848,
"nesting_level": 4
}
],
"halstead": {
"bugs": 0.07772769592204115,
"calculated_length": 117.75898006442377,
"difficulty": 5.090909090909091,
"effort": 1187.1139013548102,
"length": 48.0,
"n1": 7.0,
"n2": 22.0,
"n_1": 16.0,
"n_2": 32.0,
"time": 65.95077229748945,
"vocabulary": 29.0,
"volume": 233.18308776612344
},
"lines_of_code": 18.0,
"maintainability_index": 95.36649308918793,
"max_nesting_depth": 4.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 11.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 4842
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:dumpConversation:4869",
"entity_name": "dumpConversation",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 4870,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 4871,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 4891,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.14191808253032967,
"calculated_length": 184.0,
"difficulty": 6.0,
"effort": 2554.525485545934,
"length": 80.0,
"n1": 8.0,
"n2": 32.0,
"n_1": 32.0,
"n_2": 48.0,
"time": 141.91808253032966,
"vocabulary": 40.0,
"volume": 425.754247590989
},
"lines_of_code": 27.0,
"maintainability_index": 85.43735883039221,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 15.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 4870
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:cleanup:4901",
"entity_name": "cleanup",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 4902,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 4905,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 4929,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 4930,
"nesting_level": 2
},
{
"column": 9,
"kind": "Catch",
"line": 4933,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.21608793085292938,
"calculated_length": 186.79936657086677,
"difficulty": 7.419354838709678,
"effort": 4809.699106081332,
"length": 121.0,
"n1": 10.0,
"n2": 31.0,
"n_1": 75.0,
"n_2": 46.0,
"time": 267.2055058934073,
"vocabulary": 41.0,
"volume": 648.2637925587882
},
"lines_of_code": 46.0,
"maintainability_index": 74.15966133273325,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 22.0,
"technical_debt_score": 28.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 4902
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleListTerminalsRequest:4953",
"entity_name": "handleListTerminalsRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 4954,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 4955,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 4967,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 4977,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.16478354123237612,
"calculated_length": 137.26120593818493,
"difficulty": 13.26086956521739,
"effort": 6555.519140331485,
"length": 98.0,
"n1": 10.0,
"n2": 23.0,
"n_1": 37.0,
"n_2": 61.0,
"time": 364.1955077961936,
"vocabulary": 33.0,
"volume": 494.3506236971284
},
"lines_of_code": 34.0,
"maintainability_index": 80.69608534525327,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 20.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 4954
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_4972:4972",
"entity_name": "anonymous_function_4972",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 4973,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007739760316291207,
"calculated_length": 6.754887502163468,
"difficulty": 2.3333333333333335,
"effort": 54.17832221403845,
"length": 10.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 7.0,
"time": 3.0099067896688028,
"vocabulary": 5.0,
"volume": 23.21928094887362
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 4973
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleCreateTerminalRequest:4989",
"entity_name": "handleCreateTerminalRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 4990,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 4991,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 5003,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 5016,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.1678862737612612,
"calculated_length": 143.25838096618136,
"difficulty": 13.541666666666668,
"effort": 6820.379871551237,
"length": 99.0,
"n1": 10.0,
"n2": 24.0,
"n_1": 34.0,
"n_2": 65.0,
"time": 378.9099928639576,
"vocabulary": 34.0,
"volume": 503.6588212837836
},
"lines_of_code": 37.0,
"maintainability_index": 79.229254511047,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 21.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 4990
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleSubscribeTerminalRequest:5028",
"entity_name": "handleSubscribeTerminalRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 5029,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 5030,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 5044,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 5059,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 5065,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.23609324173253227,
"calculated_length": 158.6059378176129,
"difficulty": 11.857142857142858,
"effort": 8398.173884485792,
"length": 137.0,
"n1": 8.0,
"n2": 28.0,
"n_1": 54.0,
"n_2": 83.0,
"time": 466.56521580476624,
"vocabulary": 36.0,
"volume": 708.2797251975968
},
"lines_of_code": 58.0,
"maintainability_index": 69.94405986883555,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 15.0,
"technical_debt_score": 28.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 5029
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:anonymous_function_5063:5063",
"entity_name": "anonymous_function_5063",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 5064,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 5065,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.02995282789966531,
"calculated_length": 44.039100017307746,
"difficulty": 4.666666666666667,
"effort": 419.33959059531435,
"length": 23.0,
"n1": 6.0,
"n2": 9.0,
"n_1": 9.0,
"n_2": 14.0,
"time": 23.29664392196191,
"vocabulary": 15.0,
"volume": 89.85848369899593
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 7.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 5064
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleUnsubscribeTerminalRequest:5088",
"entity_name": "handleUnsubscribeTerminalRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 5089,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 5091,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03330395746326983,
"calculated_length": 35.60964047443681,
"difficulty": 4.375,
"effort": 437.11444170541654,
"length": 27.0,
"n1": 5.0,
"n2": 8.0,
"n_1": 13.0,
"n_2": 14.0,
"time": 24.284135650300918,
"vocabulary": 13.0,
"volume": 99.91187238980949
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 5089
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleTerminalInput:5096",
"entity_name": "handleTerminalInput",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 5097,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 5098,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 5103,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.059470985188210194,
"calculated_length": 62.6710344630571,
"difficulty": 5.833333333333334,
"effort": 1040.7422407936785,
"length": 42.0,
"n1": 7.0,
"n2": 12.0,
"n_1": 22.0,
"n_2": 20.0,
"time": 57.819013377426586,
"vocabulary": 19.0,
"volume": 178.41295556463058
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 11.6
},
"recommendations": [],
"severity": "Low",
"start_line": 5097
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts:handleKillTerminalRequest:5110",
"entity_name": "handleKillTerminalRequest",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/session.ts",
"issues": [],
"line_number": 5111,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 5112,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 5126,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.12064461943228802,
"calculated_length": 100.36210720983135,
"difficulty": 8.105263157894736,
"effort": 2933.5691672482662,
"length": 77.0,
"n1": 7.0,
"n2": 19.0,
"n_1": 33.0,
"n_2": 44.0,
"time": 162.9760648471259,
"vocabulary": 26.0,
"volume": 361.93385829686406
},
"lines_of_code": 29.0,
"maintainability_index": 85.12420784134613,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 15.0
},
"recommendations": [],
"severity": "Low",
"start_line": 5111
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/server.ts:createTerminalMcpServer:13",
"entity_name": "createTerminalMcpServer",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/server.ts",
"issues": [],
"line_number": 14,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 32,
"kind": "LogicalOr",
"line": 191,
"nesting_level": 0
},
{
"column": 32,
"kind": "LogicalOr",
"line": 239,
"nesting_level": 0
}
],
"halstead": {
"bugs": 1.0811950246598103,
"calculated_length": 799.2095477658971,
"difficulty": 11.349557522123895,
"effort": 36813.255375032044,
"length": 468.0,
"n1": 9.0,
"n2": 113.0,
"n_1": 183.0,
"n_2": 285.0,
"time": 2045.1808541684468,
"vocabulary": 122.0,
"volume": 3243.585073979431
},
"lines_of_code": 268.0,
"maintainability_index": 37.69695150856725,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 27.0,
"technical_debt_score": 27.6
},
"recommendations": [],
"severity": "Low",
"start_line": 14
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/server.ts:anonymous_function_96:96",
"entity_name": "anonymous_function_96",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/server.ts",
"issues": [],
"line_number": 97,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.016729825003365395,
"calculated_length": 32.0,
"difficulty": 2.25,
"effort": 112.92631877271643,
"length": 14.0,
"n1": 4.0,
"n2": 8.0,
"n_1": 5.0,
"n_2": 9.0,
"time": 6.273684376262024,
"vocabulary": 12.0,
"volume": 50.18947501009619
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 97
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/server.ts:anonymous_function_130:130",
"entity_name": "anonymous_function_130",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/server.ts",
"issues": [],
"line_number": 131,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.020305892917640556,
"calculated_length": 41.219280948873624,
"difficulty": 2.2,
"effort": 134.01889325642767,
"length": 16.0,
"n1": 4.0,
"n2": 10.0,
"n_1": 5.0,
"n_2": 11.0,
"time": 7.445494069801537,
"vocabulary": 14.0,
"volume": 60.91767875292167
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 131
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/server.ts:anonymous_function_183:183",
"entity_name": "anonymous_function_183",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/server.ts",
"issues": [],
"line_number": 184,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 32,
"kind": "LogicalOr",
"line": 191,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.037161930155310816,
"calculated_length": 81.09650877569258,
"difficulty": 2.7941176470588234,
"effort": 311.50441453716417,
"length": 25.0,
"n1": 5.0,
"n2": 17.0,
"n_1": 6.0,
"n_2": 19.0,
"time": 17.30580080762023,
"vocabulary": 22.0,
"volume": 111.48579046593244
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 184
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/server.ts:anonymous_function_231:231",
"entity_name": "anonymous_function_231",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/server.ts",
"issues": [],
"line_number": 232,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 32,
"kind": "LogicalOr",
"line": 239,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.037161930155310816,
"calculated_length": 81.09650877569258,
"difficulty": 2.7941176470588234,
"effort": 311.50441453716417,
"length": 25.0,
"n1": 5.0,
"n2": 17.0,
"n_1": 6.0,
"n_2": 19.0,
"time": 17.30580080762023,
"vocabulary": 22.0,
"volume": 111.48579046593244
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 232
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/server.ts:anonymous_function_266:266",
"entity_name": "anonymous_function_266",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/server.ts",
"issues": [],
"line_number": 267,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03806675099741593,
"calculated_length": 72.95445336320968,
"difficulty": 4.25,
"effort": 485.3510752170531,
"length": 26.0,
"n1": 7.0,
"n2": 14.0,
"n_1": 9.0,
"n_2": 17.0,
"time": 26.963948623169617,
"vocabulary": 21.0,
"volume": 114.20025299224778
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 267
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:stripAnsi:8",
"entity_name": "stripAnsi",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 9,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 48.599999999999994,
"length": 9.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 2.6999999999999997,
"vocabulary": 8.0,
"volume": 27.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 9
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:expectMissingPathMessage:12",
"entity_name": "expectMissingPathMessage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 13,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03345965000673079,
"calculated_length": 33.284212515144276,
"difficulty": 2.5,
"effort": 250.94737505048096,
"length": 28.0,
"n1": 3.0,
"n2": 9.0,
"n_1": 13.0,
"n_2": 15.0,
"time": 13.941520836137832,
"vocabulary": 12.0,
"volume": 100.37895002019238
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 13
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_18:18",
"entity_name": "anonymous_function_18",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [
{
"description": "Cyclomatic complexity of 30.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_18:18",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:19",
"metric_value": 30.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 29.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_18:18",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:19",
"metric_value": 29.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 19,
"metrics": {
"cognitive_complexity": 29.0,
"cyclomatic_complexity": 30.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 30,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 39,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 52,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 64,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 76,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 88,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 116,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 122,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 133,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 140,
"nesting_level": 0
},
{
"column": 24,
"kind": "LogicalOr",
"line": 165,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 219,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 233,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 253,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 283,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 323,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 348,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 376,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 396,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 406,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 424,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 445,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 483,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 497,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 512,
"nesting_level": 0
},
{
"column": 43,
"kind": "LogicalOr",
"line": 527,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 534,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 547,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 559,
"nesting_level": 0
}
],
"halstead": {
"bugs": 4.806648772403423,
"calculated_length": 1266.2978977920402,
"difficulty": 31.2874251497006,
"effort": 451162.99106241704,
"length": 1931.0,
"n1": 10.0,
"n2": 167.0,
"n_1": 886.0,
"n_2": 1045.0,
"time": 25064.610614578723,
"vocabulary": 177.0,
"volume": 14419.946317210268
},
"lines_of_code": 549.0,
"maintainability_index": 12.111693269784098,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 208.0,
"technical_debt_score": 83.2
},
"recommendations": [],
"severity": "Critical",
"start_line": 19
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_21:21",
"entity_name": "anonymous_function_21",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 22,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01328771237954945,
"calculated_length": 23.509775004326936,
"difficulty": 3.75,
"effort": 149.4867642699313,
"length": 12.0,
"n1": 6.0,
"n2": 4.0,
"n_1": 7.0,
"n_2": 5.0,
"time": 8.304820237218406,
"vocabulary": 10.0,
"volume": 39.86313713864835
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 22
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_26:26",
"entity_name": "anonymous_function_26",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 27,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 30,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.017297158093186486,
"calculated_length": 27.11941547876375,
"difficulty": 4.199999999999999,
"effort": 217.9441919741497,
"length": 15.0,
"n1": 6.0,
"n2": 5.0,
"n_1": 8.0,
"n_2": 7.0,
"time": 12.10801066523054,
"vocabulary": 11.0,
"volume": 51.89147427955946
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 27
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_34:34",
"entity_name": "anonymous_function_34",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 35,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 39,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 52,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 64,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 76,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 88,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 116,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 122,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.67835232645879,
"calculated_length": 266.7848737892386,
"difficulty": 14.544444444444446,
"effort": 29598.773177818537,
"length": 357.0,
"n1": 7.0,
"n2": 45.0,
"n_1": 170.0,
"n_2": 187.0,
"time": 1644.3762876565854,
"vocabulary": 52.0,
"volume": 2035.0569793763698
},
"lines_of_code": 91.0,
"maintainability_index": 56.469024689100095,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 38.0,
"technical_debt_score": 39.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 35
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_35:35",
"entity_name": "anonymous_function_35",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 36,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 39,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08358941141594504,
"calculated_length": 98.04820237218406,
"difficulty": 3.5,
"effort": 877.6888198674229,
"length": 54.0,
"n1": 5.0,
"n2": 20.0,
"n_1": 26.0,
"n_2": 28.0,
"time": 48.760489992634604,
"vocabulary": 25.0,
"volume": 250.76823424783512
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 36
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_48:48",
"entity_name": "anonymous_function_48",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 49,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 52,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0678534293408552,
"calculated_length": 86.66829050039843,
"difficulty": 3.333333333333333,
"effort": 678.5342934085519,
"length": 45.0,
"n1": 5.0,
"n2": 18.0,
"n_1": 21.0,
"n_2": 24.0,
"time": 37.69634963380844,
"vocabulary": 23.0,
"volume": 203.5602880225656
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 49
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_60:60",
"entity_name": "anonymous_function_60",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 61,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 64,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06724611667724363,
"calculated_length": 92.32026322986493,
"difficulty": 3.1578947368421053,
"effort": 637.0684737844133,
"length": 44.0,
"n1": 5.0,
"n2": 19.0,
"n_1": 20.0,
"n_2": 24.0,
"time": 35.39269298802296,
"vocabulary": 24.0,
"volume": 201.73835003173087
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 61
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_72:72",
"entity_name": "anonymous_function_72",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 73,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 76,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0678534293408552,
"calculated_length": 86.66829050039843,
"difficulty": 3.333333333333333,
"effort": 678.5342934085519,
"length": 45.0,
"n1": 5.0,
"n2": 18.0,
"n_1": 21.0,
"n_2": 24.0,
"time": 37.69634963380844,
"vocabulary": 23.0,
"volume": 203.5602880225656
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 73
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_84:84",
"entity_name": "anonymous_function_84",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 85,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 88,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.09714242084158256,
"calculated_length": 103.84830635279079,
"difficulty": 3.6904761904761907,
"effort": 1075.5053736032355,
"length": 62.0,
"n1": 5.0,
"n2": 21.0,
"n_1": 31.0,
"n_2": 31.0,
"time": 59.75029853351308,
"vocabulary": 26.0,
"volume": 291.4272625247477
},
"lines_of_code": 14.0,
"maintainability_index": 98.27836093876451,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 7.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 85
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_100:100",
"entity_name": "anonymous_function_100",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 101,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05420902501875005,
"calculated_length": 61.302968908806456,
"difficulty": 3.0,
"effort": 487.88122516875046,
"length": 39.0,
"n1": 4.0,
"n2": 14.0,
"n_1": 18.0,
"n_2": 21.0,
"time": 27.104512509375027,
"vocabulary": 18.0,
"volume": 162.62707505625016
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 101
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_112:112",
"entity_name": "anonymous_function_112",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 113,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 116,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 122,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06113283334294874,
"calculated_length": 89.138352755659,
"difficulty": 4.3235294117647065,
"effort": 792.928808948247,
"length": 40.0,
"n1": 7.0,
"n2": 17.0,
"n_1": 19.0,
"n_2": 21.0,
"time": 44.05160049712484,
"vocabulary": 24.0,
"volume": 183.39850002884623
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 10.0
},
"recommendations": [],
"severity": "Low",
"start_line": 113
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_127:127",
"entity_name": "anonymous_function_127",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 128,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 133,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 140,
"nesting_level": 0
},
{
"column": 24,
"kind": "LogicalOr",
"line": 165,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.7261761630843478,
"calculated_length": 258.7430298092722,
"difficulty": 11.38888888888889,
"effort": 24811.018905381887,
"length": 386.0,
"n1": 5.0,
"n2": 45.0,
"n_1": 181.0,
"n_2": 205.0,
"time": 1378.3899391878826,
"vocabulary": 50.0,
"volume": 2178.5284892530435
},
"lines_of_code": 85.0,
"maintainability_index": 58.13974404559518,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 42.0,
"technical_debt_score": 27.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 128
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_128:128",
"entity_name": "anonymous_function_128",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 129,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 133,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 140,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2326889169980931,
"calculated_length": 171.60964047443682,
"difficulty": 5.546875,
"effort": 3872.0890094213933,
"length": 134.0,
"n1": 5.0,
"n2": 32.0,
"n_1": 63.0,
"n_2": 71.0,
"time": 215.1160560789663,
"vocabulary": 37.0,
"volume": 698.0667509942793
},
"lines_of_code": 31.0,
"maintainability_index": 80.62817069140871,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 13.0,
"technical_debt_score": 13.8
},
"recommendations": [],
"severity": "Low",
"start_line": 129
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_147:147",
"entity_name": "anonymous_function_147",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 148,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 25.84962500721156,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.43609027817842,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 148
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_152:152",
"entity_name": "anonymous_function_152",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 153,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 25.84962500721156,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.43609027817842,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 153
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_161:161",
"entity_name": "anonymous_function_161",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 162,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 24,
"kind": "LogicalOr",
"line": 165,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.43285015171750546,
"calculated_length": 191.13454606751063,
"difficulty": 9.285714285714286,
"effort": 12057.96851213051,
"length": 244.0,
"n1": 5.0,
"n2": 35.0,
"n_1": 114.0,
"n_2": 130.0,
"time": 669.8871395628062,
"vocabulary": 40.0,
"volume": 1298.5504551525164
},
"lines_of_code": 50.0,
"maintainability_index": 69.8864071005059,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 27.0,
"technical_debt_score": 14.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 162
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_187:187",
"entity_name": "anonymous_function_187",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 188,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 25.84962500721156,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.43609027817842,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 188
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_188:188",
"entity_name": "anonymous_function_188",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 189,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 25.84962500721156,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.43609027817842,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 189
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_214:214",
"entity_name": "anonymous_function_214",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 215,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 219,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 233,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2171368500605771,
"calculated_length": 165.18972609642995,
"difficulty": 5.403225806451612,
"effort": 3519.7182953367733,
"length": 126.0,
"n1": 5.0,
"n2": 31.0,
"n_1": 59.0,
"n_2": 67.0,
"time": 195.5399052964874,
"vocabulary": 36.0,
"volume": 651.4105501817313
},
"lines_of_code": 31.0,
"maintainability_index": 80.98787882518675,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 13.0,
"technical_debt_score": 13.8
},
"recommendations": [],
"severity": "Low",
"start_line": 215
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_215:215",
"entity_name": "anonymous_function_215",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 216,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 219,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08717293753966358,
"calculated_length": 109.71713608445735,
"difficulty": 3.4090909090909087,
"effort": 891.5414066556502,
"length": 55.0,
"n1": 5.0,
"n2": 22.0,
"n_1": 25.0,
"n_2": 30.0,
"time": 49.53007814753612,
"vocabulary": 27.0,
"volume": 261.51881261899075
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 216
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_229:229",
"entity_name": "anonymous_function_229",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 230,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 233,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.10095445336320968,
"calculated_length": 115.65156546374811,
"difficulty": 3.5869565217391304,
"effort": 1086.3577046693215,
"length": 63.0,
"n1": 5.0,
"n2": 23.0,
"n_1": 30.0,
"n_2": 33.0,
"time": 60.35320581496231,
"vocabulary": 28.0,
"volume": 302.86336008962905
},
"lines_of_code": 15.0,
"maintainability_index": 96.9605216577553,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 7.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 230
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_247:247",
"entity_name": "anonymous_function_247",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 248,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 253,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 283,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2856101410922885,
"calculated_length": 191.13454606751063,
"difficulty": 7.142857142857143,
"effort": 6120.217309120468,
"length": 161.0,
"n1": 5.0,
"n2": 35.0,
"n_1": 61.0,
"n_2": 100.0,
"time": 340.01207272891486,
"vocabulary": 40.0,
"volume": 856.8304232768654
},
"lines_of_code": 68.0,
"maintainability_index": 66.83712703819437,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 14.0,
"technical_debt_score": 21.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 248
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_248:248",
"entity_name": "anonymous_function_248",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 249,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 253,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.12442838827750852,
"calculated_length": 146.2155782920497,
"difficulty": 4.107142857142857,
"effort": 1533.1354984193013,
"length": 74.0,
"n1": 5.0,
"n2": 28.0,
"n_1": 28.0,
"n_2": 46.0,
"time": 85.17419435662785,
"vocabulary": 33.0,
"volume": 373.28516483252554
},
"lines_of_code": 29.0,
"maintainability_index": 85.19362580267946,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 10.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 249
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_279:279",
"entity_name": "anonymous_function_279",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 280,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 283,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1279268328716927,
"calculated_length": 121.64874049174456,
"difficulty": 5.208333333333334,
"effort": 1998.856763620199,
"length": 79.0,
"n1": 5.0,
"n2": 24.0,
"n_1": 29.0,
"n_2": 50.0,
"time": 111.04759797889994,
"vocabulary": 29.0,
"volume": 383.78049861507816
},
"lines_of_code": 35.0,
"maintainability_index": 82.00299339486979,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 11.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 280
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_317:317",
"entity_name": "anonymous_function_317",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 318,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 323,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 348,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 376,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 396,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.41038641449207064,
"calculated_length": 289.59500104182973,
"difficulty": 11.48936170212766,
"effort": 14145.233861216053,
"length": 212.0,
"n1": 9.0,
"n2": 47.0,
"n_1": 92.0,
"n_2": 120.0,
"time": 785.846325623114,
"vocabulary": 56.0,
"volume": 1231.159243476212
},
"lines_of_code": 82.0,
"maintainability_index": 61.45944850410538,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 21.0,
"technical_debt_score": 29.600000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 318
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_318:318",
"entity_name": "anonymous_function_318",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 319,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 323,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.11531582440167436,
"calculated_length": 150.11571282193984,
"difficulty": 4.178571428571429,
"effort": 1445.5662273209894,
"length": 68.0,
"n1": 6.0,
"n2": 28.0,
"n_1": 29.0,
"n_2": 39.0,
"time": 80.30923485116608,
"vocabulary": 34.0,
"volume": 345.9474732050231
},
"lines_of_code": 24.0,
"maintainability_index": 88.65483579803083,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 9.6
},
"recommendations": [],
"severity": "Low",
"start_line": 319
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_337:337",
"entity_name": "anonymous_function_337",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 338,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 338
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_344:344",
"entity_name": "anonymous_function_344",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 345,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 348,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0990839262077375,
"calculated_length": 133.8210731461052,
"difficulty": 3.4615384615384617,
"effort": 1028.9484644649663,
"length": 60.0,
"n1": 5.0,
"n2": 26.0,
"n_1": 24.0,
"n_2": 36.0,
"time": 57.163803581387015,
"vocabulary": 31.0,
"volume": 297.2517786232125
},
"lines_of_code": 26.0,
"maintainability_index": 88.14702258448946,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 10.0
},
"recommendations": [],
"severity": "Low",
"start_line": 345
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_372:372",
"entity_name": "anonymous_function_372",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 373,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 376,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 396,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1250268807750948,
"calculated_length": 163.13526283059372,
"difficulty": 6.267857142857142,
"effort": 2350.951883145979,
"length": 72.0,
"n1": 9.0,
"n2": 28.0,
"n_1": 33.0,
"n_2": 39.0,
"time": 130.6084379525544,
"vocabulary": 37.0,
"volume": 375.08064232528443
},
"lines_of_code": 26.0,
"maintainability_index": 86.70770262898134,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 12.8
},
"recommendations": [],
"severity": "Low",
"start_line": 373
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_388:388",
"entity_name": "anonymous_function_388",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 389,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 389
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_401:401",
"entity_name": "anonymous_function_401",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 402,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 406,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 424,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.21522748242596068,
"calculated_length": 146.2155782920497,
"difficulty": 6.071428571428571,
"effort": 3920.214858472855,
"length": 128.0,
"n1": 5.0,
"n2": 28.0,
"n_1": 60.0,
"n_2": 68.0,
"time": 217.78971435960307,
"vocabulary": 33.0,
"volume": 645.682447277882
},
"lines_of_code": 36.0,
"maintainability_index": 78.61139255775105,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 14.0,
"technical_debt_score": 14.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 402
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_402:402",
"entity_name": "anonymous_function_402",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 403,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 406,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.09509775004326937,
"calculated_length": 109.71713608445735,
"difficulty": 3.6363636363636367,
"effort": 1037.4300004720294,
"length": 60.0,
"n1": 5.0,
"n2": 22.0,
"n_1": 28.0,
"n_2": 32.0,
"time": 57.63500002622386,
"vocabulary": 27.0,
"volume": 285.2932501298081
},
"lines_of_code": 16.0,
"maintainability_index": 96.22577118445496,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 8.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 403
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_416:416",
"entity_name": "anonymous_function_416",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 417,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 25.84962500721156,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.43609027817842,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 417
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_420:420",
"entity_name": "anonymous_function_420",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 421,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 424,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.09509775004326937,
"calculated_length": 109.71713608445735,
"difficulty": 3.6363636363636367,
"effort": 1037.4300004720294,
"length": 60.0,
"n1": 5.0,
"n2": 22.0,
"n_1": 28.0,
"n_2": 32.0,
"time": 57.63500002622386,
"vocabulary": 27.0,
"volume": 285.2932501298081
},
"lines_of_code": 16.0,
"maintainability_index": 96.22577118445496,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 8.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 421
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_434:434",
"entity_name": "anonymous_function_434",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 435,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 25.84962500721156,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.43609027817842,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 435
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_439:439",
"entity_name": "anonymous_function_439",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 440,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 445,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 483,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 497,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.5010511751721372,
"calculated_length": 290.6305573659721,
"difficulty": 8.693877551020408,
"effort": 13068.232691224313,
"length": 260.0,
"n1": 6.0,
"n2": 49.0,
"n_1": 118.0,
"n_2": 142.0,
"time": 726.0129272902396,
"vocabulary": 55.0,
"volume": 1503.1535255164115
},
"lines_of_code": 66.0,
"maintainability_index": 64.16792642011124,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 26.0,
"technical_debt_score": 23.6
},
"recommendations": [],
"severity": "Low",
"start_line": 440
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_440:440",
"entity_name": "anonymous_function_440",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 441,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 445,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.23007221003856046,
"calculated_length": 201.62707505625016,
"difficulty": 6.083333333333333,
"effort": 4198.817833203728,
"length": 128.0,
"n1": 6.0,
"n2": 36.0,
"n_1": 55.0,
"n_2": 73.0,
"time": 233.2676574002071,
"vocabulary": 42.0,
"volume": 690.2166301156814
},
"lines_of_code": 37.0,
"maintainability_index": 78.05070118912917,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 12.2
},
"recommendations": [],
"severity": "Low",
"start_line": 441
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_474:474",
"entity_name": "anonymous_function_474",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 475,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 475
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_479:479",
"entity_name": "anonymous_function_479",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 480,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 483,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1006168841117857,
"calculated_length": 98.04820237218406,
"difficulty": 4.25,
"effort": 1282.8652724252677,
"length": 65.0,
"n1": 5.0,
"n2": 20.0,
"n_1": 31.0,
"n_2": 34.0,
"time": 71.27029291251488,
"vocabulary": 25.0,
"volume": 301.8506523353571
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 480
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_493:493",
"entity_name": "anonymous_function_493",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 494,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 497,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08405764584655454,
"calculated_length": 92.32026322986493,
"difficulty": 3.8157894736842106,
"effort": 962.2388406118743,
"length": 55.0,
"n1": 5.0,
"n2": 19.0,
"n_1": 26.0,
"n_2": 29.0,
"time": 53.45771336732635,
"vocabulary": 24.0,
"volume": 252.1729375396636
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 494
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_507:507",
"entity_name": "anonymous_function_507",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 508,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 512,
"nesting_level": 0
},
{
"column": 43,
"kind": "LogicalOr",
"line": 527,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 534,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 547,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalOr",
"line": 559,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.4093383460485996,
"calculated_length": 178.07464641326578,
"difficulty": 9.393939393939394,
"effort": 11535.898843187808,
"length": 234.0,
"n1": 5.0,
"n2": 33.0,
"n_1": 110.0,
"n_2": 124.0,
"time": 640.8832690659893,
"vocabulary": 38.0,
"volume": 1228.0150381457988
},
"lines_of_code": 59.0,
"maintainability_index": 66.57549076439565,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 24.0,
"technical_debt_score": 27.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 508
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_508:508",
"entity_name": "anonymous_function_508",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 509,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 512,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05042249444035256,
"calculated_length": 70.2129994085646,
"difficulty": 3.1666666666666665,
"effort": 479.0136971833493,
"length": 35.0,
"n1": 5.0,
"n2": 15.0,
"n_1": 16.0,
"n_2": 19.0,
"time": 26.611872065741625,
"vocabulary": 20.0,
"volume": 151.26748332105768
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 509
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_519:519",
"entity_name": "anonymous_function_519",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 520,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 43,
"kind": "LogicalOr",
"line": 527,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05124370326575221,
"calculated_length": 75.60964047443682,
"difficulty": 2.96875,
"effort": 456.38923221060566,
"length": 35.0,
"n1": 5.0,
"n2": 16.0,
"n_1": 16.0,
"n_2": 19.0,
"time": 25.354957345033647,
"vocabulary": 21.0,
"volume": 153.73110979725664
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 520
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_530:530",
"entity_name": "anonymous_function_530",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 531,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 534,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08405764584655454,
"calculated_length": 92.32026322986493,
"difficulty": 3.8157894736842106,
"effort": 962.2388406118743,
"length": 55.0,
"n1": 5.0,
"n2": 19.0,
"n_1": 26.0,
"n_2": 29.0,
"time": 53.45771336732635,
"vocabulary": 24.0,
"volume": 252.1729375396636
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 531
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_543:543",
"entity_name": "anonymous_function_543",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 544,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 547,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0678534293408552,
"calculated_length": 86.66829050039843,
"difficulty": 3.333333333333333,
"effort": 678.5342934085519,
"length": 45.0,
"n1": 5.0,
"n2": 18.0,
"n_1": 21.0,
"n_2": 24.0,
"time": 37.69634963380844,
"vocabulary": 23.0,
"volume": 203.5602880225656
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 544
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts:anonymous_function_555:555",
"entity_name": "anonymous_function_555",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.test.ts",
"issues": [],
"line_number": 556,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "LogicalOr",
"line": 559,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.06442065553408849,
"calculated_length": 75.60964047443682,
"difficulty": 3.59375,
"effort": 694.5351924768916,
"length": 44.0,
"n1": 5.0,
"n2": 16.0,
"n_1": 21.0,
"n_2": 23.0,
"time": 38.58528847093842,
"vocabulary": 21.0,
"volume": 193.26196660226546
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 556
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts:constructor:57",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts",
"issues": [],
"line_number": 58,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 2.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 2.0,
"n1": 0.0,
"n2": 2.0,
"n_1": 0.0,
"n_2": 2.0,
"time": 0.0,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 58
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts:initialize:63",
"entity_name": "initialize",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts",
"issues": [],
"line_number": 64,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 67,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.022202638308846556,
"calculated_length": 35.161259458730164,
"difficulty": 4.666666666666666,
"effort": 310.8369363238517,
"length": 18.0,
"n1": 7.0,
"n2": 6.0,
"n_1": 10.0,
"n_2": 8.0,
"time": 17.268718684658428,
"vocabulary": 13.0,
"volume": 66.60791492653966
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 64
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts:listTerminals:75",
"entity_name": "listTerminals",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts",
"issues": [],
"line_number": 76,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 79,
"nesting_level": 1
},
{
"column": 20,
"kind": "LogicalOr",
"line": 101,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.11980245029421097,
"calculated_length": 171.40151256706753,
"difficulty": 9.333333333333334,
"effort": 3354.468608237907,
"length": 68.0,
"n1": 12.0,
"n2": 27.0,
"n_1": 26.0,
"n_2": 42.0,
"time": 186.35936712432817,
"vocabulary": 39.0,
"volume": 359.4073508826329
},
"lines_of_code": 30.0,
"maintainability_index": 84.61142899486663,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 15.2
},
"recommendations": [],
"severity": "Low",
"start_line": 76
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts:createTerminal:111",
"entity_name": "createTerminal",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts",
"issues": [],
"line_number": 112,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 117,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 125,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 137,
"nesting_level": 1
},
{
"column": 22,
"kind": "LogicalOr",
"line": 151,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.17562362713128296,
"calculated_length": 180.4259988171292,
"difficulty": 9.666666666666666,
"effort": 5093.085186807206,
"length": 99.0,
"n1": 10.0,
"n2": 30.0,
"n_1": 41.0,
"n_2": 58.0,
"time": 282.94917704484476,
"vocabulary": 40.0,
"volume": 526.8708813938489
},
"lines_of_code": 42.0,
"maintainability_index": 76.71158352307609,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 13.0,
"technical_debt_score": 24.8
},
"recommendations": [],
"severity": "Low",
"start_line": 112
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts:captureTerminal:160",
"entity_name": "captureTerminal",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts",
"issues": [],
"line_number": 161,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 167,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 173,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 184,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 189,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.16793368043019472,
"calculated_length": 167.82521876648653,
"difficulty": 9.642857142857142,
"effort": 4858.081469587776,
"length": 96.0,
"n1": 10.0,
"n2": 28.0,
"n_1": 42.0,
"n_2": 54.0,
"time": 269.8934149770987,
"vocabulary": 38.0,
"volume": 503.8010412905842
},
"lines_of_code": 33.0,
"maintainability_index": 80.85123406413861,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 15.0,
"technical_debt_score": 23.0
},
"recommendations": [],
"severity": "Low",
"start_line": 161
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts:anonymous_function_174:174",
"entity_name": "anonymous_function_174",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts",
"issues": [],
"line_number": 175,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 175
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts:sendText:198",
"entity_name": "sendText",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts",
"issues": [],
"line_number": 199,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 206,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 212,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 223,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.17123042063776742,
"calculated_length": 219.33658100079685,
"difficulty": 7.777777777777778,
"effort": 3995.376481547906,
"length": 93.0,
"n1": 10.0,
"n2": 36.0,
"n_1": 37.0,
"n_2": 56.0,
"time": 221.9653600859948,
"vocabulary": 46.0,
"volume": 513.6912619133022
},
"lines_of_code": 34.0,
"maintainability_index": 80.49652287961283,
"max_nesting_depth": 1.0,
"parameter_count": 4.0,
"statement_count": 13.0,
"technical_debt_score": 19.6
},
"recommendations": [],
"severity": "Low",
"start_line": 199
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts:anonymous_function_213:213",
"entity_name": "anonymous_function_213",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts",
"issues": [],
"line_number": 214,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 214
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts:sendKeys:238",
"entity_name": "sendKeys",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts",
"issues": [],
"line_number": 239,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 246,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 252,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 263,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.17123042063776742,
"calculated_length": 219.33658100079685,
"difficulty": 7.777777777777778,
"effort": 3995.376481547906,
"length": 93.0,
"n1": 10.0,
"n2": 36.0,
"n_1": 37.0,
"n_2": 56.0,
"time": 221.9653600859948,
"vocabulary": 46.0,
"volume": 513.6912619133022
},
"lines_of_code": 34.0,
"maintainability_index": 80.49652287961283,
"max_nesting_depth": 1.0,
"parameter_count": 4.0,
"statement_count": 13.0,
"technical_debt_score": 19.6
},
"recommendations": [],
"severity": "Low",
"start_line": 239
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts:anonymous_function_253:253",
"entity_name": "anonymous_function_253",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts",
"issues": [],
"line_number": 254,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 254
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts:renameTerminal:278",
"entity_name": "renameTerminal",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts",
"issues": [],
"line_number": 279,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 285,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.039647323458806796,
"calculated_length": 61.74860596185444,
"difficulty": 6.75,
"effort": 802.8583000408375,
"length": 28.0,
"n1": 9.0,
"n2": 10.0,
"n_1": 13.0,
"n_2": 15.0,
"time": 44.603238891157645,
"vocabulary": 19.0,
"volume": 118.94197037642039
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 8.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 279
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts:killTerminal:295",
"entity_name": "killTerminal",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts",
"issues": [],
"line_number": 296,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 299,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 305,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.0993520017225238,
"calculated_length": 109.23994776840892,
"difficulty": 7.815789473684211,
"effort": 2329.5429877570714,
"length": 62.0,
"n1": 9.0,
"n2": 19.0,
"n_1": 29.0,
"n_2": 33.0,
"time": 129.41905487539285,
"vocabulary": 28.0,
"volume": 298.0560051675714
},
"lines_of_code": 18.0,
"maintainability_index": 93.86011421269471,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 12.8
},
"recommendations": [],
"severity": "Low",
"start_line": 296
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts:anonymous_function_306:306",
"entity_name": "anonymous_function_306",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts",
"issues": [],
"line_number": 307,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 307
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts:executeCommand:320",
"entity_name": "executeCommand",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts",
"issues": [],
"line_number": 321,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 332,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09,
"calculated_length": 132.57125000229212,
"difficulty": 7.239130434782609,
"effort": 1954.5652173913045,
"length": 54.0,
"n1": 9.0,
"n2": 23.0,
"n_1": 17.0,
"n_2": 37.0,
"time": 108.58695652173914,
"vocabulary": 32.0,
"volume": 270.0
},
"lines_of_code": 30.0,
"maintainability_index": 86.32880823028154,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 5.0,
"technical_debt_score": 11.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 321
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts:listCommands:356",
"entity_name": "listCommands",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts",
"issues": [],
"line_number": 357,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 360,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 388,
"nesting_level": 1
},
{
"column": 20,
"kind": "LogicalOr",
"line": 406,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.22455105698622735,
"calculated_length": 281.4351007880244,
"difficulty": 11.63953488372093,
"effort": 7841.0095829028,
"length": 116.0,
"n1": 13.0,
"n2": 43.0,
"n_1": 39.0,
"n_2": 77.0,
"time": 435.6116434946,
"vocabulary": 56.0,
"volume": 673.653170958682
},
"lines_of_code": 54.0,
"maintainability_index": 71.59233838998641,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 18.0,
"technical_debt_score": 23.6
},
"recommendations": [],
"severity": "Low",
"start_line": 357
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts:captureCommand:415",
"entity_name": "captureCommand",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts",
"issues": [],
"line_number": 416,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 425,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 443,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.13624786158273966,
"calculated_length": 215.99328661116542,
"difficulty": 9.176470588235293,
"effort": 3750.8234835718913,
"length": 74.0,
"n1": 12.0,
"n2": 34.0,
"n_1": 22.0,
"n_2": 52.0,
"time": 208.37908242066064,
"vocabulary": 46.0,
"volume": 408.74358474821895
},
"lines_of_code": 43.0,
"maintainability_index": 78.11050038389416,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 12.0,
"technical_debt_score": 17.8
},
"recommendations": [],
"severity": "Low",
"start_line": 416
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts:sendTextToCommand:463",
"entity_name": "sendTextToCommand",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts",
"issues": [],
"line_number": 464,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 471,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.0594503557246425,
"calculated_length": 126.63682062300134,
"difficulty": 5.113636363636364,
"effort": 912.0225025939476,
"length": 36.0,
"n1": 9.0,
"n2": 22.0,
"n_1": 11.0,
"n_2": 25.0,
"time": 50.66791681077487,
"vocabulary": 31.0,
"volume": 178.3510671739275
},
"lines_of_code": 19.0,
"maintainability_index": 95.8845682815243,
"max_nesting_depth": 1.0,
"parameter_count": 4.0,
"statement_count": 5.0,
"technical_debt_score": 9.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 464
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts:sendKeysToCommand:487",
"entity_name": "sendKeysToCommand",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts",
"issues": [],
"line_number": 488,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 495,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.0594503557246425,
"calculated_length": 126.63682062300134,
"difficulty": 5.113636363636364,
"effort": 912.0225025939476,
"length": 36.0,
"n1": 9.0,
"n2": 22.0,
"n_1": 11.0,
"n_2": 25.0,
"time": 50.66791681077487,
"vocabulary": 31.0,
"volume": 178.3510671739275
},
"lines_of_code": 19.0,
"maintainability_index": 95.8845682815243,
"max_nesting_depth": 1.0,
"parameter_count": 4.0,
"statement_count": 5.0,
"technical_debt_score": 9.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 488
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts:killCommand:511",
"entity_name": "killCommand",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/terminal-manager.ts",
"issues": [],
"line_number": 512,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 514,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.0313372151162526,
"calculated_length": 52.529325012980806,
"difficulty": 6.1875,
"effort": 581.6970555954389,
"length": 23.0,
"n1": 9.0,
"n2": 8.0,
"n_1": 12.0,
"n_2": 11.0,
"time": 32.31650308863549,
"vocabulary": 17.0,
"volume": 94.0116453487578
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 512
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:stripAnsiSequences:51",
"entity_name": "stripAnsiSequences",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 52,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 53,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.017297158093186486,
"calculated_length": 27.11941547876375,
"difficulty": 4.800000000000001,
"effort": 249.07907654188546,
"length": 15.0,
"n1": 6.0,
"n2": 5.0,
"n_1": 7.0,
"n_2": 8.0,
"time": 13.837726474549193,
"vocabulary": 11.0,
"volume": 51.89147427955946
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 52
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:setShellConfig:58",
"entity_name": "setShellConfig",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 59,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 63,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.0472591500163462,
"calculated_length": 57.219280948873624,
"difficulty": 8.4,
"effort": 1190.9305804119244,
"length": 34.0,
"n1": 8.0,
"n2": 10.0,
"n_1": 13.0,
"n_2": 21.0,
"time": 66.16281002288468,
"vocabulary": 18.0,
"volume": 141.7774500490386
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 59
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:executeTmux:73",
"entity_name": "executeTmux",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 74,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 75,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 78,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03256744426973415,
"calculated_length": 62.05374780501027,
"difficulty": 4.7272727272727275,
"effort": 461.8655732798662,
"length": 23.0,
"n1": 8.0,
"n2": 11.0,
"n_1": 10.0,
"n_2": 13.0,
"time": 25.659198515548123,
"vocabulary": 19.0,
"volume": 97.70233280920246
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 9.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 74
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:isTmuxRunning:85",
"entity_name": "isTmuxRunning",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 86,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 87,
"nesting_level": 0
},
{
"column": 5,
"kind": "Catch",
"line": 90,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.020836749843245433,
"calculated_length": 44.039100017307746,
"difficulty": 3.0,
"effort": 187.53074858920888,
"length": 16.0,
"n1": 6.0,
"n2": 9.0,
"n_1": 7.0,
"n_2": 9.0,
"time": 10.418374921622716,
"vocabulary": 15.0,
"volume": 62.5102495297363
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 9.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 86
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:listSessions:97",
"entity_name": "listSessions",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 98,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 103,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08071030590973526,
"calculated_length": 140.0964047443681,
"difficulty": 5.12,
"effort": 1239.7102987735334,
"length": 48.0,
"n1": 8.0,
"n2": 25.0,
"n_1": 16.0,
"n_2": 32.0,
"time": 68.87279437630741,
"vocabulary": 33.0,
"volume": 242.13091772920575
},
"lines_of_code": 16.0,
"maintainability_index": 97.07877417611654,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 8.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 98
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:anonymous_function_104:104",
"entity_name": "anonymous_function_104",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 105,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.030579450010576957,
"calculated_length": 61.302968908806456,
"difficulty": 2.4285714285714284,
"effort": 222.7931357913464,
"length": 22.0,
"n1": 4.0,
"n2": 14.0,
"n_1": 5.0,
"n_2": 17.0,
"time": 12.377396432852578,
"vocabulary": 18.0,
"volume": 91.73835003173087
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 105
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:findSessionByName:118",
"entity_name": "findSessionByName",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 119,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 122,
"nesting_level": 0
},
{
"column": 12,
"kind": "LogicalOr",
"line": 124,
"nesting_level": 1
},
{
"column": 5,
"kind": "Catch",
"line": 125,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.039647323458806796,
"calculated_length": 62.6710344630571,
"difficulty": 4.958333333333334,
"effort": 589.7539364497511,
"length": 28.0,
"n1": 7.0,
"n2": 12.0,
"n_1": 11.0,
"n_2": 17.0,
"time": 32.764107580541726,
"vocabulary": 19.0,
"volume": 118.94197037642039
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 13.8
},
"recommendations": [],
"severity": "Low",
"start_line": 119
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:anonymous_function_123:123",
"entity_name": "anonymous_function_123",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 124,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 12,
"kind": "LogicalOr",
"line": 124,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 124
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:findWindowByName:132",
"entity_name": "findWindowByName",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 133,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 137,
"nesting_level": 0
},
{
"column": 12,
"kind": "LogicalOr",
"line": 139,
"nesting_level": 1
},
{
"column": 5,
"kind": "Catch",
"line": 140,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.043219280948873624,
"calculated_length": 67.75720079023742,
"difficulty": 5.115384615384615,
"effort": 663.2497345615606,
"length": 30.0,
"n1": 7.0,
"n2": 13.0,
"n_1": 11.0,
"n_2": 19.0,
"time": 36.84720747564225,
"vocabulary": 20.0,
"volume": 129.65784284662087
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 14.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 133
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:anonymous_function_138:138",
"entity_name": "anonymous_function_138",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 139,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 12,
"kind": "LogicalOr",
"line": 139,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 139
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:isWindowNameUnique:147",
"entity_name": "isWindowNameUnique",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 148,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01614401422030739,
"calculated_length": 27.651484454403228,
"difficulty": 2.857142857142857,
"effort": 138.3772647454919,
"length": 14.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 4.0,
"n_2": 10.0,
"time": 7.687625819193995,
"vocabulary": 11.0,
"volume": 48.432042660922164
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 148
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:listWindows:158",
"entity_name": "listWindows",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 159,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 169,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07666666666666666,
"calculated_length": 134.03910001730776,
"difficulty": 5.166666666666667,
"effort": 1188.3333333333335,
"length": 46.0,
"n1": 8.0,
"n2": 24.0,
"n_1": 15.0,
"n_2": 31.0,
"time": 66.01851851851853,
"vocabulary": 32.0,
"volume": 230.0
},
"lines_of_code": 21.0,
"maintainability_index": 92.94072410247992,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 9.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 159
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:anonymous_function_170:170",
"entity_name": "anonymous_function_170",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 171,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02213904670844827,
"calculated_length": 46.05374780501027,
"difficulty": 2.3636363636363638,
"effort": 156.98596756899684,
"length": 17.0,
"n1": 4.0,
"n2": 11.0,
"n_1": 4.0,
"n_2": 13.0,
"time": 8.721442642722046,
"vocabulary": 15.0,
"volume": 66.41714012534482
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 171
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:listPanes:184",
"entity_name": "listPanes",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 185,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 195,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07833333333333334,
"calculated_length": 134.03910001730776,
"difficulty": 5.333333333333333,
"effort": 1253.3333333333333,
"length": 47.0,
"n1": 8.0,
"n2": 24.0,
"n_1": 15.0,
"n_2": 32.0,
"time": 69.62962962962962,
"vocabulary": 32.0,
"volume": 235.0
},
"lines_of_code": 21.0,
"maintainability_index": 92.82889183533092,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 9.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 185
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:anonymous_function_196:196",
"entity_name": "anonymous_function_196",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 197,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02344134357365111,
"calculated_length": 46.05374780501027,
"difficulty": 2.5454545454545454,
"effort": 179.00662365333574,
"length": 18.0,
"n1": 4.0,
"n2": 11.0,
"n_1": 4.0,
"n_2": 14.0,
"time": 9.944812425185319,
"vocabulary": 15.0,
"volume": 70.32403072095333
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 197
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:capturePaneContent:210",
"entity_name": "capturePaneContent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 211,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 219,
"nesting_level": 0
},
{
"column": 10,
"kind": "ConditionalExpression",
"line": 231,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.13036709877904004,
"calculated_length": 188.52932501298082,
"difficulty": 6.890625,
"effort": 2694.9323700729683,
"length": 73.0,
"n1": 9.0,
"n2": 32.0,
"n_1": 24.0,
"n_2": 49.0,
"time": 149.7184650040538,
"vocabulary": 41.0,
"volume": 391.1012963371201
},
"lines_of_code": 21.0,
"maintainability_index": 89.95011020786856,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 11.0,
"technical_debt_score": 11.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 211
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:getCurrentWorkingDirectory:236",
"entity_name": "getCurrentWorkingDirectory",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 237,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 240,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 250,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 250,
"nesting_level": 2
},
{
"column": 12,
"kind": "LogicalOr",
"line": 265,
"nesting_level": 1
},
{
"column": 5,
"kind": "Catch",
"line": 266,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07990747520839857,
"calculated_length": 98.01619331423657,
"difficulty": 7.9411764705882355,
"effort": 1903.6780858471423,
"length": 51.0,
"n1": 9.0,
"n2": 17.0,
"n_1": 21.0,
"n_2": 30.0,
"time": 105.75989365817458,
"vocabulary": 26.0,
"volume": 239.72242562519568
},
"lines_of_code": 33.0,
"maintainability_index": 84.48327269484271,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 26.6
},
"recommendations": [],
"severity": "Low",
"start_line": 237
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:getStoredWorkingDirectory:275",
"entity_name": "getStoredWorkingDirectory",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 276,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 277,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 285,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 285,
"nesting_level": 2
},
{
"column": 5,
"kind": "Catch",
"line": 288,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04905374780501027,
"calculated_length": 76.63504134881501,
"difficulty": 6.576923076923077,
"effort": 967.8681778450103,
"length": 33.0,
"n1": 9.0,
"n2": 13.0,
"n_1": 14.0,
"n_2": 19.0,
"time": 53.7704543247228,
"vocabulary": 22.0,
"volume": 147.1612434150308
},
"lines_of_code": 16.0,
"maintainability_index": 98.9781125257441,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 19.6
},
"recommendations": [],
"severity": "Low",
"start_line": 276
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:getCurrentCommand:297",
"entity_name": "getCurrentCommand",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 298,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 299,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 315,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 321,
"nesting_level": 2
},
{
"column": 5,
"kind": "Catch",
"line": 329,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10654330027786475,
"calculated_length": 99.05865002596161,
"difficulty": 8.88888888888889,
"effort": 2841.1546740763933,
"length": 68.0,
"n1": 8.0,
"n2": 18.0,
"n_1": 28.0,
"n_2": 40.0,
"time": 157.8419263375774,
"vocabulary": 26.0,
"volume": 319.62990083359426
},
"lines_of_code": 41.0,
"maintainability_index": 79.70088093324063,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 11.0,
"technical_debt_score": 24.6
},
"recommendations": [],
"severity": "Low",
"start_line": 298
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:getStoredCommand:344",
"entity_name": "getStoredCommand",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 345,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "Try",
"line": 346,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 354,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 354,
"nesting_level": 2
},
{
"column": 5,
"kind": "Catch",
"line": 357,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04905374780501027,
"calculated_length": 76.63504134881501,
"difficulty": 6.576923076923077,
"effort": 967.8681778450103,
"length": 33.0,
"n1": 9.0,
"n2": 13.0,
"n_1": 14.0,
"n_2": 19.0,
"time": 53.7704543247228,
"vocabulary": 22.0,
"volume": 147.1612434150308
},
"lines_of_code": 16.0,
"maintainability_index": 98.9781125257441,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 19.6
},
"recommendations": [],
"severity": "Low",
"start_line": 345
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:createSession:365",
"entity_name": "createSession",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 366,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 19,
"kind": "LogicalOr",
"line": 367,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 380,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.08479104735417232,
"calculated_length": 144.62572975734892,
"difficulty": 5.94,
"effort": 1510.976463851351,
"length": 50.0,
"n1": 9.0,
"n2": 25.0,
"n_1": 17.0,
"n_2": 33.0,
"time": 83.9431368806306,
"vocabulary": 34.0,
"volume": 254.37314206251696
},
"lines_of_code": 28.0,
"maintainability_index": 87.52651522351864,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 13.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 366
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:expandTilde:398",
"entity_name": "expandTilde",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 399,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 400,
"nesting_level": 0
},
{
"column": 21,
"kind": "LogicalOr",
"line": 401,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 404,
"nesting_level": 0
},
{
"column": 12,
"kind": "LogicalOr",
"line": 405,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.06254887502163468,
"calculated_length": 58.529325012980806,
"difficulty": 5.75,
"effort": 1078.9680941231982,
"length": 45.0,
"n1": 6.0,
"n2": 12.0,
"n_1": 22.0,
"n_2": 23.0,
"time": 59.942671895733234,
"vocabulary": 18.0,
"volume": 187.64662506490404
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 16.6
},
"recommendations": [],
"severity": "Low",
"start_line": 399
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:createWindow:412",
"entity_name": "createWindow",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 413,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 423,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 431,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 441,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 459,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 459,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalOr",
"line": 473,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.29060612954058146,
"calculated_length": 314.3686449376554,
"difficulty": 14.297872340425531,
"effort": 12465.148024549195,
"length": 147.0,
"n1": 14.0,
"n2": 47.0,
"n_1": 51.0,
"n_2": 96.0,
"time": 692.5082235860664,
"vocabulary": 61.0,
"volume": 871.8183886217444
},
"lines_of_code": 63.0,
"maintainability_index": 67.06419554455648,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 19.0,
"technical_debt_score": 32.2
},
"recommendations": [],
"severity": "Low",
"start_line": 413
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:anonymous_function_438:438",
"entity_name": "anonymous_function_438",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 439,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 439
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:executeCommand:487",
"entity_name": "executeCommand",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 488,
"metrics": {
"cognitive_complexity": 22.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 515,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 556,
"nesting_level": 0
},
{
"column": 3,
"kind": "While",
"line": 573,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 584,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 600,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 604,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 606,
"nesting_level": 3
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 606,
"nesting_level": 4
},
{
"column": 3,
"kind": "If",
"line": 620,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 620,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.7362827377358181,
"calculated_length": 661.6961805593371,
"difficulty": 18.774725274725277,
"effort": 41470.51837653776,
"length": 327.0,
"n1": 17.0,
"n2": 91.0,
"n_1": 126.0,
"n_2": 201.0,
"time": 2303.917687585431,
"vocabulary": 108.0,
"volume": 2208.848213207454
},
"lines_of_code": 143.0,
"maintainability_index": 48.03073925135291,
"max_nesting_depth": 4.0,
"parameter_count": 1.0,
"statement_count": 46.0,
"technical_debt_score": 59.60000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 488
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:anonymous_function_513:513",
"entity_name": "anonymous_function_513",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 514,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 514
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:anonymous_function_601:601",
"entity_name": "anonymous_function_601",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 602,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 602
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:anonymous_function_615:615",
"entity_name": "anonymous_function_615",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 616,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 616
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:killSession:635",
"entity_name": "killSession",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 636,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.010566416671474373,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 55.473687525240464,
"length": 10.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 3.0,
"n_2": 7.0,
"time": 3.0818715291800256,
"vocabulary": 9.0,
"volume": 31.69925001442312
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 636
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:killWindow:642",
"entity_name": "killWindow",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 643,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.010566416671474373,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 55.473687525240464,
"length": 10.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 3.0,
"n_2": 7.0,
"time": 3.0818715291800256,
"vocabulary": 9.0,
"volume": 31.69925001442312
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 643
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:killPane:649",
"entity_name": "killPane",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 650,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.010566416671474373,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 55.473687525240464,
"length": 10.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 3.0,
"n_2": 7.0,
"time": 3.0818715291800256,
"vocabulary": 9.0,
"volume": 31.69925001442312
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 650
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:renameWindow:656",
"entity_name": "renameWindow",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 657,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 664,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 672,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 677,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.11394651513889813,
"calculated_length": 124.49230970275752,
"difficulty": 10.725,
"effort": 3666.229124594047,
"length": 69.0,
"n1": 11.0,
"n2": 20.0,
"n_1": 30.0,
"n_2": 39.0,
"time": 203.6793958107804,
"vocabulary": 31.0,
"volume": 341.83954541669436
},
"lines_of_code": 35.0,
"maintainability_index": 82.14478580395816,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 12.0,
"technical_debt_score": 18.2
},
"recommendations": [],
"severity": "Low",
"start_line": 657
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:splitPane:696",
"entity_name": "splitPane",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 697,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 706,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 716,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 716,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 716,
"nesting_level": 1
},
{
"column": 10,
"kind": "ConditionalExpression",
"line": 736,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.17144166414777867,
"calculated_length": 185.26046567326583,
"difficulty": 10.45,
"effort": 5374.696171032861,
"length": 96.0,
"n1": 11.0,
"n2": 30.0,
"n_1": 39.0,
"n_2": 57.0,
"time": 298.5942317240478,
"vocabulary": 41.0,
"volume": 514.324992443336
},
"lines_of_code": 40.0,
"maintainability_index": 77.39730504068116,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 11.0,
"technical_debt_score": 25.6
},
"recommendations": [],
"severity": "Low",
"start_line": 697
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:executeCommandLegacy:745",
"entity_name": "executeCommandLegacy",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 746,
"metrics": {
"cognitive_complexity": 18.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 756,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 756,
"nesting_level": 1
},
{
"column": 14,
"kind": "LogicalOr",
"line": 770,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 774,
"nesting_level": 0
},
{
"column": 26,
"kind": "LogicalAnd",
"line": 809,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 811,
"nesting_level": 1
},
{
"column": 8,
"kind": "LogicalOr",
"line": 812,
"nesting_level": 1
},
{
"column": 8,
"kind": "LogicalOr",
"line": 812,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 816,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalOr",
"line": 816,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.3644996482647701,
"calculated_length": 469.5939038535279,
"difficulty": 10.73913043478261,
"effort": 11743.227798443246,
"length": 172.0,
"n1": 13.0,
"n2": 69.0,
"n_1": 58.0,
"n_2": 114.0,
"time": 652.4015443579581,
"vocabulary": 82.0,
"volume": 1093.4989447943103
},
"lines_of_code": 87.0,
"maintainability_index": 59.73717152708697,
"max_nesting_depth": 2.0,
"parameter_count": 4.0,
"statement_count": 20.0,
"technical_debt_score": 53.800000000000004
},
"recommendations": [],
"severity": "Moderate",
"start_line": 746
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:checkCommandStatus:834",
"entity_name": "checkCommandStatus",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 835,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 839,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 841,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 845,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 855,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 855,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 855,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 865,
"nesting_level": 0
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 868,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.3451150588958947,
"calculated_length": 302.1895663144568,
"difficulty": 13.847826086956523,
"effort": 14337.279946740324,
"length": 176.0,
"n1": 13.0,
"n2": 46.0,
"n_1": 78.0,
"n_2": 98.0,
"time": 796.5155525966846,
"vocabulary": 59.0,
"volume": 1035.3451766876842
},
"lines_of_code": 49.0,
"maintainability_index": 69.78156236905164,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 26.0,
"technical_debt_score": 36.6
},
"recommendations": [],
"severity": "Low",
"start_line": 835
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:getCommand:886",
"entity_name": "getCommand",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 887,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 10,
"kind": "LogicalOr",
"line": 888,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01499087034742829,
"calculated_length": 27.651484454403228,
"difficulty": 2.5714285714285716,
"effort": 115.64385696587539,
"length": 13.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 4.0,
"n_2": 9.0,
"time": 6.42465872032641,
"vocabulary": 11.0,
"volume": 44.97261104228487
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 887
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:getActiveCommandIds:891",
"entity_name": "getActiveCommandIds",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 892,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.36452797660028,
"difficulty": 1.5,
"effort": 45.0,
"length": 10.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 5.0,
"time": 2.5,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 892
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:cleanupOldCommands:896",
"entity_name": "cleanupOldCommands",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 897,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 904,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 904,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.0733594000115385,
"calculated_length": 88.0,
"difficulty": 6.25,
"effort": 1375.4887502163467,
"length": 48.0,
"n1": 8.0,
"n2": 16.0,
"n_1": 23.0,
"n_2": 25.0,
"time": 76.41604167868593,
"vocabulary": 24.0,
"volume": 220.0782000346155
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 10.6
},
"recommendations": [],
"severity": "Low",
"start_line": 897
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:getEndMarkerText:909",
"entity_name": "getEndMarkerText",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 910,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 10,
"kind": "ConditionalExpression",
"line": 911,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.010566416671474373,
"calculated_length": 19.60964047443681,
"difficulty": 2.4,
"effort": 76.07820003461549,
"length": 10.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 4.22656666858975,
"vocabulary": 9.0,
"volume": 31.69925001442312
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 910
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:list:927",
"entity_name": "list",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 928,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 943,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 968,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 972,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 973,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 979,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 980,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 986,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 987,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 999,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.3104729927417613,
"calculated_length": 297.1033999872765,
"difficulty": 11.73913043478261,
"effort": 10934.04887481855,
"length": 159.0,
"n1": 12.0,
"n2": 46.0,
"n_1": 69.0,
"n_2": 90.0,
"time": 607.4471597121417,
"vocabulary": 58.0,
"volume": 931.4189782252839
},
"lines_of_code": 78.0,
"maintainability_index": 62.57042913455159,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 31.0,
"technical_debt_score": 46.00000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 928
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:anonymous_function_997:997",
"entity_name": "anonymous_function_997",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 998,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 998
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:kill:1009",
"entity_name": "kill",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 1010,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 1017,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 1021,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 1025,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05729845144338883,
"calculated_length": 83.65148445440323,
"difficulty": 4.59375,
"effort": 789.6442839542024,
"length": 38.0,
"n1": 7.0,
"n2": 16.0,
"n_1": 17.0,
"n_2": 21.0,
"time": 43.869126886344574,
"vocabulary": 23.0,
"volume": 171.8953543301665
},
"lines_of_code": 20.0,
"maintainability_index": 94.78533055809068,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 14.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 1010
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:executeShellCommand:1038",
"entity_name": "executeShellCommand",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 1039,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "While",
"line": 1067,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 1072,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 1072,
"nesting_level": 2
},
{
"column": 17,
"kind": "LogicalOr",
"line": 1080,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.24412204872586188,
"calculated_length": 323.22649869747937,
"difficulty": 10.479591836734693,
"effort": 7674.898286983474,
"length": 123.0,
"n1": 13.0,
"n2": 49.0,
"n_1": 44.0,
"n_2": 79.0,
"time": 426.38323816574854,
"vocabulary": 62.0,
"volume": 732.3661461775856
},
"lines_of_code": 51.0,
"maintainability_index": 71.85376568914955,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 15.0,
"technical_debt_score": 27.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 1039
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:anonymous_function_1067:1067",
"entity_name": "anonymous_function_1067",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 1068,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1068
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:sendKeys:1091",
"entity_name": "sendKeys",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 1092,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "For",
"line": 1108,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 1116,
"nesting_level": 0
},
{
"column": 19,
"kind": "LogicalOr",
"line": 1117,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1121,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.1561466879171007,
"calculated_length": 242.44079551951012,
"difficulty": 8.68421052631579,
"effort": 4068.0321325770974,
"length": 83.0,
"n1": 12.0,
"n2": 38.0,
"n_1": 28.0,
"n_2": 55.0,
"time": 226.00178514317207,
"vocabulary": 50.0,
"volume": 468.44006375130215
},
"lines_of_code": 37.0,
"maintainability_index": 79.37620737657667,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 13.0,
"technical_debt_score": 22.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1092
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:waitForPaneActivityToSettle:1130",
"entity_name": "waitForPaneActivityToSettle",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 1131,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "While",
"line": 1143,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 1145,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1152,
"nesting_level": 1
},
{
"column": 12,
"kind": "If",
"line": 1156,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.14191016346881072,
"calculated_length": 147.06147499796518,
"difficulty": 12.260869565217392,
"effort": 5219.8260128093,
"length": 83.0,
"n1": 12.0,
"n2": 23.0,
"n_1": 36.0,
"n_2": 47.0,
"time": 289.9903340449611,
"vocabulary": 35.0,
"volume": 425.7304904064322
},
"lines_of_code": 32.0,
"maintainability_index": 82.22528460359392,
"max_nesting_depth": 2.0,
"parameter_count": 3.0,
"statement_count": 16.0,
"technical_debt_score": 22.8
},
"recommendations": [],
"severity": "Low",
"start_line": 1131
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:anonymous_function_1160:1160",
"entity_name": "anonymous_function_1160",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 1161,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1161
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:sendText:1164",
"entity_name": "sendText",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 1165,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 1186,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 1192,
"nesting_level": 0
},
{
"column": 19,
"kind": "LogicalOr",
"line": 1193,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 1197,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.16555311490005858,
"calculated_length": 242.44079551951012,
"difficulty": 9.157894736842106,
"effort": 4548.353998833189,
"length": 88.0,
"n1": 12.0,
"n2": 38.0,
"n_1": 30.0,
"n_2": 58.0,
"time": 252.68633326851048,
"vocabulary": 50.0,
"volume": 496.6593447001757
},
"lines_of_code": 40.0,
"maintainability_index": 77.80905013002298,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 13.0,
"technical_debt_score": 22.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1165
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts:anonymous_function_1186:1186",
"entity_name": "anonymous_function_1186",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/terminal-mcp/tmux.ts",
"issues": [],
"line_number": 1187,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1187
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/claude-auth.ts:seedClaudeAuth:12",
"entity_name": "seedClaudeAuth",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/claude-auth.ts",
"issues": [],
"line_number": 13,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 18,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 18,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 31,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 35,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1348221784038132,
"calculated_length": 180.4259988171292,
"difficulty": 7.333333333333333,
"effort": 2966.08792488389,
"length": 76.0,
"n1": 10.0,
"n2": 30.0,
"n_1": 32.0,
"n_2": 44.0,
"time": 164.78266249354945,
"vocabulary": 40.0,
"volume": 404.4665352114396
},
"lines_of_code": 29.0,
"maintainability_index": 84.0864487446967,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 19.8
},
"recommendations": [],
"severity": "Low",
"start_line": 13
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/claude-config.ts:useTempClaudeConfigDir:15",
"entity_name": "useTempClaudeConfigDir",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/claude-config.ts",
"issues": [],
"line_number": 16,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 37,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1841187318685671,
"calculated_length": 219.33658100079685,
"difficulty": 8.75,
"effort": 4833.116711549886,
"length": 100.0,
"n1": 10.0,
"n2": 36.0,
"n_1": 37.0,
"n_2": 63.0,
"time": 268.50648397499367,
"vocabulary": 46.0,
"volume": 552.3561956057013
},
"lines_of_code": 28.0,
"maintainability_index": 83.72448271081517,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 13.0,
"technical_debt_score": 10.4
},
"recommendations": [],
"severity": "Low",
"start_line": 16
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/claude-config.ts:anonymous_function_35:35",
"entity_name": "anonymous_function_35",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/claude-config.ts",
"issues": [],
"line_number": 36,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 37,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03891930001346158,
"calculated_length": 57.05865002596162,
"difficulty": 7.0,
"effort": 817.3053002826932,
"length": 28.0,
"n1": 9.0,
"n2": 9.0,
"n_1": 14.0,
"n_2": 14.0,
"time": 45.40585001570518,
"vocabulary": 18.0,
"volume": 116.75790004038474
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 36
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/daemon-client.ts:constructor:19",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/daemon-client.ts",
"issues": [],
"line_number": 20,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.034062190343752824,
"calculated_length": 53.5635228093372,
"difficulty": 4.636363636363637,
"effort": 473.7741020540166,
"length": 25.0,
"n1": 6.0,
"n2": 11.0,
"n_1": 8.0,
"n_2": 17.0,
"time": 26.32078344744537,
"vocabulary": 17.0,
"volume": 102.18657103125848
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/daemon-client.ts:anonymous_function_23:23",
"entity_name": "anonymous_function_23",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/daemon-client.ts",
"issues": [],
"line_number": 24,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012,
"calculated_length": 16.36452797660028,
"difficulty": 2.4000000000000004,
"effort": 86.4,
"length": 12.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 8.0,
"time": 4.800000000000001,
"vocabulary": 8.0,
"volume": 36.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 24
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/daemon-test-context.ts:createDaemonTestContext:33",
"entity_name": "createDaemonTestContext",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/daemon-test-context.ts",
"issues": [],
"line_number": 34,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.06418947501009618,
"calculated_length": 90.56842503028855,
"difficulty": 4.166666666666666,
"effort": 802.3684376262022,
"length": 42.0,
"n1": 6.0,
"n2": 18.0,
"n_1": 17.0,
"n_2": 25.0,
"time": 44.57602431256679,
"vocabulary": 24.0,
"volume": 192.56842503028855
},
"lines_of_code": 17.0,
"maintainability_index": 97.5175957908771,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/daemon-test-context.ts:anonymous_function_45:45",
"entity_name": "anonymous_function_45",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/daemon-test-context.ts",
"issues": [],
"line_number": 46,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011229419688230418,
"calculated_length": 12.754887502163468,
"difficulty": 2.6666666666666665,
"effort": 89.83535750584333,
"length": 12.0,
"n1": 4.0,
"n2": 3.0,
"n_1": 8.0,
"n_2": 4.0,
"time": 4.990853194769074,
"vocabulary": 7.0,
"volume": 33.68825906469125
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 46
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/paseo-daemon.ts:getAvailablePort:26",
"entity_name": "getAvailablePort",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/paseo-daemon.ts",
"issues": [],
"line_number": 27,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 33,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 33,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09614709844115209,
"calculated_length": 109.23994776840892,
"difficulty": 7.342105263157895,
"effort": 2117.7663525064286,
"length": 60.0,
"n1": 9.0,
"n2": 19.0,
"n_1": 29.0,
"n_2": 31.0,
"time": 117.65368625035714,
"vocabulary": 28.0,
"volume": 288.44129532345625
},
"lines_of_code": 13.0,
"maintainability_index": 99.30246417841522,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 10.999999999999998
},
"recommendations": [],
"severity": "Low",
"start_line": 27
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/paseo-daemon.ts:anonymous_function_27:27",
"entity_name": "anonymous_function_27",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/paseo-daemon.ts",
"issues": [],
"line_number": 28,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 33,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 33,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08513736347920328,
"calculated_length": 92.5293250129808,
"difficulty": 7.875,
"effort": 2011.3702121961774,
"length": 55.0,
"n1": 9.0,
"n2": 16.0,
"n_1": 27.0,
"n_2": 28.0,
"time": 111.74278956645429,
"vocabulary": 25.0,
"volume": 255.41209043760983
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 8.0,
"technical_debt_score": 10.6
},
"recommendations": [],
"severity": "Low",
"start_line": 28
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/paseo-daemon.ts:anonymous_function_30:30",
"entity_name": "anonymous_function_30",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/paseo-daemon.ts",
"issues": [],
"line_number": 31,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 33,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 33,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04955915432350849,
"calculated_length": 61.74860596185444,
"difficulty": 7.2,
"effort": 1070.4777333877835,
"length": 35.0,
"n1": 9.0,
"n2": 10.0,
"n_1": 19.0,
"n_2": 16.0,
"time": 59.47098518821019,
"vocabulary": 19.0,
"volume": 148.67746297052548
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 9.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 31
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/paseo-daemon.ts:anonymous_function_33:33",
"entity_name": "anonymous_function_33",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/paseo-daemon.ts",
"issues": [],
"line_number": 34,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/paseo-daemon.ts:anonymous_function_36:36",
"entity_name": "anonymous_function_36",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/paseo-daemon.ts",
"issues": [],
"line_number": 37,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 37
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/paseo-daemon.ts:createTestPaseoDaemon:41",
"entity_name": "createTestPaseoDaemon",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/paseo-daemon.ts",
"issues": [],
"line_number": 42,
"metrics": {
"cognitive_complexity": 15.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 3,
"kind": "For",
"line": 49,
"nesting_level": 0
},
{
"column": 15,
"kind": "ConditionalExpression",
"line": 73,
"nesting_level": 1
},
{
"column": 5,
"kind": "Try",
"line": 79,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 97,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 103,
"nesting_level": 2
},
{
"column": 11,
"kind": "LogicalOr",
"line": 103,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.5884120463921233,
"calculated_length": 622.1456372056361,
"difficulty": 17.296511627906977,
"effort": 30532.4274072657,
"length": 264.0,
"n1": 17.0,
"n2": 86.0,
"n_1": 89.0,
"n_2": 175.0,
"time": 1696.2459670703165,
"vocabulary": 103.0,
"volume": 1765.2361391763698
},
"lines_of_code": 68.0,
"maintainability_index": 62.15856847448332,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 29.0,
"technical_debt_score": 39.6
},
"recommendations": [],
"severity": "Moderate",
"start_line": 42
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/paseo-daemon.ts:anonymous_function_81:81",
"entity_name": "anonymous_function_81",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/paseo-daemon.ts",
"issues": [],
"line_number": 82,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0678534293408552,
"calculated_length": 86.66829050039843,
"difficulty": 4.027777777777778,
"effort": 819.8956045353336,
"length": 45.0,
"n1": 5.0,
"n2": 18.0,
"n_1": 16.0,
"n_2": 29.0,
"time": 45.54975580751854,
"vocabulary": 23.0,
"volume": 203.5602880225656
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 82
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/paseo-daemon.ts:anonymous_function_82:82",
"entity_name": "anonymous_function_82",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/paseo-daemon.ts",
"issues": [],
"line_number": 83,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 83
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/paseo-daemon.ts:anonymous_function_83:83",
"entity_name": "anonymous_function_83",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/paseo-daemon.ts",
"issues": [],
"line_number": 84,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 84
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/paseo-daemon.ts:anonymous_function_98:98",
"entity_name": "anonymous_function_98",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/paseo-daemon.ts",
"issues": [],
"line_number": 99,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 99
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/paseo-daemon.ts:isAddressInUseError:111",
"entity_name": "isAddressInUseError",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/test-utils/paseo-daemon.ts",
"issues": [],
"line_number": 112,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 113,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 113,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029189721069108297,
"calculated_length": 39.302968908806456,
"difficulty": 6.0,
"effort": 525.4149792439493,
"length": 23.0,
"n1": 7.0,
"n2": 7.0,
"n_1": 11.0,
"n_2": 12.0,
"time": 29.1897210691083,
"vocabulary": 14.0,
"volume": 87.56916320732489
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 9.6
},
"recommendations": [],
"severity": "Low",
"start_line": 112
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts:anonymous_function_59:59",
"entity_name": "anonymous_function_59",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 60,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.9591479170272448,
"calculated_length": 290.1928094887362,
"difficulty": 10.16,
"effort": 29234.82851099042,
"length": 500.0,
"n1": 4.0,
"n2": 50.0,
"n_1": 246.0,
"n_2": 254.0,
"time": 1624.1571394994678,
"vocabulary": 54.0,
"volume": 2877.4437510817343
},
"lines_of_code": 67.0,
"maintainability_index": 61.237760084544135,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 48.0,
"technical_debt_score": 15.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 60
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts:anonymous_function_60:60",
"entity_name": "anonymous_function_60",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 61,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.40234110936400824,
"calculated_length": 180.97373660251154,
"difficulty": 6.882352941176471,
"effort": 8307.160552162759,
"length": 230.0,
"n1": 4.0,
"n2": 34.0,
"n_1": 113.0,
"n_2": 117.0,
"time": 461.5089195645977,
"vocabulary": 38.0,
"volume": 1207.0233280920247
},
"lines_of_code": 25.0,
"maintainability_index": 81.72546638626291,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 20.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 61
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts:anonymous_function_87:87",
"entity_name": "anonymous_function_87",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 88,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.11989891001000993,
"calculated_length": 56.105716335834195,
"difficulty": 6.923076923076923,
"effort": 2490.2081309771297,
"length": 88.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 43.0,
"n_2": 45.0,
"time": 138.3448961653961,
"vocabulary": 17.0,
"volume": 359.6967300300298
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 88
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts:anonymous_function_100:100",
"entity_name": "anonymous_function_100",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 101,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10541561814669026,
"calculated_length": 77.48686830125577,
"difficulty": 4.352941176470588,
"effort": 1376.6039546214845,
"length": 72.0,
"n1": 4.0,
"n2": 17.0,
"n_1": 35.0,
"n_2": 37.0,
"time": 76.47799747897136,
"vocabulary": 21.0,
"volume": 316.24685444007076
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 101
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts:anonymous_function_111:111",
"entity_name": "anonymous_function_111",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 112,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10541561814669026,
"calculated_length": 77.48686830125577,
"difficulty": 4.352941176470588,
"effort": 1376.6039546214845,
"length": 72.0,
"n1": 4.0,
"n2": 17.0,
"n_1": 35.0,
"n_2": 37.0,
"time": 76.47799747897136,
"vocabulary": 21.0,
"volume": 316.24685444007076
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 112
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts:anonymous_function_122:122",
"entity_name": "anonymous_function_122",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 123,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.018,
"calculated_length": 16.36452797660028,
"difficulty": 2.4000000000000004,
"effort": 129.60000000000002,
"length": 18.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 10.0,
"n_2": 8.0,
"time": 7.200000000000001,
"vocabulary": 8.0,
"volume": 54.0
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 123
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts:anonymous_function_128:128",
"entity_name": "anonymous_function_128",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 129,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.22739821375122685,
"calculated_length": 161.58008562199313,
"difficulty": 4.516129032258065,
"effort": 3080.879025016622,
"length": 133.0,
"n1": 4.0,
"n2": 31.0,
"n_1": 63.0,
"n_2": 70.0,
"time": 171.15994583425677,
"vocabulary": 35.0,
"volume": 682.1946412536805
},
"lines_of_code": 25.0,
"maintainability_index": 84.69257355987385,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 14.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 129
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts:anonymous_function_129:129",
"entity_name": "anonymous_function_129",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 130,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.12338877633281183,
"calculated_length": 118.03910001730775,
"difficulty": 3.3333333333333335,
"effort": 1233.8877633281184,
"length": 77.0,
"n1": 4.0,
"n2": 24.0,
"n_1": 37.0,
"n_2": 40.0,
"time": 68.54932018489546,
"vocabulary": 28.0,
"volume": 370.16632899843546
},
"lines_of_code": 14.0,
"maintainability_index": 97.26471855944072,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 4.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 130
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts:anonymous_function_145:145",
"entity_name": "anonymous_function_145",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 146,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0691508495181978,
"calculated_length": 72.0,
"difficulty": 3.25,
"effort": 674.2207828024286,
"length": 48.0,
"n1": 4.0,
"n2": 16.0,
"n_1": 22.0,
"n_2": 26.0,
"time": 37.45671015569048,
"vocabulary": 20.0,
"volume": 207.45254855459342
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 146
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts:anonymous_function_155:155",
"entity_name": "anonymous_function_155",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 156,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.18166666666666667,
"calculated_length": 142.6059378176129,
"difficulty": 4.142857142857143,
"effort": 2257.857142857143,
"length": 109.0,
"n1": 4.0,
"n2": 28.0,
"n_1": 51.0,
"n_2": 58.0,
"time": 125.43650793650795,
"vocabulary": 32.0,
"volume": 545.0
},
"lines_of_code": 20.0,
"maintainability_index": 89.47505103617648,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 156
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts:anonymous_function_156:156",
"entity_name": "anonymous_function_156",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 157,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10184286055972365,
"calculated_length": 106.10749561002054,
"difficulty": 3.090909090909091,
"effort": 944.3610706447101,
"length": 65.0,
"n1": 4.0,
"n2": 22.0,
"n_1": 31.0,
"n_2": 34.0,
"time": 52.46450392470612,
"vocabulary": 26.0,
"volume": 305.52858167917094
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 157
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts:anonymous_function_168:168",
"entity_name": "anonymous_function_168",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 169,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05003910001730774,
"calculated_length": 61.302968908806456,
"difficulty": 2.857142857142857,
"effort": 428.9065715769235,
"length": 36.0,
"n1": 4.0,
"n2": 14.0,
"n_1": 16.0,
"n_2": 20.0,
"time": 23.82814286538464,
"vocabulary": 18.0,
"volume": 150.11730005192322
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 169
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts:anonymous_function_177:177",
"entity_name": "anonymous_function_177",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 178,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 14,
"kind": "LogicalAnd",
"line": 209,
"nesting_level": 0
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 217,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.6497039997961664,
"calculated_length": 399.5097750043269,
"difficulty": 8.671875,
"effort": 16902.455619697143,
"length": 318.0,
"n1": 6.0,
"n2": 64.0,
"n_1": 133.0,
"n_2": 185.0,
"time": 939.0253122053969,
"vocabulary": 70.0,
"volume": 1949.1119993884993
},
"lines_of_code": 74.0,
"maintainability_index": 61.193473842962476,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 30.0,
"technical_debt_score": 22.4
},
"recommendations": [],
"severity": "Low",
"start_line": 178
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts:anonymous_function_178:178",
"entity_name": "anonymous_function_178",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 179,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.18159818829690433,
"calculated_length": 143.8917375627406,
"difficulty": 6.333333333333334,
"effort": 3450.3655776411824,
"length": 108.0,
"n1": 6.0,
"n2": 27.0,
"n_1": 51.0,
"n_2": 57.0,
"time": 191.68697653562126,
"vocabulary": 33.0,
"volume": 544.794564890713
},
"lines_of_code": 21.0,
"maintainability_index": 88.68661086095665,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 179
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts:anonymous_function_191:191",
"entity_name": "anonymous_function_191",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 192,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 192
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts:anonymous_function_196:196",
"entity_name": "anonymous_function_196",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 197,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 197
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts:anonymous_function_201:201",
"entity_name": "anonymous_function_201",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 202,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 14,
"kind": "LogicalAnd",
"line": 209,
"nesting_level": 0
},
{
"column": 14,
"kind": "LogicalAnd",
"line": 217,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2187970413564159,
"calculated_length": 169.08986062632007,
"difficulty": 6.677419354838709,
"effort": 4382.998796204331,
"length": 126.0,
"n1": 6.0,
"n2": 31.0,
"n_1": 57.0,
"n_2": 69.0,
"time": 243.4999331224628,
"vocabulary": 37.0,
"volume": 656.3911240692477
},
"lines_of_code": 20.0,
"maintainability_index": 88.0480016160905,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 11.0,
"technical_debt_score": 11.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 202
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts:anonymous_function_208:208",
"entity_name": "anonymous_function_208",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 209,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 14,
"kind": "LogicalAnd",
"line": 209,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.014792983340064124,
"calculated_length": 20.264662506490403,
"difficulty": 2.0,
"effort": 88.75790004038474,
"length": 14.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 4.930994446688041,
"vocabulary": 9.0,
"volume": 44.37895002019237
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 209
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts:anonymous_function_211:211",
"entity_name": "anonymous_function_211",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 212,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 212
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts:anonymous_function_216:216",
"entity_name": "anonymous_function_216",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 217,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 14,
"kind": "LogicalAnd",
"line": 217,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.014792983340064124,
"calculated_length": 20.264662506490403,
"difficulty": 2.0,
"effort": 88.75790004038474,
"length": 14.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 6.0,
"n_2": 8.0,
"time": 4.930994446688041,
"vocabulary": 9.0,
"volume": 44.37895002019237
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 217
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts:anonymous_function_219:219",
"entity_name": "anonymous_function_219",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 220,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 220
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts:anonymous_function_223:223",
"entity_name": "anonymous_function_223",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.test.ts",
"issues": [],
"line_number": 224,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.12310279240667919,
"calculated_length": 161.58008562199313,
"difficulty": 3.4193548387096775,
"effort": 1262.7963866233542,
"length": 72.0,
"n1": 4.0,
"n2": 31.0,
"n_1": 19.0,
"n_2": 53.0,
"time": 70.15535481240858,
"vocabulary": 35.0,
"volume": 369.3083772200376
},
"lines_of_code": 27.0,
"maintainability_index": 86.63695634133819,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 7.400000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 224
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts:parseDiff:35",
"entity_name": "parseDiff",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts",
"issues": [
{
"description": "Cyclomatic complexity of 22.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts:parseDiff:35",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts:36",
"metric_value": 22.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 47.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts:parseDiff:35",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts:36",
"metric_value": 47.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 36,
"metrics": {
"cognitive_complexity": 47.0,
"cyclomatic_complexity": 22.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 37,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 37,
"nesting_level": 1
},
{
"column": 7,
"kind": "LogicalOr",
"line": 50,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalOr",
"line": 53,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 59,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 63,
"nesting_level": 1
},
{
"column": 5,
"kind": "For",
"line": 73,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 77,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 78,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 79,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 80,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 81,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 87,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 88,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 101,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 103,
"nesting_level": 1
},
{
"column": 14,
"kind": "If",
"line": 106,
"nesting_level": 2
},
{
"column": 14,
"kind": "If",
"line": 109,
"nesting_level": 3
},
{
"column": 14,
"kind": "If",
"line": 111,
"nesting_level": 4
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 111,
"nesting_level": 5
},
{
"column": 5,
"kind": "If",
"line": 117,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.7561571528032802,
"calculated_length": 495.23540441896023,
"difficulty": 20.387323943661972,
"effort": 46248.06247955273,
"length": 353.0,
"n1": 15.0,
"n2": 71.0,
"n_1": 160.0,
"n_2": 193.0,
"time": 2569.3368044195963,
"vocabulary": 86.0,
"volume": 2268.4714584098406
},
"lines_of_code": 89.0,
"maintainability_index": 53.044410920258514,
"max_nesting_depth": 5.0,
"parameter_count": 1.0,
"statement_count": 55.0,
"technical_debt_score": 95.4
},
"recommendations": [],
"severity": "High",
"start_line": 36
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts:reconstructNewFile:130",
"entity_name": "reconstructNewFile",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts",
"issues": [],
"line_number": 131,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 138,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 140,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 140,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08653238859703688,
"calculated_length": 107.54061610626604,
"difficulty": 9.705882352941176,
"effort": 2519.6195503254853,
"length": 54.0,
"n1": 11.0,
"n2": 17.0,
"n_1": 24.0,
"n_2": 30.0,
"time": 139.9788639069714,
"vocabulary": 28.0,
"volume": 259.5971657911106
},
"lines_of_code": 17.0,
"maintainability_index": 95.27446227700213,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 14.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 131
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts:reconstructOldFile:153",
"entity_name": "reconstructOldFile",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts",
"issues": [],
"line_number": 154,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 161,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 163,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 163,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08653238859703688,
"calculated_length": 107.54061610626604,
"difficulty": 9.705882352941176,
"effort": 2519.6195503254853,
"length": 54.0,
"n1": 11.0,
"n2": 17.0,
"n_1": 24.0,
"n_2": 30.0,
"time": 139.9788639069714,
"vocabulary": 28.0,
"volume": 259.5971657911106
},
"lines_of_code": 17.0,
"maintainability_index": 95.27446227700213,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 14.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 154
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts:buildFileContent:172",
"entity_name": "buildFileContent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts",
"issues": [],
"line_number": 173,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 174,
"nesting_level": 0
},
{
"column": 3,
"kind": "For",
"line": 181,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.11433960003879162,
"calculated_length": 137.26120593818493,
"difficulty": 8.695652173913043,
"effort": 2982.7721749249986,
"length": 68.0,
"n1": 10.0,
"n2": 23.0,
"n_1": 28.0,
"n_2": 40.0,
"time": 165.70956527361102,
"vocabulary": 33.0,
"volume": 343.01880011637485
},
"lines_of_code": 13.0,
"maintainability_index": 98.40133707532937,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 10.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 173
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts:anonymous_function_175:175",
"entity_name": "anonymous_function_175",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts",
"issues": [],
"line_number": 176,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026416041678685932,
"calculated_length": 2.0,
"difficulty": 1.0,
"effort": 7.92481250360578,
"length": 5.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.44026736131143224,
"vocabulary": 3.0,
"volume": 7.92481250360578
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 176
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts:buildTokenLookup:187",
"entity_name": "buildTokenLookup",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts",
"issues": [],
"line_number": 188,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 194,
"nesting_level": 0
},
{
"column": 3,
"kind": "For",
"line": 199,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 201,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.1227469235710557,
"calculated_length": 136.1612434150308,
"difficulty": 11.25,
"effort": 4142.7086705231295,
"length": 73.0,
"n1": 11.0,
"n2": 22.0,
"n_1": 28.0,
"n_2": 45.0,
"time": 230.1504816957294,
"vocabulary": 33.0,
"volume": 368.2407707131671
},
"lines_of_code": 19.0,
"maintainability_index": 91.65465617665409,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 11.0,
"technical_debt_score": 15.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 188
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts:anonymous_function_195:195",
"entity_name": "anonymous_function_195",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts",
"issues": [],
"line_number": 196,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026416041678685932,
"calculated_length": 2.0,
"difficulty": 1.0,
"effort": 7.92481250360578,
"length": 5.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.44026736131143224,
"vocabulary": 3.0,
"volume": 7.92481250360578
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 196
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts:highlightDiffFromHunks:212",
"entity_name": "highlightDiffFromHunks",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts",
"issues": [],
"line_number": 213,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 214,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.10027604732034329,
"calculated_length": 101.94833690207419,
"difficulty": 6.6000000000000005,
"effort": 1985.4657369427973,
"length": 64.0,
"n1": 6.0,
"n2": 20.0,
"n_1": 20.0,
"n_2": 44.0,
"time": 110.30365205237763,
"vocabulary": 26.0,
"volume": 300.82814196102987
},
"lines_of_code": 22.0,
"maintainability_index": 90.79110870289114,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 11.0,
"technical_debt_score": 9.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 213
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts:highlightDiffWithFileContent:240",
"entity_name": "highlightDiffWithFileContent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts",
"issues": [],
"line_number": 241,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 245,
"nesting_level": 0
},
{
"column": 3,
"kind": "Try",
"line": 251,
"nesting_level": 0
},
{
"column": 5,
"kind": "For",
"line": 260,
"nesting_level": 1
},
{
"column": 5,
"kind": "Catch",
"line": 271,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.1758953136364585,
"calculated_length": 218.60335893412778,
"difficulty": 14.296875,
"effort": 7544.259936438728,
"length": 95.0,
"n1": 15.0,
"n2": 32.0,
"n_1": 34.0,
"n_2": 61.0,
"time": 419.12555202437375,
"vocabulary": 47.0,
"volume": 527.6859409093755
},
"lines_of_code": 34.0,
"maintainability_index": 80.12675275237987,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 16.0,
"technical_debt_score": 21.6
},
"recommendations": [],
"severity": "Low",
"start_line": 241
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts:applyTokensToHunks:276",
"entity_name": "applyTokensToHunks",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts",
"issues": [],
"line_number": 277,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 287,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 293,
"nesting_level": 0
},
{
"column": 14,
"kind": "If",
"line": 296,
"nesting_level": 1
},
{
"column": 14,
"kind": "If",
"line": 299,
"nesting_level": 2
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 306,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.21141608875448994,
"calculated_length": 172.65968562262316,
"difficulty": 13.553571428571429,
"effort": 8596.32918024953,
"length": 120.0,
"n1": 11.0,
"n2": 28.0,
"n_1": 51.0,
"n_2": 69.0,
"time": 477.5738433471961,
"vocabulary": 39.0,
"volume": 634.2482662634699
},
"lines_of_code": 36.0,
"maintainability_index": 78.01430277925367,
"max_nesting_depth": 2.0,
"parameter_count": 3.0,
"statement_count": 20.0,
"technical_debt_score": 25.6
},
"recommendations": [],
"severity": "Low",
"start_line": 277
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts:anonymous_function_281:281",
"entity_name": "anonymous_function_281",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts",
"issues": [],
"line_number": 282,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 287,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 293,
"nesting_level": 0
},
{
"column": 14,
"kind": "If",
"line": 296,
"nesting_level": 1
},
{
"column": 14,
"kind": "If",
"line": 299,
"nesting_level": 2
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 306,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.16646500593882896,
"calculated_length": 136.1612434150308,
"difficulty": 13.0,
"effort": 6492.135231614329,
"length": 99.0,
"n1": 11.0,
"n2": 22.0,
"n_1": 47.0,
"n_2": 52.0,
"time": 360.6741795341294,
"vocabulary": 33.0,
"volume": 499.39501781648687
},
"lines_of_code": 28.0,
"maintainability_index": 83.32862044758387,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 18.0,
"technical_debt_score": 24.0
},
"recommendations": [],
"severity": "Low",
"start_line": 282
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts:anonymous_function_285:285",
"entity_name": "anonymous_function_285",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts",
"issues": [],
"line_number": 286,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 287,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 293,
"nesting_level": 0
},
{
"column": 14,
"kind": "If",
"line": 296,
"nesting_level": 1
},
{
"column": 14,
"kind": "If",
"line": 299,
"nesting_level": 2
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 306,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.12521203755697133,
"calculated_length": 102.05374780501026,
"difficulty": 13.0625,
"effort": 4906.746721763814,
"length": 79.0,
"n1": 11.0,
"n2": 16.0,
"n_1": 41.0,
"n_2": 38.0,
"time": 272.5970400979897,
"vocabulary": 27.0,
"volume": 375.636112670914
},
"lines_of_code": 21.0,
"maintainability_index": 89.46990788434638,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 14.0,
"technical_debt_score": 22.6
},
"recommendations": [],
"severity": "Low",
"start_line": 286
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts:parseAndHighlightDiff:317",
"entity_name": "parseAndHighlightDiff",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts",
"issues": [],
"line_number": 318,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03542467795750294,
"calculated_length": 56.105716335834195,
"difficulty": 2.769230769230769,
"effort": 294.29732457002444,
"length": 26.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 8.0,
"n_2": 18.0,
"time": 16.349851365001356,
"vocabulary": 17.0,
"volume": 106.27403387250882
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 3.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 318
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts:anonymous_function_324:324",
"entity_name": "anonymous_function_324",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/diff-highlighter.ts",
"issues": [],
"line_number": 325,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 325
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/syntax-highlighter.ts:getParserForFile:105",
"entity_name": "getParserForFile",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/syntax-highlighter.ts",
"issues": [],
"line_number": 106,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 108,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.04106329929662132,
"calculated_length": 62.05374780501027,
"difficulty": 5.818181818181818,
"effort": 716.7412240864813,
"length": 29.0,
"n1": 8.0,
"n2": 11.0,
"n_1": 13.0,
"n_2": 16.0,
"time": 39.81895689369341,
"vocabulary": 19.0,
"volume": 123.18989788986397
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 106
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/syntax-highlighter.ts:highlightCode:111",
"entity_name": "highlightCode",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/syntax-highlighter.ts",
"issues": [],
"line_number": 112,
"metrics": {
"cognitive_complexity": 19.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 115,
"nesting_level": 0
},
{
"column": 3,
"kind": "For",
"line": 125,
"nesting_level": 0
},
{
"column": 5,
"kind": "For",
"line": 134,
"nesting_level": 0
},
{
"column": 24,
"kind": "LogicalAnd",
"line": 134,
"nesting_level": 1
},
{
"column": 3,
"kind": "For",
"line": 141,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 144,
"nesting_level": 1
},
{
"column": 5,
"kind": "For",
"line": 152,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 154,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 157,
"nesting_level": 3
},
{
"column": 5,
"kind": "If",
"line": 164,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.42782061880082484,
"calculated_length": 268.908113812112,
"difficulty": 29.526315789473685,
"effort": 37895.90007588359,
"length": 222.0,
"n1": 17.0,
"n2": 38.0,
"n_1": 90.0,
"n_2": 132.0,
"time": 2105.327781993533,
"vocabulary": 55.0,
"volume": 1283.4618564024745
},
"lines_of_code": 60.0,
"maintainability_index": 64.92357342848618,
"max_nesting_depth": 3.0,
"parameter_count": 2.0,
"statement_count": 35.0,
"technical_debt_score": 49.2
},
"recommendations": [],
"severity": "Moderate",
"start_line": 112
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/syntax-highlighter.ts:anonymous_function_116:116",
"entity_name": "anonymous_function_116",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/syntax-highlighter.ts",
"issues": [],
"line_number": 117,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 8.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 5.0,
"n1": 0.0,
"n2": 4.0,
"n_1": 0.0,
"n_2": 5.0,
"time": 0.0,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 117
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/syntax-highlighter.ts:anonymous_function_132:132",
"entity_name": "anonymous_function_132",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/syntax-highlighter.ts",
"issues": [],
"line_number": 133,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "For",
"line": 134,
"nesting_level": 0
},
{
"column": 24,
"kind": "LogicalAnd",
"line": 134,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03255742163007099,
"calculated_length": 43.65148445440323,
"difficulty": 8.571428571428571,
"effort": 837.1908419161111,
"length": 25.0,
"n1": 8.0,
"n2": 7.0,
"n_1": 10.0,
"n_2": 15.0,
"time": 46.51060232867284,
"vocabulary": 15.0,
"volume": 97.67226489021297
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 3.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 133
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/syntax-highlighter.ts:highlightLine:173",
"entity_name": "highlightLine",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/syntax-highlighter.ts",
"issues": [],
"line_number": 174,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.022844129532345624,
"calculated_length": 41.219280948873624,
"difficulty": 2.8,
"effort": 191.89068807170324,
"length": 18.0,
"n1": 4.0,
"n2": 10.0,
"n_1": 4.0,
"n_2": 14.0,
"time": 10.66059378176129,
"vocabulary": 14.0,
"volume": 68.53238859703687
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 174
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/syntax-highlighter.ts:getSupportedExtensions:178",
"entity_name": "getSupportedExtensions",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/syntax-highlighter.ts",
"issues": [],
"line_number": 179,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.00655049481813441,
"calculated_length": 12.754887502163468,
"difficulty": 1.5,
"effort": 29.47722668160484,
"length": 7.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 4.0,
"time": 1.6376237045336022,
"vocabulary": 7.0,
"volume": 19.651484454403228
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 179
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/syntax-highlighter.ts:isLanguageSupported:182",
"entity_name": "isLanguageSupported",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/utils/syntax-highlighter.ts",
"issues": [],
"line_number": 183,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 183
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversation-store.ts:getLogger:13",
"entity_name": "getLogger",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversation-store.ts",
"issues": [],
"line_number": 14,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011623058338621813,
"calculated_length": 20.264662506490403,
"difficulty": 2.0,
"effort": 69.73835003173087,
"length": 11.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 3.0,
"n_2": 8.0,
"time": 3.874352779540604,
"vocabulary": 9.0,
"volume": 34.86917501586544
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 14
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversation-store.ts:constructor:33",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversation-store.ts",
"issues": [],
"line_number": 34,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 9.509775004326936,
"difficulty": 2.0,
"effort": 36.18947501009619,
"length": 7.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 4.0,
"time": 2.0105263894497885,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversation-store.ts:ensureBaseDir:37",
"entity_name": "ensureBaseDir",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversation-store.ts",
"issues": [],
"line_number": 38,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01107309364962454,
"calculated_length": 23.509775004326936,
"difficulty": 2.0,
"effort": 66.43856189774725,
"length": 10.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 3.691031216541514,
"vocabulary": 10.0,
"volume": 33.219280948873624
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 38
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversation-store.ts:save:41",
"entity_name": "save",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversation-store.ts",
"issues": [],
"line_number": 42,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10258566033889932,
"calculated_length": 158.81635834269238,
"difficulty": 3.333333333333333,
"effort": 1025.856603388993,
"length": 60.0,
"n1": 5.0,
"n2": 30.0,
"n_1": 20.0,
"n_2": 40.0,
"time": 56.99203352161073,
"vocabulary": 35.0,
"volume": 307.756981016698
},
"lines_of_code": 18.0,
"maintainability_index": 94.15356318801902,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 6.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 42
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversation-store.ts:load:65",
"entity_name": "load",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversation-store.ts",
"issues": [],
"line_number": 66,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 73,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 75,
"nesting_level": 2
},
{
"column": 5,
"kind": "Try",
"line": 80,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 92,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.15457976611965782,
"calculated_length": 196.97373660251154,
"difficulty": 6.352941176470588,
"effort": 2946.1084836923014,
"length": 86.0,
"n1": 8.0,
"n2": 34.0,
"n_1": 32.0,
"n_2": 54.0,
"time": 163.6726935384612,
"vocabulary": 42.0,
"volume": 463.73929835897343
},
"lines_of_code": 30.0,
"maintainability_index": 82.82612522290248,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 14.0,
"technical_debt_score": 24.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 66
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversation-store.ts:list:97",
"entity_name": "list",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversation-store.ts",
"issues": [],
"line_number": 98,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 100,
"nesting_level": 1
},
{
"column": 9,
"kind": "Try",
"line": 108,
"nesting_level": 2
},
{
"column": 11,
"kind": "Catch",
"line": 118,
"nesting_level": 3
},
{
"column": 7,
"kind": "Catch",
"line": 127,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.22911681818252794,
"calculated_length": 266.54866540106383,
"difficulty": 8.372093023255815,
"effort": 5754.56194504954,
"length": 120.0,
"n1": 10.0,
"n2": 43.0,
"n_1": 48.0,
"n_2": 72.0,
"time": 319.69788583608556,
"vocabulary": 53.0,
"volume": 687.3504545475838
},
"lines_of_code": 33.0,
"maintainability_index": 79.2357872210906,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 17.0,
"technical_debt_score": 26.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 98
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversation-store.ts:anonymous_function_103:103",
"entity_name": "anonymous_function_103",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversation-store.ts",
"issues": [],
"line_number": 104,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 104
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversation-store.ts:anonymous_function_123:123",
"entity_name": "anonymous_function_123",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversation-store.ts",
"issues": [],
"line_number": 124,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01403677461028802,
"calculated_length": 12.754887502163468,
"difficulty": 3.0,
"effort": 126.33097149259218,
"length": 15.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 7.0,
"n_2": 8.0,
"time": 7.01838730514401,
"vocabulary": 7.0,
"volume": 42.11032383086406
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 124
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversation-store.ts:delete:132",
"entity_name": "delete",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversation-store.ts",
"issues": [],
"line_number": 133,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03752932501298081,
"calculated_length": 61.302968908806456,
"difficulty": 2.5714285714285716,
"effort": 289.5119358144234,
"length": 27.0,
"n1": 4.0,
"n2": 14.0,
"n_1": 9.0,
"n_2": 18.0,
"time": 16.083996434134633,
"vocabulary": 18.0,
"volume": 112.58797503894243
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 4.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 133
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversations.e2e.test.ts:waitForFile:8",
"entity_name": "waitForFile",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversations.e2e.test.ts",
"issues": [],
"line_number": 9,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "While",
"line": 12,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 13,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 16,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.06580615605397529,
"calculated_length": 96.65710673913804,
"difficulty": 8.066666666666666,
"effort": 1592.5089765062019,
"length": 42.0,
"n1": 11.0,
"n2": 15.0,
"n_1": 20.0,
"n_2": 22.0,
"time": 88.47272091701122,
"vocabulary": 26.0,
"volume": 197.41846816192586
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 7.0,
"technical_debt_score": 14.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 9
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversations.e2e.test.ts:anonymous_function_18:18",
"entity_name": "anonymous_function_18",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversations.e2e.test.ts",
"issues": [],
"line_number": 19,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 19
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversations.e2e.test.ts:waitForJsonFile:22",
"entity_name": "waitForJsonFile",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversations.e2e.test.ts",
"issues": [],
"line_number": 23,
"metrics": {
"cognitive_complexity": 16.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 3,
"kind": "While",
"line": 29,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 30,
"nesting_level": 1
},
{
"column": 7,
"kind": "Try",
"line": 31,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 33,
"nesting_level": 3
},
{
"column": 9,
"kind": "Catch",
"line": 36,
"nesting_level": 3
},
{
"column": 5,
"kind": "If",
"line": 40,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.1189530236380546,
"calculated_length": 163.3420689261142,
"difficulty": 10.5,
"effort": 3747.0202445987197,
"length": 68.0,
"n1": 14.0,
"n2": 24.0,
"n_1": 32.0,
"n_2": 36.0,
"time": 208.16779136659554,
"vocabulary": 38.0,
"volume": 356.8590709141638
},
"lines_of_code": 22.0,
"maintainability_index": 88.75293934420787,
"max_nesting_depth": 3.0,
"parameter_count": 2.0,
"statement_count": 10.0,
"technical_debt_score": 31.2
},
"recommendations": [],
"severity": "Moderate",
"start_line": 23
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversations.e2e.test.ts:anonymous_function_42:42",
"entity_name": "anonymous_function_42",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversations.e2e.test.ts",
"issues": [],
"line_number": 43,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 43
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversations.e2e.test.ts:anonymous_function_46:46",
"entity_name": "anonymous_function_46",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversations.e2e.test.ts",
"issues": [],
"line_number": 47,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 59,
"nesting_level": 0
},
{
"column": 7,
"kind": "Try",
"line": 122,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.5700439718141092,
"calculated_length": 266.7848737892386,
"difficulty": 12.133333333333333,
"effort": 20749.60057403357,
"length": 300.0,
"n1": 7.0,
"n2": 45.0,
"n_1": 144.0,
"n_2": 156.0,
"time": 1152.7555874463096,
"vocabulary": 52.0,
"volume": 1710.1319154423275
},
"lines_of_code": 100.0,
"maintainability_index": 56.99574887870784,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 45.0,
"technical_debt_score": 27.6
},
"recommendations": [],
"severity": "Low",
"start_line": 47
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversations.e2e.test.ts:anonymous_function_49:49",
"entity_name": "anonymous_function_49",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversations.e2e.test.ts",
"issues": [],
"line_number": 50,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 59,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.3571701336412056,
"calculated_length": 192.62522105691477,
"difficulty": 10.602941176470587,
"effort": 11361.161750969524,
"length": 200.0,
"n1": 7.0,
"n2": 34.0,
"n_1": 97.0,
"n_2": 103.0,
"time": 631.1756528316403,
"vocabulary": 41.0,
"volume": 1071.5104009236168
},
"lines_of_code": 56.0,
"maintainability_index": 69.04981509700042,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 28.0,
"technical_debt_score": 16.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 50
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversations.e2e.test.ts:anonymous_function_101:101",
"entity_name": "anonymous_function_101",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversations.e2e.test.ts",
"issues": [],
"line_number": 102,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 102
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversations.e2e.test.ts:anonymous_function_102:102",
"entity_name": "anonymous_function_102",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversations.e2e.test.ts",
"issues": [],
"line_number": 103,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 103
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversations.e2e.test.ts:anonymous_function_111:111",
"entity_name": "anonymous_function_111",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversations.e2e.test.ts",
"issues": [],
"line_number": 112,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "Try",
"line": 122,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.15133182358075362,
"calculated_length": 141.8629171260716,
"difficulty": 6.326923076923077,
"effort": 2872.3944206577653,
"length": 90.0,
"n1": 7.0,
"n2": 26.0,
"n_1": 43.0,
"n_2": 47.0,
"time": 159.5774678143203,
"vocabulary": 33.0,
"volume": 453.9954707422608
},
"lines_of_code": 32.0,
"maintainability_index": 82.58102482204909,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 15.0,
"technical_debt_score": 11.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 112
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversations.e2e.test.ts:anonymous_function_140:140",
"entity_name": "anonymous_function_140",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/voice-conversations.e2e.test.ts",
"issues": [],
"line_number": 141,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0,
"calculated_length": 0.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 0.0,
"n1": 0.0,
"n2": 0.0,
"n_1": 0.0,
"n_2": 0.0,
"time": 0.0,
"vocabulary": 0.0,
"volume": 0.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 141
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-server.ts:constructor:29",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-server.ts",
"issues": [],
"line_number": 30,
"metrics": {
"cognitive_complexity": 16.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 29,
"kind": "ConditionalExpression",
"line": 60,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 62,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 62,
"nesting_level": 1
},
{
"column": 12,
"kind": "LogicalOr",
"line": 64,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 66,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalOr",
"line": 66,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalOr",
"line": 66,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.34467325973821955,
"calculated_length": 436.9837596826682,
"difficulty": 8.583333333333332,
"effort": 8875.336438259152,
"length": 165.0,
"n1": 11.0,
"n2": 66.0,
"n_1": 62.0,
"n_2": 103.0,
"time": 493.0742465699529,
"vocabulary": 77.0,
"volume": 1034.0197792146587
},
"lines_of_code": 50.0,
"maintainability_index": 69.69093955672152,
"max_nesting_depth": 2.0,
"parameter_count": 10.0,
"statement_count": 14.0,
"technical_debt_score": 38.800000000000004
},
"recommendations": [],
"severity": "Moderate",
"start_line": 30
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-server.ts:anonymous_function_57:57",
"entity_name": "anonymous_function_57",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-server.ts",
"issues": [],
"line_number": 58,
"metrics": {
"cognitive_complexity": 16.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 29,
"kind": "ConditionalExpression",
"line": 60,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 62,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 62,
"nesting_level": 1
},
{
"column": 12,
"kind": "LogicalOr",
"line": 64,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 66,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalOr",
"line": 66,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalOr",
"line": 66,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.11776537429460444,
"calculated_length": 120.76799089133478,
"difficulty": 7.928571428571429,
"effort": 2801.133545721663,
"length": 72.0,
"n1": 9.0,
"n2": 21.0,
"n_1": 35.0,
"n_2": 37.0,
"time": 155.61853031787015,
"vocabulary": 30.0,
"volume": 353.2961228838133
},
"lines_of_code": 14.0,
"maintainability_index": 95.89727704267665,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 7.0,
"technical_debt_score": 31.600000000000005
},
"recommendations": [],
"severity": "Moderate",
"start_line": 58
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-server.ts:anonymous_function_74:74",
"entity_name": "anonymous_function_74",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-server.ts",
"issues": [],
"line_number": 75,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.011,
"calculated_length": 16.0,
"difficulty": 3.0,
"effort": 99.0,
"length": 11.0,
"n1": 4.0,
"n2": 4.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 5.5,
"vocabulary": 8.0,
"volume": 33.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 75
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-server.ts:broadcast:81",
"entity_name": "broadcast",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-server.ts",
"issues": [],
"line_number": 82,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009357849740192013,
"calculated_length": 12.754887502163468,
"difficulty": 2.25,
"effort": 63.16548574629609,
"length": 10.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 3.509193652572005,
"vocabulary": 7.0,
"volume": 28.07354922057604
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 82
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-server.ts:attachExternalSocket:85",
"entity_name": "attachExternalSocket",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-server.ts",
"issues": [],
"line_number": 86,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.048906266674358996,
"calculated_length": 92.32026322986493,
"difficulty": 3.2894736842105265,
"effort": 482.6276316548586,
"length": 32.0,
"n1": 5.0,
"n2": 19.0,
"n_1": 7.0,
"n_2": 25.0,
"time": 26.8126462030477,
"vocabulary": 24.0,
"volume": 146.718800023077
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 86
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-server.ts:close:94",
"entity_name": "close",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-server.ts",
"issues": [],
"line_number": 95,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01584962500721156,
"calculated_length": 19.60964047443681,
"difficulty": 2.4,
"effort": 114.11730005192324,
"length": 15.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 9.0,
"n_2": 6.0,
"time": 6.339850002884624,
"vocabulary": 9.0,
"volume": 47.548875021634686
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 95
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts:constructor:42",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts",
"issues": [],
"line_number": 43,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.2527194941709217,
"calculated_length": 269.5936249829495,
"difficulty": 4.891304347826087,
"effort": 3708.3838818559166,
"length": 133.0,
"n1": 6.0,
"n2": 46.0,
"n_1": 58.0,
"n_2": 75.0,
"time": 206.02132676977314,
"vocabulary": 52.0,
"volume": 758.1584825127652
},
"lines_of_code": 30.0,
"maintainability_index": 81.18996171024716,
"max_nesting_depth": 0.0,
"parameter_count": 8.0,
"statement_count": 15.0,
"technical_debt_score": 8.0
},
"recommendations": [],
"severity": "Low",
"start_line": 43
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts:anonymous_function_69:69",
"entity_name": "anonymous_function_69",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts",
"issues": [],
"line_number": 70,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 2.25,
"effort": 31.34602928097939,
"length": 6.0,
"n1": 3.0,
"n2": 2.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 1.7414460711655217,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 70
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts:getSessionCount:74",
"entity_name": "getSessionCount",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts",
"issues": [],
"line_number": 75,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 13.931568569324174,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 3.0,
"time": 0.7739760316291208,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 75
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts:attach:78",
"entity_name": "attach",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts",
"issues": [],
"line_number": 79,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 19,
"kind": "ConditionalExpression",
"line": 117,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.2675144654441591,
"calculated_length": 303.650107374626,
"difficulty": 7.163265306122449,
"effort": 5748.831267606113,
"length": 137.0,
"n1": 9.0,
"n2": 49.0,
"n_1": 59.0,
"n_2": 78.0,
"time": 319.37951486700626,
"vocabulary": 58.0,
"volume": 802.5433963324773
},
"lines_of_code": 42.0,
"maintainability_index": 75.21326534797137,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 14.0,
"technical_debt_score": 14.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 79
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts:anonymous_function_84:84",
"entity_name": "anonymous_function_84",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts",
"issues": [],
"line_number": 85,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008422064766172813,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 47.374114309722074,
"length": 9.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 5.0,
"time": 2.6318952394290043,
"vocabulary": 7.0,
"volume": 25.26619429851844
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 85
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts:anonymous_function_107:107",
"entity_name": "anonymous_function_107",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts",
"issues": [],
"line_number": 108,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 2.6666666666666665,
"effort": 59.89023833722889,
"length": 8.0,
"n1": 4.0,
"n2": 3.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 3.327235463179383,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 108
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts:anonymous_function_111:111",
"entity_name": "anonymous_function_111",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts",
"issues": [],
"line_number": 112,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.008,
"calculated_length": 16.0,
"difficulty": 2.0,
"effort": 48.0,
"length": 8.0,
"n1": 4.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 4.0,
"time": 2.6666666666666665,
"vocabulary": 8.0,
"volume": 24.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 112
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts:anonymous_function_115:115",
"entity_name": "anonymous_function_115",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts",
"issues": [],
"line_number": 116,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 19,
"kind": "ConditionalExpression",
"line": 117,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03752932501298081,
"calculated_length": 57.70523225941349,
"difficulty": 5.090909090909091,
"effort": 573.1751456527978,
"length": 27.0,
"n1": 7.0,
"n2": 11.0,
"n_1": 11.0,
"n_2": 16.0,
"time": 31.843063647377658,
"vocabulary": 18.0,
"volume": 112.58797503894243
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 116
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts:detach:122",
"entity_name": "detach",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts",
"issues": [],
"line_number": 123,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 125,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.07772769592204115,
"calculated_length": 114.96788691072805,
"difficulty": 6.075,
"effort": 1416.5872581791998,
"length": 48.0,
"n1": 9.0,
"n2": 20.0,
"n_1": 21.0,
"n_2": 27.0,
"time": 78.69929212106666,
"vocabulary": 29.0,
"volume": 233.18308776612344
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 6.0,
"technical_debt_score": 7.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 123
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts:handleRawMessage:135",
"entity_name": "handleRawMessage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts",
"issues": [
{
"description": "Cyclomatic complexity of 19.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts:handleRawMessage:135",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts:136",
"metric_value": 19.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 59.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts:handleRawMessage:135",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts:136",
"metric_value": 59.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
}
],
"line_number": 136,
"metrics": {
"cognitive_complexity": 59.0,
"cyclomatic_complexity": 19.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 137,
"nesting_level": 1
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 143,
"nesting_level": 2
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 143,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 149,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 154,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 160,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 165,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 166,
"nesting_level": 3
},
{
"column": 7,
"kind": "Catch",
"line": 179,
"nesting_level": 2
},
{
"column": 19,
"kind": "ConditionalExpression",
"line": 180,
"nesting_level": 2
},
{
"column": 7,
"kind": "Try",
"line": 184,
"nesting_level": 2
},
{
"column": 24,
"kind": "ConditionalExpression",
"line": 185,
"nesting_level": 3
},
{
"column": 35,
"kind": "ConditionalExpression",
"line": 187,
"nesting_level": 3
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 189,
"nesting_level": 3
},
{
"column": 9,
"kind": "Catch",
"line": 194,
"nesting_level": 3
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 198,
"nesting_level": 3
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 203,
"nesting_level": 2
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 203,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.7127683104107754,
"calculated_length": 548.8647320053832,
"difficulty": 17.692307692307693,
"effort": 37831.54878334115,
"length": 327.0,
"n1": 15.0,
"n2": 78.0,
"n_1": 143.0,
"n_2": 184.0,
"time": 2101.7527101856194,
"vocabulary": 93.0,
"volume": 2138.304931232326
},
"lines_of_code": 91.0,
"maintainability_index": 53.68167872354378,
"max_nesting_depth": 3.0,
"parameter_count": 2.0,
"statement_count": 33.0,
"technical_debt_score": 96.2
},
"recommendations": [],
"severity": "Critical",
"start_line": 136
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts:anonymous_function_186:186",
"entity_name": "anonymous_function_186",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts",
"issues": [],
"line_number": 187,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 35,
"kind": "ConditionalExpression",
"line": 187,
"nesting_level": 3
}
],
"halstead": {
"bugs": 0.017716949839399265,
"calculated_length": 23.21928094887362,
"difficulty": 4.5,
"effort": 239.17882283189007,
"length": 16.0,
"n1": 5.0,
"n2": 5.0,
"n_1": 7.0,
"n_2": 9.0,
"time": 13.287712379549449,
"vocabulary": 10.0,
"volume": 53.150849518197795
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 3.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 7.400000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 187
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts:sendToClient:228",
"entity_name": "sendToClient",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts",
"issues": [],
"line_number": 229,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 231,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.029333333333333333,
"calculated_length": 48.72905595320056,
"difficulty": 3.9000000000000004,
"effort": 343.20000000000005,
"length": 22.0,
"n1": 6.0,
"n2": 10.0,
"n_1": 9.0,
"n_2": 13.0,
"time": 19.06666666666667,
"vocabulary": 16.0,
"volume": 88.0
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 229
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts:broadcast:235",
"entity_name": "broadcast",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts",
"issues": [],
"line_number": 236,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 239,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04106329929662132,
"calculated_length": 62.6710344630571,
"difficulty": 4.666666666666666,
"effort": 574.8861901526984,
"length": 29.0,
"n1": 7.0,
"n2": 12.0,
"n_1": 13.0,
"n_2": 16.0,
"time": 31.93812167514991,
"vocabulary": 19.0,
"volume": 123.18989788986397
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 236
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts:closeAll:244",
"entity_name": "closeAll",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts",
"issues": [],
"line_number": 245,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 252,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09985263754543283,
"calculated_length": 102.70614925012939,
"difficulty": 8.823529411764707,
"effort": 2643.1580526732223,
"length": 63.0,
"n1": 10.0,
"n2": 17.0,
"n_1": 33.0,
"n_2": 30.0,
"time": 146.84211403740125,
"vocabulary": 27.0,
"volume": 299.5579126362985
},
"lines_of_code": 18.0,
"maintainability_index": 94.0639771531405,
"max_nesting_depth": 1.0,
"parameter_count": 0.0,
"statement_count": 11.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 245
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts:anonymous_function_249:249",
"entity_name": "anonymous_function_249",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts",
"issues": [],
"line_number": 250,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 11,
"kind": "If",
"line": 252,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03172795768381337,
"calculated_length": 39.302968908806456,
"difficulty": 5.5,
"effort": 523.5113017829206,
"length": 25.0,
"n1": 7.0,
"n2": 7.0,
"n_1": 14.0,
"n_2": 11.0,
"time": 29.083961210162254,
"vocabulary": 14.0,
"volume": 95.1838730514401
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 250
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts:anonymous_function_255:255",
"entity_name": "anonymous_function_255",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts",
"issues": [],
"line_number": 256,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 0.0,
"difficulty": 0.5,
"effort": 1.0,
"length": 2.0,
"n1": 1.0,
"n2": 1.0,
"n_1": 1.0,
"n_2": 1.0,
"time": 0.05555555555555555,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 256
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts:getClientActivityState:266",
"entity_name": "getClientActivityState",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts",
"issues": [],
"line_number": 267,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 274,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.17917157919454121,
"calculated_length": 184.0,
"difficulty": 8.625,
"effort": 4636.064611658754,
"length": 101.0,
"n1": 8.0,
"n2": 32.0,
"n_1": 32.0,
"n_2": 69.0,
"time": 257.559145092153,
"vocabulary": 40.0,
"volume": 537.5147375836236
},
"lines_of_code": 31.0,
"maintainability_index": 82.21723515973258,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 11.8
},
"recommendations": [],
"severity": "Low",
"start_line": 267
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts:computeShouldNotifyForClient:299",
"entity_name": "computeShouldNotifyForClient",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts",
"issues": [
{
"description": "Cognitive complexity of 30.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts:computeShouldNotifyForClient:299",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts:300",
"metric_value": 30.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 300,
"metrics": {
"cognitive_complexity": 30.0,
"cyclomatic_complexity": 14.0,
"decision_points": [
{
"column": 18,
"kind": "LogicalAnd",
"line": 316,
"nesting_level": 1
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 316,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 318,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 322,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 326,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 326,
"nesting_level": 2
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 326,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 330,
"nesting_level": 1
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 335,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 338,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 342,
"nesting_level": 1
},
{
"column": 20,
"kind": "LogicalAnd",
"line": 344,
"nesting_level": 2
},
{
"column": 46,
"kind": "LogicalOr",
"line": 344,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.24127972275800275,
"calculated_length": 117.75898006442377,
"difficulty": 13.840909090909092,
"effort": 10018.592124519797,
"length": 149.0,
"n1": 7.0,
"n2": 22.0,
"n_1": 62.0,
"n_2": 87.0,
"time": 556.5884513622109,
"vocabulary": 29.0,
"volume": 723.8391682740082
},
"lines_of_code": 50.0,
"maintainability_index": 70.16546734497446,
"max_nesting_depth": 2.0,
"parameter_count": 3.0,
"statement_count": 16.0,
"technical_debt_score": 62.0
},
"recommendations": [],
"severity": "High",
"start_line": 300
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts:anonymous_function_315:315",
"entity_name": "anonymous_function_315",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts",
"issues": [],
"line_number": 316,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 18,
"kind": "LogicalAnd",
"line": 316,
"nesting_level": 1
},
{
"column": 18,
"kind": "LogicalAnd",
"line": 316,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.015,
"calculated_length": 16.36452797660028,
"difficulty": 2.4000000000000004,
"effort": 108.00000000000001,
"length": 15.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 7.0,
"n_2": 8.0,
"time": 6.000000000000001,
"vocabulary": 8.0,
"volume": 45.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 9.4
},
"recommendations": [],
"severity": "Low",
"start_line": 316
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts:anonymous_function_334:334",
"entity_name": "anonymous_function_334",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts",
"issues": [],
"line_number": 335,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 18,
"kind": "LogicalAnd",
"line": 335,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.010293634714211216,
"calculated_length": 12.754887502163468,
"difficulty": 2.25,
"effort": 69.4820343209257,
"length": 11.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 5.0,
"n_2": 6.0,
"time": 3.860113017829206,
"vocabulary": 7.0,
"volume": 30.880904142633646
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 335
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts:anonymous_function_343:343",
"entity_name": "anonymous_function_343",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts",
"issues": [],
"line_number": 344,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 20,
"kind": "LogicalAnd",
"line": 344,
"nesting_level": 2
},
{
"column": 46,
"kind": "LogicalOr",
"line": 344,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.017,
"calculated_length": 16.36452797660028,
"difficulty": 2.7,
"effort": 137.70000000000002,
"length": 17.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 8.0,
"n_2": 9.0,
"time": 7.650000000000001,
"vocabulary": 8.0,
"volume": 51.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 11.0
},
"recommendations": [],
"severity": "Low",
"start_line": 344
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts:broadcastAgentAttention:351",
"entity_name": "broadcastAgentAttention",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts",
"issues": [],
"line_number": 352,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 388,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 391,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.4059280926220545,
"calculated_length": 503.37181603469327,
"difficulty": 7.578947368421052,
"effort": 9229.522948038291,
"length": 190.0,
"n1": 9.0,
"n2": 76.0,
"n_1": 62.0,
"n_2": 128.0,
"time": 512.7512748910162,
"vocabulary": 85.0,
"volume": 1217.7842778661634
},
"lines_of_code": 68.0,
"maintainability_index": 65.00907590790719,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 16.0,
"technical_debt_score": 23.6
},
"recommendations": [],
"severity": "Low",
"start_line": 352
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts:anonymous_function_373:373",
"entity_name": "anonymous_function_373",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts",
"issues": [],
"line_number": 374,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 374
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts:anonymous_function_385:385",
"entity_name": "anonymous_function_385",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/server/websocket-session-bridge.ts",
"issues": [],
"line_number": 386,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 386
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/shared/messages.ts:extractSessionMessage:1578",
"entity_name": "extractSessionMessage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/shared/messages.ts",
"issues": [],
"line_number": 1579,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 1582,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.024113247839698163,
"calculated_length": 40.13896548741762,
"difficulty": 3.333333333333333,
"effort": 241.13247839698158,
"length": 19.0,
"n1": 5.0,
"n2": 9.0,
"n_1": 7.0,
"n_2": 12.0,
"time": 13.39624879983231,
"vocabulary": 14.0,
"volume": 72.33974351909448
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 1579
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/shared/messages.ts:wrapSessionMessage:1591",
"entity_name": "wrapSessionMessage",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/shared/messages.ts",
"issues": [],
"line_number": 1592,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009,
"calculated_length": 19.651484454403228,
"difficulty": 0.5714285714285714,
"effort": 15.428571428571427,
"length": 9.0,
"n1": 1.0,
"n2": 7.0,
"n_1": 1.0,
"n_2": 8.0,
"time": 0.8571428571428571,
"vocabulary": 8.0,
"volume": 27.0
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1592
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:readStdin:15",
"entity_name": "readStdin",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 16,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03891930001346158,
"calculated_length": 59.715356810271004,
"difficulty": 3.076923076923077,
"effort": 359.2550770473377,
"length": 28.0,
"n1": 5.0,
"n2": 13.0,
"n_1": 12.0,
"n_2": 16.0,
"time": 19.958615391518762,
"vocabulary": 18.0,
"volume": 116.75790004038474
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 16
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_174:174",
"entity_name": "anonymous_function_174",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 175,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005417832221403845,
"calculated_length": 6.754887502163468,
"difficulty": 1.6666666666666667,
"effort": 27.089161107019226,
"length": 7.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 5.0,
"time": 1.5049533948344014,
"vocabulary": 5.0,
"volume": 16.253496664211536
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 175
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_175:175",
"entity_name": "anonymous_function_175",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 176,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 178,
"nesting_level": 0
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 184,
"nesting_level": 0
},
{
"column": 15,
"kind": "ConditionalExpression",
"line": 188,
"nesting_level": 0
},
{
"column": 17,
"kind": "ConditionalExpression",
"line": 191,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.16475559288989025,
"calculated_length": 212.74418654194744,
"difficulty": 7.714285714285714,
"effort": 3812.91514973746,
"length": 90.0,
"n1": 10.0,
"n2": 35.0,
"n_1": 36.0,
"n_2": 54.0,
"time": 211.8286194298589,
"vocabulary": 45.0,
"volume": 494.2667786696707
},
"lines_of_code": 19.0,
"maintainability_index": 89.89409640959686,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 17.0
},
"recommendations": [],
"severity": "Low",
"start_line": 176
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_184:184",
"entity_name": "anonymous_function_184",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 185,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.0,
"difficulty": 1.5,
"effort": 15.0,
"length": 5.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.8333333333333334,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 185
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_202:202",
"entity_name": "anonymous_function_202",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 203,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 20,
"kind": "ConditionalExpression",
"line": 205,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 209,
"nesting_level": 0
},
{
"column": 20,
"kind": "ConditionalExpression",
"line": 214,
"nesting_level": 0
},
{
"column": 24,
"kind": "ConditionalExpression",
"line": 215,
"nesting_level": 0
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 216,
"nesting_level": 0
},
{
"column": 24,
"kind": "ConditionalExpression",
"line": 217,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.1875403211626422,
"calculated_length": 160.26518047667867,
"difficulty": 13.75,
"effort": 7736.038247958991,
"length": 108.0,
"n1": 11.0,
"n2": 26.0,
"n_1": 43.0,
"n_2": 65.0,
"time": 429.7799026643884,
"vocabulary": 37.0,
"volume": 562.6209634879266
},
"lines_of_code": 17.0,
"maintainability_index": 90.56239180905618,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 10.0,
"technical_debt_score": 22.2
},
"recommendations": [],
"severity": "Low",
"start_line": 203
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_205:205",
"entity_name": "anonymous_function_205",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 206,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006191808253032966,
"calculated_length": 6.754887502163468,
"difficulty": 1.6666666666666667,
"effort": 30.95904126516483,
"length": 8.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.7199467369536017,
"vocabulary": 5.0,
"volume": 18.575424759098897
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 206
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_209:209",
"entity_name": "anonymous_function_209",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 210,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.0,
"difficulty": 1.5,
"effort": 15.0,
"length": 5.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.8333333333333334,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 210
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_224:224",
"entity_name": "anonymous_function_224",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 225,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 11.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 227,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 236,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 240,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 253,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 256,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 259,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 262,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 265,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 268,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 274,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.5258344112921497,
"calculated_length": 227.95057052383706,
"difficulty": 16.57894736842105,
"effort": 26153.343087951653,
"length": 284.0,
"n1": 9.0,
"n2": 38.0,
"n_1": 144.0,
"n_2": 140.0,
"time": 1452.9635048862028,
"vocabulary": 47.0,
"volume": 1577.503233876449
},
"lines_of_code": 55.0,
"maintainability_index": 65.2604894482802,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 35.0,
"technical_debt_score": 41.800000000000004
},
"recommendations": [],
"severity": "Moderate",
"start_line": 225
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_285:285",
"entity_name": "anonymous_function_285",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 286,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 24,
"kind": "ConditionalExpression",
"line": 289,
"nesting_level": 0
},
{
"column": 24,
"kind": "ConditionalExpression",
"line": 290,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.07086913731155987,
"calculated_length": 83.65148445440323,
"difficulty": 6.34375,
"effort": 1348.7282694606238,
"length": 47.0,
"n1": 7.0,
"n2": 16.0,
"n_1": 18.0,
"n_2": 29.0,
"time": 74.92934830336799,
"vocabulary": 23.0,
"volume": 212.60741193467962
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 9.0
},
"recommendations": [],
"severity": "Low",
"start_line": 286
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_298:298",
"entity_name": "anonymous_function_298",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 299,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04672720264787944,
"calculated_length": 64.91260938324326,
"difficulty": 3.3928571428571432,
"effort": 475.6161698087729,
"length": 33.0,
"n1": 5.0,
"n2": 14.0,
"n_1": 14.0,
"n_2": 19.0,
"time": 26.423120544931827,
"vocabulary": 19.0,
"volume": 140.1816079436383
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 299
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_309:309",
"entity_name": "anonymous_function_309",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 310,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.034666666666666665,
"calculated_length": 49.66338827944708,
"difficulty": 3.4090909090909087,
"effort": 354.5454545454545,
"length": 26.0,
"n1": 5.0,
"n2": 11.0,
"n_1": 11.0,
"n_2": 15.0,
"time": 19.696969696969695,
"vocabulary": 16.0,
"volume": 104.0
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 310
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_322:322",
"entity_name": "anonymous_function_322",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [
{
"description": "Cyclomatic complexity of 22.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_322:322",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:323",
"metric_value": 22.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "High",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 39.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_322:322",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:323",
"metric_value": 39.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 323,
"metrics": {
"cognitive_complexity": 39.0,
"cyclomatic_complexity": 22.0,
"decision_points": [
{
"column": 22,
"kind": "ConditionalExpression",
"line": 330,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 333,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 337,
"nesting_level": 0
},
{
"column": 26,
"kind": "ConditionalExpression",
"line": 340,
"nesting_level": 1
},
{
"column": 26,
"kind": "ConditionalExpression",
"line": 341,
"nesting_level": 1
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 343,
"nesting_level": 1
},
{
"column": 7,
"kind": "For",
"line": 350,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 355,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 361,
"nesting_level": 1
},
{
"column": 26,
"kind": "ConditionalExpression",
"line": 374,
"nesting_level": 1
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 376,
"nesting_level": 1
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 377,
"nesting_level": 1
},
{
"column": 28,
"kind": "ConditionalExpression",
"line": 385,
"nesting_level": 1
},
{
"column": 9,
"kind": "ConditionalExpression",
"line": 387,
"nesting_level": 1
},
{
"column": 24,
"kind": "ConditionalExpression",
"line": 388,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 396,
"nesting_level": 1
},
{
"column": 9,
"kind": "For",
"line": 398,
"nesting_level": 1
},
{
"column": 29,
"kind": "ConditionalExpression",
"line": 401,
"nesting_level": 2
},
{
"column": 41,
"kind": "ConditionalExpression",
"line": 402,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 412,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 415,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.9238544748947575,
"calculated_length": 587.7316317359225,
"difficulty": 23.403614457831328,
"effort": 64864.60183673735,
"length": 419.0,
"n1": 15.0,
"n2": 83.0,
"n_1": 160.0,
"n_2": 259.0,
"time": 3603.5889909298526,
"vocabulary": 98.0,
"volume": 2771.5634246842724
},
"lines_of_code": 95.0,
"maintainability_index": 50.94592671941274,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 55.0,
"technical_debt_score": 90.20000000000002
},
"recommendations": [],
"severity": "High",
"start_line": 323
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_328:328",
"entity_name": "anonymous_function_328",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 329,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026416041678685932,
"calculated_length": 2.0,
"difficulty": 1.0,
"effort": 7.92481250360578,
"length": 5.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.44026736131143224,
"vocabulary": 3.0,
"volume": 7.92481250360578
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 329
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_331:331",
"entity_name": "anonymous_function_331",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 332,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 333,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02665148445440323,
"calculated_length": 39.50977500432694,
"difficulty": 4.125,
"effort": 329.81212012324,
"length": 21.0,
"n1": 6.0,
"n2": 8.0,
"n_1": 10.0,
"n_2": 11.0,
"time": 18.322895562402223,
"vocabulary": 14.0,
"volume": 79.9544533632097
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 3.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 332
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_338:338",
"entity_name": "anonymous_function_338",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 339,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 26,
"kind": "ConditionalExpression",
"line": 340,
"nesting_level": 1
},
{
"column": 26,
"kind": "ConditionalExpression",
"line": 341,
"nesting_level": 1
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 343,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.10468033270631506,
"calculated_length": 127.70604521880493,
"difficulty": 4.3,
"effort": 1350.3762919114643,
"length": 64.0,
"n1": 5.0,
"n2": 25.0,
"n_1": 21.0,
"n_2": 43.0,
"time": 75.02090510619246,
"vocabulary": 30.0,
"volume": 314.0409981189452
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 6.0,
"technical_debt_score": 14.6
},
"recommendations": [],
"severity": "Low",
"start_line": 339
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_367:367",
"entity_name": "anonymous_function_367",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 368,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 26,
"kind": "ConditionalExpression",
"line": 374,
"nesting_level": 1
},
{
"column": 11,
"kind": "ConditionalExpression",
"line": 376,
"nesting_level": 1
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 377,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09351278754254821,
"calculated_length": 109.71713608445735,
"difficulty": 4.659090909090909,
"effort": 1307.0537349697079,
"length": 59.0,
"n1": 5.0,
"n2": 22.0,
"n_1": 18.0,
"n_2": 41.0,
"time": 72.61409638720599,
"vocabulary": 27.0,
"volume": 280.53836262764463
},
"lines_of_code": 14.0,
"maintainability_index": 98.01637676021744,
"max_nesting_depth": 1.0,
"parameter_count": 4.0,
"statement_count": 5.0,
"technical_debt_score": 15.6
},
"recommendations": [],
"severity": "Low",
"start_line": 368
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_394:394",
"entity_name": "anonymous_function_394",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 395,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 396,
"nesting_level": 1
},
{
"column": 9,
"kind": "For",
"line": 398,
"nesting_level": 1
},
{
"column": 29,
"kind": "ConditionalExpression",
"line": 401,
"nesting_level": 2
},
{
"column": 41,
"kind": "ConditionalExpression",
"line": 402,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.11433960003879162,
"calculated_length": 136.1612434150308,
"difficulty": 10.75,
"effort": 3687.4521012510295,
"length": 68.0,
"n1": 11.0,
"n2": 22.0,
"n_1": 25.0,
"n_2": 43.0,
"time": 204.85845006950163,
"vocabulary": 33.0,
"volume": 343.01880011637485
},
"lines_of_code": 12.0,
"maintainability_index": 99.23802893964066,
"max_nesting_depth": 2.0,
"parameter_count": 3.0,
"statement_count": 11.0,
"technical_debt_score": 20.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 395
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_422:422",
"entity_name": "anonymous_function_422",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 423,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02190973358470288,
"calculated_length": 27.651484454403228,
"difficulty": 3.142857142857143,
"effort": 206.57748808434147,
"length": 19.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 8.0,
"n_2": 11.0,
"time": 11.476527115796749,
"vocabulary": 11.0,
"volume": 65.72920075410865
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 423
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_430:430",
"entity_name": "anonymous_function_430",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 431,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02190973358470288,
"calculated_length": 27.651484454403228,
"difficulty": 3.142857142857143,
"effort": 206.57748808434147,
"length": 19.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 8.0,
"n_2": 11.0,
"time": 11.476527115796749,
"vocabulary": 11.0,
"volume": 65.72920075410865
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 431
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_447:447",
"entity_name": "anonymous_function_447",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 448,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005417832221403845,
"calculated_length": 6.754887502163468,
"difficulty": 1.6666666666666667,
"effort": 27.089161107019226,
"length": 7.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 5.0,
"time": 1.5049533948344014,
"vocabulary": 5.0,
"volume": 16.253496664211536
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 448
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_448:448",
"entity_name": "anonymous_function_448",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 449,
"metrics": {
"cognitive_complexity": 17.0,
"cyclomatic_complexity": 14.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 451,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 458,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 462,
"nesting_level": 0
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 463,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 466,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 470,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 474,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 475,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 483,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 491,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 491,
"nesting_level": 1
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 491,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 496,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.4565544085049685,
"calculated_length": 267.7653485251756,
"difficulty": 18.390243902439025,
"effort": 25188.440781420457,
"length": 238.0,
"n1": 13.0,
"n2": 41.0,
"n_1": 122.0,
"n_2": 116.0,
"time": 1399.3578211900253,
"vocabulary": 54.0,
"volume": 1369.6632255149054
},
"lines_of_code": 51.0,
"maintainability_index": 66.52835987724742,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 28.0,
"technical_debt_score": 51.800000000000004
},
"recommendations": [],
"severity": "Moderate",
"start_line": 449
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_506:506",
"entity_name": "anonymous_function_506",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 507,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 508,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 508,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 513,
"nesting_level": 0
},
{
"column": 9,
"kind": "LogicalAnd",
"line": 513,
"nesting_level": 1
},
{
"column": 31,
"kind": "ConditionalExpression",
"line": 518,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 519,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.13931568569324174,
"calculated_length": 91.82263988300141,
"difficulty": 14.666666666666666,
"effort": 6129.890170502636,
"length": 90.0,
"n1": 10.0,
"n2": 15.0,
"n_1": 46.0,
"n_2": 44.0,
"time": 340.5494539168131,
"vocabulary": 25.0,
"volume": 417.9470570797252
},
"lines_of_code": 17.0,
"maintainability_index": 92.10809903893457,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 10.0,
"technical_debt_score": 23.799999999999997
},
"recommendations": [],
"severity": "Low",
"start_line": 507
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_528:528",
"entity_name": "anonymous_function_528",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 529,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 531,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 537,
"nesting_level": 0
},
{
"column": 24,
"kind": "ConditionalExpression",
"line": 543,
"nesting_level": 0
},
{
"column": 24,
"kind": "ConditionalExpression",
"line": 544,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.15216872950270066,
"calculated_length": 148.09284782231802,
"difficulty": 11.229166666666666,
"effort": 5126.184075122229,
"length": 89.0,
"n1": 11.0,
"n2": 24.0,
"n_1": 40.0,
"n_2": 49.0,
"time": 284.7880041734572,
"vocabulary": 35.0,
"volume": 456.506188508102
},
"lines_of_code": 18.0,
"maintainability_index": 91.1832457889668,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 16.8
},
"recommendations": [],
"severity": "Low",
"start_line": 529
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_552:552",
"entity_name": "anonymous_function_552",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 553,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017716949839399265,
"calculated_length": 23.509775004326936,
"difficulty": 2.6666666666666665,
"effort": 141.7355987151941,
"length": 16.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 8.0,
"n_2": 8.0,
"time": 7.874199928621895,
"vocabulary": 10.0,
"volume": 53.150849518197795
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 553
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_560:560",
"entity_name": "anonymous_function_560",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 561,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.021509775004326936,
"calculated_length": 32.0,
"difficulty": 2.5,
"effort": 161.323312532452,
"length": 18.0,
"n1": 4.0,
"n2": 8.0,
"n_1": 8.0,
"n_2": 10.0,
"time": 8.96240625180289,
"vocabulary": 12.0,
"volume": 64.5293250129808
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 561
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_568:568",
"entity_name": "anonymous_function_568",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 569,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.021509775004326936,
"calculated_length": 32.0,
"difficulty": 2.5,
"effort": 161.323312532452,
"length": 18.0,
"n1": 4.0,
"n2": 8.0,
"n_1": 8.0,
"n_2": 10.0,
"time": 8.96240625180289,
"vocabulary": 12.0,
"volume": 64.5293250129808
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 569
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_576:576",
"entity_name": "anonymous_function_576",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 577,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017716949839399265,
"calculated_length": 23.509775004326936,
"difficulty": 2.6666666666666665,
"effort": 141.7355987151941,
"length": 16.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 8.0,
"n_2": 8.0,
"time": 7.874199928621895,
"vocabulary": 10.0,
"volume": 53.150849518197795
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 577
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_584:584",
"entity_name": "anonymous_function_584",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 585,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017716949839399265,
"calculated_length": 23.509775004326936,
"difficulty": 2.6666666666666665,
"effort": 141.7355987151941,
"length": 16.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 8.0,
"n_2": 8.0,
"time": 7.874199928621895,
"vocabulary": 10.0,
"volume": 53.150849518197795
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 585
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_593:593",
"entity_name": "anonymous_function_593",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 594,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017716949839399265,
"calculated_length": 23.509775004326936,
"difficulty": 2.6666666666666665,
"effort": 141.7355987151941,
"length": 16.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 8.0,
"n_2": 8.0,
"time": 7.874199928621895,
"vocabulary": 10.0,
"volume": 53.150849518197795
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 594
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_601:601",
"entity_name": "anonymous_function_601",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 602,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017716949839399265,
"calculated_length": 23.509775004326936,
"difficulty": 2.6666666666666665,
"effort": 141.7355987151941,
"length": 16.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 8.0,
"n_2": 8.0,
"time": 7.874199928621895,
"vocabulary": 10.0,
"volume": 53.150849518197795
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 602
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:parseModelString:615",
"entity_name": "parseModelString",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 616,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 620,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05654787084222759,
"calculated_length": 88.0,
"difficulty": 6.0,
"effort": 1017.8616751600966,
"length": 37.0,
"n1": 8.0,
"n2": 16.0,
"n_1": 13.0,
"n_2": 24.0,
"time": 56.54787084222759,
"vocabulary": 24.0,
"volume": 169.64361252668277
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 5.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 616
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:getAgentConfig:629",
"entity_name": "getAgentConfig",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 630,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 632,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03398342010754868,
"calculated_length": 64.91260938324326,
"difficulty": 3.0357142857142856,
"effort": 309.4918616937469,
"length": 24.0,
"n1": 5.0,
"n2": 14.0,
"n_1": 7.0,
"n_2": 17.0,
"time": 17.19399231631927,
"vocabulary": 19.0,
"volume": 101.95026032264605
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 630
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:runAgentWithModel:638",
"entity_name": "runAgentWithModel",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 639,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 647,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 649,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 662,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.25775642045534397,
"calculated_length": 268.7443162330219,
"difficulty": 8.488636363636363,
"effort": 6564.001570913929,
"length": 135.0,
"n1": 9.0,
"n2": 44.0,
"n_1": 52.0,
"n_2": 83.0,
"time": 364.6667539396627,
"vocabulary": 53.0,
"volume": 773.2692613660319
},
"lines_of_code": 43.0,
"maintainability_index": 74.56529605719871,
"max_nesting_depth": 1.0,
"parameter_count": 3.0,
"statement_count": 18.0,
"technical_debt_score": 20.6
},
"recommendations": [],
"severity": "Low",
"start_line": 639
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:buildTaskContext:683",
"entity_name": "buildTaskContext",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 684,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 687,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 691,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 700,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 700,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 702,
"nesting_level": 1
},
{
"column": 61,
"kind": "ConditionalExpression",
"line": 703,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.20180112550728116,
"calculated_length": 182.71165415344709,
"difficulty": 14.625,
"effort": 8854.024381631962,
"length": 113.0,
"n1": 13.0,
"n2": 28.0,
"n_1": 50.0,
"n_2": 63.0,
"time": 491.89024342399784,
"vocabulary": 41.0,
"volume": 605.4033765218435
},
"lines_of_code": 26.0,
"maintainability_index": 83.29818221970746,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 16.0,
"technical_debt_score": 27.999999999999996
},
"recommendations": [],
"severity": "Low",
"start_line": 684
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_699:699",
"entity_name": "anonymous_function_699",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 700,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 7,
"kind": "LogicalAnd",
"line": 700,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 700
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:makePlannerPrompt:711",
"entity_name": "makePlannerPrompt",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 712,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.029,
"calculated_length": 17.509775004326936,
"difficulty": 3.5,
"effort": 304.5,
"length": 29.0,
"n1": 2.0,
"n2": 6.0,
"n_1": 8.0,
"n_2": 21.0,
"time": 16.916666666666668,
"vocabulary": 8.0,
"volume": 87.0
},
"lines_of_code": 196.0,
"maintainability_index": 62.04182030346182,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 1.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 712
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:makeWorkerPrompt:909",
"entity_name": "makeWorkerPrompt",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 910,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014,
"calculated_length": 17.509775004326936,
"difficulty": 1.8333333333333333,
"effort": 77.0,
"length": 14.0,
"n1": 2.0,
"n2": 6.0,
"n_1": 3.0,
"n_2": 11.0,
"time": 4.277777777777778,
"vocabulary": 8.0,
"volume": 42.0
},
"lines_of_code": 27.0,
"maintainability_index": 97.94156075565638,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 1.0,
"technical_debt_score": 7.400000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 910
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:makeJudgePrompt:938",
"entity_name": "makeJudgePrompt",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 939,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009357849740192013,
"calculated_length": 13.60964047443681,
"difficulty": 1.4,
"effort": 39.302968908806456,
"length": 10.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 3.0,
"n_2": 7.0,
"time": 2.1834982727114696,
"vocabulary": 7.0,
"volume": 28.07354922057604
},
"lines_of_code": 101.0,
"maintainability_index": 78.66394294157088,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 939
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:getLogFile:1041",
"entity_name": "getLogFile",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 1042,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "While",
"line": 1044,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.014395021744511903,
"calculated_length": 23.509775004326936,
"difficulty": 5.25,
"effort": 226.72159247606248,
"length": 13.0,
"n1": 6.0,
"n2": 4.0,
"n_1": 6.0,
"n_2": 7.0,
"time": 12.595644026447916,
"vocabulary": 10.0,
"volume": 43.18506523353571
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1042
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:log:1049",
"entity_name": "log",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 1050,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.030458839376460836,
"calculated_length": 41.219280948873624,
"difficulty": 3.0,
"effort": 274.12955438814754,
"length": 24.0,
"n1": 4.0,
"n2": 10.0,
"n_1": 9.0,
"n_2": 15.0,
"time": 15.229419688230418,
"vocabulary": 14.0,
"volume": 91.3765181293825
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 1050
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:parseJudgeVerdict:1055",
"entity_name": "parseJudgeVerdict",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 1056,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 1059,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.05417191488093805,
"calculated_length": 72.10571633583419,
"difficulty": 7.384615384615385,
"effort": 1200.1162681315507,
"length": 37.0,
"n1": 8.0,
"n2": 13.0,
"n_1": 13.0,
"n_2": 24.0,
"time": 66.67312600730837,
"vocabulary": 21.0,
"volume": 162.51574464281416
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1056
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_1071:1071",
"entity_name": "anonymous_function_1071",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [
{
"description": "Cyclomatic complexity of 50.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_1071:1071",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:1072",
"metric_value": 50.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 154.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_1071:1071",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:1072",
"metric_value": 154.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
},
{
"description": "Maximum nesting depth of 7.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_1071:1071",
"issue_type": "DeepNesting",
"location": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:1072",
"metric_value": 7.0,
"recommendation": "Reduce nesting by using early returns or extracting functions",
"severity": "High",
"threshold": 6.0
}
],
"line_number": 1072,
"metrics": {
"cognitive_complexity": 154.0,
"cyclomatic_complexity": 50.0,
"decision_points": [
{
"column": 38,
"kind": "ConditionalExpression",
"line": 1082,
"nesting_level": 0
},
{
"column": 45,
"kind": "ConditionalExpression",
"line": 1085,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 1086,
"nesting_level": 0
},
{
"column": 42,
"kind": "ConditionalExpression",
"line": 1090,
"nesting_level": 0
},
{
"column": 164,
"kind": "LogicalOr",
"line": 1090,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1100,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1107,
"nesting_level": 0
},
{
"column": 24,
"kind": "ConditionalExpression",
"line": 1118,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1123,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1132,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1132,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1134,
"nesting_level": 1
},
{
"column": 7,
"kind": "While",
"line": 1144,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1148,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1156,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1156,
"nesting_level": 2
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 1157,
"nesting_level": 2
},
{
"column": 35,
"kind": "ConditionalExpression",
"line": 1169,
"nesting_level": 1
},
{
"column": 9,
"kind": "While",
"line": 1172,
"nesting_level": 1
},
{
"column": 16,
"kind": "LogicalAnd",
"line": 1172,
"nesting_level": 2
},
{
"column": 17,
"kind": "LogicalOr",
"line": 1172,
"nesting_level": 2
},
{
"column": 29,
"kind": "ConditionalExpression",
"line": 1173,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1177,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1177,
"nesting_level": 3
},
{
"column": 13,
"kind": "If",
"line": 1179,
"nesting_level": 3
},
{
"column": 15,
"kind": "If",
"line": 1181,
"nesting_level": 4
},
{
"column": 17,
"kind": "If",
"line": 1190,
"nesting_level": 5
},
{
"column": 19,
"kind": "If",
"line": 1192,
"nesting_level": 6
},
{
"column": 23,
"kind": "LogicalAnd",
"line": 1192,
"nesting_level": 7
},
{
"column": 11,
"kind": "If",
"line": 1203,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1212,
"nesting_level": 2
},
{
"column": 44,
"kind": "LogicalOr",
"line": 1218,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1220,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 1228,
"nesting_level": 3
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 1228,
"nesting_level": 4
},
{
"column": 13,
"kind": "If",
"line": 1233,
"nesting_level": 3
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 1233,
"nesting_level": 4
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 1233,
"nesting_level": 4
},
{
"column": 15,
"kind": "If",
"line": 1236,
"nesting_level": 4
},
{
"column": 17,
"kind": "If",
"line": 1240,
"nesting_level": 5
},
{
"column": 19,
"kind": "If",
"line": 1243,
"nesting_level": 6
},
{
"column": 23,
"kind": "LogicalAnd",
"line": 1243,
"nesting_level": 7
},
{
"column": 9,
"kind": "If",
"line": 1254,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1254,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1256,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1256,
"nesting_level": 3
},
{
"column": 5,
"kind": "If",
"line": 1267,
"nesting_level": 0
},
{
"column": 7,
"kind": "While",
"line": 1269,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1272,
"nesting_level": 2
}
],
"halstead": {
"bugs": 2.1653173504355783,
"calculated_length": 951.4336583381889,
"difficulty": 37.544,
"effort": 243884.02381426003,
"length": 906.0,
"n1": 19.0,
"n2": 125.0,
"n_1": 412.0,
"n_2": 494.0,
"time": 13549.112434125556,
"vocabulary": 144.0,
"volume": 6495.952051306735
},
"lines_of_code": 210.0,
"maintainability_index": 27.226398599517466,
"max_nesting_depth": 7.0,
"parameter_count": 2.0,
"statement_count": 137.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 1072
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_1091:1091",
"entity_name": "anonymous_function_1091",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 1092,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 1100,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1107,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.13396985481959225,
"calculated_length": 146.21143267166838,
"difficulty": 7.230769230769231,
"effort": 2906.115312240386,
"length": 79.0,
"n1": 8.0,
"n2": 26.0,
"n_1": 32.0,
"n_2": 47.0,
"time": 161.45085068002146,
"vocabulary": 34.0,
"volume": 401.9095644587768
},
"lines_of_code": 21.0,
"maintainability_index": 89.80835559263534,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 13.0,
"technical_debt_score": 11.799999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 1092
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_1099:1099",
"entity_name": "anonymous_function_1099",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 1100,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1100
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_1114:1114",
"entity_name": "anonymous_function_1114",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [
{
"description": "Cyclomatic complexity of 40.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_1114:1114",
"issue_type": "HighCyclomaticComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:1115",
"metric_value": 40.0,
"recommendation": "Consider breaking this function into smaller, more focused functions",
"severity": "Critical",
"threshold": 15.0
},
{
"description": "Cognitive complexity of 141.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_1114:1114",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:1115",
"metric_value": 141.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "Critical",
"threshold": 25.0
},
{
"description": "Maximum nesting depth of 7.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_1114:1114",
"issue_type": "DeepNesting",
"location": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:1115",
"metric_value": 7.0,
"recommendation": "Reduce nesting by using early returns or extracting functions",
"severity": "High",
"threshold": 6.0
}
],
"line_number": 1115,
"metrics": {
"cognitive_complexity": 141.0,
"cyclomatic_complexity": 40.0,
"decision_points": [
{
"column": 24,
"kind": "ConditionalExpression",
"line": 1118,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1123,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 1132,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalAnd",
"line": 1132,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1134,
"nesting_level": 1
},
{
"column": 7,
"kind": "While",
"line": 1144,
"nesting_level": 0
},
{
"column": 9,
"kind": "If",
"line": 1148,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 1156,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1156,
"nesting_level": 2
},
{
"column": 25,
"kind": "ConditionalExpression",
"line": 1157,
"nesting_level": 2
},
{
"column": 35,
"kind": "ConditionalExpression",
"line": 1169,
"nesting_level": 1
},
{
"column": 9,
"kind": "While",
"line": 1172,
"nesting_level": 1
},
{
"column": 16,
"kind": "LogicalAnd",
"line": 1172,
"nesting_level": 2
},
{
"column": 17,
"kind": "LogicalOr",
"line": 1172,
"nesting_level": 2
},
{
"column": 29,
"kind": "ConditionalExpression",
"line": 1173,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1177,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1177,
"nesting_level": 3
},
{
"column": 13,
"kind": "If",
"line": 1179,
"nesting_level": 3
},
{
"column": 15,
"kind": "If",
"line": 1181,
"nesting_level": 4
},
{
"column": 17,
"kind": "If",
"line": 1190,
"nesting_level": 5
},
{
"column": 19,
"kind": "If",
"line": 1192,
"nesting_level": 6
},
{
"column": 23,
"kind": "LogicalAnd",
"line": 1192,
"nesting_level": 7
},
{
"column": 11,
"kind": "If",
"line": 1203,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1212,
"nesting_level": 2
},
{
"column": 44,
"kind": "LogicalOr",
"line": 1218,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1220,
"nesting_level": 2
},
{
"column": 13,
"kind": "If",
"line": 1228,
"nesting_level": 3
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 1228,
"nesting_level": 4
},
{
"column": 13,
"kind": "If",
"line": 1233,
"nesting_level": 3
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 1233,
"nesting_level": 4
},
{
"column": 17,
"kind": "LogicalAnd",
"line": 1233,
"nesting_level": 4
},
{
"column": 15,
"kind": "If",
"line": 1236,
"nesting_level": 4
},
{
"column": 17,
"kind": "If",
"line": 1240,
"nesting_level": 5
},
{
"column": 19,
"kind": "If",
"line": 1243,
"nesting_level": 6
},
{
"column": 23,
"kind": "LogicalAnd",
"line": 1243,
"nesting_level": 7
},
{
"column": 9,
"kind": "If",
"line": 1254,
"nesting_level": 1
},
{
"column": 13,
"kind": "LogicalAnd",
"line": 1254,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 1256,
"nesting_level": 2
},
{
"column": 15,
"kind": "LogicalAnd",
"line": 1256,
"nesting_level": 3
}
],
"halstead": {
"bugs": 1.3863344426359872,
"calculated_length": 622.1456372056361,
"difficulty": 33.20930232558139,
"effort": 138117.5988895946,
"length": 622.0,
"n1": 17.0,
"n2": 86.0,
"n_1": 286.0,
"n_2": 336.0,
"time": 7673.199938310811,
"vocabulary": 103.0,
"volume": 4159.003327907962
},
"lines_of_code": 148.0,
"maintainability_index": 37.51340131747469,
"max_nesting_depth": 7.0,
"parameter_count": 0.0,
"statement_count": 93.0,
"technical_debt_score": 100.0
},
"recommendations": [],
"severity": "Critical",
"start_line": 1115
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_1121:1121",
"entity_name": "anonymous_function_1121",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 1122,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1122
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_1169:1169",
"entity_name": "anonymous_function_1169",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 1170,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 25.84962500721156,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.43609027817842,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1170
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_1179:1179",
"entity_name": "anonymous_function_1179",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 1180,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 25.84962500721156,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.43609027817842,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1180
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_1182:1182",
"entity_name": "anonymous_function_1182",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 1183,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 25.84962500721156,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.43609027817842,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1183
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_1184:1184",
"entity_name": "anonymous_function_1184",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 1185,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 25.84962500721156,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.43609027817842,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1185
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts:anonymous_function_1269:1269",
"entity_name": "anonymous_function_1269",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/cli.ts",
"issues": [],
"line_number": 1270,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1270
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:addTask:10",
"entity_name": "addTask",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 11,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.013736341672916685,
"calculated_length": 20.264662506490403,
"difficulty": 2.0,
"effort": 82.41805003750011,
"length": 13.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 4.578780557638895,
"vocabulary": 9.0,
"volume": 41.209025018750054
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 11
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:list:14",
"entity_name": "list",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 15,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009,
"calculated_length": 16.36452797660028,
"difficulty": 1.5,
"effort": 40.5,
"length": 9.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 5.0,
"time": 2.25,
"vocabulary": 8.0,
"volume": 27.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 15
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:get:18",
"entity_name": "get",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 19,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.017297158093186486,
"calculated_length": 27.651484454403228,
"difficulty": 2.857142857142857,
"effort": 148.2613550844556,
"length": 15.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 5.0,
"n_2": 10.0,
"time": 8.236741949136423,
"vocabulary": 11.0,
"volume": 51.89147427955946
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 19
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:getDescendants:22",
"entity_name": "getDescendants",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 23,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 27,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05856423230371681,
"calculated_length": 72.10571633583419,
"difficulty": 7.076923076923077,
"effort": 1243.3637012173722,
"length": 40.0,
"n1": 8.0,
"n2": 13.0,
"n_1": 17.0,
"n_2": 23.0,
"time": 69.0757611787429,
"vocabulary": 21.0,
"volume": 175.69269691115042
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 8.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 23
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:anonymous_function_24:24",
"entity_name": "anonymous_function_24",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 25,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 9,
"kind": "If",
"line": 27,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.036,
"calculated_length": 48.18080946738404,
"difficulty": 5.055555555555555,
"effort": 546.0,
"length": 27.0,
"n1": 7.0,
"n2": 9.0,
"n_1": 14.0,
"n_2": 13.0,
"time": 30.333333333333332,
"vocabulary": 16.0,
"volume": 108.0
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 25
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:getDepTree:37",
"entity_name": "getDepTree",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 38,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.754887502163468,
"difficulty": 0.5,
"effort": 4.0,
"length": 4.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.2222222222222222,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 38
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:getAncestors:40",
"entity_name": "getAncestors",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 41,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.754887502163468,
"difficulty": 0.5,
"effort": 4.0,
"length": 4.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.2222222222222222,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 41
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:getChildren:43",
"entity_name": "getChildren",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 44,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02343611821489358,
"calculated_length": 36.529325012980806,
"difficulty": 2.4444444444444446,
"effort": 171.86486690921961,
"length": 19.0,
"n1": 4.0,
"n2": 9.0,
"n_1": 8.0,
"n_2": 11.0,
"time": 9.548048161623312,
"vocabulary": 13.0,
"volume": 70.30835464468075
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 44
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:anonymous_function_44:44",
"entity_name": "anonymous_function_44",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 45,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 45
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:getReady:46",
"entity_name": "getReady",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 47,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.754887502163468,
"difficulty": 0.5,
"effort": 4.0,
"length": 4.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.2222222222222222,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 47
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:getBlocked:49",
"entity_name": "getBlocked",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 50,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.754887502163468,
"difficulty": 0.5,
"effort": 4.0,
"length": 4.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.2222222222222222,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 50
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:getClosed:52",
"entity_name": "getClosed",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 53,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026666666666666666,
"calculated_length": 4.754887502163468,
"difficulty": 0.5,
"effort": 4.0,
"length": 4.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.2222222222222222,
"vocabulary": 4.0,
"volume": 8.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 53
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:create:55",
"entity_name": "create",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 56,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.00655049481813441,
"calculated_length": 13.60964047443681,
"difficulty": 1.0,
"effort": 19.651484454403228,
"length": 7.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 2.0,
"n_2": 5.0,
"time": 1.0917491363557348,
"vocabulary": 7.0,
"volume": 19.651484454403228
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 56
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:update:58",
"entity_name": "update",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 59,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.00655049481813441,
"calculated_length": 13.60964047443681,
"difficulty": 1.0,
"effort": 19.651484454403228,
"length": 7.0,
"n1": 2.0,
"n2": 5.0,
"n_1": 2.0,
"n_2": 5.0,
"time": 1.0917491363557348,
"vocabulary": 7.0,
"volume": 19.651484454403228
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 59
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:delete:61",
"entity_name": "delete",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 62,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 15.509775004326936,
"length": 6.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.861654166907052,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 62
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:addDep:64",
"entity_name": "addDep",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 65,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 15.509775004326936,
"length": 6.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.861654166907052,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 65
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:removeDep:67",
"entity_name": "removeDep",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 68,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 15.509775004326936,
"length": 6.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.861654166907052,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 68
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:setParent:70",
"entity_name": "setParent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 71,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 15.509775004326936,
"length": 6.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.861654166907052,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 71
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:addNote:73",
"entity_name": "addNote",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 74,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 15.509775004326936,
"length": 6.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.861654166907052,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 74
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:open:76",
"entity_name": "open",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 77,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 15.509775004326936,
"length": 6.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.861654166907052,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 77
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:start:79",
"entity_name": "start",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 80,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 15.509775004326936,
"length": 6.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.861654166907052,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 80
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:close:82",
"entity_name": "close",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 83,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 15.509775004326936,
"length": 6.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.861654166907052,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 83
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:fail:85",
"entity_name": "fail",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 86,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 15.509775004326936,
"length": 6.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.861654166907052,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 86
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:addAcceptanceCriteria:88",
"entity_name": "addAcceptanceCriteria",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 89,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.005169925001442312,
"calculated_length": 10.0,
"difficulty": 1.0,
"effort": 15.509775004326936,
"length": 6.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 0.861654166907052,
"vocabulary": 6.0,
"volume": 15.509775004326936
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 89
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:makeTask:93",
"entity_name": "makeTask",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 94,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.08358941141594504,
"calculated_length": 98.04820237218406,
"difficulty": 5.0,
"effort": 1253.8411712391755,
"length": 54.0,
"n1": 5.0,
"n2": 20.0,
"n_1": 14.0,
"n_2": 40.0,
"time": 69.65784284662087,
"vocabulary": 25.0,
"volume": 250.76823424783512
},
"lines_of_code": 23.0,
"maintainability_index": 91.24744215817623,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 94
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:anonymous_function_118:118",
"entity_name": "anonymous_function_118",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 119,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 1.6305779535284772,
"calculated_length": 467.3669678025682,
"difficulty": 19.726027397260275,
"effort": 96494.476154014,
"length": 776.0,
"n1": 6.0,
"n2": 73.0,
"n_1": 296.0,
"n_2": 480.0,
"time": 5360.804230778555,
"vocabulary": 79.0,
"volume": 4891.733860585432
},
"lines_of_code": 233.0,
"maintainability_index": 38.28760617206909,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 82.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 119
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:anonymous_function_121:121",
"entity_name": "anonymous_function_121",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 122,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.5,
"effort": 17.414460711655217,
"length": 5.0,
"n1": 3.0,
"n2": 2.0,
"n_1": 3.0,
"n_2": 2.0,
"time": 0.9674700395364009,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 122
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:anonymous_function_125:125",
"entity_name": "anonymous_function_125",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 126,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04948728087770791,
"calculated_length": 46.05374780501027,
"difficulty": 3.4545454545454546,
"effort": 512.8681836417002,
"length": 38.0,
"n1": 4.0,
"n2": 11.0,
"n_1": 19.0,
"n_2": 19.0,
"time": 28.49267686898334,
"vocabulary": 15.0,
"volume": 148.46184263312372
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 126
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:anonymous_function_132:132",
"entity_name": "anonymous_function_132",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 133,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.09826767504471169,
"calculated_length": 112.0419249893113,
"difficulty": 3.4782608695652173,
"effort": 1025.4018265535133,
"length": 62.0,
"n1": 4.0,
"n2": 23.0,
"n_1": 22.0,
"n_2": 40.0,
"time": 56.96676814186185,
"vocabulary": 27.0,
"volume": 294.80302513413505
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 133
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:anonymous_function_138:138",
"entity_name": "anonymous_function_138",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 139,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 139
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:anonymous_function_143:143",
"entity_name": "anonymous_function_143",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 144,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.089781219668978,
"calculated_length": 100.23866587835397,
"difficulty": 3.4285714285714284,
"effort": 923.4639737380594,
"length": 58.0,
"n1": 4.0,
"n2": 21.0,
"n_1": 22.0,
"n_2": 36.0,
"time": 51.303554096558855,
"vocabulary": 25.0,
"volume": 269.343659006934
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 144
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:anonymous_function_149:149",
"entity_name": "anonymous_function_149",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 150,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 150
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:anonymous_function_155:155",
"entity_name": "anonymous_function_155",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 156,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.08864260834727569,
"calculated_length": 94.43856189774725,
"difficulty": 3.6,
"effort": 957.3401701505775,
"length": 58.0,
"n1": 4.0,
"n2": 20.0,
"n_1": 22.0,
"n_2": 36.0,
"time": 53.185565008365415,
"vocabulary": 24.0,
"volume": 265.9278250418271
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 156
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:anonymous_function_162:162",
"entity_name": "anonymous_function_162",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 163,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 163
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:anonymous_function_168:168",
"entity_name": "anonymous_function_168",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 169,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.09322757084799685,
"calculated_length": 94.43856189774725,
"difficulty": 3.9,
"effort": 1090.762578921563,
"length": 61.0,
"n1": 4.0,
"n2": 20.0,
"n_1": 22.0,
"n_2": 39.0,
"time": 60.59792105119795,
"vocabulary": 24.0,
"volume": 279.68271254399053
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 169
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:anonymous_function_175:175",
"entity_name": "anonymous_function_175",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 176,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 176
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:anonymous_function_181:181",
"entity_name": "anonymous_function_181",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 182,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.2326889169980931,
"calculated_length": 174.46500593882897,
"difficulty": 5.575757575757576,
"effort": 3892.2509752408305,
"length": 134.0,
"n1": 4.0,
"n2": 33.0,
"n_1": 42.0,
"n_2": 92.0,
"time": 216.23616529115725,
"vocabulary": 37.0,
"volume": 698.0667509942793
},
"lines_of_code": 82.0,
"maintainability_index": 65.32991159838718,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 11.0,
"technical_debt_score": 18.4
},
"recommendations": [],
"severity": "Low",
"start_line": 182
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:anonymous_function_242:242",
"entity_name": "anonymous_function_242",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 243,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 243
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:anonymous_function_265:265",
"entity_name": "anonymous_function_265",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 266,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.12630750587331688,
"calculated_length": 124.09640474436812,
"difficulty": 4.16,
"effort": 1576.3176732989946,
"length": 78.0,
"n1": 4.0,
"n2": 25.0,
"n_1": 26.0,
"n_2": 52.0,
"time": 87.57320407216636,
"vocabulary": 29.0,
"volume": 378.9225176199506
},
"lines_of_code": 34.0,
"maintainability_index": 82.76883442625913,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 8.8
},
"recommendations": [],
"severity": "Low",
"start_line": 266
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:anonymous_function_295:295",
"entity_name": "anonymous_function_295",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 296,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 296
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:anonymous_function_301:301",
"entity_name": "anonymous_function_301",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 302,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.09287712379549448,
"calculated_length": 100.23866587835397,
"difficulty": 3.619047619047619,
"effort": 1008.3802012082259,
"length": 60.0,
"n1": 4.0,
"n2": 21.0,
"n_1": 22.0,
"n_2": 38.0,
"time": 56.02112228934588,
"vocabulary": 25.0,
"volume": 278.63137138648347
},
"lines_of_code": 14.0,
"maintainability_index": 98.74184503504057,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 4.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 302
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:anonymous_function_311:311",
"entity_name": "anonymous_function_311",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 312,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 312
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:anonymous_function_317:317",
"entity_name": "anonymous_function_317",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 318,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.09087516788406111,
"calculated_length": 106.10749561002054,
"difficulty": 3.0,
"effort": 817.87651095655,
"length": 58.0,
"n1": 4.0,
"n2": 22.0,
"n_1": 25.0,
"n_2": 33.0,
"time": 45.43758394203056,
"vocabulary": 26.0,
"volume": 272.62550365218334
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 318
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:anonymous_function_326:326",
"entity_name": "anonymous_function_326",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 327,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 327
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:anonymous_function_330:330",
"entity_name": "anonymous_function_330",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 331,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.09810749561002054,
"calculated_length": 83.05865002596161,
"difficulty": 4.111111111111111,
"effort": 1209.9924458569199,
"length": 66.0,
"n1": 4.0,
"n2": 18.0,
"n_1": 29.0,
"n_2": 37.0,
"time": 67.22180254760666,
"vocabulary": 22.0,
"volume": 294.3224868300616
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 331
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:anonymous_function_342:342",
"entity_name": "anonymous_function_342",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 343,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.07488772084511222,
"calculated_length": 94.43856189774725,
"difficulty": 3.1,
"effort": 696.4558038595436,
"length": 49.0,
"n1": 4.0,
"n2": 20.0,
"n_1": 18.0,
"n_2": 31.0,
"time": 38.691989103307975,
"vocabulary": 24.0,
"volume": 224.66316253533665
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 343
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:anonymous_function_347:347",
"entity_name": "anonymous_function_347",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 348,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 348
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:anonymous_function_353:353",
"entity_name": "anonymous_function_353",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 354,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.19156225733495919,
"calculated_length": 133.8210731461052,
"difficulty": 7.788461538461538,
"effort": 4475.9258204226035,
"length": 116.0,
"n1": 5.0,
"n2": 26.0,
"n_1": 35.0,
"n_2": 81.0,
"time": 248.66254557903352,
"vocabulary": 31.0,
"volume": 574.6867720048775
},
"lines_of_code": 39.0,
"maintainability_index": 78.38041056293906,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 9.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 354
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:anonymous_function_354:354",
"entity_name": "anonymous_function_354",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 355,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.09614709844115209,
"calculated_length": 115.65156546374811,
"difficulty": 4.782608695652174,
"effort": 1379.5018471991386,
"length": 60.0,
"n1": 5.0,
"n2": 23.0,
"n_1": 16.0,
"n_2": 44.0,
"time": 76.63899151106325,
"vocabulary": 28.0,
"volume": 288.44129532345625
},
"lines_of_code": 20.0,
"maintainability_index": 92.78378093771748,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 355
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:anonymous_function_373:373",
"entity_name": "anonymous_function_373",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 374,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 374
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:anonymous_function_376:376",
"entity_name": "anonymous_function_376",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 377,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0733594000115385,
"calculated_length": 92.32026322986493,
"difficulty": 4.342105263157895,
"effort": 955.6027106766198,
"length": 48.0,
"n1": 5.0,
"n2": 19.0,
"n_1": 15.0,
"n_2": 33.0,
"time": 53.08903948203444,
"vocabulary": 24.0,
"volume": 220.0782000346155
},
"lines_of_code": 15.0,
"maintainability_index": 98.85087546508447,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 5.0
},
"recommendations": [],
"severity": "Low",
"start_line": 377
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts:anonymous_function_390:390",
"entity_name": "anonymous_function_390",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.test.ts",
"issues": [],
"line_number": 391,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 391
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts:sortByPriorityThenCreated:2",
"entity_name": "sortByPriorityThenCreated",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts",
"issues": [],
"line_number": 3,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 4,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 4,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 5,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 5,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 6,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 6,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 7,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09116078056419877,
"calculated_length": 43.65148445440323,
"difficulty": 14.0,
"effort": 3828.7527836963486,
"length": 70.0,
"n1": 7.0,
"n2": 8.0,
"n_1": 38.0,
"n_2": 32.0,
"time": 212.70848798313048,
"vocabulary": 15.0,
"volume": 273.4823416925963
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 8.0,
"technical_debt_score": 26.200000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 3
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts:computeExecutionOrder:28",
"entity_name": "computeExecutionOrder",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts",
"issues": [],
"line_number": 29,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 9.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 38,
"nesting_level": 0
},
{
"column": 18,
"kind": "ConditionalExpression",
"line": 41,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 49,
"nesting_level": 0
},
{
"column": 22,
"kind": "LogicalOr",
"line": 65,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 71,
"nesting_level": 0
},
{
"column": 12,
"kind": "LogicalAnd",
"line": 79,
"nesting_level": 0
},
{
"column": 3,
"kind": "While",
"line": 96,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 102,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.7283100055329045,
"calculated_length": 487.13859851609885,
"difficulty": 27.93283582089552,
"effort": 61031.29143379838,
"length": 340.0,
"n1": 19.0,
"n2": 67.0,
"n_1": 143.0,
"n_2": 197.0,
"time": 3390.627301877688,
"vocabulary": 86.0,
"volume": 2184.9300165987133
},
"lines_of_code": 86.0,
"maintainability_index": 56.785010595092444,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 43.0,
"technical_debt_score": 43.2
},
"recommendations": [],
"severity": "Low",
"start_line": 29
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts:anonymous_function_33:33",
"entity_name": "anonymous_function_33",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts",
"issues": [],
"line_number": 34,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026416041678685932,
"calculated_length": 2.0,
"difficulty": 1.0,
"effort": 7.92481250360578,
"length": 5.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.44026736131143224,
"vocabulary": 3.0,
"volume": 7.92481250360578
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 34
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts:anonymous_function_55:55",
"entity_name": "anonymous_function_55",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts",
"issues": [],
"line_number": 56,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 56
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts:anonymous_function_60:60",
"entity_name": "anonymous_function_60",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts",
"issues": [],
"line_number": 61,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 61
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts:anonymous_function_60:60",
"entity_name": "anonymous_function_60",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts",
"issues": [],
"line_number": 61,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 61
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts:anonymous_function_64:64",
"entity_name": "anonymous_function_64",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts",
"issues": [],
"line_number": 65,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 22,
"kind": "LogicalOr",
"line": 65,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.010339850002884624,
"calculated_length": 10.0,
"difficulty": 1.75,
"effort": 54.284212515144276,
"length": 12.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 5.0,
"n_2": 7.0,
"time": 3.015789584174682,
"vocabulary": 6.0,
"volume": 31.019550008653873
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 5.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 65
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts:anonymous_function_65:65",
"entity_name": "anonymous_function_65",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts",
"issues": [],
"line_number": 66,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 66
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts:anonymous_function_68:68",
"entity_name": "anonymous_function_68",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts",
"issues": [],
"line_number": 69,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 71,
"nesting_level": 0
},
{
"column": 12,
"kind": "LogicalAnd",
"line": 79,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.09597302792201096,
"calculated_length": 94.71013448036484,
"difficulty": 6.805555555555555,
"effort": 1959.4493200743905,
"length": 62.0,
"n1": 7.0,
"n2": 18.0,
"n_1": 27.0,
"n_2": 35.0,
"time": 108.85829555968836,
"vocabulary": 25.0,
"volume": 287.9190837660329
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 9.8
},
"recommendations": [],
"severity": "Low",
"start_line": 69
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts:anonymous_function_72:72",
"entity_name": "anonymous_function_72",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts",
"issues": [],
"line_number": 73,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 73
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts:anonymous_function_74:74",
"entity_name": "anonymous_function_74",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts",
"issues": [],
"line_number": 75,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 25.84962500721156,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.43609027817842,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 75
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts:anonymous_function_77:77",
"entity_name": "anonymous_function_77",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts",
"issues": [],
"line_number": 78,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006893233335256416,
"calculated_length": 10.0,
"difficulty": 1.25,
"effort": 25.84962500721156,
"length": 8.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 1.43609027817842,
"vocabulary": 6.0,
"volume": 20.67970000576925
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 78
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts:anonymous_function_87:87",
"entity_name": "anonymous_function_87",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts",
"issues": [],
"line_number": 88,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 88
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts:anonymous_function_88:88",
"entity_name": "anonymous_function_88",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts",
"issues": [],
"line_number": 89,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009478195835977574,
"calculated_length": 10.0,
"difficulty": 1.75,
"effort": 49.76052813888226,
"length": 11.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 7.0,
"time": 2.764473785493459,
"vocabulary": 6.0,
"volume": 28.43458750793272
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 89
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts:anonymous_function_98:98",
"entity_name": "anonymous_function_98",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts",
"issues": [],
"line_number": 99,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 9.509775004326936,
"difficulty": 2.0,
"effort": 36.18947501009619,
"length": 7.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 4.0,
"time": 2.0105263894497885,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 99
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts:buildSortedChildrenMap:119",
"entity_name": "buildSortedChildrenMap",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts",
"issues": [],
"line_number": 120,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 127,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.14367169300121937,
"calculated_length": 126.63682062300134,
"difficulty": 10.840909090909092,
"effort": 4672.595288289657,
"length": 87.0,
"n1": 9.0,
"n2": 22.0,
"n_1": 34.0,
"n_2": 53.0,
"time": 259.58862712720315,
"vocabulary": 31.0,
"volume": 431.0150790036581
},
"lines_of_code": 25.0,
"maintainability_index": 86.85026764412369,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 13.0,
"technical_debt_score": 9.8
},
"recommendations": [],
"severity": "Low",
"start_line": 120
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts:anonymous_function_135:135",
"entity_name": "anonymous_function_135",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/execution-order.ts",
"issues": [],
"line_number": 136,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03106967500625002,
"calculated_length": 32.0,
"difficulty": 4.0,
"effort": 372.8361000750002,
"length": 26.0,
"n1": 4.0,
"n2": 8.0,
"n_1": 10.0,
"n_2": 16.0,
"time": 20.713116670833344,
"vocabulary": 12.0,
"volume": 93.20902501875005
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 3.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 136
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_6:6",
"entity_name": "anonymous_function_6",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 7,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 15.82051093246897,
"calculated_length": 3051.2815542583885,
"difficulty": 33.26610644257703,
"effort": 1578860.401966399,
"length": 5576.0,
"n1": 8.0,
"n2": 357.0,
"n_1": 2607.0,
"n_2": 2969.0,
"time": 87714.46677591106,
"vocabulary": 365.0,
"volume": 47461.53279740691
},
"lines_of_code": 1158.0,
"maintainability_index": 0.49600644260709714,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 648.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 7
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_10:10",
"entity_name": "anonymous_function_10",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 11,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02031478750408655,
"calculated_length": 31.26112492884004,
"difficulty": 2.8571428571428568,
"effort": 174.12675003502756,
"length": 17.0,
"n1": 5.0,
"n2": 7.0,
"n_1": 9.0,
"n_2": 8.0,
"time": 9.673708335279308,
"vocabulary": 12.0,
"volume": 60.94436251225965
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 11
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_15:15",
"entity_name": "anonymous_function_15",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 16,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009,
"calculated_length": 16.36452797660028,
"difficulty": 1.7999999999999998,
"effort": 48.599999999999994,
"length": 9.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 3.0,
"n_2": 6.0,
"time": 2.6999999999999997,
"vocabulary": 8.0,
"volume": 27.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 16
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_19:19",
"entity_name": "anonymous_function_19",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 20,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 1.0050991853524014,
"calculated_length": 529.0376252379815,
"difficulty": 9.25925925925926,
"effort": 27919.421815344485,
"length": 468.0,
"n1": 6.0,
"n2": 81.0,
"n_1": 218.0,
"n_2": 250.0,
"time": 1551.0789897413604,
"vocabulary": 87.0,
"volume": 3015.2975560572045
},
"lines_of_code": 100.0,
"maintainability_index": 54.506683246833546,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 55.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 20
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_20:20",
"entity_name": "anonymous_function_20",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 21,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.15479520632582416,
"calculated_length": 100.23866587835397,
"difficulty": 4.476190476190476,
"effort": 2078.6784849467817,
"length": 100.0,
"n1": 4.0,
"n2": 21.0,
"n_1": 53.0,
"n_2": 47.0,
"time": 115.48213805259898,
"vocabulary": 25.0,
"volume": 464.38561897747246
},
"lines_of_code": 13.0,
"maintainability_index": 97.2861009403477,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 11.0,
"technical_debt_score": 4.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 21
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_35:35",
"entity_name": "anonymous_function_35",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 36,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.022704762504567322,
"calculated_length": 32.0,
"difficulty": 2.75,
"effort": 187.3142906626804,
"length": 19.0,
"n1": 4.0,
"n2": 8.0,
"n_1": 8.0,
"n_2": 11.0,
"time": 10.406349481260023,
"vocabulary": 12.0,
"volume": 68.11428751370197
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 36
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_41:41",
"entity_name": "anonymous_function_41",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 42,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.022704762504567322,
"calculated_length": 32.0,
"difficulty": 2.75,
"effort": 187.3142906626804,
"length": 19.0,
"n1": 4.0,
"n2": 8.0,
"n_1": 8.0,
"n_2": 11.0,
"time": 10.406349481260023,
"vocabulary": 12.0,
"volume": 68.11428751370197
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 42
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_47:47",
"entity_name": "anonymous_function_47",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 48,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05733333333333333,
"calculated_length": 51.01955000865387,
"difficulty": 4.166666666666667,
"effort": 716.6666666666667,
"length": 43.0,
"n1": 4.0,
"n2": 12.0,
"n_1": 18.0,
"n_2": 25.0,
"time": 39.81481481481482,
"vocabulary": 16.0,
"volume": 172.0
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 48
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_57:57",
"entity_name": "anonymous_function_57",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 58,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.022704762504567322,
"calculated_length": 32.0,
"difficulty": 2.75,
"effort": 187.3142906626804,
"length": 19.0,
"n1": 4.0,
"n2": 8.0,
"n_1": 8.0,
"n_2": 11.0,
"time": 10.406349481260023,
"vocabulary": 12.0,
"volume": 68.11428751370197
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 58
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_67:67",
"entity_name": "anonymous_function_67",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 68,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03807354922057604,
"calculated_length": 41.219280948873624,
"difficulty": 3.4,
"effort": 388.35020204987563,
"length": 30.0,
"n1": 4.0,
"n2": 10.0,
"n_1": 13.0,
"n_2": 17.0,
"time": 21.57501122499309,
"vocabulary": 14.0,
"volume": 114.22064766172812
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 68
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_74:74",
"entity_name": "anonymous_function_74",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 75,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02096915840279952,
"calculated_length": 36.529325012980806,
"difficulty": 2.0,
"effort": 125.81495041679713,
"length": 17.0,
"n1": 4.0,
"n2": 9.0,
"n_1": 8.0,
"n_2": 9.0,
"time": 6.989719467599841,
"vocabulary": 13.0,
"volume": 62.907475208398566
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 75
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_80:80",
"entity_name": "anonymous_function_80",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 81,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.022704762504567322,
"calculated_length": 32.0,
"difficulty": 2.75,
"effort": 187.3142906626804,
"length": 19.0,
"n1": 4.0,
"n2": 8.0,
"n_1": 8.0,
"n_2": 11.0,
"time": 10.406349481260023,
"vocabulary": 12.0,
"volume": 68.11428751370197
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 81
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_88:88",
"entity_name": "anonymous_function_88",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 89,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.06194763602671887,
"calculated_length": 70.2129994085646,
"difficulty": 4.166666666666667,
"effort": 774.3454503339859,
"length": 43.0,
"n1": 5.0,
"n2": 15.0,
"n_1": 18.0,
"n_2": 25.0,
"time": 43.01919168522144,
"vocabulary": 20.0,
"volume": 185.8429080801566
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 89
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_97:97",
"entity_name": "anonymous_function_97",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 98,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.059768925020673144,
"calculated_length": 58.529325012980806,
"difficulty": 5.5,
"effort": 986.1872628411069,
"length": 43.0,
"n1": 6.0,
"n2": 12.0,
"n_1": 21.0,
"n_2": 22.0,
"time": 54.78818126895038,
"vocabulary": 18.0,
"volume": 179.30677506201943
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 98
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_106:106",
"entity_name": "anonymous_function_106",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 107,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10195026032264605,
"calculated_length": 66.60335893412778,
"difficulty": 5.2,
"effort": 1590.4240610332783,
"length": 72.0,
"n1": 4.0,
"n2": 15.0,
"n_1": 33.0,
"n_2": 39.0,
"time": 88.35689227962658,
"vocabulary": 19.0,
"volume": 305.85078096793814
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 4.4
},
"recommendations": [],
"severity": "Low",
"start_line": 107
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_121:121",
"entity_name": "anonymous_function_121",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 122,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.3201235783200587,
"calculated_length": 180.97373660251154,
"difficulty": 5.764705882352941,
"effort": 5536.254825064545,
"length": 183.0,
"n1": 4.0,
"n2": 34.0,
"n_1": 85.0,
"n_2": 98.0,
"time": 307.56971250358583,
"vocabulary": 38.0,
"volume": 960.3707349601762
},
"lines_of_code": 38.0,
"maintainability_index": 76.13104337318552,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 22.0,
"technical_debt_score": 9.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 122
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_122:122",
"entity_name": "anonymous_function_122",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 123,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.029603517745128736,
"calculated_length": 36.529325012980806,
"difficulty": 2.888888888888889,
"effort": 256.56382045778236,
"length": 24.0,
"n1": 4.0,
"n2": 9.0,
"n_1": 11.0,
"n_2": 13.0,
"time": 14.25354558098791,
"vocabulary": 13.0,
"volume": 88.81055323538621
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 123
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_129:129",
"entity_name": "anonymous_function_129",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 130,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.015502331109474358,
"calculated_length": 23.509775004326936,
"difficulty": 2.3333333333333335,
"effort": 108.51631776632051,
"length": 14.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 7.0,
"n_2": 7.0,
"time": 6.0286843203511395,
"vocabulary": 10.0,
"volume": 46.50699332842307
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 130
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_135:135",
"entity_name": "anonymous_function_135",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 136,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03646431222567951,
"calculated_length": 46.05374780501027,
"difficulty": 2.909090909090909,
"effort": 318.23399760593026,
"length": 28.0,
"n1": 4.0,
"n2": 11.0,
"n_1": 12.0,
"n_2": 16.0,
"time": 17.679666533662793,
"vocabulary": 15.0,
"volume": 109.39293667703852
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 136
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_142:142",
"entity_name": "anonymous_function_142",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 143,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1543604041909456,
"calculated_length": 94.43856189774725,
"difficulty": 5.4,
"effort": 2500.638547893319,
"length": 101.0,
"n1": 4.0,
"n2": 20.0,
"n_1": 47.0,
"n_2": 54.0,
"time": 138.92436377185106,
"vocabulary": 24.0,
"volume": 463.08121257283676
},
"lines_of_code": 16.0,
"maintainability_index": 93.93696999180231,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 143
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_161:161",
"entity_name": "anonymous_function_161",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 162,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.11297226767214485,
"calculated_length": 83.05865002596161,
"difficulty": 4.111111111111111,
"effort": 1393.32463462312,
"length": 76.0,
"n1": 4.0,
"n2": 18.0,
"n_1": 39.0,
"n_2": 37.0,
"time": 77.40692414572888,
"vocabulary": 22.0,
"volume": 338.9168030164346
},
"lines_of_code": 21.0,
"maintainability_index": 91.15481228504589,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 162
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_162:162",
"entity_name": "anonymous_function_162",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 163,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.013736341672916685,
"calculated_length": 19.60964047443681,
"difficulty": 2.4,
"effort": 98.90166004500013,
"length": 13.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 7.0,
"n_2": 6.0,
"time": 5.494536669166674,
"vocabulary": 9.0,
"volume": 41.209025018750054
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 163
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_168:168",
"entity_name": "anonymous_function_168",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 169,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.07787867107979907,
"calculated_length": 66.60335893412778,
"difficulty": 3.6,
"effort": 841.0896476618299,
"length": 55.0,
"n1": 4.0,
"n2": 15.0,
"n_1": 28.0,
"n_2": 27.0,
"time": 46.72720264787944,
"vocabulary": 19.0,
"volume": 233.6360132393972
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 4.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 169
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_176:176",
"entity_name": "anonymous_function_176",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 177,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 177
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_184:184",
"entity_name": "anonymous_function_184",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 185,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.5474540504081482,
"calculated_length": 258.7430298092722,
"difficulty": 9.0,
"effort": 14781.259361020002,
"length": 291.0,
"n1": 5.0,
"n2": 45.0,
"n_1": 129.0,
"n_2": 162.0,
"time": 821.1810756122223,
"vocabulary": 50.0,
"volume": 1642.3621512244447
},
"lines_of_code": 73.0,
"maintainability_index": 62.76432478605973,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 35.0,
"technical_debt_score": 16.599999999999998
},
"recommendations": [],
"severity": "Low",
"start_line": 185
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_185:185",
"entity_name": "anonymous_function_185",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 186,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.052091874608113584,
"calculated_length": 46.05374780501027,
"difficulty": 4.0,
"effort": 625.102495297363,
"length": 40.0,
"n1": 4.0,
"n2": 11.0,
"n_1": 18.0,
"n_2": 22.0,
"time": 34.727916405409054,
"vocabulary": 15.0,
"volume": 156.27562382434076
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 186
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_193:193",
"entity_name": "anonymous_function_193",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 194,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03646431222567951,
"calculated_length": 46.05374780501027,
"difficulty": 2.909090909090909,
"effort": 318.23399760593026,
"length": 28.0,
"n1": 4.0,
"n2": 11.0,
"n_1": 12.0,
"n_2": 16.0,
"time": 17.679666533662793,
"vocabulary": 15.0,
"volume": 109.39293667703852
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 194
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_202:202",
"entity_name": "anonymous_function_202",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 203,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03646431222567951,
"calculated_length": 46.05374780501027,
"difficulty": 2.909090909090909,
"effort": 318.23399760593026,
"length": 28.0,
"n1": 4.0,
"n2": 11.0,
"n_1": 12.0,
"n_2": 16.0,
"time": 17.679666533662793,
"vocabulary": 15.0,
"volume": 109.39293667703852
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 203
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_209:209",
"entity_name": "anonymous_function_209",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 210,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04933333333333333,
"calculated_length": 51.01955000865387,
"difficulty": 3.3333333333333335,
"effort": 493.33333333333337,
"length": 37.0,
"n1": 4.0,
"n2": 12.0,
"n_1": 17.0,
"n_2": 20.0,
"time": 27.40740740740741,
"vocabulary": 16.0,
"volume": 148.0
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 210
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_217:217",
"entity_name": "anonymous_function_217",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 218,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.07539269926761688,
"calculated_length": 86.66829050039843,
"difficulty": 3.888888888888889,
"effort": 879.5814914555303,
"length": 50.0,
"n1": 5.0,
"n2": 18.0,
"n_1": 22.0,
"n_2": 28.0,
"time": 48.86563841419613,
"vocabulary": 23.0,
"volume": 226.17809780285066
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 218
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_221:221",
"entity_name": "anonymous_function_221",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 222,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 222
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_228:228",
"entity_name": "anonymous_function_228",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 229,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.019119800003846166,
"calculated_length": 32.0,
"difficulty": 2.0,
"effort": 114.718800023077,
"length": 16.0,
"n1": 4.0,
"n2": 8.0,
"n_1": 8.0,
"n_2": 8.0,
"time": 6.373266667948722,
"vocabulary": 12.0,
"volume": 57.3594000115385
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 229
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_234:234",
"entity_name": "anonymous_function_234",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 235,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.042237116026253504,
"calculated_length": 56.105716335834195,
"difficulty": 2.923076923076923,
"effort": 370.38701746099224,
"length": 31.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 12.0,
"n_2": 19.0,
"time": 20.57705652561068,
"vocabulary": 17.0,
"volume": 126.71134807876051
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 235
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_246:246",
"entity_name": "anonymous_function_246",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 247,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03866666666666667,
"calculated_length": 51.01955000865387,
"difficulty": 2.8333333333333335,
"effort": 328.6666666666667,
"length": 29.0,
"n1": 4.0,
"n2": 12.0,
"n_1": 12.0,
"n_2": 17.0,
"time": 18.25925925925926,
"vocabulary": 16.0,
"volume": 116.0
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 247
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_259:259",
"entity_name": "anonymous_function_259",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 260,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.18166666666666667,
"calculated_length": 139.99160303285046,
"difficulty": 5.0,
"effort": 2725.0,
"length": 109.0,
"n1": 5.0,
"n2": 27.0,
"n_1": 55.0,
"n_2": 54.0,
"time": 151.38888888888889,
"vocabulary": 32.0,
"volume": 545.0
},
"lines_of_code": 22.0,
"maintainability_index": 87.93102612334641,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 14.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 260
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_260:260",
"entity_name": "anonymous_function_260",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 261,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04061178583528111,
"calculated_length": 41.219280948873624,
"difficulty": 3.2,
"effort": 389.87314401869867,
"length": 32.0,
"n1": 4.0,
"n2": 10.0,
"n_1": 16.0,
"n_2": 16.0,
"time": 21.659619112149926,
"vocabulary": 14.0,
"volume": 121.83535750584333
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 261
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_268:268",
"entity_name": "anonymous_function_268",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 269,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.07347277761308517,
"calculated_length": 70.2129994085646,
"difficulty": 4.333333333333334,
"effort": 955.1461089701073,
"length": 51.0,
"n1": 5.0,
"n2": 15.0,
"n_1": 25.0,
"n_2": 26.0,
"time": 53.06367272056152,
"vocabulary": 20.0,
"volume": 220.4183328392555
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 269
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_278:278",
"entity_name": "anonymous_function_278",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 279,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.015502331109474358,
"calculated_length": 23.509775004326936,
"difficulty": 2.0,
"effort": 93.01398665684614,
"length": 14.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 8.0,
"n_2": 6.0,
"time": 5.167443703158119,
"vocabulary": 10.0,
"volume": 46.50699332842307
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 279
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_283:283",
"entity_name": "anonymous_function_283",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 284,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.8302207828024285,
"calculated_length": 194.11730005192322,
"difficulty": 13.222222222222221,
"effort": 32932.091051163,
"length": 468.0,
"n1": 4.0,
"n2": 36.0,
"n_1": 230.0,
"n_2": 238.0,
"time": 1829.5606139535,
"vocabulary": 40.0,
"volume": 2490.6623484072857
},
"lines_of_code": 95.0,
"maintainability_index": 56.331613777266,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 59.0,
"technical_debt_score": 21.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 284
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_284:284",
"entity_name": "anonymous_function_284",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 285,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.35503160016153895,
"calculated_length": 112.0419249893113,
"difficulty": 9.91304347826087,
"effort": 10558.331065673592,
"length": 224.0,
"n1": 4.0,
"n2": 23.0,
"n_1": 110.0,
"n_2": 114.0,
"time": 586.5739480929774,
"vocabulary": 27.0,
"volume": 1065.0948004846168
},
"lines_of_code": 43.0,
"maintainability_index": 73.59029886441243,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 28.0,
"technical_debt_score": 10.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 285
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_285:285",
"entity_name": "anonymous_function_285",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 286,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.050412041708754185,
"calculated_length": 56.105716335834195,
"difficulty": 3.076923076923077,
"effort": 465.34192346542324,
"length": 37.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 17.0,
"n_2": 20.0,
"time": 25.852329081412403,
"vocabulary": 17.0,
"volume": 151.23612512626255
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 286
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_293:293",
"entity_name": "anonymous_function_293",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 294,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05994945500500497,
"calculated_length": 56.105716335834195,
"difficulty": 3.3846153846153846,
"effort": 608.7175431277427,
"length": 44.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 22.0,
"n_2": 22.0,
"time": 33.8176412848746,
"vocabulary": 17.0,
"volume": 179.8483650150149
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 294
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_302:302",
"entity_name": "anonymous_function_302",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 303,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05994945500500497,
"calculated_length": 56.105716335834195,
"difficulty": 3.3846153846153846,
"effort": 608.7175431277427,
"length": 44.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 22.0,
"n_2": 22.0,
"time": 33.8176412848746,
"vocabulary": 17.0,
"volume": 179.8483650150149
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 303
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_311:311",
"entity_name": "anonymous_function_311",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 312,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05994945500500497,
"calculated_length": 56.105716335834195,
"difficulty": 3.3846153846153846,
"effort": 608.7175431277427,
"length": 44.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 22.0,
"n_2": 22.0,
"time": 33.8176412848746,
"vocabulary": 17.0,
"volume": 179.8483650150149
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 312
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_320:320",
"entity_name": "anonymous_function_320",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 321,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04666666666666667,
"calculated_length": 51.01955000865387,
"difficulty": 3.0,
"effort": 420.0,
"length": 35.0,
"n1": 4.0,
"n2": 12.0,
"n_1": 17.0,
"n_2": 18.0,
"time": 23.333333333333332,
"vocabulary": 16.0,
"volume": 140.0
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 321
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_329:329",
"entity_name": "anonymous_function_329",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 330,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1609870145788571,
"calculated_length": 100.23866587835397,
"difficulty": 4.9523809523809526,
"effort": 2391.8070737430203,
"length": 104.0,
"n1": 4.0,
"n2": 21.0,
"n_1": 52.0,
"n_2": 52.0,
"time": 132.87817076350112,
"vocabulary": 25.0,
"volume": 482.96104373657136
},
"lines_of_code": 21.0,
"maintainability_index": 89.31306933170808,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 330
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_330:330",
"entity_name": "anonymous_function_330",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 331,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04666666666666667,
"calculated_length": 51.01955000865387,
"difficulty": 3.0,
"effort": 420.0,
"length": 35.0,
"n1": 4.0,
"n2": 12.0,
"n_1": 17.0,
"n_2": 18.0,
"time": 23.333333333333332,
"vocabulary": 16.0,
"volume": 140.0
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 331
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_338:338",
"entity_name": "anonymous_function_338",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 339,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03255742163007099,
"calculated_length": 46.05374780501027,
"difficulty": 2.3636363636363638,
"effort": 230.86171701323067,
"length": 25.0,
"n1": 4.0,
"n2": 11.0,
"n_1": 12.0,
"n_2": 13.0,
"time": 12.825650945179483,
"vocabulary": 15.0,
"volume": 97.67226489021297
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 339
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_344:344",
"entity_name": "anonymous_function_344",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 345,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04061178583528111,
"calculated_length": 41.219280948873624,
"difficulty": 3.0,
"effort": 365.50607251753,
"length": 32.0,
"n1": 4.0,
"n2": 10.0,
"n_1": 17.0,
"n_2": 15.0,
"time": 20.305892917640556,
"vocabulary": 14.0,
"volume": 121.83535750584333
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 345
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_352:352",
"entity_name": "anonymous_function_352",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 353,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.19026908239519136,
"calculated_length": 83.05865002596161,
"difficulty": 7.333333333333333,
"effort": 4185.919812694209,
"length": 128.0,
"n1": 4.0,
"n2": 18.0,
"n_1": 62.0,
"n_2": 66.0,
"time": 232.55110070523384,
"vocabulary": 22.0,
"volume": 570.807247185574
},
"lines_of_code": 25.0,
"maintainability_index": 85.61954341040742,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 16.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 353
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_353:353",
"entity_name": "anonymous_function_353",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 354,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04666666666666667,
"calculated_length": 51.01955000865387,
"difficulty": 3.0,
"effort": 420.0,
"length": 35.0,
"n1": 4.0,
"n2": 12.0,
"n_1": 17.0,
"n_2": 18.0,
"time": 23.333333333333332,
"vocabulary": 16.0,
"volume": 140.0
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 354
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_361:361",
"entity_name": "anonymous_function_361",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 362,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05994945500500497,
"calculated_length": 56.105716335834195,
"difficulty": 3.3846153846153846,
"effort": 608.7175431277427,
"length": 44.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 22.0,
"n_2": 22.0,
"time": 33.8176412848746,
"vocabulary": 17.0,
"volume": 179.8483650150149
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 362
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_370:370",
"entity_name": "anonymous_function_370",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 371,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.050412041708754185,
"calculated_length": 56.105716335834195,
"difficulty": 3.076923076923077,
"effort": 465.34192346542324,
"length": 37.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 17.0,
"n_2": 20.0,
"time": 25.852329081412403,
"vocabulary": 17.0,
"volume": 151.23612512626255
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 371
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_380:380",
"entity_name": "anonymous_function_380",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 381,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.4483333333333333,
"calculated_length": 142.6059378176129,
"difficulty": 10.0,
"effort": 13450.0,
"length": 269.0,
"n1": 4.0,
"n2": 28.0,
"n_1": 129.0,
"n_2": 140.0,
"time": 747.2222222222222,
"vocabulary": 32.0,
"volume": 1345.0
},
"lines_of_code": 56.0,
"maintainability_index": 68.0977262915037,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 32.0,
"technical_debt_score": 13.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 381
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_381:381",
"entity_name": "anonymous_function_381",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 382,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.26635825069466185,
"calculated_length": 106.10749561002054,
"difficulty": 8.0,
"effort": 6392.598016671885,
"length": 170.0,
"n1": 4.0,
"n2": 22.0,
"n_1": 82.0,
"n_2": 88.0,
"time": 355.14433425954917,
"vocabulary": 26.0,
"volume": 799.0747520839856
},
"lines_of_code": 33.0,
"maintainability_index": 79.37261411234785,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 19.0,
"technical_debt_score": 8.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 382
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_382:382",
"entity_name": "anonymous_function_382",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 383,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.06403691784625531,
"calculated_length": 56.105716335834195,
"difficulty": 3.8461538461538463,
"effort": 738.8875136106383,
"length": 47.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 22.0,
"n_2": 25.0,
"time": 41.049306311702125,
"vocabulary": 17.0,
"volume": 192.11075353876595
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 383
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_392:392",
"entity_name": "anonymous_function_392",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 393,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.08038676921125666,
"calculated_length": 56.105716335834195,
"difficulty": 4.769230769230769,
"effort": 1150.1491594841339,
"length": 59.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 28.0,
"n_2": 31.0,
"time": 63.897175526896326,
"vocabulary": 17.0,
"volume": 241.16030763377
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 393
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_403:403",
"entity_name": "anonymous_function_403",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 404,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.030458839376460836,
"calculated_length": 41.219280948873624,
"difficulty": 2.4,
"effort": 219.30364351051801,
"length": 24.0,
"n1": 4.0,
"n2": 10.0,
"n_1": 12.0,
"n_2": 12.0,
"time": 12.183535750584333,
"vocabulary": 14.0,
"volume": 91.3765181293825
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 404
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_409:409",
"entity_name": "anonymous_function_409",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 410,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.030458839376460836,
"calculated_length": 41.219280948873624,
"difficulty": 2.4,
"effort": 219.30364351051801,
"length": 24.0,
"n1": 4.0,
"n2": 10.0,
"n_1": 12.0,
"n_2": 12.0,
"time": 12.183535750584333,
"vocabulary": 14.0,
"volume": 91.3765181293825
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.8000000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 410
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_416:416",
"entity_name": "anonymous_function_416",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 417,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.13323362849095574,
"calculated_length": 77.48686830125577,
"difficulty": 5.647058823529412,
"effort": 2257.134412082074,
"length": 91.0,
"n1": 4.0,
"n2": 17.0,
"n_1": 43.0,
"n_2": 48.0,
"time": 125.39635622678189,
"vocabulary": 21.0,
"volume": 399.70088547286724
},
"lines_of_code": 19.0,
"maintainability_index": 91.91836283599947,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 11.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 417
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_417:417",
"entity_name": "anonymous_function_417",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 418,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.06539940546000543,
"calculated_length": 56.105716335834195,
"difficulty": 4.0,
"effort": 784.7928655200651,
"length": 48.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 22.0,
"n_2": 26.0,
"time": 43.599603640003615,
"vocabulary": 17.0,
"volume": 196.19821638001628
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 418
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_427:427",
"entity_name": "anonymous_function_427",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 428,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04666666666666667,
"calculated_length": 51.01955000865387,
"difficulty": 3.0,
"effort": 420.0,
"length": 35.0,
"n1": 4.0,
"n2": 12.0,
"n_1": 17.0,
"n_2": 18.0,
"time": 23.333333333333332,
"vocabulary": 16.0,
"volume": 140.0
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 428
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_438:438",
"entity_name": "anonymous_function_438",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 439,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.2711429215279186,
"calculated_length": 173.23157007639637,
"difficulty": 9.14516129032258,
"effort": 7438.937250306282,
"length": 155.0,
"n1": 7.0,
"n2": 31.0,
"n_1": 74.0,
"n_2": 81.0,
"time": 413.27429168368235,
"vocabulary": 38.0,
"volume": 813.4287645837558
},
"lines_of_code": 28.0,
"maintainability_index": 81.94174348270998,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 16.0,
"technical_debt_score": 7.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 439
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_439:439",
"entity_name": "anonymous_function_439",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 440,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.11537651812938249,
"calculated_length": 111.8901503327572,
"difficulty": 6.166666666666666,
"effort": 2134.465585393576,
"length": 72.0,
"n1": 7.0,
"n2": 21.0,
"n_1": 35.0,
"n_2": 37.0,
"time": 118.58142141075422,
"vocabulary": 28.0,
"volume": 346.1295543881475
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 440
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_451:451",
"entity_name": "anonymous_function_451",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 452,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.11308904890142533,
"calculated_length": 88.71062275542812,
"difficulty": 4.2105263157894735,
"effort": 1428.493249281162,
"length": 75.0,
"n1": 4.0,
"n2": 19.0,
"n_1": 35.0,
"n_2": 40.0,
"time": 79.36073607117567,
"vocabulary": 23.0,
"volume": 339.267146704276
},
"lines_of_code": 14.0,
"maintainability_index": 97.71797449008656,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 4.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 452
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_460:460",
"entity_name": "anonymous_function_460",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 461,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 461
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_468:468",
"entity_name": "anonymous_function_468",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 469,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 3.3186663805822856,
"calculated_length": 700.2388693354957,
"difficulty": 26.730392156862745,
"effort": 266127.7613722824,
"length": 1471.0,
"n1": 7.0,
"n2": 102.0,
"n_1": 692.0,
"n_2": 779.0,
"time": 14784.875631793468,
"vocabulary": 109.0,
"volume": 9955.999141746857
},
"lines_of_code": 271.0,
"maintainability_index": 32.14483609987795,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 162.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 469
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_469:469",
"entity_name": "anonymous_function_469",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 470,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.047687066481253954,
"calculated_length": 54.62919048309068,
"difficulty": 3.75,
"effort": 536.479497914107,
"length": 35.0,
"n1": 5.0,
"n2": 12.0,
"n_1": 17.0,
"n_2": 18.0,
"time": 29.804416550783724,
"vocabulary": 17.0,
"volume": 143.06119944376186
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 470
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_478:478",
"entity_name": "anonymous_function_478",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 479,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.029189721069108297,
"calculated_length": 41.219280948873624,
"difficulty": 2.4,
"effort": 210.16599169757973,
"length": 23.0,
"n1": 4.0,
"n2": 10.0,
"n_1": 11.0,
"n_2": 12.0,
"time": 11.675888427643319,
"vocabulary": 14.0,
"volume": 87.56916320732489
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 479
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_486:486",
"entity_name": "anonymous_function_486",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 487,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03906890595608519,
"calculated_length": 46.05374780501027,
"difficulty": 2.727272727272727,
"effort": 319.6546850952424,
"length": 30.0,
"n1": 4.0,
"n2": 11.0,
"n_1": 15.0,
"n_2": 15.0,
"time": 17.758593616402358,
"vocabulary": 15.0,
"volume": 117.20671786825557
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 487
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_495:495",
"entity_name": "anonymous_function_495",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 496,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03906890595608519,
"calculated_length": 46.05374780501027,
"difficulty": 2.727272727272727,
"effort": 319.6546850952424,
"length": 30.0,
"n1": 4.0,
"n2": 11.0,
"n_1": 15.0,
"n_2": 15.0,
"time": 17.758593616402358,
"vocabulary": 15.0,
"volume": 117.20671786825557
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 496
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_504:504",
"entity_name": "anonymous_function_504",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 505,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0651348885394683,
"calculated_length": 64.91260938324326,
"difficulty": 4.285714285714286,
"effort": 837.448566936021,
"length": 46.0,
"n1": 5.0,
"n2": 14.0,
"n_1": 22.0,
"n_2": 24.0,
"time": 46.524920385334504,
"vocabulary": 19.0,
"volume": 195.40466561840492
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 505
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_514:514",
"entity_name": "anonymous_function_514",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 515,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.08052581941761061,
"calculated_length": 75.60964047443682,
"difficulty": 4.53125,
"effort": 1094.6478577081443,
"length": 55.0,
"n1": 5.0,
"n2": 16.0,
"n_1": 26.0,
"n_2": 29.0,
"time": 60.81376987267468,
"vocabulary": 21.0,
"volume": 241.57745825283183
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 515
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_525:525",
"entity_name": "anonymous_function_525",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 526,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.14475398259382444,
"calculated_length": 86.66829050039843,
"difficulty": 6.944444444444445,
"effort": 3015.7079707046755,
"length": 96.0,
"n1": 5.0,
"n2": 18.0,
"n_1": 46.0,
"n_2": 50.0,
"time": 167.5393317058153,
"vocabulary": 23.0,
"volume": 434.2619477814733
},
"lines_of_code": 14.0,
"maintainability_index": 96.43430208484261,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 4.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 526
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_533:533",
"entity_name": "anonymous_function_533",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 534,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 534
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_538:538",
"entity_name": "anonymous_function_538",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 539,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 539
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_541:541",
"entity_name": "anonymous_function_541",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 542,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10392581668301287,
"calculated_length": 92.32026322986493,
"difficulty": 5.0,
"effort": 1558.8872502451932,
"length": 68.0,
"n1": 5.0,
"n2": 19.0,
"n_1": 30.0,
"n_2": 38.0,
"time": 86.60484723584406,
"vocabulary": 24.0,
"volume": 311.77745004903863
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 542
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_543:543",
"entity_name": "anonymous_function_543",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 544,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 544
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_545:545",
"entity_name": "anonymous_function_545",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 546,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 546
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_550:550",
"entity_name": "anonymous_function_550",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 551,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 551
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_553:553",
"entity_name": "anonymous_function_553",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 554,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.08443982317973091,
"calculated_length": 88.71062275542812,
"difficulty": 3.5789473684210527,
"effort": 906.6170488771108,
"length": 56.0,
"n1": 4.0,
"n2": 19.0,
"n_1": 22.0,
"n_2": 34.0,
"time": 50.36761382650616,
"vocabulary": 23.0,
"volume": 253.31946953919274
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 554
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_561:561",
"entity_name": "anonymous_function_561",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 562,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 562
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_564:564",
"entity_name": "anonymous_function_564",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 565,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.059470985188210194,
"calculated_length": 66.60335893412778,
"difficulty": 3.2,
"effort": 570.9214578068179,
"length": 42.0,
"n1": 4.0,
"n2": 15.0,
"n_1": 18.0,
"n_2": 24.0,
"time": 31.71785876704544,
"vocabulary": 19.0,
"volume": 178.41295556463058
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 565
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_571:571",
"entity_name": "anonymous_function_571",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 572,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 572
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_574:574",
"entity_name": "anonymous_function_574",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 575,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.11594417971414693,
"calculated_length": 103.84830635279079,
"difficulty": 5.238095238095238,
"effort": 1821.9799669365946,
"length": 74.0,
"n1": 5.0,
"n2": 21.0,
"n_1": 30.0,
"n_2": 44.0,
"time": 101.22110927425526,
"vocabulary": 26.0,
"volume": 347.8325391424408
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 575
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_576:576",
"entity_name": "anonymous_function_576",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 577,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 577
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_578:578",
"entity_name": "anonymous_function_578",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 579,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 579
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_583:583",
"entity_name": "anonymous_function_583",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 584,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 584
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_586:586",
"entity_name": "anonymous_function_586",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 587,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 1.0550003336068896,
"calculated_length": 228.38689879982144,
"difficulty": 22.275,
"effort": 70500.39729328039,
"length": 573.0,
"n1": 6.0,
"n2": 40.0,
"n_1": 276.0,
"n_2": 297.0,
"time": 3916.688738515577,
"vocabulary": 46.0,
"volume": 3165.0010008206687
},
"lines_of_code": 98.0,
"maintainability_index": 54.582001861411655,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 60.0,
"technical_debt_score": 21.6
},
"recommendations": [],
"severity": "Low",
"start_line": 587
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_587:587",
"entity_name": "anonymous_function_587",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 588,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.09077456007076104,
"calculated_length": 77.48686830125577,
"difficulty": 3.8823529411764706,
"effort": 1057.256640824158,
"length": 62.0,
"n1": 4.0,
"n2": 17.0,
"n_1": 29.0,
"n_2": 33.0,
"time": 58.73648004578656,
"vocabulary": 21.0,
"volume": 272.32368021228314
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 588
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_596:596",
"entity_name": "anonymous_function_596",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 597,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 597
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_599:599",
"entity_name": "anonymous_function_599",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 600,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.11308904890142533,
"calculated_length": 86.66829050039843,
"difficulty": 5.555555555555555,
"effort": 1884.8174816904223,
"length": 75.0,
"n1": 5.0,
"n2": 18.0,
"n_1": 35.0,
"n_2": 40.0,
"time": 104.71208231613457,
"vocabulary": 23.0,
"volume": 339.267146704276
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 4.4
},
"recommendations": [],
"severity": "Low",
"start_line": 600
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_613:613",
"entity_name": "anonymous_function_613",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 614,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10705763296001597,
"calculated_length": 88.71062275542812,
"difficulty": 4.0,
"effort": 1284.6915955201916,
"length": 71.0,
"n1": 4.0,
"n2": 19.0,
"n_1": 33.0,
"n_2": 38.0,
"time": 71.37175530667731,
"vocabulary": 23.0,
"volume": 321.1728988800479
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 4.4
},
"recommendations": [],
"severity": "Low",
"start_line": 614
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_624:624",
"entity_name": "anonymous_function_624",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 625,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 625
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_627:627",
"entity_name": "anonymous_function_627",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 628,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.20632331253245204,
"calculated_length": 90.56842503028855,
"difficulty": 11.333333333333332,
"effort": 7014.992626103368,
"length": 135.0,
"n1": 6.0,
"n2": 18.0,
"n_1": 67.0,
"n_2": 68.0,
"time": 389.72181256129824,
"vocabulary": 24.0,
"volume": 618.9699375973561
},
"lines_of_code": 23.0,
"maintainability_index": 86.54909883372926,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 14.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 628
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_652:652",
"entity_name": "anonymous_function_652",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 653,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.27969276394968556,
"calculated_length": 125.54887502163469,
"difficulty": 11.0,
"effort": 9229.861210339623,
"length": 171.0,
"n1": 6.0,
"n2": 24.0,
"n_1": 83.0,
"n_2": 88.0,
"time": 512.7700672410901,
"vocabulary": 30.0,
"volume": 839.0782918490567
},
"lines_of_code": 22.0,
"maintainability_index": 85.68713136310879,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 15.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 653
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_660:660",
"entity_name": "anonymous_function_660",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 661,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 661
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_661:661",
"entity_name": "anonymous_function_661",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 662,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 662
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_662:662",
"entity_name": "anonymous_function_662",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 663,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 663
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_667:667",
"entity_name": "anonymous_function_667",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 668,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 668
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_676:676",
"entity_name": "anonymous_function_676",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 677,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.047687066481253954,
"calculated_length": 54.62919048309068,
"difficulty": 3.75,
"effort": 536.479497914107,
"length": 35.0,
"n1": 5.0,
"n2": 12.0,
"n_1": 17.0,
"n_2": 18.0,
"time": 29.804416550783724,
"vocabulary": 17.0,
"volume": 143.06119944376186
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 677
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_686:686",
"entity_name": "anonymous_function_686",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 687,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.48930622957777,
"calculated_length": 143.8917375627406,
"difficulty": 17.0,
"effort": 24954.617708466267,
"length": 291.0,
"n1": 6.0,
"n2": 27.0,
"n_1": 138.0,
"n_2": 153.0,
"time": 1386.367650470348,
"vocabulary": 33.0,
"volume": 1467.9186887333099
},
"lines_of_code": 52.0,
"maintainability_index": 68.84352750281116,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 31.0,
"technical_debt_score": 12.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 687
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_687:687",
"entity_name": "anonymous_function_687",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 688,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.14475398259382444,
"calculated_length": 86.66829050039843,
"difficulty": 6.944444444444445,
"effort": 3015.7079707046755,
"length": 96.0,
"n1": 5.0,
"n2": 18.0,
"n_1": 46.0,
"n_2": 50.0,
"time": 167.5393317058153,
"vocabulary": 23.0,
"volume": 434.2619477814733
},
"lines_of_code": 16.0,
"maintainability_index": 94.27109352432534,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 688
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_705:705",
"entity_name": "anonymous_function_705",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 706,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05420902501875005,
"calculated_length": 61.302968908806456,
"difficulty": 3.2857142857142856,
"effort": 534.3461037562505,
"length": 39.0,
"n1": 4.0,
"n2": 14.0,
"n_1": 16.0,
"n_2": 23.0,
"time": 29.68589465312503,
"vocabulary": 18.0,
"volume": 162.62707505625016
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 706
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_714:714",
"entity_name": "anonymous_function_714",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 715,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.22007820003461548,
"calculated_length": 90.56842503028855,
"difficulty": 12.333333333333332,
"effort": 8142.893401280772,
"length": 144.0,
"n1": 6.0,
"n2": 18.0,
"n_1": 70.0,
"n_2": 74.0,
"time": 452.38296673782065,
"vocabulary": 24.0,
"volume": 660.2346001038464
},
"lines_of_code": 23.0,
"maintainability_index": 86.21349852381388,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 14.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 715
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_741:741",
"entity_name": "anonymous_function_741",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 742,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.5708288341517129,
"calculated_length": 251.8246316944779,
"difficulty": 9.318181818181818,
"effort": 15957.260591059247,
"length": 305.0,
"n1": 5.0,
"n2": 44.0,
"n_1": 141.0,
"n_2": 164.0,
"time": 886.5144772810693,
"vocabulary": 49.0,
"volume": 1712.4865024551386
},
"lines_of_code": 70.0,
"maintainability_index": 63.22672829949843,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 38.0,
"technical_debt_score": 15.999999999999998
},
"recommendations": [],
"severity": "Low",
"start_line": 742
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_742:742",
"entity_name": "anonymous_function_742",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 743,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.06626956412160623,
"calculated_length": 70.2129994085646,
"difficulty": 4.166666666666667,
"effort": 828.369551520078,
"length": 46.0,
"n1": 5.0,
"n2": 15.0,
"n_1": 21.0,
"n_2": 25.0,
"time": 46.02053064000433,
"vocabulary": 20.0,
"volume": 198.80869236481868
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 743
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_752:752",
"entity_name": "anonymous_function_752",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 753,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.025094737505048093,
"calculated_length": 32.0,
"difficulty": 2.5,
"effort": 188.2105312878607,
"length": 21.0,
"n1": 4.0,
"n2": 8.0,
"n_1": 11.0,
"n_2": 10.0,
"time": 10.456140627103373,
"vocabulary": 12.0,
"volume": 75.28421251514428
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 753
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_760:760",
"entity_name": "anonymous_function_760",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 761,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.055861992163754634,
"calculated_length": 56.105716335834195,
"difficulty": 3.230769230769231,
"effort": 541.431616356391,
"length": 41.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 20.0,
"n_2": 21.0,
"time": 30.079534242021722,
"vocabulary": 17.0,
"volume": 167.5859764912639
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 761
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_770:770",
"entity_name": "anonymous_function_770",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 771,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0472591500163462,
"calculated_length": 61.302968908806456,
"difficulty": 2.7142857142857144,
"effort": 384.82450727596193,
"length": 34.0,
"n1": 4.0,
"n2": 14.0,
"n_1": 15.0,
"n_2": 19.0,
"time": 21.379139293108995,
"vocabulary": 18.0,
"volume": 141.7774500490386
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 771
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_779:779",
"entity_name": "anonymous_function_779",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 780,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.08594767716508325,
"calculated_length": 86.66829050039843,
"difficulty": 4.305555555555555,
"effort": 1110.1574967156587,
"length": 57.0,
"n1": 5.0,
"n2": 18.0,
"n_1": 26.0,
"n_2": 31.0,
"time": 61.67541648420326,
"vocabulary": 23.0,
"volume": 257.84303149524976
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 780
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_791:791",
"entity_name": "anonymous_function_791",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 792,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.13140103453624116,
"calculated_length": 115.65156546374811,
"difficulty": 5.0,
"effort": 1971.0155180436175,
"length": 82.0,
"n1": 5.0,
"n2": 23.0,
"n_1": 36.0,
"n_2": 46.0,
"time": 109.50086211353431,
"vocabulary": 28.0,
"volume": 394.2031036087235
},
"lines_of_code": 19.0,
"maintainability_index": 91.99038394457664,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 792
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_792:792",
"entity_name": "anonymous_function_792",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 793,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.12221143267166838,
"calculated_length": 103.84830635279079,
"difficulty": 5.238095238095238,
"effort": 1920.4653705547887,
"length": 78.0,
"n1": 5.0,
"n2": 21.0,
"n_1": 34.0,
"n_2": 44.0,
"time": 106.69252058637716,
"vocabulary": 26.0,
"volume": 366.63429801500513
},
"lines_of_code": 17.0,
"maintainability_index": 94.1692464082696,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 793
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_813:813",
"entity_name": "anonymous_function_813",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 814,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.5326966022743774,
"calculated_length": 276.57545103317585,
"difficulty": 9.191489361702128,
"effort": 14688.82545845943,
"length": 279.0,
"n1": 6.0,
"n2": 47.0,
"n_1": 135.0,
"n_2": 144.0,
"time": 816.0458588033017,
"vocabulary": 53.0,
"volume": 1598.0898068231324
},
"lines_of_code": 54.0,
"maintainability_index": 67.79032395950189,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 34.0,
"technical_debt_score": 12.8
},
"recommendations": [],
"severity": "Low",
"start_line": 814
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_814:814",
"entity_name": "anonymous_function_814",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 815,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.061158900021153914,
"calculated_length": 59.715356810271004,
"difficulty": 4.230769230769231,
"effort": 776.2475771915689,
"length": 44.0,
"n1": 5.0,
"n2": 13.0,
"n_1": 22.0,
"n_2": 22.0,
"time": 43.12486539953161,
"vocabulary": 18.0,
"volume": 183.47670006346175
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 815
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_824:824",
"entity_name": "anonymous_function_824",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 825,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0651348885394683,
"calculated_length": 66.60335893412778,
"difficulty": 3.066666666666667,
"effort": 599.2409745631085,
"length": 46.0,
"n1": 4.0,
"n2": 15.0,
"n_1": 23.0,
"n_2": 23.0,
"time": 33.29116525350602,
"vocabulary": 19.0,
"volume": 195.40466561840492
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 825
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_835:835",
"entity_name": "anonymous_function_835",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 836,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.14705544600953294,
"calculated_length": 98.04820237218406,
"difficulty": 6.25,
"effort": 2757.2896126787427,
"length": 95.0,
"n1": 5.0,
"n2": 20.0,
"n_1": 45.0,
"n_2": 50.0,
"time": 153.18275625993016,
"vocabulary": 25.0,
"volume": 441.16633802859883
},
"lines_of_code": 14.0,
"maintainability_index": 96.35227692227267,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 4.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 836
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_837:837",
"entity_name": "anonymous_function_837",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 838,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 838
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_839:839",
"entity_name": "anonymous_function_839",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 840,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 840
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_848:848",
"entity_name": "anonymous_function_848",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 849,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 849
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_851:851",
"entity_name": "anonymous_function_851",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 852,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.12074026093414283,
"calculated_length": 98.04820237218406,
"difficulty": 5.125,
"effort": 1856.3815118624461,
"length": 78.0,
"n1": 5.0,
"n2": 20.0,
"n_1": 37.0,
"n_2": 41.0,
"time": 103.13230621458034,
"vocabulary": 25.0,
"volume": 362.2207828024285
},
"lines_of_code": 15.0,
"maintainability_index": 96.259866341721,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 5.0
},
"recommendations": [],
"severity": "Low",
"start_line": 852
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_852:852",
"entity_name": "anonymous_function_852",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 853,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.11158119491607299,
"calculated_length": 86.66829050039843,
"difficulty": 5.416666666666666,
"effort": 1813.1944173861857,
"length": 74.0,
"n1": 5.0,
"n2": 18.0,
"n_1": 35.0,
"n_2": 39.0,
"time": 100.73302318812142,
"vocabulary": 23.0,
"volume": 334.74358474821895
},
"lines_of_code": 13.0,
"maintainability_index": 98.98832334470396,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 4.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 853
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_869:869",
"entity_name": "anonymous_function_869",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 870,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.6663480795475187,
"calculated_length": 283.1207823616452,
"difficulty": 7.795918367346939,
"effort": 15584.385697172584,
"length": 349.0,
"n1": 4.0,
"n2": 49.0,
"n_1": 158.0,
"n_2": 191.0,
"time": 865.7992053984768,
"vocabulary": 53.0,
"volume": 1999.0442386425564
},
"lines_of_code": 59.0,
"maintainability_index": 65.19168619258897,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 34.0,
"technical_debt_score": 13.8
},
"recommendations": [],
"severity": "Low",
"start_line": 870
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_870:870",
"entity_name": "anonymous_function_870",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 871,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.028370037839081708,
"calculated_length": 36.529325012980806,
"difficulty": 2.6666666666666665,
"effort": 226.96030271265366,
"length": 23.0,
"n1": 4.0,
"n2": 9.0,
"n_1": 11.0,
"n_2": 12.0,
"time": 12.608905706258536,
"vocabulary": 13.0,
"volume": 85.11011351724513
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 871
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_878:878",
"entity_name": "anonymous_function_878",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 879,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10705763296001597,
"calculated_length": 88.71062275542812,
"difficulty": 4.105263157894737,
"effort": 1318.4992690865126,
"length": 71.0,
"n1": 4.0,
"n2": 19.0,
"n_1": 32.0,
"n_2": 39.0,
"time": 73.24995939369515,
"vocabulary": 23.0,
"volume": 321.1728988800479
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 879
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_886:886",
"entity_name": "anonymous_function_886",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 887,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 887
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_889:889",
"entity_name": "anonymous_function_889",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 890,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10856548694536831,
"calculated_length": 88.71062275542812,
"difficulty": 4.2105263157894735,
"effort": 1371.3535193099156,
"length": 72.0,
"n1": 4.0,
"n2": 19.0,
"n_1": 32.0,
"n_2": 40.0,
"time": 76.18630662832864,
"vocabulary": 23.0,
"volume": 325.69646083610496
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 890
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_897:897",
"entity_name": "anonymous_function_897",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 898,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 898
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_900:900",
"entity_name": "anonymous_function_900",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 901,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.13776773362998349,
"calculated_length": 100.23866587835397,
"difficulty": 4.857142857142857,
"effort": 2007.4726900369021,
"length": 89.0,
"n1": 4.0,
"n2": 21.0,
"n_1": 38.0,
"n_2": 51.0,
"time": 111.52626055760567,
"vocabulary": 25.0,
"volume": 413.30320088995046
},
"lines_of_code": 12.0,
"maintainability_index": 99.18876864918994,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 4.4
},
"recommendations": [],
"severity": "Low",
"start_line": 901
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_909:909",
"entity_name": "anonymous_function_909",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 910,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 910
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_914:914",
"entity_name": "anonymous_function_914",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 915,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.07929464691761359,
"calculated_length": 66.60335893412778,
"difficulty": 4.133333333333334,
"effort": 983.2536217784086,
"length": 56.0,
"n1": 4.0,
"n2": 15.0,
"n_1": 25.0,
"n_2": 31.0,
"time": 54.62520120991159,
"vocabulary": 19.0,
"volume": 237.88394075284077
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 915
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_922:922",
"entity_name": "anonymous_function_922",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 923,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 923
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_925:925",
"entity_name": "anonymous_function_925",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 926,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.015502331109474358,
"calculated_length": 23.509775004326936,
"difficulty": 2.0,
"effort": 93.01398665684614,
"length": 14.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 8.0,
"n_2": 6.0,
"time": 5.167443703158119,
"vocabulary": 10.0,
"volume": 46.50699332842307
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 926
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_930:930",
"entity_name": "anonymous_function_930",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 931,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.6451298544133486,
"calculated_length": 319.08955909617646,
"difficulty": 10.245283018867925,
"effort": 19828.613827157453,
"length": 329.0,
"n1": 6.0,
"n2": 53.0,
"n_1": 148.0,
"n_2": 181.0,
"time": 1101.5896570643029,
"vocabulary": 59.0,
"volume": 1935.3895632400458
},
"lines_of_code": 62.0,
"maintainability_index": 64.55649063093175,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 37.0,
"technical_debt_score": 14.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 931
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_931:931",
"entity_name": "anonymous_function_931",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 932,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.18327965300335716,
"calculated_length": 143.8917375627406,
"difficulty": 6.444444444444445,
"effort": 3543.406624731572,
"length": 109.0,
"n1": 6.0,
"n2": 27.0,
"n_1": 51.0,
"n_2": 58.0,
"time": 196.85592359619844,
"vocabulary": 33.0,
"volume": 549.8389590100714
},
"lines_of_code": 18.0,
"maintainability_index": 91.13592526761262,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 11.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 932
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_951:951",
"entity_name": "anonymous_function_951",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 952,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.06194763602671887,
"calculated_length": 70.2129994085646,
"difficulty": 4.166666666666667,
"effort": 774.3454503339859,
"length": 43.0,
"n1": 5.0,
"n2": 15.0,
"n_1": 18.0,
"n_2": 25.0,
"time": 43.01919168522144,
"vocabulary": 20.0,
"volume": 185.8429080801566
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 952
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_961:961",
"entity_name": "anonymous_function_961",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 962,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04531122681006491,
"calculated_length": 64.91260938324326,
"difficulty": 3.3928571428571432,
"effort": 461.20355860244644,
"length": 32.0,
"n1": 5.0,
"n2": 14.0,
"n_1": 13.0,
"n_2": 19.0,
"time": 25.622419922358134,
"vocabulary": 19.0,
"volume": 135.93368043019473
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 962
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_970:970",
"entity_name": "anonymous_function_970",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 971,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.2187609021737646,
"calculated_length": 152.4910893331364,
"difficulty": 6.120689655172413,
"effort": 4016.9027726734353,
"length": 129.0,
"n1": 5.0,
"n2": 29.0,
"n_1": 58.0,
"n_2": 71.0,
"time": 223.1612651485242,
"vocabulary": 34.0,
"volume": 656.2827065212938
},
"lines_of_code": 21.0,
"maintainability_index": 87.71845992278318,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 13.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 971
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_994:994",
"entity_name": "anonymous_function_994",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 995,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 1.5533618731283516,
"calculated_length": 494.15220410794416,
"difficulty": 13.084415584415584,
"effort": 60974.49690299277,
"length": 733.0,
"n1": 5.0,
"n2": 77.0,
"n_1": 330.0,
"n_2": 403.0,
"time": 3387.472050166265,
"vocabulary": 82.0,
"volume": 4660.085619385055
},
"lines_of_code": 169.0,
"maintainability_index": 43.7423374971568,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 79.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 995
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_995:995",
"entity_name": "anonymous_function_995",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 996,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.2984644866866865,
"calculated_length": 152.4910893331364,
"difficulty": 8.103448275862068,
"effort": 7255.774590141861,
"length": 176.0,
"n1": 5.0,
"n2": 29.0,
"n_1": 82.0,
"n_2": 94.0,
"time": 403.0985883412145,
"vocabulary": 34.0,
"volume": 895.3934600600596
},
"lines_of_code": 36.0,
"maintainability_index": 77.37122433939597,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 20.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 996
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_996:996",
"entity_name": "anonymous_function_996",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 997,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.028370037839081708,
"calculated_length": 36.529325012980806,
"difficulty": 2.6666666666666665,
"effort": 226.96030271265366,
"length": 23.0,
"n1": 4.0,
"n2": 9.0,
"n_1": 11.0,
"n_2": 12.0,
"time": 12.608905706258536,
"vocabulary": 13.0,
"volume": 85.11011351724513
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 997
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_1004:1004",
"entity_name": "anonymous_function_1004",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 1005,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.07059149221649359,
"calculated_length": 70.2129994085646,
"difficulty": 4.5,
"effort": 952.9851449226634,
"length": 49.0,
"n1": 5.0,
"n2": 15.0,
"n_1": 22.0,
"n_2": 27.0,
"time": 52.94361916237019,
"vocabulary": 20.0,
"volume": 211.77447664948076
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 1005
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_1014:1014",
"entity_name": "anonymous_function_1014",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 1015,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.11158119491607299,
"calculated_length": 86.66829050039843,
"difficulty": 5.694444444444445,
"effort": 1906.1787464829135,
"length": 74.0,
"n1": 5.0,
"n2": 18.0,
"n_1": 33.0,
"n_2": 41.0,
"time": 105.89881924905075,
"vocabulary": 23.0,
"volume": 334.74358474821895
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 4.4
},
"recommendations": [],
"severity": "Low",
"start_line": 1015
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_1028:1028",
"entity_name": "anonymous_function_1028",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 1029,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.015502331109474358,
"calculated_length": 23.509775004326936,
"difficulty": 2.0,
"effort": 93.01398665684614,
"length": 14.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 8.0,
"n_2": 6.0,
"time": 5.167443703158119,
"vocabulary": 10.0,
"volume": 46.50699332842307
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1029
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_1033:1033",
"entity_name": "anonymous_function_1033",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 1034,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.5918230440123593,
"calculated_length": 265.6934904530594,
"difficulty": 9.782608695652174,
"effort": 17368.71976992794,
"length": 313.0,
"n1": 5.0,
"n2": 46.0,
"n_1": 133.0,
"n_2": 180.0,
"time": 964.9288761071077,
"vocabulary": 51.0,
"volume": 1775.469132037078
},
"lines_of_code": 74.0,
"maintainability_index": 62.13868166310846,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 31.0,
"technical_debt_score": 16.799999999999997
},
"recommendations": [],
"severity": "Low",
"start_line": 1034
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_1034:1034",
"entity_name": "anonymous_function_1034",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 1035,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.028370037839081708,
"calculated_length": 36.529325012980806,
"difficulty": 2.6666666666666665,
"effort": 226.96030271265366,
"length": 23.0,
"n1": 4.0,
"n2": 9.0,
"n_1": 11.0,
"n_2": 12.0,
"time": 12.608905706258536,
"vocabulary": 13.0,
"volume": 85.11011351724513
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 1035
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_1042:1042",
"entity_name": "anonymous_function_1042",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 1043,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10856548694536831,
"calculated_length": 88.71062275542812,
"difficulty": 4.2105263157894735,
"effort": 1371.3535193099156,
"length": 72.0,
"n1": 4.0,
"n2": 19.0,
"n_1": 32.0,
"n_2": 40.0,
"time": 76.18630662832864,
"vocabulary": 23.0,
"volume": 325.69646083610496
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1043
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_1050:1050",
"entity_name": "anonymous_function_1050",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 1051,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1051
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_1055:1055",
"entity_name": "anonymous_function_1055",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 1056,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.08784634845557522,
"calculated_length": 75.60964047443682,
"difficulty": 5.15625,
"effort": 1358.873202672179,
"length": 60.0,
"n1": 5.0,
"n2": 16.0,
"n_1": 27.0,
"n_2": 33.0,
"time": 75.49295570400994,
"vocabulary": 21.0,
"volume": 263.53904536672565
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1056
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_1068:1068",
"entity_name": "anonymous_function_1068",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 1069,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.12221143267166838,
"calculated_length": 106.10749561002054,
"difficulty": 4.454545454545454,
"effort": 1633.1891457032045,
"length": 78.0,
"n1": 4.0,
"n2": 22.0,
"n_1": 29.0,
"n_2": 49.0,
"time": 90.7327303168447,
"vocabulary": 26.0,
"volume": 366.63429801500513
},
"lines_of_code": 19.0,
"maintainability_index": 92.36739111948397,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 1069
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_1086:1086",
"entity_name": "anonymous_function_1086",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 1087,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1087
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_1089:1089",
"entity_name": "anonymous_function_1089",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 1090,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.08918863237274595,
"calculated_length": 83.05865002596161,
"difficulty": 4.0,
"effort": 1070.2635884729514,
"length": 60.0,
"n1": 4.0,
"n2": 18.0,
"n_1": 24.0,
"n_2": 36.0,
"time": 59.459088248497295,
"vocabulary": 22.0,
"volume": 267.56589711823784
},
"lines_of_code": 17.0,
"maintainability_index": 95.80724124838864,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 1090
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_1102:1102",
"entity_name": "anonymous_function_1102",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 1103,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 1103
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_1109:1109",
"entity_name": "anonymous_function_1109",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 1110,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.3966645533104108,
"calculated_length": 161.58008562199313,
"difficulty": 7.935483870967742,
"effort": 9443.175494938167,
"length": 232.0,
"n1": 4.0,
"n2": 31.0,
"n_1": 109.0,
"n_2": 123.0,
"time": 524.6208608298981,
"vocabulary": 35.0,
"volume": 1189.9936599312323
},
"lines_of_code": 53.0,
"maintainability_index": 69.62641405728262,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 25.0,
"technical_debt_score": 12.6
},
"recommendations": [],
"severity": "Low",
"start_line": 1110
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_1110:1110",
"entity_name": "anonymous_function_1110",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 1111,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.06403691784625531,
"calculated_length": 56.105716335834195,
"difficulty": 3.8461538461538463,
"effort": 738.8875136106383,
"length": 47.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 22.0,
"n_2": 25.0,
"time": 41.049306311702125,
"vocabulary": 17.0,
"volume": 192.11075353876595
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 1111
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_1120:1120",
"entity_name": "anonymous_function_1120",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 1121,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.06393885002211545,
"calculated_length": 61.302968908806456,
"difficulty": 3.5714285714285716,
"effort": 685.0591073798084,
"length": 46.0,
"n1": 4.0,
"n2": 14.0,
"n_1": 21.0,
"n_2": 25.0,
"time": 38.05883929887825,
"vocabulary": 18.0,
"volume": 191.81655006634637
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 1121
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_1130:1130",
"entity_name": "anonymous_function_1130",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 1131,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03255742163007099,
"calculated_length": 46.05374780501027,
"difficulty": 2.3636363636363638,
"effort": 230.86171701323067,
"length": 25.0,
"n1": 4.0,
"n2": 11.0,
"n_1": 12.0,
"n_2": 13.0,
"time": 12.825650945179483,
"vocabulary": 15.0,
"volume": 97.67226489021297
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 1131
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_1138:1138",
"entity_name": "anonymous_function_1138",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 1139,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03255742163007099,
"calculated_length": 46.05374780501027,
"difficulty": 2.3636363636363638,
"effort": 230.86171701323067,
"length": 25.0,
"n1": 4.0,
"n2": 11.0,
"n_1": 12.0,
"n_2": 13.0,
"time": 12.825650945179483,
"vocabulary": 15.0,
"volume": 97.67226489021297
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 1139
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_1146:1146",
"entity_name": "anonymous_function_1146",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 1147,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03426619429851844,
"calculated_length": 41.219280948873624,
"difficulty": 2.8,
"effort": 287.83603210755484,
"length": 27.0,
"n1": 4.0,
"n2": 10.0,
"n_1": 13.0,
"n_2": 14.0,
"time": 15.990890672641935,
"vocabulary": 14.0,
"volume": 102.79858289555531
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 1147
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts:anonymous_function_1154:1154",
"entity_name": "anonymous_function_1154",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.test.ts",
"issues": [],
"line_number": 1155,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.051774529322504294,
"calculated_length": 56.105716335834195,
"difficulty": 3.230769230769231,
"effort": 501.81466881811855,
"length": 38.0,
"n1": 4.0,
"n2": 13.0,
"n_1": 17.0,
"n_2": 21.0,
"time": 27.878592712117698,
"vocabulary": 17.0,
"volume": 155.32358796751288
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 1155
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:generateId:11",
"entity_name": "generateId",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 12,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009,
"calculated_length": 16.36452797660028,
"difficulty": 1.5,
"effort": 40.5,
"length": 9.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 5.0,
"time": 2.25,
"vocabulary": 8.0,
"volume": 27.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 12
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:sortByPriorityThenCreated:15",
"entity_name": "sortByPriorityThenCreated",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 16,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 18,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 18,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 19,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 19,
"nesting_level": 1
},
{
"column": 3,
"kind": "If",
"line": 22,
"nesting_level": 0
},
{
"column": 7,
"kind": "LogicalAnd",
"line": 22,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 23,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.09116078056419877,
"calculated_length": 43.65148445440323,
"difficulty": 14.0,
"effort": 3828.7527836963486,
"length": 70.0,
"n1": 7.0,
"n2": 8.0,
"n_1": 38.0,
"n_2": 32.0,
"time": 212.70848798313048,
"vocabulary": 15.0,
"volume": 273.4823416925963
},
"lines_of_code": 14.0,
"maintainability_index": 97.22883857120425,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 8.0,
"technical_debt_score": 27.60000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 16
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:serializeTask:31",
"entity_name": "serializeTask",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 32,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 7.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 42,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 46,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 50,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 59,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 63,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 70,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2607341975580801,
"calculated_length": 188.52932501298082,
"difficulty": 10.96875,
"effort": 8579.784688395572,
"length": 146.0,
"n1": 9.0,
"n2": 32.0,
"n_1": 68.0,
"n_2": 78.0,
"time": 476.6547049108651,
"vocabulary": 41.0,
"volume": 782.2025926742402
},
"lines_of_code": 46.0,
"maintainability_index": 72.72301773695294,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 21.0,
"technical_debt_score": 28.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 32
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:parseTask:79",
"entity_name": "parseTask",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 80,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 12.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 82,
"nesting_level": 0
},
{
"column": 12,
"kind": "ConditionalExpression",
"line": 91,
"nesting_level": 0
},
{
"column": 5,
"kind": "ConditionalExpression",
"line": 97,
"nesting_level": 0
},
{
"column": 5,
"kind": "LogicalAnd",
"line": 97,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 107,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 124,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 136,
"nesting_level": 0
},
{
"column": 20,
"kind": "ConditionalExpression",
"line": 144,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalOr",
"line": 151,
"nesting_level": 0
},
{
"column": 14,
"kind": "LogicalOr",
"line": 155,
"nesting_level": 0
},
{
"column": 15,
"kind": "LogicalOr",
"line": 156,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.5358084253763593,
"calculated_length": 533.4458499558402,
"difficulty": 14.802631578947368,
"effort": 23794.124153226483,
"length": 247.0,
"n1": 15.0,
"n2": 76.0,
"n_1": 97.0,
"n_2": 150.0,
"time": 1321.89578629036,
"vocabulary": 91.0,
"volume": 1607.425276129078
},
"lines_of_code": 80.0,
"maintainability_index": 58.86274587164043,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 33.0,
"technical_debt_score": 48.800000000000004
},
"recommendations": [],
"severity": "Moderate",
"start_line": 80
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:anonymous_function_88:88",
"entity_name": "anonymous_function_88",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 89,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 12,
"kind": "ConditionalExpression",
"line": 91,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.02157501122499309,
"calculated_length": 39.50977500432694,
"difficulty": 4.125,
"effort": 266.9907639092895,
"length": 17.0,
"n1": 6.0,
"n2": 8.0,
"n_1": 6.0,
"n_2": 11.0,
"time": 14.83282021718275,
"vocabulary": 14.0,
"volume": 64.72503367497927
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 89
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:anonymous_function_99:99",
"entity_name": "anonymous_function_99",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 100,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.0,
"difficulty": 1.5,
"effort": 15.0,
"length": 5.0,
"n1": 2.0,
"n2": 2.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.8333333333333334,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 100
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:constructor:162",
"entity_name": "constructor",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 163,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0006666666666666666,
"calculated_length": 2.0,
"difficulty": 0.0,
"effort": 0.0,
"length": 2.0,
"n1": 0.0,
"n2": 2.0,
"n_1": 0.0,
"n_2": 2.0,
"time": 0.0,
"vocabulary": 2.0,
"volume": 2.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 163
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:taskPath:164",
"entity_name": "taskPath",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 165,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 12.754887502163468,
"difficulty": 1.875,
"effort": 42.11032383086406,
"length": 8.0,
"n1": 3.0,
"n2": 4.0,
"n_1": 3.0,
"n_2": 5.0,
"time": 2.3394624350480036,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 165
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:ensureDir:168",
"entity_name": "ensureDir",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 169,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01107309364962454,
"calculated_length": 23.509775004326936,
"difficulty": 2.0,
"effort": 66.43856189774725,
"length": 10.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 4.0,
"n_2": 6.0,
"time": 3.691031216541514,
"vocabulary": 10.0,
"volume": 33.219280948873624
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 169
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:readTask:172",
"entity_name": "readTask",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 173,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 174,
"nesting_level": 1
},
{
"column": 7,
"kind": "Catch",
"line": 177,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 178,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.06089316234606298,
"calculated_length": 107.54061610626604,
"difficulty": 7.11764705882353,
"effort": 1300.2481136247566,
"length": 38.0,
"n1": 11.0,
"n2": 17.0,
"n_1": 16.0,
"n_2": 22.0,
"time": 72.23600631248648,
"vocabulary": 28.0,
"volume": 182.67948703818894
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 16.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 173
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:writeTask:184",
"entity_name": "writeTask",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 185,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.029189721069108297,
"calculated_length": 41.219280948873624,
"difficulty": 2.4,
"effort": 210.16599169757973,
"length": 23.0,
"n1": 4.0,
"n2": 10.0,
"n_1": 11.0,
"n_2": 12.0,
"time": 11.675888427643319,
"vocabulary": 14.0,
"volume": 87.56916320732489
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 185
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:list:189",
"entity_name": "list",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 190,
"metrics": {
"cognitive_complexity": 15.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "Try",
"line": 192,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 196,
"nesting_level": 2
},
{
"column": 11,
"kind": "If",
"line": 199,
"nesting_level": 3
},
{
"column": 7,
"kind": "Catch",
"line": 206,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 207,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.1501266582134247,
"calculated_length": 194.18441776750603,
"difficulty": 10.379310344827587,
"effort": 4674.6335298869835,
"length": 83.0,
"n1": 14.0,
"n2": 29.0,
"n_1": 40.0,
"n_2": 43.0,
"time": 259.70186277149907,
"vocabulary": 43.0,
"volume": 450.3799746402741
},
"lines_of_code": 22.0,
"maintainability_index": 87.77263585988956,
"max_nesting_depth": 3.0,
"parameter_count": 0.0,
"statement_count": 14.0,
"technical_debt_score": 28.4
},
"recommendations": [],
"severity": "Moderate",
"start_line": 190
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:anonymous_function_204:204",
"entity_name": "anonymous_function_204",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 205,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009478195835977574,
"calculated_length": 10.0,
"difficulty": 1.75,
"effort": 49.76052813888226,
"length": 11.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 7.0,
"time": 2.764473785493459,
"vocabulary": 6.0,
"volume": 28.43458750793272
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 205
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:get:213",
"entity_name": "get",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 214,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012180403014586996,
"calculated_length": 24.406371956566694,
"difficulty": 1.7142857142857142,
"effort": 62.6420726464474,
"length": 11.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 3.0,
"n_2": 8.0,
"time": 3.480115147024856,
"vocabulary": 10.0,
"volume": 36.541209043760986
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 214
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:getDepTree:217",
"entity_name": "getDepTree",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 218,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 220,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 228,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 232,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 235,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 237,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.14884234806679172,
"calculated_length": 118.76437056043838,
"difficulty": 13.026315789473683,
"effort": 5816.602286294361,
"length": 91.0,
"n1": 11.0,
"n2": 19.0,
"n_1": 46.0,
"n_2": 45.0,
"time": 323.1445714607978,
"vocabulary": 30.0,
"volume": 446.5270442003752
},
"lines_of_code": 29.0,
"maintainability_index": 83.34200772165883,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 20.0,
"technical_debt_score": 26.6
},
"recommendations": [],
"severity": "Low",
"start_line": 218
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:anonymous_function_226:226",
"entity_name": "anonymous_function_226",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 227,
"metrics": {
"cognitive_complexity": 9.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 228,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 232,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 235,
"nesting_level": 1
},
{
"column": 11,
"kind": "If",
"line": 237,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.08918863237274595,
"calculated_length": 76.63504134881501,
"difficulty": 9.346153846153847,
"effort": 2500.712038451223,
"length": 60.0,
"n1": 9.0,
"n2": 13.0,
"n_1": 33.0,
"n_2": 27.0,
"time": 138.9284465806235,
"vocabulary": 22.0,
"volume": 267.56589711823784
},
"lines_of_code": 16.0,
"maintainability_index": 95.86936012181486,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 20.4
},
"recommendations": [],
"severity": "Low",
"start_line": 227
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:getAncestors:248",
"entity_name": "getAncestors",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 249,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 251,
"nesting_level": 1
},
{
"column": 5,
"kind": "While",
"line": 258,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 260,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.08049350728942856,
"calculated_length": 91.12526634448807,
"difficulty": 14.625,
"effort": 3531.652632323678,
"length": 52.0,
"n1": 13.0,
"n2": 12.0,
"n_1": 25.0,
"n_2": 27.0,
"time": 196.20292401798213,
"vocabulary": 25.0,
"volume": 241.48052186828568
},
"lines_of_code": 17.0,
"maintainability_index": 95.65064198802855,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 17.0
},
"recommendations": [],
"severity": "Low",
"start_line": 249
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:getChildren:267",
"entity_name": "getChildren",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 268,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.032,
"calculated_length": 49.66338827944708,
"difficulty": 3.1818181818181817,
"effort": 305.45454545454544,
"length": 24.0,
"n1": 5.0,
"n2": 11.0,
"n_1": 10.0,
"n_2": 14.0,
"time": 16.96969696969697,
"vocabulary": 16.0,
"volume": 96.0
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 268
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:anonymous_function_270:270",
"entity_name": "anonymous_function_270",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 271,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 271
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:getDescendants:274",
"entity_name": "getDescendants",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 275,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05281905001826929,
"calculated_length": 58.529325012980806,
"difficulty": 5.75,
"effort": 911.1286128151453,
"length": 38.0,
"n1": 6.0,
"n2": 12.0,
"n_1": 15.0,
"n_2": 23.0,
"time": 50.61825626750807,
"vocabulary": 18.0,
"volume": 158.45715005480787
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 275
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:anonymous_function_276:276",
"entity_name": "anonymous_function_276",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 277,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.030458839376460836,
"calculated_length": 40.13896548741762,
"difficulty": 3.611111111111111,
"effort": 329.97075991165906,
"length": 24.0,
"n1": 5.0,
"n2": 9.0,
"n_1": 11.0,
"n_2": 13.0,
"time": 18.331708883981058,
"vocabulary": 14.0,
"volume": 91.3765181293825
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 277
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:getReady:287",
"entity_name": "getReady",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 288,
"metrics": {
"cognitive_complexity": 11.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 293,
"nesting_level": 1
},
{
"column": 20,
"kind": "ConditionalExpression",
"line": 297,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 305,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 313,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 319,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.29307530933519393,
"calculated_length": 246.05274343707762,
"difficulty": 16.45945945945946,
"effort": 14471.583517713494,
"length": 155.0,
"n1": 14.0,
"n2": 37.0,
"n_1": 68.0,
"n_2": 87.0,
"time": 803.9768620951941,
"vocabulary": 51.0,
"volume": 879.2259280055817
},
"lines_of_code": 39.0,
"maintainability_index": 75.01928348854446,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 25.0,
"technical_debt_score": 28.6
},
"recommendations": [],
"severity": "Low",
"start_line": 288
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:anonymous_function_289:289",
"entity_name": "anonymous_function_289",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 290,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026416041678685932,
"calculated_length": 2.0,
"difficulty": 1.0,
"effort": 7.92481250360578,
"length": 5.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.44026736131143224,
"vocabulary": 3.0,
"volume": 7.92481250360578
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 290
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:anonymous_function_311:311",
"entity_name": "anonymous_function_311",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 312,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 313,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 319,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08711428751370197,
"calculated_length": 89.138352755659,
"difficulty": 6.38235294117647,
"effort": 1667.982387394705,
"length": 57.0,
"n1": 7.0,
"n2": 17.0,
"n_1": 26.0,
"n_2": 31.0,
"time": 92.66568818859473,
"vocabulary": 24.0,
"volume": 261.3428625411059
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 11.4
},
"recommendations": [],
"severity": "Low",
"start_line": 312
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:anonymous_function_314:314",
"entity_name": "anonymous_function_314",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 315,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014395021744511903,
"calculated_length": 23.509775004326936,
"difficulty": 2.6666666666666665,
"effort": 115.16017395609522,
"length": 13.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 6.39778744200529,
"vocabulary": 10.0,
"volume": 43.18506523353571
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 315
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:anonymous_function_321:321",
"entity_name": "anonymous_function_321",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 322,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 322
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:getBlocked:328",
"entity_name": "getBlocked",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 329,
"metrics": {
"cognitive_complexity": 12.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 334,
"nesting_level": 1
},
{
"column": 20,
"kind": "ConditionalExpression",
"line": 337,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 343,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 343,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 344,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.18930017082983897,
"calculated_length": 183.90099886735345,
"difficulty": 12.206896551724137,
"effort": 6932.302807630655,
"length": 106.0,
"n1": 12.0,
"n2": 29.0,
"n_1": 47.0,
"n_2": 59.0,
"time": 385.1279337572586,
"vocabulary": 41.0,
"volume": 567.9005124895169
},
"lines_of_code": 23.0,
"maintainability_index": 85.84687320552467,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 17.0,
"technical_debt_score": 26.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 329
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:anonymous_function_330:330",
"entity_name": "anonymous_function_330",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 331,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0026416041678685932,
"calculated_length": 2.0,
"difficulty": 1.0,
"effort": 7.92481250360578,
"length": 5.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.44026736131143224,
"vocabulary": 3.0,
"volume": 7.92481250360578
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 331
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:anonymous_function_341:341",
"entity_name": "anonymous_function_341",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 342,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 343,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 343,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 344,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.0691508495181978,
"calculated_length": 68.81274391313339,
"difficulty": 5.357142857142858,
"effort": 1111.352938685322,
"length": 48.0,
"n1": 6.0,
"n2": 14.0,
"n_1": 23.0,
"n_2": 25.0,
"time": 61.74182992696233,
"vocabulary": 20.0,
"volume": 207.45254855459342
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 15.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 342
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:anonymous_function_344:344",
"entity_name": "anonymous_function_344",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 345,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.014395021744511903,
"calculated_length": 23.509775004326936,
"difficulty": 2.6666666666666665,
"effort": 115.16017395609522,
"length": 13.0,
"n1": 4.0,
"n2": 6.0,
"n_1": 5.0,
"n_2": 8.0,
"time": 6.39778744200529,
"vocabulary": 10.0,
"volume": 43.18506523353571
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 345
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:getClosed:353",
"entity_name": "getClosed",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 354,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 356,
"nesting_level": 1
},
{
"column": 20,
"kind": "ConditionalExpression",
"line": 359,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.10140907230924272,
"calculated_length": 118.76437056043838,
"difficulty": 9.842105263157896,
"effort": 2994.236292920272,
"length": 62.0,
"n1": 11.0,
"n2": 19.0,
"n_1": 28.0,
"n_2": 34.0,
"time": 166.34646071779287,
"vocabulary": 30.0,
"volume": 304.22721692772814
},
"lines_of_code": 14.0,
"maintainability_index": 97.82484205932568,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 7.0,
"technical_debt_score": 12.8
},
"recommendations": [],
"severity": "Low",
"start_line": 354
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:anonymous_function_365:365",
"entity_name": "anonymous_function_365",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 366,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 366
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:anonymous_function_366:366",
"entity_name": "anonymous_function_366",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 367,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.009478195835977574,
"calculated_length": 10.0,
"difficulty": 1.75,
"effort": 49.76052813888226,
"length": 11.0,
"n1": 2.0,
"n2": 4.0,
"n_1": 4.0,
"n_2": 7.0,
"time": 2.764473785493459,
"vocabulary": 6.0,
"volume": 28.43458750793272
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 367
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:create:369",
"entity_name": "create",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 370,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 372,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 374,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.16965581347957265,
"calculated_length": 183.90099886735345,
"difficulty": 11.793103448275861,
"effort": 6002.305676897984,
"length": 95.0,
"n1": 12.0,
"n2": 29.0,
"n_1": 38.0,
"n_2": 57.0,
"time": 333.46142649433244,
"vocabulary": 41.0,
"volume": 508.967440438718
},
"lines_of_code": 28.0,
"maintainability_index": 83.91988989179855,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 8.0,
"technical_debt_score": 15.600000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 370
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:update:399",
"entity_name": "update",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 400,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 405,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05953890309645383,
"calculated_length": 97.21928094887363,
"difficulty": 7.8125,
"effort": 1395.4430413231366,
"length": 38.0,
"n1": 10.0,
"n2": 16.0,
"n_1": 13.0,
"n_2": 25.0,
"time": 77.52461340684093,
"vocabulary": 26.0,
"volume": 178.6167092893615
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 6.0,
"technical_debt_score": 8.000000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 400
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:delete:413",
"entity_name": "delete",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 414,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 416,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.034062190343752824,
"calculated_length": 52.529325012980806,
"difficulty": 6.75,
"effort": 689.7593544609947,
"length": 25.0,
"n1": 9.0,
"n2": 8.0,
"n_1": 13.0,
"n_2": 12.0,
"time": 38.31996413672193,
"vocabulary": 17.0,
"volume": 102.18657103125848
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 414
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:addDep:421",
"entity_name": "addDep",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 422,
"metrics": {
"cognitive_complexity": 6.0,
"cyclomatic_complexity": 4.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 424,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 429,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 433,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.08198992522520354,
"calculated_length": 71.54887502163469,
"difficulty": 9.75,
"effort": 2398.2053128372036,
"length": 56.0,
"n1": 9.0,
"n2": 12.0,
"n_1": 30.0,
"n_2": 26.0,
"time": 133.23362849095577,
"vocabulary": 21.0,
"volume": 245.9697756756106
},
"lines_of_code": 15.0,
"maintainability_index": 97.58250168270484,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 9.0,
"technical_debt_score": 15.8
},
"recommendations": [],
"severity": "Low",
"start_line": 422
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:removeDep:438",
"entity_name": "removeDep",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 439,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 441,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05797261104228486,
"calculated_length": 76.10749561002054,
"difficulty": 10.0,
"effort": 1739.178331268546,
"length": 39.0,
"n1": 11.0,
"n2": 11.0,
"n_1": 19.0,
"n_2": 20.0,
"time": 96.62101840380811,
"vocabulary": 22.0,
"volume": 173.9178331268546
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 439
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:anonymous_function_444:444",
"entity_name": "anonymous_function_444",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 445,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 445
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:setParent:448",
"entity_name": "setParent",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 449,
"metrics": {
"cognitive_complexity": 13.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 451,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 455,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 457,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 461,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 466,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.124688178874941,
"calculated_length": 113.92990370430175,
"difficulty": 10.0,
"effort": 3740.64536624823,
"length": 77.0,
"n1": 10.0,
"n2": 19.0,
"n_1": 39.0,
"n_2": 38.0,
"time": 207.813631458235,
"vocabulary": 29.0,
"volume": 374.064536624823
},
"lines_of_code": 23.0,
"maintainability_index": 88.01796633213544,
"max_nesting_depth": 2.0,
"parameter_count": 2.0,
"statement_count": 13.0,
"technical_debt_score": 27.0
},
"recommendations": [],
"severity": "Low",
"start_line": 449
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:anonymous_function_465:465",
"entity_name": "anonymous_function_465",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 466,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 466
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:getAncestorsFrom:473",
"entity_name": "getAncestorsFrom",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 474,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "While",
"line": 478,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 480,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.05499965662986,
"calculated_length": 76.10749561002054,
"difficulty": 10.5,
"effort": 1732.48918384059,
"length": 37.0,
"n1": 11.0,
"n2": 11.0,
"n_1": 16.0,
"n_2": 21.0,
"time": 96.249399102255,
"vocabulary": 22.0,
"volume": 164.99896988958
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 9.0,
"technical_debt_score": 12.4
},
"recommendations": [],
"severity": "Low",
"start_line": 474
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:addNote:487",
"entity_name": "addNote",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 488,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 490,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05729845144338883,
"calculated_length": 81.83229392178727,
"difficulty": 6.107142857142858,
"effort": 1049.789485373517,
"length": 38.0,
"n1": 9.0,
"n2": 14.0,
"n_1": 19.0,
"n_2": 19.0,
"time": 58.3216380763065,
"vocabulary": 23.0,
"volume": 171.8953543301665
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 7.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 488
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:open:500",
"entity_name": "open",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 501,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 503,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03474937501201927,
"calculated_length": 57.05865002596162,
"difficulty": 6.5,
"effort": 677.6128127343757,
"length": 25.0,
"n1": 9.0,
"n2": 9.0,
"n_1": 12.0,
"n_2": 13.0,
"time": 37.64515626302087,
"vocabulary": 18.0,
"volume": 104.2481250360578
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 501
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:start:508",
"entity_name": "start",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 509,
"metrics": {
"cognitive_complexity": 4.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 511,
"nesting_level": 1
},
{
"column": 5,
"kind": "If",
"line": 514,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.05474442253523993,
"calculated_length": 66.43856189774725,
"difficulty": 9.5,
"effort": 1560.216042254338,
"length": 38.0,
"n1": 10.0,
"n2": 10.0,
"n_1": 19.0,
"n_2": 19.0,
"time": 86.67866901412988,
"vocabulary": 20.0,
"volume": 164.2332676057198
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 11.0
},
"recommendations": [],
"severity": "Low",
"start_line": 509
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:close:519",
"entity_name": "close",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 520,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 522,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03474937501201927,
"calculated_length": 57.05865002596162,
"difficulty": 6.5,
"effort": 677.6128127343757,
"length": 25.0,
"n1": 9.0,
"n2": 9.0,
"n_1": 12.0,
"n_2": 13.0,
"time": 37.64515626302087,
"vocabulary": 18.0,
"volume": 104.2481250360578
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 520
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:fail:527",
"entity_name": "fail",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 528,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 530,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.03474937501201927,
"calculated_length": 57.05865002596162,
"difficulty": 6.5,
"effort": 677.6128127343757,
"length": 25.0,
"n1": 9.0,
"n2": 9.0,
"n_1": 12.0,
"n_2": 13.0,
"time": 37.64515626302087,
"vocabulary": 18.0,
"volume": 104.2481250360578
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 4.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 528
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts:addAcceptanceCriteria:535",
"entity_name": "addAcceptanceCriteria",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/tasks/task-store.ts",
"issues": [],
"line_number": 536,
"metrics": {
"cognitive_complexity": 2.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 538,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.04531122681006491,
"calculated_length": 61.74860596185444,
"difficulty": 7.2,
"effort": 978.7224990974021,
"length": 32.0,
"n1": 9.0,
"n2": 10.0,
"n_1": 16.0,
"n_2": 16.0,
"time": 54.373472172077896,
"vocabulary": 19.0,
"volume": 135.93368043019473
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 1.0,
"parameter_count": 2.0,
"statement_count": 5.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 536
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts:anonymous_function_3:3",
"entity_name": "anonymous_function_3",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts",
"issues": [],
"line_number": 4,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 8,
"nesting_level": 0
}
],
"halstead": {
"bugs": 1.5738148557986258,
"calculated_length": 430.42797576067073,
"difficulty": 22.507462686567163,
"effort": 106267.73742735795,
"length": 758.0,
"n1": 8.0,
"n2": 67.0,
"n_1": 381.0,
"n_2": 377.0,
"time": 5903.763190408775,
"vocabulary": 75.0,
"volume": 4721.444567395877
},
"lines_of_code": 168.0,
"maintainability_index": 43.54045909598584,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 105.0,
"technical_debt_score": 24.800000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 4
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts:anonymous_function_6:6",
"entity_name": "anonymous_function_6",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts",
"issues": [],
"line_number": 7,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 8,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.007486279792153611,
"calculated_length": 13.60964047443681,
"difficulty": 3.75,
"effort": 84.22064766172812,
"length": 8.0,
"n1": 5.0,
"n2": 2.0,
"n_1": 5.0,
"n_2": 3.0,
"time": 4.678924870096007,
"vocabulary": 7.0,
"volume": 22.458839376460833
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 7
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts:anonymous_function_12:12",
"entity_name": "anonymous_function_12",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts",
"issues": [],
"line_number": 13,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.3009179369941047,
"calculated_length": 156.3912238630265,
"difficulty": 9.103448275862068,
"effort": 8218.172624114859,
"length": 176.0,
"n1": 6.0,
"n2": 29.0,
"n_1": 88.0,
"n_2": 88.0,
"time": 456.56514578415886,
"vocabulary": 35.0,
"volume": 902.7538109823141
},
"lines_of_code": 33.0,
"maintainability_index": 78.73823811953643,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 22.0,
"technical_debt_score": 8.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 13
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts:anonymous_function_13:13",
"entity_name": "anonymous_function_13",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts",
"issues": [],
"line_number": 14,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0651348885394683,
"calculated_length": 63.61549134016113,
"difficulty": 5.3076923076923075,
"effort": 1037.1478405899952,
"length": 46.0,
"n1": 6.0,
"n2": 13.0,
"n_1": 23.0,
"n_2": 23.0,
"time": 57.61932447722196,
"vocabulary": 19.0,
"volume": 195.40466561840492
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 14
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts:anonymous_function_22:22",
"entity_name": "anonymous_function_22",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts",
"issues": [],
"line_number": 23,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04818498401250507,
"calculated_length": 44.82892142331043,
"difficulty": 4.75,
"effort": 686.6360221781972,
"length": 37.0,
"n1": 5.0,
"n2": 10.0,
"n_1": 18.0,
"n_2": 19.0,
"time": 38.146445676566515,
"vocabulary": 15.0,
"volume": 144.5549520375152
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 23
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts:anonymous_function_31:31",
"entity_name": "anonymous_function_31",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts",
"issues": [],
"line_number": 32,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.024669598120940616,
"calculated_length": 35.60964047443681,
"difficulty": 2.8125,
"effort": 208.14973414543644,
"length": 20.0,
"n1": 5.0,
"n2": 8.0,
"n_1": 11.0,
"n_2": 9.0,
"time": 11.563874119190913,
"vocabulary": 13.0,
"volume": 74.00879436282185
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 32
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts:anonymous_function_36:36",
"entity_name": "anonymous_function_36",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts",
"issues": [],
"line_number": 37,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0821166338028599,
"calculated_length": 68.81274391313339,
"difficulty": 6.214285714285715,
"effort": 1530.8886730390311,
"length": 57.0,
"n1": 6.0,
"n2": 14.0,
"n_1": 28.0,
"n_2": 29.0,
"time": 85.04937072439061,
"vocabulary": 20.0,
"volume": 246.34990140857968
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 37
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts:anonymous_function_47:47",
"entity_name": "anonymous_function_47",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts",
"issues": [],
"line_number": 48,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.2786910439206765,
"calculated_length": 156.3912238630265,
"difficulty": 8.689655172413794,
"effort": 7265.187213932119,
"length": 163.0,
"n1": 6.0,
"n2": 29.0,
"n_1": 79.0,
"n_2": 84.0,
"time": 403.62151188511774,
"vocabulary": 35.0,
"volume": 836.0731317620296
},
"lines_of_code": 34.0,
"maintainability_index": 78.65363584651485,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 21.0,
"technical_debt_score": 8.8
},
"recommendations": [],
"severity": "Low",
"start_line": 48
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts:anonymous_function_48:48",
"entity_name": "anonymous_function_48",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts",
"issues": [],
"line_number": 49,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.06655086437728283,
"calculated_length": 64.91260938324326,
"difficulty": 4.285714285714286,
"effort": 855.653970565065,
"length": 47.0,
"n1": 5.0,
"n2": 14.0,
"n_1": 23.0,
"n_2": 24.0,
"time": 47.53633169805917,
"vocabulary": 19.0,
"volume": 199.6525931318485
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 49
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts:anonymous_function_59:59",
"entity_name": "anonymous_function_59",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts",
"issues": [],
"line_number": 60,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03255742163007099,
"calculated_length": 44.82892142331043,
"difficulty": 3.5,
"effort": 341.8529271157454,
"length": 25.0,
"n1": 5.0,
"n2": 10.0,
"n_1": 11.0,
"n_2": 14.0,
"time": 18.991829284208077,
"vocabulary": 15.0,
"volume": 97.67226489021297
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 60
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts:anonymous_function_66:66",
"entity_name": "anonymous_function_66",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts",
"issues": [],
"line_number": 67,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.08026976913547136,
"calculated_length": 79.50977500432694,
"difficulty": 5.25,
"effort": 1264.248863883674,
"length": 54.0,
"n1": 6.0,
"n2": 16.0,
"n_1": 26.0,
"n_2": 28.0,
"time": 70.23604799353744,
"vocabulary": 22.0,
"volume": 240.80930740641406
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 67
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts:anonymous_function_77:77",
"entity_name": "anonymous_function_77",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts",
"issues": [],
"line_number": 78,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02665148445440323,
"calculated_length": 40.13896548741762,
"difficulty": 2.7777777777777777,
"effort": 222.09570378669358,
"length": 21.0,
"n1": 5.0,
"n2": 9.0,
"n_1": 11.0,
"n_2": 10.0,
"time": 12.338650210371865,
"vocabulary": 14.0,
"volume": 79.9544533632097
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 78
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts:anonymous_function_83:83",
"entity_name": "anonymous_function_83",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts",
"issues": [],
"line_number": 84,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.08621567796032108,
"calculated_length": 79.50977500432694,
"difficulty": 5.625,
"effort": 1454.8895655804183,
"length": 58.0,
"n1": 6.0,
"n2": 16.0,
"n_1": 28.0,
"n_2": 30.0,
"time": 80.82719808780102,
"vocabulary": 22.0,
"volume": 258.64703388096325
},
"lines_of_code": 15.0,
"maintainability_index": 98.01117223295708,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 5.0
},
"recommendations": [],
"severity": "Low",
"start_line": 84
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts:anonymous_function_84:84",
"entity_name": "anonymous_function_84",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts",
"issues": [],
"line_number": 85,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04359960364000362,
"calculated_length": 53.5635228093372,
"difficulty": 4.636363636363637,
"effort": 606.4308506291412,
"length": 32.0,
"n1": 6.0,
"n2": 11.0,
"n_1": 15.0,
"n_2": 17.0,
"time": 33.69060281273007,
"vocabulary": 17.0,
"volume": 130.79881092001085
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 85
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts:anonymous_function_92:92",
"entity_name": "anonymous_function_92",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts",
"issues": [],
"line_number": 93,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.020756589711823783,
"calculated_length": 27.651484454403228,
"difficulty": 2.5714285714285716,
"effort": 160.12226349121207,
"length": 18.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 9.0,
"n_2": 9.0,
"time": 8.895681305067336,
"vocabulary": 11.0,
"volume": 62.26976913547135
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 93
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts:anonymous_function_100:100",
"entity_name": "anonymous_function_100",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts",
"issues": [],
"line_number": 101,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.31288626403364295,
"calculated_length": 156.3912238630265,
"difficulty": 9.413793103448276,
"effort": 8836.339663570812,
"length": 183.0,
"n1": 6.0,
"n2": 29.0,
"n_1": 92.0,
"n_2": 91.0,
"time": 490.9077590872673,
"vocabulary": 35.0,
"volume": 938.6587921009288
},
"lines_of_code": 38.0,
"maintainability_index": 76.24995360714897,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 24.0,
"technical_debt_score": 9.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 101
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts:anonymous_function_101:101",
"entity_name": "anonymous_function_101",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts",
"issues": [],
"line_number": 102,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04864912501682698,
"calculated_length": 58.529325012980806,
"difficulty": 4.5,
"effort": 656.7631877271642,
"length": 35.0,
"n1": 6.0,
"n2": 12.0,
"n_1": 17.0,
"n_2": 18.0,
"time": 36.48684376262023,
"vocabulary": 18.0,
"volume": 145.94737505048093
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 102
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts:anonymous_function_111:111",
"entity_name": "anonymous_function_111",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts",
"issues": [],
"line_number": 112,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.04864912501682698,
"calculated_length": 58.529325012980806,
"difficulty": 4.25,
"effort": 620.2763439645439,
"length": 35.0,
"n1": 6.0,
"n2": 12.0,
"n_1": 18.0,
"n_2": 17.0,
"time": 34.45979688691911,
"vocabulary": 18.0,
"volume": 145.94737505048093
},
"lines_of_code": 7.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 112
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts:anonymous_function_120:120",
"entity_name": "anonymous_function_120",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts",
"issues": [],
"line_number": 121,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.12073734585232378,
"calculated_length": 90.56842503028855,
"difficulty": 6.666666666666667,
"effort": 2414.7469170464756,
"length": 79.0,
"n1": 6.0,
"n2": 18.0,
"n_1": 39.0,
"n_2": 40.0,
"time": 134.152606502582,
"vocabulary": 24.0,
"volume": 362.2120375569713
},
"lines_of_code": 12.0,
"maintainability_index": 99.8749174202672,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 4.4
},
"recommendations": [],
"severity": "Low",
"start_line": 121
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts:anonymous_function_134:134",
"entity_name": "anonymous_function_134",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts",
"issues": [],
"line_number": 135,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.020756589711823783,
"calculated_length": 27.651484454403228,
"difficulty": 2.2857142857142856,
"effort": 142.33090088107735,
"length": 18.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 10.0,
"n_2": 8.0,
"time": 7.907272271170964,
"vocabulary": 11.0,
"volume": 62.26976913547135
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 135
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts:anonymous_function_136:136",
"entity_name": "anonymous_function_136",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts",
"issues": [],
"line_number": 137,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0038698801581456034,
"calculated_length": 6.754887502163468,
"difficulty": 1.0,
"effort": 11.60964047443681,
"length": 5.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 3.0,
"time": 0.6449800263576005,
"vocabulary": 5.0,
"volume": 11.60964047443681
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 137
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts:anonymous_function_140:140",
"entity_name": "anonymous_function_140",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts",
"issues": [],
"line_number": 141,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10687972395428318,
"calculated_length": 75.60964047443682,
"difficulty": 5.3125,
"effort": 1703.3956005213881,
"length": 73.0,
"n1": 5.0,
"n2": 16.0,
"n_1": 39.0,
"n_2": 34.0,
"time": 94.63308891785489,
"vocabulary": 21.0,
"volume": 320.63917186284954
},
"lines_of_code": 16.0,
"maintainability_index": 95.84841733812733,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 11.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 141
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts:anonymous_function_141:141",
"entity_name": "anonymous_function_141",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts",
"issues": [],
"line_number": 142,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01584962500721156,
"calculated_length": 19.60964047443681,
"difficulty": 2.4,
"effort": 114.11730005192324,
"length": 15.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 9.0,
"n_2": 6.0,
"time": 6.339850002884624,
"vocabulary": 9.0,
"volume": 47.548875021634686
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 142
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts:anonymous_function_146:146",
"entity_name": "anonymous_function_146",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts",
"issues": [],
"line_number": 147,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.06812438068750565,
"calculated_length": 54.62919048309068,
"difficulty": 5.0,
"effort": 1021.8657103125848,
"length": 50.0,
"n1": 5.0,
"n2": 12.0,
"n_1": 26.0,
"n_2": 24.0,
"time": 56.770317239588046,
"vocabulary": 17.0,
"volume": 204.37314206251696
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 3.8000000000000007
},
"recommendations": [],
"severity": "Low",
"start_line": 147
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts:anonymous_function_158:158",
"entity_name": "anonymous_function_158",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts",
"issues": [],
"line_number": 159,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10253407100395896,
"calculated_length": 84.99664330558271,
"difficulty": 5.647058823529411,
"effort": 1737.0477911258927,
"length": 68.0,
"n1": 6.0,
"n2": 17.0,
"n_1": 36.0,
"n_2": 32.0,
"time": 96.5026550625496,
"vocabulary": 23.0,
"volume": 307.60221301187687
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 4.4
},
"recommendations": [],
"severity": "Low",
"start_line": 159
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts:anonymous_function_159:159",
"entity_name": "anonymous_function_159",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.test.ts",
"issues": [],
"line_number": 160,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0937027716859469,
"calculated_length": 74.11313393845472,
"difficulty": 6.0,
"effort": 1686.6498903470442,
"length": 64.0,
"n1": 6.0,
"n2": 15.0,
"n_1": 34.0,
"n_2": 30.0,
"time": 93.7027716859469,
"vocabulary": 21.0,
"volume": 281.1083150578407
},
"lines_of_code": 10.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 7.0,
"technical_debt_score": 4.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 160
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.ts:createTerminalManager:11",
"entity_name": "createTerminalManager",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.ts",
"issues": [],
"line_number": 12,
"metrics": {
"cognitive_complexity": 16.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 17,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 27,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 27,
"nesting_level": 2
},
{
"column": 7,
"kind": "If",
"line": 59,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 65,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 67,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 70,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.5040546641585936,
"calculated_length": 309.17139236468313,
"difficulty": 19.914893617021278,
"effort": 30114.58504164534,
"length": 256.0,
"n1": 13.0,
"n2": 47.0,
"n_1": 112.0,
"n_2": 144.0,
"time": 1673.03250231363,
"vocabulary": 60.0,
"volume": 1512.1639924757808
},
"lines_of_code": 76.0,
"maintainability_index": 60.931375427612494,
"max_nesting_depth": 2.0,
"parameter_count": 0.0,
"statement_count": 40.0,
"technical_debt_score": 44.00000000000001
},
"recommendations": [],
"severity": "Moderate",
"start_line": 12
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.ts:assertAbsolutePath:15",
"entity_name": "assertAbsolutePath",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.ts",
"issues": [],
"line_number": 16,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 17,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.01726871868465843,
"calculated_length": 35.161259458730164,
"difficulty": 4.083333333333334,
"effort": 211.5418038870658,
"length": 14.0,
"n1": 7.0,
"n2": 6.0,
"n_1": 7.0,
"n_2": 7.0,
"time": 11.752322438170323,
"vocabulary": 13.0,
"volume": 51.80615605397529
},
"lines_of_code": 4.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 16
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.ts:getTerminals:22",
"entity_name": "getTerminals",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.ts",
"issues": [],
"line_number": 23,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 27,
"nesting_level": 1
},
{
"column": 11,
"kind": "LogicalOr",
"line": 27,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.084929936956351,
"calculated_length": 108.27793097483524,
"difficulty": 8.61111111111111,
"effort": 2194.0233713724006,
"length": 53.0,
"n1": 10.0,
"n2": 18.0,
"n_1": 22.0,
"n_2": 31.0,
"time": 121.8901872984667,
"vocabulary": 28.0,
"volume": 254.78981086905299
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 12.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 23
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.ts:createTerminal:35",
"entity_name": "createTerminal",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.ts",
"issues": [],
"line_number": 36,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10371278823830217,
"calculated_length": 96.22039775975506,
"difficulty": 6.473684210526316,
"effort": 2014.2115189438684,
"length": 67.0,
"n1": 6.0,
"n2": 19.0,
"n_1": 26.0,
"n_2": 41.0,
"time": 111.90063994132602,
"vocabulary": 25.0,
"volume": 311.1383647149065
},
"lines_of_code": 15.0,
"maintainability_index": 97.05035061967385,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 8.0,
"technical_debt_score": 5.0
},
"recommendations": [],
"severity": "Low",
"start_line": 36
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.ts:getTerminal:52",
"entity_name": "getTerminal",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.ts",
"issues": [],
"line_number": 53,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.010566416671474373,
"calculated_length": 20.264662506490403,
"difficulty": 1.75,
"effort": 55.473687525240464,
"length": 10.0,
"n1": 3.0,
"n2": 6.0,
"n_1": 3.0,
"n_2": 7.0,
"time": 3.0818715291800256,
"vocabulary": 9.0,
"volume": 31.69925001442312
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 53
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.ts:killTerminal:56",
"entity_name": "killTerminal",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.ts",
"issues": [],
"line_number": 57,
"metrics": {
"cognitive_complexity": 10.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 7,
"kind": "If",
"line": 59,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 65,
"nesting_level": 1
},
{
"column": 9,
"kind": "If",
"line": 67,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 70,
"nesting_level": 2
}
],
"halstead": {
"bugs": 0.10545413751658658,
"calculated_length": 88.0,
"difficulty": 8.75,
"effort": 2768.171109810398,
"length": 69.0,
"n1": 8.0,
"n2": 16.0,
"n_1": 34.0,
"n_2": 35.0,
"time": 153.78728387835542,
"vocabulary": 24.0,
"volume": 316.36241254975977
},
"lines_of_code": 17.0,
"maintainability_index": 94.01612398204483,
"max_nesting_depth": 2.0,
"parameter_count": 1.0,
"statement_count": 12.0,
"technical_debt_score": 21.400000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 57
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.ts:listDirectories:75",
"entity_name": "listDirectories",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.ts",
"issues": [],
"line_number": 76,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01,
"calculated_length": 16.36452797660028,
"difficulty": 1.5,
"effort": 45.0,
"length": 10.0,
"n1": 3.0,
"n2": 5.0,
"n_1": 5.0,
"n_2": 5.0,
"time": 2.5,
"vocabulary": 8.0,
"volume": 30.0
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 76
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.ts:killAll:79",
"entity_name": "killAll",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal-manager.ts",
"issues": [],
"line_number": 80,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.025369165203340177,
"calculated_length": 27.651484454403228,
"difficulty": 2.857142857142857,
"effort": 217.44998745720153,
"length": 22.0,
"n1": 4.0,
"n2": 7.0,
"n_1": 12.0,
"n_2": 10.0,
"time": 12.080554858733418,
"vocabulary": 11.0,
"volume": 76.10749561002054
},
"lines_of_code": 6.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 3.2
},
"recommendations": [],
"severity": "Low",
"start_line": 80
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:getRowText:4",
"entity_name": "getRowText",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 5,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03752932501298081,
"calculated_length": 61.302968908806456,
"difficulty": 2.4285714285714284,
"effort": 273.42793938028876,
"length": 27.0,
"n1": 4.0,
"n2": 14.0,
"n_1": 10.0,
"n_2": 17.0,
"time": 15.19044107668271,
"vocabulary": 18.0,
"volume": 112.58797503894243
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 2.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 5
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_5:5",
"entity_name": "anonymous_function_5",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 6,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 6
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:getLines:9",
"entity_name": "getLines",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 10,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03951214079875328,
"calculated_length": 58.057856410969926,
"difficulty": 1.9285714285714288,
"effort": 228.60595747850115,
"length": 29.0,
"n1": 3.0,
"n2": 14.0,
"n_1": 11.0,
"n_2": 18.0,
"time": 12.700330971027842,
"vocabulary": 17.0,
"volume": 118.53642239625984
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 10
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_10:10",
"entity_name": "anonymous_function_10",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 11,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.016906266674359,
"calculated_length": 21.651484454403228,
"difficulty": 1.2857142857142858,
"effort": 65.20988574395614,
"length": 16.0,
"n1": 2.0,
"n2": 7.0,
"n_1": 7.0,
"n_2": 9.0,
"time": 3.6227714302197853,
"vocabulary": 9.0,
"volume": 50.718800023076994
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 11
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_10:10",
"entity_name": "anonymous_function_10",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 11,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 11
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:waitForLines:14",
"entity_name": "waitForLines",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 15,
"metrics": {
"cognitive_complexity": 8.0,
"cyclomatic_complexity": 5.0,
"decision_points": [
{
"column": 3,
"kind": "While",
"line": 21,
"nesting_level": 0
},
{
"column": 5,
"kind": "For",
"line": 24,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 25,
"nesting_level": 2
},
{
"column": 5,
"kind": "If",
"line": 30,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.18227754454988143,
"calculated_length": 211.20671786825557,
"difficulty": 15.2,
"effort": 8311.856031474594,
"length": 99.0,
"n1": 16.0,
"n2": 30.0,
"n_1": 42.0,
"n_2": 57.0,
"time": 461.76977952636634,
"vocabulary": 46.0,
"volume": 546.8326336496443
},
"lines_of_code": 24.0,
"maintainability_index": 85.58398547045496,
"max_nesting_depth": 2.0,
"parameter_count": 3.0,
"statement_count": 14.0,
"technical_debt_score": 21.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 15
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_32:32",
"entity_name": "anonymous_function_32",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 33,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 33
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_40:40",
"entity_name": "anonymous_function_40",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 41,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 4.3370027038214465,
"calculated_length": 1302.616009152063,
"difficulty": 36.17647058823529,
"effort": 470692.35226768046,
"length": 1733.0,
"n1": 12.0,
"n2": 170.0,
"n_1": 708.0,
"n_2": 1025.0,
"time": 26149.575125982246,
"vocabulary": 182.0,
"volume": 13011.00811146434
},
"lines_of_code": 524.0,
"maintainability_index": 20.071369223139413,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 204.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 41
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_43:43",
"entity_name": "anonymous_function_43",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 44,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.015502331109474358,
"calculated_length": 23.21928094887362,
"difficulty": 3.5,
"effort": 162.77447664948076,
"length": 14.0,
"n1": 5.0,
"n2": 5.0,
"n_1": 7.0,
"n_2": 7.0,
"time": 9.04302648052671,
"vocabulary": 10.0,
"volume": 46.50699332842307
},
"lines_of_code": 5.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 3.0000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 44
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:trackSession:50",
"entity_name": "trackSession",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 51,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.012679700005769248,
"calculated_length": 19.60964047443681,
"difficulty": 3.2,
"effort": 121.72512005538479,
"length": 12.0,
"n1": 4.0,
"n2": 5.0,
"n_1": 4.0,
"n_2": 8.0,
"time": 6.762506669743599,
"vocabulary": 9.0,
"volume": 38.039100017307746
},
"lines_of_code": 3.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 2.0,
"technical_debt_score": 2.6
},
"recommendations": [],
"severity": "Low",
"start_line": 51
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_55:55",
"entity_name": "anonymous_function_55",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 56,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.36721303854722803,
"calculated_length": 191.13454606751063,
"difficulty": 8.642857142857142,
"effort": 9521.309499474555,
"length": 207.0,
"n1": 5.0,
"n2": 35.0,
"n_1": 86.0,
"n_2": 121.0,
"time": 528.9616388596975,
"vocabulary": 40.0,
"volume": 1101.6391156416842
},
"lines_of_code": 69.0,
"maintainability_index": 65.753791460511,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 23.0,
"technical_debt_score": 15.799999999999997
},
"recommendations": [],
"severity": "Low",
"start_line": 56
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_56:56",
"entity_name": "anonymous_function_56",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 57,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1006168841117857,
"calculated_length": 98.04820237218406,
"difficulty": 4.375,
"effort": 1320.5966039671873,
"length": 65.0,
"n1": 5.0,
"n2": 20.0,
"n_1": 30.0,
"n_2": 35.0,
"time": 73.36647799817707,
"vocabulary": 25.0,
"volume": 301.8506523353571
},
"lines_of_code": 14.0,
"maintainability_index": 98.32562295513819,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 4.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 57
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_72:72",
"entity_name": "anonymous_function_72",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 73,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03474937501201927,
"calculated_length": 61.302968908806456,
"difficulty": 2.4285714285714284,
"effort": 253.17401794471178,
"length": 25.0,
"n1": 4.0,
"n2": 14.0,
"n_1": 8.0,
"n_2": 17.0,
"time": 14.065223219150655,
"vocabulary": 18.0,
"volume": 104.2481250360578
},
"lines_of_code": 11.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 4.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 73
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_85:85",
"entity_name": "anonymous_function_85",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 86,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.02031478750408655,
"calculated_length": 32.0,
"difficulty": 2.25,
"effort": 137.1248156525842,
"length": 17.0,
"n1": 4.0,
"n2": 8.0,
"n_1": 8.0,
"n_2": 9.0,
"time": 7.6180453140324556,
"vocabulary": 12.0,
"volume": 60.94436251225965
},
"lines_of_code": 8.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 2.0,
"technical_debt_score": 3.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 86
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_95:95",
"entity_name": "anonymous_function_95",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 96,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05648613383607243,
"calculated_length": 83.05865002596161,
"difficulty": 2.5555555555555554,
"effort": 433.0603594098886,
"length": 38.0,
"n1": 4.0,
"n2": 18.0,
"n_1": 15.0,
"n_2": 23.0,
"time": 24.05890885610492,
"vocabulary": 22.0,
"volume": 169.4584015082173
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 4.4
},
"recommendations": [],
"severity": "Low",
"start_line": 96
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_109:109",
"entity_name": "anonymous_function_109",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 110,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.06243204266092216,
"calculated_length": 83.05865002596161,
"difficulty": 3.0,
"effort": 561.8883839482994,
"length": 42.0,
"n1": 4.0,
"n2": 18.0,
"n_1": 15.0,
"n_2": 27.0,
"time": 31.21602133046108,
"vocabulary": 22.0,
"volume": 187.29612798276648
},
"lines_of_code": 14.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 4.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 110
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_126:126",
"entity_name": "anonymous_function_126",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 127,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.5034198671635535,
"calculated_length": 227.65963218934144,
"difficulty": 8.097560975609756,
"effort": 12229.419212070714,
"length": 275.0,
"n1": 4.0,
"n2": 41.0,
"n_1": 109.0,
"n_2": 166.0,
"time": 679.412178448373,
"vocabulary": 45.0,
"volume": 1510.2596014906605
},
"lines_of_code": 78.0,
"maintainability_index": 62.12712545757303,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 31.0,
"technical_debt_score": 17.600000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 127
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_127:127",
"entity_name": "anonymous_function_127",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 128,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.12220350898954291,
"calculated_length": 136.38196255841365,
"difficulty": 3.3333333333333335,
"effort": 1222.035089895429,
"length": 74.0,
"n1": 4.0,
"n2": 27.0,
"n_1": 29.0,
"n_2": 45.0,
"time": 67.89083832752384,
"vocabulary": 31.0,
"volume": 366.61052696862873
},
"lines_of_code": 24.0,
"maintainability_index": 88.58316768769402,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 6.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 128
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_153:153",
"entity_name": "anonymous_function_153",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 154,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.19818045838862197,
"calculated_length": 168.0,
"difficulty": 4.375,
"effort": 2601.1185163506634,
"length": 115.0,
"n1": 4.0,
"n2": 32.0,
"n_1": 45.0,
"n_2": 70.0,
"time": 144.50658424170354,
"vocabulary": 36.0,
"volume": 594.5413751658659
},
"lines_of_code": 29.0,
"maintainability_index": 83.00329794072402,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 7.8
},
"recommendations": [],
"severity": "Low",
"start_line": 154
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_184:184",
"entity_name": "anonymous_function_184",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 185,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.12103663469167679,
"calculated_length": 130.21143267166838,
"difficulty": 3.4615384615384617,
"effort": 1256.918898721259,
"length": 74.0,
"n1": 4.0,
"n2": 26.0,
"n_1": 29.0,
"n_2": 45.0,
"time": 69.8288277067366,
"vocabulary": 30.0,
"volume": 363.1099040750304
},
"lines_of_code": 19.0,
"maintainability_index": 92.41761965416931,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 5.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 185
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_206:206",
"entity_name": "anonymous_function_206",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 207,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.8047678326007311,
"calculated_length": 374.06492019091434,
"difficulty": 13.416666666666668,
"effort": 32391.90526217943,
"length": 398.0,
"n1": 7.0,
"n2": 60.0,
"n_1": 168.0,
"n_2": 230.0,
"time": 1799.5502923433016,
"vocabulary": 67.0,
"volume": 2414.3034978021933
},
"lines_of_code": 106.0,
"maintainability_index": 54.718622862916604,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 44.0,
"technical_debt_score": 22.000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 207
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_207:207",
"entity_name": "anonymous_function_207",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 208,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.20789248727524845,
"calculated_length": 184.58337707694835,
"difficulty": 4.852941176470588,
"effort": 3026.670035330823,
"length": 118.0,
"n1": 5.0,
"n2": 34.0,
"n_1": 52.0,
"n_2": 66.0,
"time": 168.14833529615683,
"vocabulary": 39.0,
"volume": 623.6774618257454
},
"lines_of_code": 27.0,
"maintainability_index": 83.91214936821771,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 7.400000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 208
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_236:236",
"entity_name": "anonymous_function_236",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 237,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.14901398665684615,
"calculated_length": 191.13454606751063,
"difficulty": 3.5714285714285716,
"effort": 1596.5784284662088,
"length": 84.0,
"n1": 5.0,
"n2": 35.0,
"n_1": 34.0,
"n_2": 50.0,
"time": 88.69880158145605,
"vocabulary": 40.0,
"volume": 447.04195997053847
},
"lines_of_code": 23.0,
"maintainability_index": 88.24120090792908,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 237
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_261:261",
"entity_name": "anonymous_function_261",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 262,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.17774684325368442,
"calculated_length": 232.52860824989773,
"difficulty": 4.8999999999999995,
"effort": 2612.8785958291605,
"length": 96.0,
"n1": 7.0,
"n2": 40.0,
"n_1": 40.0,
"n_2": 56.0,
"time": 145.1599219905089,
"vocabulary": 47.0,
"volume": 533.2405297610533
},
"lines_of_code": 26.0,
"maintainability_index": 85.33817857590375,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 7.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 262
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_289:289",
"entity_name": "anonymous_function_289",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 290,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.14694197037642037,
"calculated_length": 178.07464641326578,
"difficulty": 3.787878787878788,
"effort": 1669.7951179138681,
"length": 84.0,
"n1": 5.0,
"n2": 33.0,
"n_1": 34.0,
"n_2": 50.0,
"time": 92.76639543965933,
"vocabulary": 38.0,
"volume": 440.82591112926116
},
"lines_of_code": 22.0,
"maintainability_index": 89.03413205713841,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 9.0,
"technical_debt_score": 6.4
},
"recommendations": [],
"severity": "Low",
"start_line": 290
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_314:314",
"entity_name": "anonymous_function_314",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 315,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.24480869236481867,
"calculated_length": 188.48351160683848,
"difficulty": 7.6764705882352935,
"effort": 5637.800180048617,
"length": 138.0,
"n1": 6.0,
"n2": 34.0,
"n_1": 51.0,
"n_2": 87.0,
"time": 313.21112111381206,
"vocabulary": 40.0,
"volume": 734.426077094456
},
"lines_of_code": 39.0,
"maintainability_index": 77.10503672984879,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 14.0,
"technical_debt_score": 9.800000000000002
},
"recommendations": [],
"severity": "Low",
"start_line": 315
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_315:315",
"entity_name": "anonymous_function_315",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 316,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10333333333333333,
"calculated_length": 139.99160303285046,
"difficulty": 3.7037037037037033,
"effort": 1148.148148148148,
"length": 62.0,
"n1": 5.0,
"n2": 27.0,
"n_1": 22.0,
"n_2": 40.0,
"time": 63.786008230452666,
"vocabulary": 32.0,
"volume": 310.0
},
"lines_of_code": 18.0,
"maintainability_index": 94.11580157519033,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 5.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 316
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_328:328",
"entity_name": "anonymous_function_328",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 329,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 329
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_335:335",
"entity_name": "anonymous_function_335",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 336,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.11718496669935907,
"calculated_length": 162.7164928725825,
"difficulty": 4.3,
"effort": 1511.686070421732,
"length": 68.0,
"n1": 6.0,
"n2": 30.0,
"n_1": 25.0,
"n_2": 43.0,
"time": 83.982559467874,
"vocabulary": 36.0,
"volume": 351.5549000980772
},
"lines_of_code": 17.0,
"maintainability_index": 94.38764121336735,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 5.4
},
"recommendations": [],
"severity": "Low",
"start_line": 336
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_347:347",
"entity_name": "anonymous_function_347",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 348,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 348
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_355:355",
"entity_name": "anonymous_function_355",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 356,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.4002556458850162,
"calculated_length": 239.31111664374467,
"difficulty": 11.012195121951219,
"effort": 13223.07981344523,
"length": 215.0,
"n1": 7.0,
"n2": 41.0,
"n_1": 86.0,
"n_2": 129.0,
"time": 734.6155451914017,
"vocabulary": 48.0,
"volume": 1200.7669376550487
},
"lines_of_code": 74.0,
"maintainability_index": 64.1724236091151,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 31.0,
"technical_debt_score": 16.799999999999997
},
"recommendations": [],
"severity": "Low",
"start_line": 356
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_356:356",
"entity_name": "anonymous_function_356",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 357,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.1042508118000747,
"calculated_length": 143.8917375627406,
"difficulty": 4.111111111111112,
"effort": 1285.7600122009214,
"length": 62.0,
"n1": 6.0,
"n2": 27.0,
"n_1": 25.0,
"n_2": 37.0,
"time": 71.43111178894009,
"vocabulary": 33.0,
"volume": 312.7524354002241
},
"lines_of_code": 20.0,
"maintainability_index": 92.3629950993129,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 8.0,
"technical_debt_score": 6.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 357
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_366:366",
"entity_name": "anonymous_function_366",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 367,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 9.509775004326936,
"difficulty": 2.0,
"effort": 36.18947501009619,
"length": 7.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 4.0,
"time": 2.0105263894497885,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 367
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_370:370",
"entity_name": "anonymous_function_370",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 371,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 371
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_378:378",
"entity_name": "anonymous_function_378",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 379,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.11870746629584124,
"calculated_length": 152.4910893331364,
"difficulty": 3.706896551724138,
"effort": 1320.1088924278897,
"length": 70.0,
"n1": 5.0,
"n2": 29.0,
"n_1": 27.0,
"n_2": 43.0,
"time": 73.33938291266054,
"vocabulary": 34.0,
"volume": 356.12239888752373
},
"lines_of_code": 25.0,
"maintainability_index": 88.0727842950618,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 7.000000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 379
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_390:390",
"entity_name": "anonymous_function_390",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 391,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 9.509775004326936,
"difficulty": 2.0,
"effort": 36.18947501009619,
"length": 7.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 4.0,
"time": 2.0105263894497885,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 391
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_405:405",
"entity_name": "anonymous_function_405",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 406,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.12329039631988516,
"calculated_length": 169.08986062632007,
"difficulty": 4.161290322580646,
"effort": 1539.1413992192117,
"length": 71.0,
"n1": 6.0,
"n2": 31.0,
"n_1": 28.0,
"n_2": 43.0,
"time": 85.50785551217842,
"vocabulary": 37.0,
"volume": 369.87118895965546
},
"lines_of_code": 23.0,
"maintainability_index": 89.22658870514579,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 406
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_417:417",
"entity_name": "anonymous_function_417",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 418,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.006031579168349364,
"calculated_length": 9.509775004326936,
"difficulty": 2.0,
"effort": 36.18947501009619,
"length": 7.0,
"n1": 3.0,
"n2": 3.0,
"n_1": 3.0,
"n_2": 4.0,
"time": 2.0105263894497885,
"vocabulary": 6.0,
"volume": 18.094737505048094
},
"lines_of_code": 2.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 1.0,
"technical_debt_score": 2.4000000000000004
},
"recommendations": [],
"severity": "Low",
"start_line": 418
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_425:425",
"entity_name": "anonymous_function_425",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 426,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0033333333333333335,
"calculated_length": 4.754887502163468,
"difficulty": 0.6666666666666666,
"effort": 6.666666666666666,
"length": 5.0,
"n1": 1.0,
"n2": 3.0,
"n_1": 1.0,
"n_2": 4.0,
"time": 0.37037037037037035,
"vocabulary": 4.0,
"volume": 10.0
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 426
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_431:431",
"entity_name": "anonymous_function_431",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 432,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.33573992562273325,
"calculated_length": 195.03468059740075,
"difficulty": 8.742857142857142,
"effort": 8805.978620619117,
"length": 188.0,
"n1": 6.0,
"n2": 35.0,
"n_1": 86.0,
"n_2": 102.0,
"time": 489.2210344788398,
"vocabulary": 41.0,
"volume": 1007.2197768681998
},
"lines_of_code": 41.0,
"maintainability_index": 74.65239710563412,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 18.0,
"technical_debt_score": 10.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 432
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_432:432",
"entity_name": "anonymous_function_432",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 433,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.18666666666666668,
"calculated_length": 137.72120767599532,
"difficulty": 6.9230769230769225,
"effort": 3876.9230769230767,
"length": 112.0,
"n1": 6.0,
"n2": 26.0,
"n_1": 52.0,
"n_2": 60.0,
"time": 215.38461538461536,
"vocabulary": 32.0,
"volume": 560.0
},
"lines_of_code": 21.0,
"maintainability_index": 88.54346523348875,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 6.200000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 433
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_455:455",
"entity_name": "anonymous_function_455",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 456,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.10777745004903862,
"calculated_length": 109.71713608445735,
"difficulty": 4.318181818181818,
"effort": 1396.207875635273,
"length": 68.0,
"n1": 5.0,
"n2": 22.0,
"n_1": 30.0,
"n_2": 38.0,
"time": 77.56710420195961,
"vocabulary": 27.0,
"volume": 323.33235014711585
},
"lines_of_code": 16.0,
"maintainability_index": 95.80492284109415,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 6.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 456
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_474:474",
"entity_name": "anonymous_function_474",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 475,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.24362357092492015,
"calculated_length": 286.73042283608197,
"difficulty": 3.826530612244898,
"effort": 2796.699156025869,
"length": 127.0,
"n1": 5.0,
"n2": 49.0,
"n_1": 52.0,
"n_2": 75.0,
"time": 155.3721753347705,
"vocabulary": 54.0,
"volume": 730.8707127747605
},
"lines_of_code": 38.0,
"maintainability_index": 77.55107399332107,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 12.0,
"technical_debt_score": 9.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 475
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_475:475",
"entity_name": "anonymous_function_475",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 476,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.23371802844378475,
"calculated_length": 272.6753165032857,
"difficulty": 3.882978723404255,
"effort": 2722.56639516962,
"length": 123.0,
"n1": 5.0,
"n2": 47.0,
"n_1": 50.0,
"n_2": 73.0,
"time": 151.25368862053446,
"vocabulary": 52.0,
"volume": 701.1540853313543
},
"lines_of_code": 36.0,
"maintainability_index": 78.64280930900163,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 11.0,
"technical_debt_score": 9.2
},
"recommendations": [],
"severity": "Low",
"start_line": 476
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_503:503",
"entity_name": "anonymous_function_503",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 504,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.016906266674359,
"calculated_length": 21.651484454403228,
"difficulty": 1.2857142857142858,
"effort": 65.20988574395614,
"length": 16.0,
"n1": 2.0,
"n2": 7.0,
"n_1": 7.0,
"n_2": 9.0,
"time": 3.6227714302197853,
"vocabulary": 9.0,
"volume": 50.718800023076994
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 504
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_503:503",
"entity_name": "anonymous_function_503",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 504,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.002113283334294875,
"calculated_length": 2.0,
"difficulty": 0.75,
"effort": 4.754887502163468,
"length": 4.0,
"n1": 1.0,
"n2": 2.0,
"n_1": 1.0,
"n_2": 3.0,
"time": 0.26416041678685936,
"vocabulary": 3.0,
"volume": 6.339850002884624
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 504
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_504:504",
"entity_name": "anonymous_function_504",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 505,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.004643856189774725,
"calculated_length": 6.754887502163468,
"difficulty": 1.3333333333333333,
"effort": 18.575424759098897,
"length": 6.0,
"n1": 2.0,
"n2": 3.0,
"n_1": 2.0,
"n_2": 4.0,
"time": 1.0319680421721609,
"vocabulary": 5.0,
"volume": 13.931568569324174
},
"lines_of_code": 1.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 0.0,
"technical_debt_score": 2.2000000000000006
},
"recommendations": [],
"severity": "Low",
"start_line": 505
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_514:514",
"entity_name": "anonymous_function_514",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 515,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.11497221688468587,
"calculated_length": 124.09640474436812,
"difficulty": 3.44,
"effort": 1186.5132782499581,
"length": 71.0,
"n1": 4.0,
"n2": 25.0,
"n_1": 28.0,
"n_2": 43.0,
"time": 65.9174043472199,
"vocabulary": 29.0,
"volume": 344.9166506540576
},
"lines_of_code": 33.0,
"maintainability_index": 83.74140296745502,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 10.0,
"technical_debt_score": 8.600000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 515
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_515:515",
"entity_name": "anonymous_function_515",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 516,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.05270780907334513,
"calculated_length": 77.48686830125577,
"difficulty": 2.4705882352941178,
"effort": 390.6578790142051,
"length": 36.0,
"n1": 4.0,
"n2": 17.0,
"n_1": 15.0,
"n_2": 21.0,
"time": 21.70321550078917,
"vocabulary": 21.0,
"volume": 158.12342722003538
},
"lines_of_code": 16.0,
"maintainability_index": 99.5245079521272,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 5.0,
"technical_debt_score": 5.2
},
"recommendations": [],
"severity": "Low",
"start_line": 516
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_533:533",
"entity_name": "anonymous_function_533",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 534,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.03889735285398626,
"calculated_length": 72.0,
"difficulty": 2.25,
"effort": 262.55713176440725,
"length": 27.0,
"n1": 4.0,
"n2": 16.0,
"n_1": 9.0,
"n_2": 18.0,
"time": 14.586507320244847,
"vocabulary": 20.0,
"volume": 116.69205856195879
},
"lines_of_code": 13.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 4.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 534
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_549:549",
"entity_name": "anonymous_function_549",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 550,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.0736402222508771,
"calculated_length": 106.10749561002054,
"difficulty": 3.272727272727273,
"effort": 723.0130911904298,
"length": 47.0,
"n1": 4.0,
"n2": 22.0,
"n_1": 11.0,
"n_2": 36.0,
"time": 40.167393955023876,
"vocabulary": 26.0,
"volume": 220.92066675263132
},
"lines_of_code": 14.0,
"maintainability_index": 99.94869221210669,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 4.0,
"technical_debt_score": 4.800000000000001
},
"recommendations": [],
"severity": "Low",
"start_line": 550
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts:anonymous_function_550:550",
"entity_name": "anonymous_function_550",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.test.ts",
"issues": [],
"line_number": 551,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.06571779584366991,
"calculated_length": 94.43856189774725,
"difficulty": 3.4,
"effort": 670.321517605433,
"length": 43.0,
"n1": 4.0,
"n2": 20.0,
"n_1": 9.0,
"n_2": 34.0,
"time": 37.24008431141294,
"vocabulary": 24.0,
"volume": 197.1533875310097
},
"lines_of_code": 12.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 0.0,
"statement_count": 3.0,
"technical_debt_score": 4.4
},
"recommendations": [],
"severity": "Low",
"start_line": 551
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.ts:extractCell:64",
"entity_name": "extractCell",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.ts",
"issues": [],
"line_number": 65,
"metrics": {
"cognitive_complexity": 7.0,
"cyclomatic_complexity": 8.0,
"decision_points": [
{
"column": 3,
"kind": "If",
"line": 68,
"nesting_level": 0
},
{
"column": 3,
"kind": "If",
"line": 73,
"nesting_level": 0
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 85,
"nesting_level": 0
},
{
"column": 14,
"kind": "ConditionalExpression",
"line": 86,
"nesting_level": 0
},
{
"column": 11,
"kind": "LogicalOr",
"line": 89,
"nesting_level": 0
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 92,
"nesting_level": 0
},
{
"column": 13,
"kind": "ConditionalExpression",
"line": 93,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.2252601541957533,
"calculated_length": 236.8771237954945,
"difficulty": 7.6,
"effort": 5135.931515663175,
"length": 121.0,
"n1": 8.0,
"n2": 40.0,
"n_1": 45.0,
"n_2": 76.0,
"time": 285.32952864795413,
"vocabulary": 48.0,
"volume": 675.7804625872599
},
"lines_of_code": 33.0,
"maintainability_index": 78.63406253242643,
"max_nesting_depth": 0.0,
"parameter_count": 3.0,
"statement_count": 14.0,
"technical_debt_score": 28.200000000000003
},
"recommendations": [],
"severity": "Low",
"start_line": 65
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.ts:extractGrid:99",
"entity_name": "extractGrid",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.ts",
"issues": [],
"line_number": 100,
"metrics": {
"cognitive_complexity": 3.0,
"cyclomatic_complexity": 3.0,
"decision_points": [
{
"column": 3,
"kind": "For",
"line": 106,
"nesting_level": 0
},
{
"column": 5,
"kind": "For",
"line": 108,
"nesting_level": 1
}
],
"halstead": {
"bugs": 0.089781219668978,
"calculated_length": 94.71013448036484,
"difficulty": 7.388888888888889,
"effort": 1990.1503693290124,
"length": 58.0,
"n1": 7.0,
"n2": 18.0,
"n_1": 20.0,
"n_2": 38.0,
"time": 110.56390940716736,
"vocabulary": 25.0,
"volume": 269.343659006934
},
"lines_of_code": 15.0,
"maintainability_index": 97.34044858566548,
"max_nesting_depth": 1.0,
"parameter_count": 1.0,
"statement_count": 11.0,
"technical_debt_score": 11.399999999999999
},
"recommendations": [],
"severity": "Low",
"start_line": 100
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.ts:extractScrollback:116",
"entity_name": "extractScrollback",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.ts",
"issues": [
{
"description": "Cognitive complexity of 35.0 exceeds threshold",
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.ts:extractScrollback:116",
"issue_type": "HighCognitiveComplexity",
"location": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.ts:117",
"metric_value": 35.0,
"recommendation": "Reduce nesting levels and simplify conditional logic",
"severity": "High",
"threshold": 25.0
}
],
"line_number": 117,
"metrics": {
"cognitive_complexity": 35.0,
"cyclomatic_complexity": 10.0,
"decision_points": [
{
"column": 3,
"kind": "For",
"line": 124,
"nesting_level": 0
},
{
"column": 5,
"kind": "For",
"line": 127,
"nesting_level": 1
},
{
"column": 7,
"kind": "If",
"line": 128,
"nesting_level": 2
},
{
"column": 9,
"kind": "If",
"line": 130,
"nesting_level": 3
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 135,
"nesting_level": 4
},
{
"column": 22,
"kind": "ConditionalExpression",
"line": 136,
"nesting_level": 4
},
{
"column": 19,
"kind": "LogicalOr",
"line": 138,
"nesting_level": 4
},
{
"column": 21,
"kind": "ConditionalExpression",
"line": 141,
"nesting_level": 4
},
{
"column": 21,
"kind": "ConditionalExpression",
"line": 142,
"nesting_level": 4
}
],
"halstead": {
"bugs": 0.3208089507790608,
"calculated_length": 292.1375977836329,
"difficulty": 12.195652173913043,
"effort": 11737.423133938246,
"length": 165.0,
"n1": 11.0,
"n2": 46.0,
"n_1": 63.0,
"n_2": 102.0,
"time": 652.0790629965692,
"vocabulary": 57.0,
"volume": 962.4268523371824
},
"lines_of_code": 41.0,
"maintainability_index": 72.81895057773866,
"max_nesting_depth": 4.0,
"parameter_count": 1.0,
"statement_count": 23.0,
"technical_debt_score": 56.199999999999996
},
"recommendations": [],
"severity": "High",
"start_line": 117
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.ts:createTerminal:159",
"entity_name": "createTerminal",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.ts",
"issues": [],
"line_number": 160,
"metrics": {
"cognitive_complexity": 5.0,
"cyclomatic_complexity": 6.0,
"decision_points": [
{
"column": 13,
"kind": "LogicalOr",
"line": 163,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 197,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 225,
"nesting_level": 0
},
{
"column": 7,
"kind": "If",
"line": 247,
"nesting_level": 0
},
{
"column": 5,
"kind": "If",
"line": 258,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.574115878789393,
"calculated_length": 653.4706688660516,
"difficulty": 12.021739130434783,
"effort": 20705.613976339195,
"length": 256.0,
"n1": 14.0,
"n2": 92.0,
"n_1": 98.0,
"n_2": 158.0,
"time": 1150.3118875743996,
"vocabulary": 106.0,
"volume": 1722.3476363681789
},
"lines_of_code": 116.0,
"maintainability_index": 53.86433247508555,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 42.0,
"technical_debt_score": 36.0
},
"recommendations": [],
"severity": "Low",
"start_line": 160
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.ts:anonymous_function_195:195",
"entity_name": "anonymous_function_195",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.ts",
"issues": [],
"line_number": 196,
"metrics": {
"cognitive_complexity": 1.0,
"cyclomatic_complexity": 2.0,
"decision_points": [
{
"column": 5,
"kind": "If",
"line": 197,
"nesting_level": 0
}
],
"halstead": {
"bugs": 0.03196942501105773,
"calculated_length": 57.70523225941349,
"difficulty": 4.136363636363637,
"effort": 396.71150127358004,
"length": 23.0,
"n1": 7.0,
"n2": 11.0,
"n_1": 10.0,
"n_2": 13.0,
"time": 22.039527848532224,
"vocabulary": 18.0,
"volume": 95.90827503317318
},
"lines_of_code": 9.0,
"maintainability_index": 100.0,
"max_nesting_depth": 0.0,
"parameter_count": 1.0,
"statement_count": 6.0,
"technical_debt_score": 6.6000000000000005
},
"recommendations": [],
"severity": "Low",
"start_line": 196
},
{
"entity_id": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.ts:anonymous_function_197:197",
"entity_name": "anonymous_function_197",
"entity_type": "function",
"file_path": "/Users/moboudra/dev/paseo/packages/server/src/terminal/terminal.ts",
"issues": [],
"line_number": 198,
"metrics": {
"cognitive_complexity": -0.0,
"cyclomatic_complexity": 1.0,
"decision_points": [],
"halstead": {
"bugs": 0.01328771237954945,
"calculated_length": 24.406371956566694,
"difficulty": 1.7142857142857142,
"effort": 68.33680652339716,
"length": 12.0,
"n1": 3.0,
"n2": 7.0,
"n_1": 4.0,
"n_2": 8.0,
"time": 3.796489251299842,
"vocabulary": 10.0,
"volume": 39.86313713864835
},
"lines_of_code": 6.0,
"maintainability_i